Merge commit 'upstream/3.0_rc2'
Axel Beckert
12 years ago
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = . | |
38 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | |
39 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | |
40 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ | |
41 | config.guess config.sub depcomp install-sh missing | |
42 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
43 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
44 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
45 | $(ACLOCAL_M4) | |
46 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | |
47 | configure.lineno config.status.lineno | |
48 | mkinstalldirs = $(install_sh) -d | |
49 | CONFIG_HEADER = config.h | |
50 | CONFIG_CLEAN_FILES = | |
51 | CONFIG_CLEAN_VPATH_FILES = | |
52 | SOURCES = | |
53 | DIST_SOURCES = | |
54 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
55 | html-recursive info-recursive install-data-recursive \ | |
56 | install-dvi-recursive install-exec-recursive \ | |
57 | install-html-recursive install-info-recursive \ | |
58 | install-pdf-recursive install-ps-recursive install-recursive \ | |
59 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
60 | ps-recursive uninstall-recursive | |
61 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
62 | am__vpath_adj = case $$p in \ | |
63 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
64 | *) f=$$p;; \ | |
65 | esac; | |
66 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
67 | am__install_max = 40 | |
68 | am__nobase_strip_setup = \ | |
69 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
70 | am__nobase_strip = \ | |
71 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
72 | am__nobase_list = $(am__nobase_strip_setup); \ | |
73 | for p in $$list; do echo "$$p $$p"; done | \ | |
74 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
75 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
76 | if (++n[$$2] == $(am__install_max)) \ | |
77 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
78 | END { for (dir in files) print dir, files[dir] }' | |
79 | am__base_list = \ | |
80 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
81 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
82 | am__installdirs = "$(DESTDIR)$(sysconfdir)" | |
83 | DATA = $(sysconf_DATA) | |
84 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | |
85 | distclean-recursive maintainer-clean-recursive | |
86 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
87 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
88 | distdir dist dist-all distcheck | |
89 | ETAGS = etags | |
90 | CTAGS = ctags | |
91 | DIST_SUBDIRS = $(SUBDIRS) | |
92 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
93 | distdir = $(PACKAGE)-$(VERSION) | |
94 | top_distdir = $(distdir) | |
95 | am__remove_distdir = \ | |
96 | { test ! -d "$(distdir)" \ | |
97 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
98 | && rm -fr "$(distdir)"; }; } | |
99 | am__relativize = \ | |
100 | dir0=`pwd`; \ | |
101 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | |
102 | sed_rest='s,^[^/]*/*,,'; \ | |
103 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | |
104 | sed_butlast='s,/*[^/]*$$,,'; \ | |
105 | while test -n "$$dir1"; do \ | |
106 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | |
107 | if test "$$first" != "."; then \ | |
108 | if test "$$first" = ".."; then \ | |
109 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | |
110 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | |
111 | else \ | |
112 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | |
113 | if test "$$first2" = "$$first"; then \ | |
114 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | |
115 | else \ | |
116 | dir2="../$$dir2"; \ | |
117 | fi; \ | |
118 | dir0="$$dir0"/"$$first"; \ | |
119 | fi; \ | |
120 | fi; \ | |
121 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | |
122 | done; \ | |
123 | reldir="$$dir2" | |
124 | DIST_ARCHIVES = $(distdir).tar.gz | |
125 | GZIP_ENV = --best | |
126 | distuninstallcheck_listfiles = find . -type f -print | |
127 | distcleancheck_listfiles = find . -type f -print | |
128 | ACLOCAL = @ACLOCAL@ | |
129 | AMTAR = @AMTAR@ | |
130 | AUTOCONF = @AUTOCONF@ | |
131 | AUTOHEADER = @AUTOHEADER@ | |
132 | AUTOMAKE = @AUTOMAKE@ | |
133 | AWK = @AWK@ | |
134 | CC = @CC@ | |
135 | CCDEPMODE = @CCDEPMODE@ | |
136 | CFLAGS = @CFLAGS@ | |
137 | CPP = @CPP@ | |
138 | CPPFLAGS = @CPPFLAGS@ | |
139 | CXX = @CXX@ | |
140 | CXXDEPMODE = @CXXDEPMODE@ | |
141 | CXXFLAGS = @CXXFLAGS@ | |
142 | CYGPATH_W = @CYGPATH_W@ | |
143 | DEFS = @DEFS@ | |
144 | DEPDIR = @DEPDIR@ | |
145 | ECHO_C = @ECHO_C@ | |
146 | ECHO_N = @ECHO_N@ | |
147 | ECHO_T = @ECHO_T@ | |
148 | EGREP = @EGREP@ | |
149 | EXEEXT = @EXEEXT@ | |
150 | GREP = @GREP@ | |
151 | INSTALL = @INSTALL@ | |
152 | INSTALL_DATA = @INSTALL_DATA@ | |
153 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
154 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
155 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
156 | LDFLAGS = @LDFLAGS@ | |
157 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
158 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
159 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
160 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
161 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
162 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
163 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
164 | LIBOBJS = @LIBOBJS@ | |
165 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
166 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
167 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
168 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
169 | LIBS = @LIBS@ | |
170 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
171 | LIBZ_LIBS = @LIBZ_LIBS@ | |
172 | LTLIBOBJS = @LTLIBOBJS@ | |
173 | MAKEINFO = @MAKEINFO@ | |
174 | MKDIR_P = @MKDIR_P@ | |
175 | OBJEXT = @OBJEXT@ | |
176 | PACKAGE = @PACKAGE@ | |
177 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
178 | PACKAGE_NAME = @PACKAGE_NAME@ | |
179 | PACKAGE_STRING = @PACKAGE_STRING@ | |
180 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
181 | PACKAGE_URL = @PACKAGE_URL@ | |
182 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
183 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
184 | RANLIB = @RANLIB@ | |
185 | SET_MAKE = @SET_MAKE@ | |
186 | SHELL = @SHELL@ | |
187 | STRIP = @STRIP@ | |
188 | VERSION = @VERSION@ | |
189 | abs_builddir = @abs_builddir@ | |
190 | abs_srcdir = @abs_srcdir@ | |
191 | abs_top_builddir = @abs_top_builddir@ | |
192 | abs_top_srcdir = @abs_top_srcdir@ | |
193 | ac_ct_CC = @ac_ct_CC@ | |
194 | ac_ct_CXX = @ac_ct_CXX@ | |
195 | am__include = @am__include@ | |
196 | am__leading_dot = @am__leading_dot@ | |
197 | am__quote = @am__quote@ | |
198 | am__tar = @am__tar@ | |
199 | am__untar = @am__untar@ | |
200 | bindir = @bindir@ | |
201 | build = @build@ | |
202 | build_alias = @build_alias@ | |
203 | build_cpu = @build_cpu@ | |
204 | build_os = @build_os@ | |
205 | build_vendor = @build_vendor@ | |
206 | builddir = @builddir@ | |
207 | datadir = @datadir@ | |
208 | datarootdir = @datarootdir@ | |
209 | docdir = @docdir@ | |
210 | dvidir = @dvidir@ | |
211 | exec_prefix = @exec_prefix@ | |
212 | host = @host@ | |
213 | host_alias = @host_alias@ | |
214 | host_cpu = @host_cpu@ | |
215 | host_os = @host_os@ | |
216 | host_vendor = @host_vendor@ | |
217 | htmldir = @htmldir@ | |
218 | includedir = @includedir@ | |
219 | infodir = @infodir@ | |
220 | install_sh = @install_sh@ | |
221 | libdir = @libdir@ | |
222 | libexecdir = @libexecdir@ | |
223 | localedir = @localedir@ | |
224 | localstatedir = @localstatedir@ | |
225 | mandir = @mandir@ | |
226 | mkdir_p = @mkdir_p@ | |
227 | oldincludedir = @oldincludedir@ | |
228 | pdfdir = @pdfdir@ | |
229 | prefix = @prefix@ | |
230 | program_transform_name = @program_transform_name@ | |
231 | psdir = @psdir@ | |
232 | sbindir = @sbindir@ | |
233 | sharedstatedir = @sharedstatedir@ | |
234 | srcdir = @srcdir@ | |
235 | sysconfdir = @sysconfdir@ | |
236 | target = @target@ | |
237 | target_alias = @target_alias@ | |
238 | target_cpu = @target_cpu@ | |
239 | target_os = @target_os@ | |
240 | target_vendor = @target_vendor@ | |
241 | top_build_prefix = @top_build_prefix@ | |
242 | top_builddir = @top_builddir@ | |
243 | top_srcdir = @top_srcdir@ | |
244 | SUBDIRS = lout dw dlib dpip src doc dpid dpi test | |
245 | EXTRA_DIST = Doxyfile dillorc install-dpi-local d_size.h | |
246 | sysconf_DATA = dillorc | |
247 | all: config.h | |
248 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
249 | ||
250 | .SUFFIXES: | |
251 | am--refresh: | |
252 | @: | |
253 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
254 | @for dep in $?; do \ | |
255 | case '$(am__configure_deps)' in \ | |
256 | *$$dep*) \ | |
257 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | |
258 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | |
259 | && exit 0; \ | |
260 | exit 1;; \ | |
261 | esac; \ | |
262 | done; \ | |
263 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | |
264 | $(am__cd) $(top_srcdir) && \ | |
265 | $(AUTOMAKE) --gnu Makefile | |
266 | .PRECIOUS: Makefile | |
267 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
268 | @case '$?' in \ | |
269 | *config.status*) \ | |
270 | echo ' $(SHELL) ./config.status'; \ | |
271 | $(SHELL) ./config.status;; \ | |
272 | *) \ | |
273 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
274 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
275 | esac; | |
276 | ||
277 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
278 | $(SHELL) ./config.status --recheck | |
279 | ||
280 | $(top_srcdir)/configure: $(am__configure_deps) | |
281 | $(am__cd) $(srcdir) && $(AUTOCONF) | |
282 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
283 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
284 | $(am__aclocal_m4_deps): | |
285 | ||
286 | config.h: stamp-h1 | |
287 | @if test ! -f $@; then \ | |
288 | rm -f stamp-h1; \ | |
289 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
290 | else :; fi | |
291 | ||
292 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | |
293 | @rm -f stamp-h1 | |
294 | cd $(top_builddir) && $(SHELL) ./config.status config.h | |
295 | $(srcdir)/config.h.in: $(am__configure_deps) | |
296 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | |
297 | rm -f stamp-h1 | |
298 | touch $@ | |
299 | ||
300 | distclean-hdr: | |
301 | -rm -f config.h stamp-h1 | |
302 | install-sysconfDATA: $(sysconf_DATA) | |
303 | @$(NORMAL_INSTALL) | |
304 | test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | |
305 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
306 | for p in $$list; do \ | |
307 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
308 | echo "$$d$$p"; \ | |
309 | done | $(am__base_list) | \ | |
310 | while read files; do \ | |
311 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \ | |
312 | $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \ | |
313 | done | |
314 | ||
315 | uninstall-sysconfDATA: | |
316 | @$(NORMAL_UNINSTALL) | |
317 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
318 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
319 | test -n "$$files" || exit 0; \ | |
320 | echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \ | |
321 | cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files | |
322 | ||
323 | # This directory's subdirectories are mostly independent; you can cd | |
324 | # into them and run `make' without going through this Makefile. | |
325 | # To change the values of `make' variables: instead of editing Makefiles, | |
326 | # (1) if the variable is set in `config.status', edit `config.status' | |
327 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
328 | # (2) otherwise, pass the desired values on the `make' command line. | |
329 | $(RECURSIVE_TARGETS): | |
330 | @fail= failcom='exit 1'; \ | |
331 | for f in x $$MAKEFLAGS; do \ | |
332 | case $$f in \ | |
333 | *=* | --[!k]*);; \ | |
334 | *k*) failcom='fail=yes';; \ | |
335 | esac; \ | |
336 | done; \ | |
337 | dot_seen=no; \ | |
338 | target=`echo $@ | sed s/-recursive//`; \ | |
339 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
340 | echo "Making $$target in $$subdir"; \ | |
341 | if test "$$subdir" = "."; then \ | |
342 | dot_seen=yes; \ | |
343 | local_target="$$target-am"; \ | |
344 | else \ | |
345 | local_target="$$target"; \ | |
346 | fi; \ | |
347 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
348 | || eval $$failcom; \ | |
349 | done; \ | |
350 | if test "$$dot_seen" = "no"; then \ | |
351 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
352 | fi; test -z "$$fail" | |
353 | ||
354 | $(RECURSIVE_CLEAN_TARGETS): | |
355 | @fail= failcom='exit 1'; \ | |
356 | for f in x $$MAKEFLAGS; do \ | |
357 | case $$f in \ | |
358 | *=* | --[!k]*);; \ | |
359 | *k*) failcom='fail=yes';; \ | |
360 | esac; \ | |
361 | done; \ | |
362 | dot_seen=no; \ | |
363 | case "$@" in \ | |
364 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
365 | *) list='$(SUBDIRS)' ;; \ | |
366 | esac; \ | |
367 | rev=''; for subdir in $$list; do \ | |
368 | if test "$$subdir" = "."; then :; else \ | |
369 | rev="$$subdir $$rev"; \ | |
370 | fi; \ | |
371 | done; \ | |
372 | rev="$$rev ."; \ | |
373 | target=`echo $@ | sed s/-recursive//`; \ | |
374 | for subdir in $$rev; do \ | |
375 | echo "Making $$target in $$subdir"; \ | |
376 | if test "$$subdir" = "."; then \ | |
377 | local_target="$$target-am"; \ | |
378 | else \ | |
379 | local_target="$$target"; \ | |
380 | fi; \ | |
381 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
382 | || eval $$failcom; \ | |
383 | done && test -z "$$fail" | |
384 | tags-recursive: | |
385 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
386 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
387 | done | |
388 | ctags-recursive: | |
389 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
390 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
391 | done | |
392 | ||
393 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
394 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
395 | unique=`for i in $$list; do \ | |
396 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
397 | done | \ | |
398 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
399 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
400 | mkid -fID $$unique | |
401 | tags: TAGS | |
402 | ||
403 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
404 | $(TAGS_FILES) $(LISP) | |
405 | set x; \ | |
406 | here=`pwd`; \ | |
407 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | |
408 | include_option=--etags-include; \ | |
409 | empty_fix=.; \ | |
410 | else \ | |
411 | include_option=--include; \ | |
412 | empty_fix=; \ | |
413 | fi; \ | |
414 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
415 | if test "$$subdir" = .; then :; else \ | |
416 | test ! -f $$subdir/TAGS || \ | |
417 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | |
418 | fi; \ | |
419 | done; \ | |
420 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
421 | unique=`for i in $$list; do \ | |
422 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
423 | done | \ | |
424 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
425 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
426 | shift; \ | |
427 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
428 | test -n "$$unique" || unique=$$empty_fix; \ | |
429 | if test $$# -gt 0; then \ | |
430 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
431 | "$$@" $$unique; \ | |
432 | else \ | |
433 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
434 | $$unique; \ | |
435 | fi; \ | |
436 | fi | |
437 | ctags: CTAGS | |
438 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
439 | $(TAGS_FILES) $(LISP) | |
440 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
441 | unique=`for i in $$list; do \ | |
442 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
443 | done | \ | |
444 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
445 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
446 | test -z "$(CTAGS_ARGS)$$unique" \ | |
447 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
448 | $$unique | |
449 | ||
450 | GTAGS: | |
451 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
452 | && $(am__cd) $(top_srcdir) \ | |
453 | && gtags -i $(GTAGS_ARGS) "$$here" | |
454 | ||
455 | distclean-tags: | |
456 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
457 | ||
458 | distdir: $(DISTFILES) | |
459 | $(am__remove_distdir) | |
460 | test -d "$(distdir)" || mkdir "$(distdir)" | |
461 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
462 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
463 | list='$(DISTFILES)'; \ | |
464 | dist_files=`for file in $$list; do echo $$file; done | \ | |
465 | sed -e "s|^$$srcdirstrip/||;t" \ | |
466 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
467 | case $$dist_files in \ | |
468 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
469 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
470 | sort -u` ;; \ | |
471 | esac; \ | |
472 | for file in $$dist_files; do \ | |
473 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
474 | if test -d $$d/$$file; then \ | |
475 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
476 | if test -d "$(distdir)/$$file"; then \ | |
477 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
478 | fi; \ | |
479 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
480 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
481 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
482 | fi; \ | |
483 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
484 | else \ | |
485 | test -f "$(distdir)/$$file" \ | |
486 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
487 | || exit 1; \ | |
488 | fi; \ | |
489 | done | |
490 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
491 | if test "$$subdir" = .; then :; else \ | |
492 | test -d "$(distdir)/$$subdir" \ | |
493 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
494 | || exit 1; \ | |
495 | fi; \ | |
496 | done | |
497 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
498 | if test "$$subdir" = .; then :; else \ | |
499 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | |
500 | $(am__relativize); \ | |
501 | new_distdir=$$reldir; \ | |
502 | dir1=$$subdir; dir2="$(top_distdir)"; \ | |
503 | $(am__relativize); \ | |
504 | new_top_distdir=$$reldir; \ | |
505 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | |
506 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | |
507 | ($(am__cd) $$subdir && \ | |
508 | $(MAKE) $(AM_MAKEFLAGS) \ | |
509 | top_distdir="$$new_top_distdir" \ | |
510 | distdir="$$new_distdir" \ | |
511 | am__remove_distdir=: \ | |
512 | am__skip_length_check=: \ | |
513 | am__skip_mode_fix=: \ | |
514 | distdir) \ | |
515 | || exit 1; \ | |
516 | fi; \ | |
517 | done | |
518 | -test -n "$(am__skip_mode_fix)" \ | |
519 | || find "$(distdir)" -type d ! -perm -755 \ | |
520 | -exec chmod u+rwx,go+rx {} \; -o \ | |
521 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | |
522 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | |
523 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | |
524 | || chmod -R a+r "$(distdir)" | |
525 | dist-gzip: distdir | |
526 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
527 | $(am__remove_distdir) | |
528 | ||
529 | dist-bzip2: distdir | |
530 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
531 | $(am__remove_distdir) | |
532 | ||
533 | dist-lzma: distdir | |
534 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
535 | $(am__remove_distdir) | |
536 | ||
537 | dist-xz: distdir | |
538 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
539 | $(am__remove_distdir) | |
540 | ||
541 | dist-tarZ: distdir | |
542 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | |
543 | $(am__remove_distdir) | |
544 | ||
545 | dist-shar: distdir | |
546 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |
547 | $(am__remove_distdir) | |
548 | ||
549 | dist-zip: distdir | |
550 | -rm -f $(distdir).zip | |
551 | zip -rq $(distdir).zip $(distdir) | |
552 | $(am__remove_distdir) | |
553 | ||
554 | dist dist-all: distdir | |
555 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
556 | $(am__remove_distdir) | |
557 | ||
558 | # This target untars the dist file and tries a VPATH configuration. Then | |
559 | # it guarantees that the distribution is self-contained by making another | |
560 | # tarfile. | |
561 | distcheck: dist | |
562 | case '$(DIST_ARCHIVES)' in \ | |
563 | *.tar.gz*) \ | |
564 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
565 | *.tar.bz2*) \ | |
566 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | |
567 | *.tar.lzma*) \ | |
568 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
569 | *.tar.xz*) \ | |
570 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |
571 | *.tar.Z*) \ | |
572 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |
573 | *.shar.gz*) \ | |
574 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
575 | *.zip*) \ | |
576 | unzip $(distdir).zip ;;\ | |
577 | esac | |
578 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
579 | mkdir $(distdir)/_build | |
580 | mkdir $(distdir)/_inst | |
581 | chmod a-w $(distdir) | |
582 | test -d $(distdir)/_build || exit 0; \ | |
583 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | |
584 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | |
585 | && am__cwd=`pwd` \ | |
586 | && $(am__cd) $(distdir)/_build \ | |
587 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
588 | $(DISTCHECK_CONFIGURE_FLAGS) \ | |
589 | && $(MAKE) $(AM_MAKEFLAGS) \ | |
590 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
591 | && $(MAKE) $(AM_MAKEFLAGS) check \ | |
592 | && $(MAKE) $(AM_MAKEFLAGS) install \ | |
593 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |
594 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | |
595 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | |
596 | distuninstallcheck \ | |
597 | && chmod -R a-w "$$dc_install_base" \ | |
598 | && ({ \ | |
599 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | |
600 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | |
601 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | |
602 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | |
603 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | |
604 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | |
605 | && rm -rf "$$dc_destdir" \ | |
606 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | |
607 | && rm -rf $(DIST_ARCHIVES) \ | |
608 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | |
609 | && cd "$$am__cwd" \ | |
610 | || exit 1 | |
611 | $(am__remove_distdir) | |
612 | @(echo "$(distdir) archives ready for distribution: "; \ | |
613 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | |
614 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | |
615 | distuninstallcheck: | |
616 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
617 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
618 | || { echo "ERROR: files left after uninstall:" ; \ | |
619 | if test -n "$(DESTDIR)"; then \ | |
620 | echo " (check DESTDIR support)"; \ | |
621 | fi ; \ | |
622 | $(distuninstallcheck_listfiles) ; \ | |
623 | exit 1; } >&2 | |
624 | distcleancheck: distclean | |
625 | @if test '$(srcdir)' = . ; then \ | |
626 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | |
627 | exit 1 ; \ | |
628 | fi | |
629 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | |
630 | || { echo "ERROR: files left in build directory after distclean:" ; \ | |
631 | $(distcleancheck_listfiles) ; \ | |
632 | exit 1; } >&2 | |
633 | check-am: all-am | |
634 | check: check-recursive | |
635 | all-am: Makefile $(DATA) config.h | |
636 | installdirs: installdirs-recursive | |
637 | installdirs-am: | |
638 | for dir in "$(DESTDIR)$(sysconfdir)"; do \ | |
639 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
640 | done | |
641 | install: install-recursive | |
642 | install-exec: install-exec-recursive | |
643 | install-data: install-data-recursive | |
644 | uninstall: uninstall-recursive | |
645 | ||
646 | install-am: all-am | |
647 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
648 | ||
649 | installcheck: installcheck-recursive | |
650 | install-strip: | |
651 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
652 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
653 | `test -z '$(STRIP)' || \ | |
654 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
655 | mostlyclean-generic: | |
656 | ||
657 | clean-generic: | |
658 | ||
659 | distclean-generic: | |
660 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
661 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
662 | ||
663 | maintainer-clean-generic: | |
664 | @echo "This command is intended for maintainers to use" | |
665 | @echo "it deletes files that may require special tools to rebuild." | |
666 | clean: clean-recursive | |
667 | ||
668 | clean-am: clean-generic mostlyclean-am | |
669 | ||
670 | distclean: distclean-recursive | |
671 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
672 | -rm -f Makefile | |
673 | distclean-am: clean-am distclean-generic distclean-hdr distclean-tags | |
674 | ||
675 | dvi: dvi-recursive | |
676 | ||
677 | dvi-am: | |
678 | ||
679 | html: html-recursive | |
680 | ||
681 | html-am: | |
682 | ||
683 | info: info-recursive | |
684 | ||
685 | info-am: | |
686 | ||
687 | install-data-am: | |
688 | ||
689 | install-dvi: install-dvi-recursive | |
690 | ||
691 | install-dvi-am: | |
692 | ||
693 | install-exec-am: install-sysconfDATA | |
694 | ||
695 | install-html: install-html-recursive | |
696 | ||
697 | install-html-am: | |
698 | ||
699 | install-info: install-info-recursive | |
700 | ||
701 | install-info-am: | |
702 | ||
703 | install-man: | |
704 | ||
705 | install-pdf: install-pdf-recursive | |
706 | ||
707 | install-pdf-am: | |
708 | ||
709 | install-ps: install-ps-recursive | |
710 | ||
711 | install-ps-am: | |
712 | ||
713 | installcheck-am: | |
714 | ||
715 | maintainer-clean: maintainer-clean-recursive | |
716 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
717 | -rm -rf $(top_srcdir)/autom4te.cache | |
718 | -rm -f Makefile | |
719 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
720 | ||
721 | mostlyclean: mostlyclean-recursive | |
722 | ||
723 | mostlyclean-am: mostlyclean-generic | |
724 | ||
725 | pdf: pdf-recursive | |
726 | ||
727 | pdf-am: | |
728 | ||
729 | ps: ps-recursive | |
730 | ||
731 | ps-am: | |
732 | ||
733 | uninstall-am: uninstall-sysconfDATA | |
734 | ||
735 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
736 | ctags-recursive install-am install-strip tags-recursive | |
737 | ||
738 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
739 | all all-am am--refresh check check-am clean clean-generic \ | |
740 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
741 | dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ | |
742 | distclean distclean-generic distclean-hdr distclean-tags \ | |
743 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |
744 | html-am info info-am install install-am install-data \ | |
745 | install-data-am install-dvi install-dvi-am install-exec \ | |
746 | install-exec-am install-html install-html-am install-info \ | |
747 | install-info-am install-man install-pdf install-pdf-am \ | |
748 | install-ps install-ps-am install-strip install-sysconfDATA \ | |
749 | installcheck installcheck-am installdirs installdirs-am \ | |
750 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
751 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ | |
752 | uninstall uninstall-am uninstall-sysconfDATA | |
753 | ||
754 | ||
755 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
756 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
757 | .NOEXPORT: |
0 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
4 | # This file is free software; the Free Software Foundation | |
5 | # gives unlimited permission to copy and/or distribute it, | |
6 | # with or without modifications, as long as this notice is preserved. | |
7 | ||
8 | # This program is distributed in the hope that it will be useful, | |
9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
11 | # PARTICULAR PURPOSE. | |
12 | ||
13 | m4_ifndef([AC_AUTOCONF_VERSION], | |
14 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, | |
16 | [m4_warning([this file was generated for autoconf 2.68. | |
17 | You have another version of autoconf. It may work, but is not guaranteed to. | |
18 | If you have problems, you may need to regenerate the build system entirely. | |
19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
20 | ||
21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
26 | ||
27 | # AM_AUTOMAKE_VERSION(VERSION) | |
28 | # ---------------------------- | |
29 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | |
30 | # generated from the m4 files accompanying Automake X.Y. | |
31 | # (This private macro should not be called outside this file.) | |
32 | AC_DEFUN([AM_AUTOMAKE_VERSION], | |
33 | [am__api_version='1.11' | |
34 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
35 | dnl require some minimum version. Point them to the right macro. | |
36 | m4_if([$1], [1.11.1], [], | |
37 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
38 | ]) | |
39 | ||
40 | # _AM_AUTOCONF_VERSION(VERSION) | |
41 | # ----------------------------- | |
42 | # aclocal traces this macro to find the Autoconf version. | |
43 | # This is a private macro too. Using m4_define simplifies | |
44 | # the logic in aclocal, which can simply ignore this definition. | |
45 | m4_define([_AM_AUTOCONF_VERSION], []) | |
46 | ||
47 | # AM_SET_CURRENT_AUTOMAKE_VERSION | |
48 | # ------------------------------- | |
49 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | |
50 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | |
51 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
53 | m4_ifndef([AC_AUTOCONF_VERSION], | |
54 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
55 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
56 | ||
57 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | |
58 | ||
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # | |
61 | # This file is free software; the Free Software Foundation | |
62 | # gives unlimited permission to copy and/or distribute it, | |
63 | # with or without modifications, as long as this notice is preserved. | |
64 | ||
65 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
66 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
67 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
68 | # | |
69 | # Of course, Automake must honor this variable whenever it calls a | |
70 | # tool from the auxiliary directory. The problem is that $srcdir (and | |
71 | # therefore $ac_aux_dir as well) can be either absolute or relative, | |
72 | # depending on how configure is run. This is pretty annoying, since | |
73 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
74 | # source directory, any form will work fine, but in subdirectories a | |
75 | # relative path needs to be adjusted first. | |
76 | # | |
77 | # $ac_aux_dir/missing | |
78 | # fails when called from a subdirectory if $ac_aux_dir is relative | |
79 | # $top_srcdir/$ac_aux_dir/missing | |
80 | # fails if $ac_aux_dir is absolute, | |
81 | # fails when called from a subdirectory in a VPATH build with | |
82 | # a relative $ac_aux_dir | |
83 | # | |
84 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
85 | # are both prefixed by $srcdir. In an in-source build this is usually | |
86 | # harmless because $srcdir is `.', but things will broke when you | |
87 | # start a VPATH build or use an absolute $srcdir. | |
88 | # | |
89 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
90 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
91 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
92 | # and then we would define $MISSING as | |
93 | # MISSING="\${SHELL} $am_aux_dir/missing" | |
94 | # This will work as long as MISSING is not called from configure, because | |
95 | # unfortunately $(top_srcdir) has no meaning in configure. | |
96 | # However there are other variables, like CC, which are often used in | |
97 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | |
98 | # | |
99 | # Another solution, used here, is to always expand $ac_aux_dir to an | |
100 | # absolute PATH. The drawback is that using absolute paths prevent a | |
101 | # configured tree to be moved without reconfiguration. | |
102 | ||
103 | AC_DEFUN([AM_AUX_DIR_EXPAND], | |
104 | [dnl Rely on autoconf to set up CDPATH properly. | |
105 | AC_PREREQ([2.50])dnl | |
106 | # expand $ac_aux_dir to an absolute path | |
107 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
108 | ]) | |
109 | ||
110 | # AM_CONDITIONAL -*- Autoconf -*- | |
111 | ||
112 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
113 | # Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
118 | ||
119 | # serial 9 | |
120 | ||
121 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
122 | # ------------------------------------- | |
123 | # Define a conditional. | |
124 | AC_DEFUN([AM_CONDITIONAL], | |
125 | [AC_PREREQ(2.52)dnl | |
126 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
127 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | AC_SUBST([$1_TRUE])dnl | |
129 | AC_SUBST([$1_FALSE])dnl | |
130 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
131 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
132 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
133 | if $2; then | |
134 | $1_TRUE= | |
135 | $1_FALSE='#' | |
136 | else | |
137 | $1_TRUE='#' | |
138 | $1_FALSE= | |
139 | fi | |
140 | AC_CONFIG_COMMANDS_PRE( | |
141 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
142 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
143 | Usually this means the macro was only invoked conditionally.]]) | |
144 | fi])]) | |
145 | ||
146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
147 | # Free Software Foundation, Inc. | |
148 | # | |
149 | # This file is free software; the Free Software Foundation | |
150 | # gives unlimited permission to copy and/or distribute it, | |
151 | # with or without modifications, as long as this notice is preserved. | |
152 | ||
153 | # serial 10 | |
154 | ||
155 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
156 | # written in clear, in which case automake, when reading aclocal.m4, | |
157 | # will think it sees a *use*, and therefore will trigger all it's | |
158 | # C support machinery. Also note that it means that autoscan, seeing | |
159 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | |
160 | ||
161 | ||
162 | # _AM_DEPENDENCIES(NAME) | |
163 | # ---------------------- | |
164 | # See how the compiler implements dependency checking. | |
165 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
166 | # We try a few techniques and use that to set a single cache variable. | |
167 | # | |
168 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | |
169 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | |
170 | # dependency, and given that the user is not expected to run this macro, | |
171 | # just rely on AC_PROG_CC. | |
172 | AC_DEFUN([_AM_DEPENDENCIES], | |
173 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
174 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
175 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
176 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
177 | ||
178 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
179 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
180 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
181 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
182 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
183 | [depcc="$$1" am_compiler_list=]) | |
184 | ||
185 | AC_CACHE_CHECK([dependency style of $depcc], | |
186 | [am_cv_$1_dependencies_compiler_type], | |
187 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
188 | # We make a subdir and do the tests there. Otherwise we can end up | |
189 | # making bogus files that we don't know about and never remove. For | |
190 | # instance it was reported that on HP-UX the gcc test will end up | |
191 | # making a dummy file named `D' -- because `-MD' means `put the output | |
192 | # in D'. | |
193 | mkdir conftest.dir | |
194 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
195 | # using a relative directory. | |
196 | cp "$am_depcomp" conftest.dir | |
197 | cd conftest.dir | |
198 | # We will build objects and dependencies in a subdirectory because | |
199 | # it helps to detect inapplicable dependency modes. For instance | |
200 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
201 | # side effect of compilation, but ICC will put the dependencies in | |
202 | # the current directory while Tru64 will put them in the object | |
203 | # directory. | |
204 | mkdir sub | |
205 | ||
206 | am_cv_$1_dependencies_compiler_type=none | |
207 | if test "$am_compiler_list" = ""; then | |
208 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
209 | fi | |
210 | am__universal=false | |
211 | m4_case([$1], [CC], | |
212 | [case " $depcc " in #( | |
213 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
214 | esac], | |
215 | [CXX], | |
216 | [case " $depcc " in #( | |
217 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
218 | esac]) | |
219 | ||
220 | for depmode in $am_compiler_list; do | |
221 | # Setup a source with many dependencies, because some compilers | |
222 | # like to wrap large dependency lists on column 80 (with \), and | |
223 | # we should not choose a depcomp mode which is confused by this. | |
224 | # | |
225 | # We need to recreate these files for each test, as the compiler may | |
226 | # overwrite some of them when testing with obscure command lines. | |
227 | # This happens at least with the AIX C compiler. | |
228 | : > sub/conftest.c | |
229 | for i in 1 2 3 4 5 6; do | |
230 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
231 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
232 | # Solaris 8's {/usr,}/bin/sh. | |
233 | touch sub/conftst$i.h | |
234 | done | |
235 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
236 | ||
237 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
238 | # mode. It turns out that the SunPro C++ compiler does not properly | |
239 | # handle `-M -o', and we need to detect this. Also, some Intel | |
240 | # versions had trouble with output in subdirs | |
241 | am__obj=sub/conftest.${OBJEXT-o} | |
242 | am__minus_obj="-o $am__obj" | |
243 | case $depmode in | |
244 | gcc) | |
245 | # This depmode causes a compiler race in universal mode. | |
246 | test "$am__universal" = false || continue | |
247 | ;; | |
248 | nosideeffect) | |
249 | # after this tag, mechanisms are not by side-effect, so they'll | |
250 | # only be used when explicitly requested | |
251 | if test "x$enable_dependency_tracking" = xyes; then | |
252 | continue | |
253 | else | |
254 | break | |
255 | fi | |
256 | ;; | |
257 | msvisualcpp | msvcmsys) | |
258 | # This compiler won't grok `-c -o', but also, the minuso test has | |
259 | # not run yet. These depmodes are late enough in the game, and | |
260 | # so weak that their functioning should not be impacted. | |
261 | am__obj=conftest.${OBJEXT-o} | |
262 | am__minus_obj= | |
263 | ;; | |
264 | none) break ;; | |
265 | esac | |
266 | if depmode=$depmode \ | |
267 | source=sub/conftest.c object=$am__obj \ | |
268 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
269 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
270 | >/dev/null 2>conftest.err && | |
271 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
272 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
273 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
274 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
275 | # icc doesn't choke on unknown options, it will just issue warnings | |
276 | # or remarks (even with -Werror). So we grep stderr for any message | |
277 | # that says an option was ignored or not supported. | |
278 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
279 | # icc: Command line warning: ignoring option '-M'; no argument required | |
280 | # The diagnosis changed in icc 8.0: | |
281 | # icc: Command line remark: option '-MP' not supported | |
282 | if (grep 'ignoring option' conftest.err || | |
283 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
284 | am_cv_$1_dependencies_compiler_type=$depmode | |
285 | break | |
286 | fi | |
287 | fi | |
288 | done | |
289 | ||
290 | cd .. | |
291 | rm -rf conftest.dir | |
292 | else | |
293 | am_cv_$1_dependencies_compiler_type=none | |
294 | fi | |
295 | ]) | |
296 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
297 | AM_CONDITIONAL([am__fastdep$1], [ | |
298 | test "x$enable_dependency_tracking" != xno \ | |
299 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
300 | ]) | |
301 | ||
302 | ||
303 | # AM_SET_DEPDIR | |
304 | # ------------- | |
305 | # Choose a directory name for dependency files. | |
306 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
307 | AC_DEFUN([AM_SET_DEPDIR], | |
308 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
309 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
310 | ]) | |
311 | ||
312 | ||
313 | # AM_DEP_TRACK | |
314 | # ------------ | |
315 | AC_DEFUN([AM_DEP_TRACK], | |
316 | [AC_ARG_ENABLE(dependency-tracking, | |
317 | [ --disable-dependency-tracking speeds up one-time build | |
318 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
319 | if test "x$enable_dependency_tracking" != xno; then | |
320 | am_depcomp="$ac_aux_dir/depcomp" | |
321 | AMDEPBACKSLASH='\' | |
322 | fi | |
323 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
324 | AC_SUBST([AMDEPBACKSLASH])dnl | |
325 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
326 | ]) | |
327 | ||
328 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
329 | ||
330 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
331 | # Free Software Foundation, Inc. | |
332 | # | |
333 | # This file is free software; the Free Software Foundation | |
334 | # gives unlimited permission to copy and/or distribute it, | |
335 | # with or without modifications, as long as this notice is preserved. | |
336 | ||
337 | #serial 5 | |
338 | ||
339 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | |
340 | # ------------------------------ | |
341 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |
342 | [{ | |
343 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
344 | # are listed without --file. Let's play safe and only enable the eval | |
345 | # if we detect the quoting. | |
346 | case $CONFIG_FILES in | |
347 | *\'*) eval set x "$CONFIG_FILES" ;; | |
348 | *) set x $CONFIG_FILES ;; | |
349 | esac | |
350 | shift | |
351 | for mf | |
352 | do | |
353 | # Strip MF so we end up with the name of the file. | |
354 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
355 | # Check whether this is an Automake generated Makefile or not. | |
356 | # We used to match only the files named `Makefile.in', but | |
357 | # some people rename them; so instead we look at the file content. | |
358 | # Grep'ing the first line is not enough: some people post-process | |
359 | # each Makefile.in and add a new line on top of each file to say so. | |
360 | # Grep'ing the whole file is not good either: AIX grep has a line | |
361 | # limit of 2048, but all sed's we know have understand at least 4000. | |
362 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
363 | dirpart=`AS_DIRNAME("$mf")` | |
364 | else | |
365 | continue | |
366 | fi | |
367 | # Extract the definition of DEPDIR, am__include, and am__quote | |
368 | # from the Makefile without running `make'. | |
369 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
370 | test -z "$DEPDIR" && continue | |
371 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
372 | test -z "am__include" && continue | |
373 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
374 | # When using ansi2knr, U may be empty or an underscore; expand it | |
375 | U=`sed -n 's/^U = //p' < "$mf"` | |
376 | # Find all dependency output files, they are included files with | |
377 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
378 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
379 | # expansion. | |
380 | for file in `sed -n " | |
381 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | # Make sure the directory exists. | |
384 | test -f "$dirpart/$file" && continue | |
385 | fdir=`AS_DIRNAME(["$file"])` | |
386 | AS_MKDIR_P([$dirpart/$fdir]) | |
387 | # echo "creating $dirpart/$file" | |
388 | echo '# dummy' > "$dirpart/$file" | |
389 | done | |
390 | done | |
391 | } | |
392 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
393 | ||
394 | ||
395 | # AM_OUTPUT_DEPENDENCY_COMMANDS | |
396 | # ----------------------------- | |
397 | # This macro should only be invoked once -- use via AC_REQUIRE. | |
398 | # | |
399 | # This code is only required when automatic dependency tracking | |
400 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | # need in order to bootstrap the dependency handling code. | |
402 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |
403 | [AC_CONFIG_COMMANDS([depfiles], | |
404 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
405 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
406 | ]) | |
407 | ||
408 | # Do all the work for Automake. -*- Autoconf -*- | |
409 | ||
410 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
411 | # 2005, 2006, 2008, 2009 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 | # serial 16 | |
418 | ||
419 | # This macro actually does too much. Some checks are only needed if | |
420 | # your package does certain things. But this isn't really a big deal. | |
421 | ||
422 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | |
423 | # AM_INIT_AUTOMAKE([OPTIONS]) | |
424 | # ----------------------------------------------- | |
425 | # The call with PACKAGE and VERSION arguments is the old style | |
426 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | |
427 | # and VERSION should now be passed to AC_INIT and removed from | |
428 | # the call to AM_INIT_AUTOMAKE. | |
429 | # We support both call styles for the transition. After | |
430 | # the next Automake release, Autoconf can make the AC_INIT | |
431 | # arguments mandatory, and then we can depend on a new Autoconf | |
432 | # release and drop the old call support. | |
433 | AC_DEFUN([AM_INIT_AUTOMAKE], | |
434 | [AC_PREREQ([2.62])dnl | |
435 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
436 | dnl the ones we care about. | |
437 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
438 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
439 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
440 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
441 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
442 | # is not polluted with repeated "-I." | |
443 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
444 | # test to see if srcdir already configured | |
445 | if test -f $srcdir/config.status; then | |
446 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
447 | fi | |
448 | fi | |
449 | ||
450 | # test whether we have cygpath | |
451 | if test -z "$CYGPATH_W"; then | |
452 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
453 | CYGPATH_W='cygpath -w' | |
454 | else | |
455 | CYGPATH_W=echo | |
456 | fi | |
457 | fi | |
458 | AC_SUBST([CYGPATH_W]) | |
459 | ||
460 | # Define the identity of the package. | |
461 | dnl Distinguish between old-style and new-style calls. | |
462 | m4_ifval([$2], | |
463 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
464 | AC_SUBST([PACKAGE], [$1])dnl | |
465 | AC_SUBST([VERSION], [$2])], | |
466 | [_AM_SET_OPTIONS([$1])dnl | |
467 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
468 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
469 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
470 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
471 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
472 | ||
473 | _AM_IF_OPTION([no-define],, | |
474 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
475 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
476 | ||
477 | # Some tools Automake needs. | |
478 | AC_REQUIRE([AM_SANITY_CHECK])dnl | |
479 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
480 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
481 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
482 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
483 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
484 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
485 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
486 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | |
487 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
488 | # We need awk for the "check" target. The system "awk" is bad on | |
489 | # some platforms. | |
490 | AC_REQUIRE([AC_PROG_AWK])dnl | |
491 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
492 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
493 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
494 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
495 | [_AM_PROG_TAR([v7])])]) | |
496 | _AM_IF_OPTION([no-dependencies],, | |
497 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | |
498 | [_AM_DEPENDENCIES(CC)], | |
499 | [define([AC_PROG_CC], | |
500 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
501 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
502 | [_AM_DEPENDENCIES(CXX)], | |
503 | [define([AC_PROG_CXX], | |
504 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
505 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
506 | [_AM_DEPENDENCIES(OBJC)], | |
507 | [define([AC_PROG_OBJC], | |
508 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
509 | ]) | |
510 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
511 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
512 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
513 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
514 | AC_CONFIG_COMMANDS_PRE(dnl | |
515 | [m4_provide_if([_AM_COMPILER_EXEEXT], | |
516 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | |
517 | ]) | |
518 | ||
519 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
520 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | |
521 | dnl mangled by Autoconf and run in a shell conditional statement. | |
522 | m4_define([_AC_COMPILER_EXEEXT], | |
523 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | |
524 | ||
525 | ||
526 | # When config.status generates a header, we must update the stamp-h file. | |
527 | # This file resides in the same directory as the config header | |
528 | # that is generated. The stamp files are numbered to have different names. | |
529 | ||
530 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | |
531 | # loop where config.status creates the headers, so we can generate | |
532 | # our stamp files there. | |
533 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | |
534 | [# Compute $1's index in $config_headers. | |
535 | _am_arg=$1 | |
536 | _am_stamp_count=1 | |
537 | for _am_header in $config_headers :; do | |
538 | case $_am_header in | |
539 | $_am_arg | $_am_arg:* ) | |
540 | break ;; | |
541 | * ) | |
542 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
543 | esac | |
544 | done | |
545 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
546 | ||
547 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
548 | # | |
549 | # This file is free software; the Free Software Foundation | |
550 | # gives unlimited permission to copy and/or distribute it, | |
551 | # with or without modifications, as long as this notice is preserved. | |
552 | ||
553 | # AM_PROG_INSTALL_SH | |
554 | # ------------------ | |
555 | # Define $install_sh. | |
556 | AC_DEFUN([AM_PROG_INSTALL_SH], | |
557 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
558 | if test x"${install_sh}" != xset; then | |
559 | case $am_aux_dir in | |
560 | *\ * | *\ *) | |
561 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
562 | *) | |
563 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
564 | esac | |
565 | fi | |
566 | AC_SUBST(install_sh)]) | |
567 | ||
568 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
569 | # | |
570 | # This file is free software; the Free Software Foundation | |
571 | # gives unlimited permission to copy and/or distribute it, | |
572 | # with or without modifications, as long as this notice is preserved. | |
573 | ||
574 | # serial 2 | |
575 | ||
576 | # Check whether the underlying file-system supports filenames | |
577 | # with a leading dot. For instance MS-DOS doesn't. | |
578 | AC_DEFUN([AM_SET_LEADING_DOT], | |
579 | [rm -rf .tst 2>/dev/null | |
580 | mkdir .tst 2>/dev/null | |
581 | if test -d .tst; then | |
582 | am__leading_dot=. | |
583 | else | |
584 | am__leading_dot=_ | |
585 | fi | |
586 | rmdir .tst 2>/dev/null | |
587 | AC_SUBST([am__leading_dot])]) | |
588 | ||
589 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
590 | ||
591 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
592 | # | |
593 | # This file is free software; the Free Software Foundation | |
594 | # gives unlimited permission to copy and/or distribute it, | |
595 | # with or without modifications, as long as this notice is preserved. | |
596 | ||
597 | # serial 4 | |
598 | ||
599 | # AM_MAKE_INCLUDE() | |
600 | # ----------------- | |
601 | # Check to see how make treats includes. | |
602 | AC_DEFUN([AM_MAKE_INCLUDE], | |
603 | [am_make=${MAKE-make} | |
604 | cat > confinc << 'END' | |
605 | am__doit: | |
606 | @echo this is the am__doit target | |
607 | .PHONY: am__doit | |
608 | END | |
609 | # If we don't find an include directive, just comment out the code. | |
610 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
611 | am__include="#" | |
612 | am__quote= | |
613 | _am_result=none | |
614 | # First try GNU make style include. | |
615 | echo "include confinc" > confmf | |
616 | # Ignore all kinds of additional output from `make'. | |
617 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
618 | *the\ am__doit\ target*) | |
619 | am__include=include | |
620 | am__quote= | |
621 | _am_result=GNU | |
622 | ;; | |
623 | esac | |
624 | # Now try BSD make style include. | |
625 | if test "$am__include" = "#"; then | |
626 | echo '.include "confinc"' > confmf | |
627 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
628 | *the\ am__doit\ target*) | |
629 | am__include=.include | |
630 | am__quote="\"" | |
631 | _am_result=BSD | |
632 | ;; | |
633 | esac | |
634 | fi | |
635 | AC_SUBST([am__include]) | |
636 | AC_SUBST([am__quote]) | |
637 | AC_MSG_RESULT([$_am_result]) | |
638 | rm -f confinc confmf | |
639 | ]) | |
640 | ||
641 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | |
642 | ||
643 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
644 | # Free Software Foundation, Inc. | |
645 | # | |
646 | # This file is free software; the Free Software Foundation | |
647 | # gives unlimited permission to copy and/or distribute it, | |
648 | # with or without modifications, as long as this notice is preserved. | |
649 | ||
650 | # serial 6 | |
651 | ||
652 | # AM_MISSING_PROG(NAME, PROGRAM) | |
653 | # ------------------------------ | |
654 | AC_DEFUN([AM_MISSING_PROG], | |
655 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
656 | $1=${$1-"${am_missing_run}$2"} | |
657 | AC_SUBST($1)]) | |
658 | ||
659 | ||
660 | # AM_MISSING_HAS_RUN | |
661 | # ------------------ | |
662 | # Define MISSING if not defined so far and test if it supports --run. | |
663 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
664 | AC_DEFUN([AM_MISSING_HAS_RUN], | |
665 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
666 | AC_REQUIRE_AUX_FILE([missing])dnl | |
667 | if test x"${MISSING+set}" != xset; then | |
668 | case $am_aux_dir in | |
669 | *\ * | *\ *) | |
670 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
671 | *) | |
672 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
673 | esac | |
674 | fi | |
675 | # Use eval to expand $SHELL | |
676 | if eval "$MISSING --run true"; then | |
677 | am_missing_run="$MISSING --run " | |
678 | else | |
679 | am_missing_run= | |
680 | AC_MSG_WARN([`missing' script is too old or missing]) | |
681 | fi | |
682 | ]) | |
683 | ||
684 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
685 | # | |
686 | # This file is free software; the Free Software Foundation | |
687 | # gives unlimited permission to copy and/or distribute it, | |
688 | # with or without modifications, as long as this notice is preserved. | |
689 | ||
690 | # AM_PROG_MKDIR_P | |
691 | # --------------- | |
692 | # Check for `mkdir -p'. | |
693 | AC_DEFUN([AM_PROG_MKDIR_P], | |
694 | [AC_PREREQ([2.60])dnl | |
695 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
696 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
697 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
698 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
699 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
700 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
701 | dnl adjustment using top_builddir (which is defined more often than | |
702 | dnl MKDIR_P). | |
703 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
704 | case $mkdir_p in | |
705 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
706 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
707 | esac | |
708 | ]) | |
709 | ||
710 | # Helper functions for option handling. -*- Autoconf -*- | |
711 | ||
712 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
713 | # | |
714 | # This file is free software; the Free Software Foundation | |
715 | # gives unlimited permission to copy and/or distribute it, | |
716 | # with or without modifications, as long as this notice is preserved. | |
717 | ||
718 | # serial 4 | |
719 | ||
720 | # _AM_MANGLE_OPTION(NAME) | |
721 | # ----------------------- | |
722 | AC_DEFUN([_AM_MANGLE_OPTION], | |
723 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
724 | ||
725 | # _AM_SET_OPTION(NAME) | |
726 | # ------------------------------ | |
727 | # Set option NAME. Presently that only means defining a flag for this option. | |
728 | AC_DEFUN([_AM_SET_OPTION], | |
729 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
730 | ||
731 | # _AM_SET_OPTIONS(OPTIONS) | |
732 | # ---------------------------------- | |
733 | # OPTIONS is a space-separated list of Automake options. | |
734 | AC_DEFUN([_AM_SET_OPTIONS], | |
735 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
736 | ||
737 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | |
738 | # ------------------------------------------- | |
739 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | |
740 | AC_DEFUN([_AM_IF_OPTION], | |
741 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
742 | ||
743 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | |
744 | ||
745 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
746 | # Free Software Foundation, Inc. | |
747 | # | |
748 | # This file is free software; the Free Software Foundation | |
749 | # gives unlimited permission to copy and/or distribute it, | |
750 | # with or without modifications, as long as this notice is preserved. | |
751 | ||
752 | # serial 5 | |
753 | ||
754 | # AM_SANITY_CHECK | |
755 | # --------------- | |
756 | AC_DEFUN([AM_SANITY_CHECK], | |
757 | [AC_MSG_CHECKING([whether build environment is sane]) | |
758 | # Just in case | |
759 | sleep 1 | |
760 | echo timestamp > conftest.file | |
761 | # Reject unsafe characters in $srcdir or the absolute working directory | |
762 | # name. Accept space and tab only in the latter. | |
763 | am_lf=' | |
764 | ' | |
765 | case `pwd` in | |
766 | *[[\\\"\#\$\&\'\`$am_lf]]*) | |
767 | AC_MSG_ERROR([unsafe absolute working directory name]);; | |
768 | esac | |
769 | case $srcdir in | |
770 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | |
771 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
772 | esac | |
773 | ||
774 | # Do `set' in a subshell so we don't clobber the current shell's | |
775 | # arguments. Must try -L first in case configure is actually a | |
776 | # symlink; some systems play weird games with the mod time of symlinks | |
777 | # (eg FreeBSD returns the mod time of the symlink's containing | |
778 | # directory). | |
779 | if ( | |
780 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
781 | if test "$[*]" = "X"; then | |
782 | # -L didn't work. | |
783 | set X `ls -t "$srcdir/configure" conftest.file` | |
784 | fi | |
785 | rm -f conftest.file | |
786 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
787 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
788 | ||
789 | # If neither matched, then we have a broken ls. This can happen | |
790 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
791 | # broken ls alias from the environment. This has actually | |
792 | # happened. Such a system could not be considered "sane". | |
793 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
794 | alias in your environment]) | |
795 | fi | |
796 | ||
797 | test "$[2]" = conftest.file | |
798 | ) | |
799 | then | |
800 | # Ok. | |
801 | : | |
802 | else | |
803 | AC_MSG_ERROR([newly created file is older than distributed files! | |
804 | Check your system clock]) | |
805 | fi | |
806 | AC_MSG_RESULT(yes)]) | |
807 | ||
808 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
809 | # | |
810 | # This file is free software; the Free Software Foundation | |
811 | # gives unlimited permission to copy and/or distribute it, | |
812 | # with or without modifications, as long as this notice is preserved. | |
813 | ||
814 | # AM_PROG_INSTALL_STRIP | |
815 | # --------------------- | |
816 | # One issue with vendor `install' (even GNU) is that you can't | |
817 | # specify the program used to strip binaries. This is especially | |
818 | # annoying in cross-compiling environments, where the build's strip | |
819 | # is unlikely to handle the host's binaries. | |
820 | # Fortunately install-sh will honor a STRIPPROG variable, so we | |
821 | # always use install-sh in `make install-strip', and initialize | |
822 | # STRIPPROG with the value of the STRIP variable (set by the user). | |
823 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | |
824 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
825 | # Installed binaries are usually stripped using `strip' when the user | |
826 | # run `make install-strip'. However `strip' might not be the right | |
827 | # tool to use in cross-compilation environments, therefore Automake | |
828 | # will honor the `STRIP' environment variable to overrule this program. | |
829 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
830 | if test "$cross_compiling" != no; then | |
831 | AC_CHECK_TOOL([STRIP], [strip], :) | |
832 | fi | |
833 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
834 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
835 | ||
836 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
837 | # | |
838 | # This file is free software; the Free Software Foundation | |
839 | # gives unlimited permission to copy and/or distribute it, | |
840 | # with or without modifications, as long as this notice is preserved. | |
841 | ||
842 | # serial 2 | |
843 | ||
844 | # _AM_SUBST_NOTMAKE(VARIABLE) | |
845 | # --------------------------- | |
846 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
847 | # This macro is traced by Automake. | |
848 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
849 | ||
850 | # AM_SUBST_NOTMAKE(VARIABLE) | |
851 | # --------------------------- | |
852 | # Public sister of _AM_SUBST_NOTMAKE. | |
853 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
854 | ||
855 | # Check how to create a tarball. -*- Autoconf -*- | |
856 | ||
857 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
858 | # | |
859 | # This file is free software; the Free Software Foundation | |
860 | # gives unlimited permission to copy and/or distribute it, | |
861 | # with or without modifications, as long as this notice is preserved. | |
862 | ||
863 | # serial 2 | |
864 | ||
865 | # _AM_PROG_TAR(FORMAT) | |
866 | # -------------------- | |
867 | # Check how to create a tarball in format FORMAT. | |
868 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
869 | # | |
870 | # Substitute a variable $(am__tar) that is a command | |
871 | # writing to stdout a FORMAT-tarball containing the directory | |
872 | # $tardir. | |
873 | # tardir=directory && $(am__tar) > result.tar | |
874 | # | |
875 | # Substitute a variable $(am__untar) that extract such | |
876 | # a tarball read from stdin. | |
877 | # $(am__untar) < result.tar | |
878 | AC_DEFUN([_AM_PROG_TAR], | |
879 | [# Always define AMTAR for backward compatibility. | |
880 | AM_MISSING_PROG([AMTAR], [tar]) | |
881 | m4_if([$1], [v7], | |
882 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
883 | [m4_case([$1], [ustar],, [pax],, | |
884 | [m4_fatal([Unknown tar format])]) | |
885 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
886 | # Loop over all known methods to create a tar archive until one works. | |
887 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
888 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
889 | # Do not fold the above two line into one, because Tru64 sh and | |
890 | # Solaris sh will not grok spaces in the rhs of `-'. | |
891 | for _am_tool in $_am_tools | |
892 | do | |
893 | case $_am_tool in | |
894 | gnutar) | |
895 | for _am_tar in tar gnutar gtar; | |
896 | do | |
897 | AM_RUN_LOG([$_am_tar --version]) && break | |
898 | done | |
899 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
900 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
901 | am__untar="$_am_tar -xf -" | |
902 | ;; | |
903 | plaintar) | |
904 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
905 | # ustar tarball either. | |
906 | (tar --version) >/dev/null 2>&1 && continue | |
907 | am__tar='tar chf - "$$tardir"' | |
908 | am__tar_='tar chf - "$tardir"' | |
909 | am__untar='tar xf -' | |
910 | ;; | |
911 | pax) | |
912 | am__tar='pax -L -x $1 -w "$$tardir"' | |
913 | am__tar_='pax -L -x $1 -w "$tardir"' | |
914 | am__untar='pax -r' | |
915 | ;; | |
916 | cpio) | |
917 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
918 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
919 | am__untar='cpio -i -H $1 -d' | |
920 | ;; | |
921 | none) | |
922 | am__tar=false | |
923 | am__tar_=false | |
924 | am__untar=false | |
925 | ;; | |
926 | esac | |
927 | ||
928 | # If the value was cached, stop now. We just wanted to have am__tar | |
929 | # and am__untar set. | |
930 | test -n "${am_cv_prog_tar_$1}" && break | |
931 | ||
932 | # tar/untar a dummy directory, and stop if the command works | |
933 | rm -rf conftest.dir | |
934 | mkdir conftest.dir | |
935 | echo GrepMe > conftest.dir/file | |
936 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
937 | rm -rf conftest.dir | |
938 | if test -s conftest.tar; then | |
939 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
940 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
941 | fi | |
942 | done | |
943 | rm -rf conftest.dir | |
944 | ||
945 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
946 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
947 | AC_SUBST([am__tar]) | |
948 | AC_SUBST([am__untar]) | |
949 | ]) # _AM_PROG_TAR | |
950 |
0 | #!/bin/sh | |
1 | # | |
2 | # Script to generate configure&make stuff | |
3 | # | |
4 | ||
5 | #----------------------------------------------------- | |
6 | # If defined, get these programs from the environment | |
7 | # | |
8 | : ${ACLOCAL:=aclocal} | |
9 | : ${AUTOHEADER:=autoheader} | |
10 | : ${AUTOCONF:=autoconf} | |
11 | : ${AUTOMAKE:=automake} | |
12 | ||
13 | #------------------------- | |
14 | # Required binaries check | |
15 | # | |
16 | check_bin_file(){ | |
17 | which $1 > /dev/null 2>&1 | |
18 | if [ $? = 0 ]; then | |
19 | return 0 | |
20 | else | |
21 | return 1 | |
22 | fi | |
23 | } | |
24 | ||
25 | #------ | |
26 | # Main | |
27 | # | |
28 | ||
29 | #clear | |
30 | ERR="no" | |
31 | for cmd in "$ACLOCAL" "$AUTOHEADER" "$AUTOCONF" "$AUTOMAKE" | |
32 | do | |
33 | if check_bin_file "$cmd" | |
34 | then | |
35 | echo -e "$cmd \tfound" | |
36 | else | |
37 | echo -e "$cmd \tNOT found" | |
38 | ERR="yes" | |
39 | fi | |
40 | done | |
41 | ||
42 | if test $ERR = "yes" | |
43 | then | |
44 | echo | |
45 | echo "ERROR: to run this program you need the following installed" | |
46 | echo " $ACLOCAL $AUTOHEADER $AUTOCONF $AUTOMAKE" | |
47 | echo | |
48 | exit 1 | |
49 | fi | |
50 | ||
51 | echo "[Checks passed]" | |
52 | echo "Generating..." | |
53 | ||
54 | "$ACLOCAL" | |
55 | "$AUTOHEADER" | |
56 | "$AUTOCONF" | |
57 | "$AUTOMAKE" -a | |
58 |
0 | #! /bin/sh | |
1 | # Attempt to guess a canonical system name. | |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2011-05-11' | |
7 | ||
8 | # This file is free software; you can redistribute it and/or modify it | |
9 | # under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2 of the License, or | |
11 | # (at your option) any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, but | |
14 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | # General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
22 | # | |
23 | # As a special exception to the GNU General Public License, if you | |
24 | # distribute this file as part of a program that contains a | |
25 | # configuration script generated by Autoconf, you may include it under | |
26 | # the same distribution terms that you use for the rest of that program. | |
27 | ||
28 | ||
29 | # Originally written by Per Bothner. Please send patches (context | |
30 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
31 | # entry. | |
32 | # | |
33 | # This script attempts to guess a canonical system name similar to | |
34 | # config.sub. If it succeeds, it prints the system name on stdout, and | |
35 | # exits with 0. Otherwise, it exits with 1. | |
36 | # | |
37 | # You can get the latest version of this script from: | |
38 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
39 | ||
40 | me=`echo "$0" | sed -e 's,.*/,,'` | |
41 | ||
42 | usage="\ | |
43 | Usage: $0 [OPTION] | |
44 | ||
45 | Output the configuration name of the system \`$me' is run on. | |
46 | ||
47 | Operation modes: | |
48 | -h, --help print this help, then exit | |
49 | -t, --time-stamp print date of last modification, then exit | |
50 | -v, --version print version number, then exit | |
51 | ||
52 | Report bugs and patches to <config-patches@gnu.org>." | |
53 | ||
54 | version="\ | |
55 | GNU config.guess ($timestamp) | |
56 | ||
57 | Originally written by Per Bothner. | |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
59 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free | |
60 | Software Foundation, Inc. | |
61 | ||
62 | This is free software; see the source for copying conditions. There is NO | |
63 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | |
64 | ||
65 | help=" | |
66 | Try \`$me --help' for more information." | |
67 | ||
68 | # Parse command line | |
69 | while test $# -gt 0 ; do | |
70 | case $1 in | |
71 | --time-stamp | --time* | -t ) | |
72 | echo "$timestamp" ; exit ;; | |
73 | --version | -v ) | |
74 | echo "$version" ; exit ;; | |
75 | --help | --h* | -h ) | |
76 | echo "$usage"; exit ;; | |
77 | -- ) # Stop option processing | |
78 | shift; break ;; | |
79 | - ) # Use stdin as input. | |
80 | break ;; | |
81 | -* ) | |
82 | echo "$me: invalid option $1$help" >&2 | |
83 | exit 1 ;; | |
84 | * ) | |
85 | break ;; | |
86 | esac | |
87 | done | |
88 | ||
89 | if test $# != 0; then | |
90 | echo "$me: too many arguments$help" >&2 | |
91 | exit 1 | |
92 | fi | |
93 | ||
94 | trap 'exit 1' 1 2 15 | |
95 | ||
96 | # CC_FOR_BUILD -- compiler used by this script. Note that the use of a | |
97 | # compiler to aid in system detection is discouraged as it requires | |
98 | # temporary files to be created and, as you can see below, it is a | |
99 | # headache to deal with in a portable fashion. | |
100 | ||
101 | # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still | |
102 | # use `HOST_CC' if defined, but it is deprecated. | |
103 | ||
104 | # Portable tmp directory creation inspired by the Autoconf team. | |
105 | ||
106 | set_cc_for_build=' | |
107 | trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; | |
108 | trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; | |
109 | : ${TMPDIR=/tmp} ; | |
110 | { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || | |
111 | { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || | |
112 | { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || | |
113 | { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; | |
114 | dummy=$tmp/dummy ; | |
115 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; | |
116 | case $CC_FOR_BUILD,$HOST_CC,$CC in | |
117 | ,,) echo "int x;" > $dummy.c ; | |
118 | for c in cc gcc c89 c99 ; do | |
119 | if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | |
120 | CC_FOR_BUILD="$c"; break ; | |
121 | fi ; | |
122 | done ; | |
123 | if test x"$CC_FOR_BUILD" = x ; then | |
124 | CC_FOR_BUILD=no_compiler_found ; | |
125 | fi | |
126 | ;; | |
127 | ,,*) CC_FOR_BUILD=$CC ;; | |
128 | ,*,*) CC_FOR_BUILD=$HOST_CC ;; | |
129 | esac ; set_cc_for_build= ;' | |
130 | ||
131 | # This is needed to find uname on a Pyramid OSx when run in the BSD universe. | |
132 | # (ghazi@noc.rutgers.edu 1994-08-24) | |
133 | if (test -f /.attbin/uname) >/dev/null 2>&1 ; then | |
134 | PATH=$PATH:/.attbin ; export PATH | |
135 | fi | |
136 | ||
137 | UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown | |
138 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown | |
139 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | |
140 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | |
141 | ||
142 | # Note: order is significant - the case branches are not exclusive. | |
143 | ||
144 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
145 | *:NetBSD:*:*) | |
146 | # NetBSD (nbsd) targets should (where applicable) match one or | |
147 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | |
148 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently | |
149 | # switched to ELF, *-*-netbsd* would select the old | |
150 | # object file format. This provides both forward | |
151 | # compatibility and a consistent mechanism for selecting the | |
152 | # object file format. | |
153 | # | |
154 | # Note: NetBSD doesn't particularly care about the vendor | |
155 | # portion of the name. We always set it to "unknown". | |
156 | sysctl="sysctl -n hw.machine_arch" | |
157 | UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ | |
158 | /usr/sbin/$sysctl 2>/dev/null || echo unknown)` | |
159 | case "${UNAME_MACHINE_ARCH}" in | |
160 | armeb) machine=armeb-unknown ;; | |
161 | arm*) machine=arm-unknown ;; | |
162 | sh3el) machine=shl-unknown ;; | |
163 | sh3eb) machine=sh-unknown ;; | |
164 | sh5el) machine=sh5le-unknown ;; | |
165 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | |
166 | esac | |
167 | # The Operating System including object format, if it has switched | |
168 | # to ELF recently, or will in the future. | |
169 | case "${UNAME_MACHINE_ARCH}" in | |
170 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) | |
171 | eval $set_cc_for_build | |
172 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
173 | | grep -q __ELF__ | |
174 | then | |
175 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). | |
176 | # Return netbsd for either. FIX? | |
177 | os=netbsd | |
178 | else | |
179 | os=netbsdelf | |
180 | fi | |
181 | ;; | |
182 | *) | |
183 | os=netbsd | |
184 | ;; | |
185 | esac | |
186 | # The OS release | |
187 | # Debian GNU/NetBSD machines have a different userland, and | |
188 | # thus, need a distinct triplet. However, they do not need | |
189 | # kernel version information, so it can be replaced with a | |
190 | # suitable tag, in the style of linux-gnu. | |
191 | case "${UNAME_VERSION}" in | |
192 | Debian*) | |
193 | release='-gnu' | |
194 | ;; | |
195 | *) | |
196 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | |
197 | ;; | |
198 | esac | |
199 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: | |
200 | # contains redundant information, the shorter form: | |
201 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | |
202 | echo "${machine}-${os}${release}" | |
203 | exit ;; | |
204 | *:OpenBSD:*:*) | |
205 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | |
206 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
207 | exit ;; | |
208 | *:ekkoBSD:*:*) | |
209 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
210 | exit ;; | |
211 | *:SolidBSD:*:*) | |
212 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
213 | exit ;; | |
214 | macppc:MirBSD:*:*) | |
215 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
216 | exit ;; | |
217 | *:MirBSD:*:*) | |
218 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
219 | exit ;; | |
220 | alpha:OSF1:*:*) | |
221 | case $UNAME_RELEASE in | |
222 | *4.0) | |
223 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | |
224 | ;; | |
225 | *5.*) | |
226 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
227 | ;; | |
228 | esac | |
229 | # According to Compaq, /usr/sbin/psrinfo has been available on | |
230 | # OSF/1 and Tru64 systems produced since 1995. I hope that | |
231 | # covers most systems running today. This code pipes the CPU | |
232 | # types through head -n 1, so we only detect the type of CPU 0. | |
233 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` | |
234 | case "$ALPHA_CPU_TYPE" in | |
235 | "EV4 (21064)") | |
236 | UNAME_MACHINE="alpha" ;; | |
237 | "EV4.5 (21064)") | |
238 | UNAME_MACHINE="alpha" ;; | |
239 | "LCA4 (21066/21068)") | |
240 | UNAME_MACHINE="alpha" ;; | |
241 | "EV5 (21164)") | |
242 | UNAME_MACHINE="alphaev5" ;; | |
243 | "EV5.6 (21164A)") | |
244 | UNAME_MACHINE="alphaev56" ;; | |
245 | "EV5.6 (21164PC)") | |
246 | UNAME_MACHINE="alphapca56" ;; | |
247 | "EV5.7 (21164PC)") | |
248 | UNAME_MACHINE="alphapca57" ;; | |
249 | "EV6 (21264)") | |
250 | UNAME_MACHINE="alphaev6" ;; | |
251 | "EV6.7 (21264A)") | |
252 | UNAME_MACHINE="alphaev67" ;; | |
253 | "EV6.8CB (21264C)") | |
254 | UNAME_MACHINE="alphaev68" ;; | |
255 | "EV6.8AL (21264B)") | |
256 | UNAME_MACHINE="alphaev68" ;; | |
257 | "EV6.8CX (21264D)") | |
258 | UNAME_MACHINE="alphaev68" ;; | |
259 | "EV6.9A (21264/EV69A)") | |
260 | UNAME_MACHINE="alphaev69" ;; | |
261 | "EV7 (21364)") | |
262 | UNAME_MACHINE="alphaev7" ;; | |
263 | "EV7.9 (21364A)") | |
264 | UNAME_MACHINE="alphaev79" ;; | |
265 | esac | |
266 | # A Pn.n version is a patched version. | |
267 | # A Vn.n version is a released version. | |
268 | # A Tn.n version is a released field test version. | |
269 | # A Xn.n version is an unreleased experimental baselevel. | |
270 | # 1.2 uses "1.2" for uname -r. | |
271 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
272 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
273 | exitcode=$? | |
274 | trap '' 0 | |
275 | exit $exitcode ;; | |
276 | Alpha\ *:Windows_NT*:*) | |
277 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
278 | # Should we change UNAME_MACHINE based on the output of uname instead | |
279 | # of the specific Alpha model? | |
280 | echo alpha-pc-interix | |
281 | exit ;; | |
282 | 21064:Windows_NT:50:3) | |
283 | echo alpha-dec-winnt3.5 | |
284 | exit ;; | |
285 | Amiga*:UNIX_System_V:4.0:*) | |
286 | echo m68k-unknown-sysv4 | |
287 | exit ;; | |
288 | *:[Aa]miga[Oo][Ss]:*:*) | |
289 | echo ${UNAME_MACHINE}-unknown-amigaos | |
290 | exit ;; | |
291 | *:[Mm]orph[Oo][Ss]:*:*) | |
292 | echo ${UNAME_MACHINE}-unknown-morphos | |
293 | exit ;; | |
294 | *:OS/390:*:*) | |
295 | echo i370-ibm-openedition | |
296 | exit ;; | |
297 | *:z/VM:*:*) | |
298 | echo s390-ibm-zvmoe | |
299 | exit ;; | |
300 | *:OS400:*:*) | |
301 | echo powerpc-ibm-os400 | |
302 | exit ;; | |
303 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | |
304 | echo arm-acorn-riscix${UNAME_RELEASE} | |
305 | exit ;; | |
306 | arm:riscos:*:*|arm:RISCOS:*:*) | |
307 | echo arm-unknown-riscos | |
308 | exit ;; | |
309 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | |
310 | echo hppa1.1-hitachi-hiuxmpp | |
311 | exit ;; | |
312 | Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) | |
313 | # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. | |
314 | if test "`(/bin/universe) 2>/dev/null`" = att ; then | |
315 | echo pyramid-pyramid-sysv3 | |
316 | else | |
317 | echo pyramid-pyramid-bsd | |
318 | fi | |
319 | exit ;; | |
320 | NILE*:*:*:dcosx) | |
321 | echo pyramid-pyramid-svr4 | |
322 | exit ;; | |
323 | DRS?6000:unix:4.0:6*) | |
324 | echo sparc-icl-nx6 | |
325 | exit ;; | |
326 | DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) | |
327 | case `/usr/bin/uname -p` in | |
328 | sparc) echo sparc-icl-nx7; exit ;; | |
329 | esac ;; | |
330 | s390x:SunOS:*:*) | |
331 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
332 | exit ;; | |
333 | sun4H:SunOS:5.*:*) | |
334 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
335 | exit ;; | |
336 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | |
337 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
338 | exit ;; | |
339 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | |
340 | echo i386-pc-auroraux${UNAME_RELEASE} | |
341 | exit ;; | |
342 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | |
343 | eval $set_cc_for_build | |
344 | SUN_ARCH="i386" | |
345 | # If there is a compiler, see if it is configured for 64-bit objects. | |
346 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | |
347 | # This test works for both compilers. | |
348 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
349 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
350 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
351 | grep IS_64BIT_ARCH >/dev/null | |
352 | then | |
353 | SUN_ARCH="x86_64" | |
354 | fi | |
355 | fi | |
356 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
357 | exit ;; | |
358 | sun4*:SunOS:6*:*) | |
359 | # According to config.sub, this is the proper way to canonicalize | |
360 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but | |
361 | # it's likely to be more like Solaris than SunOS4. | |
362 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
363 | exit ;; | |
364 | sun4*:SunOS:*:*) | |
365 | case "`/usr/bin/arch -k`" in | |
366 | Series*|S4*) | |
367 | UNAME_RELEASE=`uname -v` | |
368 | ;; | |
369 | esac | |
370 | # Japanese Language versions have a version number like `4.1.3-JL'. | |
371 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | |
372 | exit ;; | |
373 | sun3*:SunOS:*:*) | |
374 | echo m68k-sun-sunos${UNAME_RELEASE} | |
375 | exit ;; | |
376 | sun*:*:4.2BSD:*) | |
377 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` | |
378 | test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 | |
379 | case "`/bin/arch`" in | |
380 | sun3) | |
381 | echo m68k-sun-sunos${UNAME_RELEASE} | |
382 | ;; | |
383 | sun4) | |
384 | echo sparc-sun-sunos${UNAME_RELEASE} | |
385 | ;; | |
386 | esac | |
387 | exit ;; | |
388 | aushp:SunOS:*:*) | |
389 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
390 | exit ;; | |
391 | # The situation for MiNT is a little confusing. The machine name | |
392 | # can be virtually everything (everything which is not | |
393 | # "atarist" or "atariste" at least should have a processor | |
394 | # > m68000). The system name ranges from "MiNT" over "FreeMiNT" | |
395 | # to the lowercase version "mint" (or "freemint"). Finally | |
396 | # the system name "TOS" denotes a system which is actually not | |
397 | # MiNT. But MiNT is downward compatible to TOS, so this should | |
398 | # be no problem. | |
399 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | |
400 | echo m68k-atari-mint${UNAME_RELEASE} | |
401 | exit ;; | |
402 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | |
403 | echo m68k-atari-mint${UNAME_RELEASE} | |
404 | exit ;; | |
405 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | |
406 | echo m68k-atari-mint${UNAME_RELEASE} | |
407 | exit ;; | |
408 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | |
409 | echo m68k-milan-mint${UNAME_RELEASE} | |
410 | exit ;; | |
411 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | |
412 | echo m68k-hades-mint${UNAME_RELEASE} | |
413 | exit ;; | |
414 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | |
415 | echo m68k-unknown-mint${UNAME_RELEASE} | |
416 | exit ;; | |
417 | m68k:machten:*:*) | |
418 | echo m68k-apple-machten${UNAME_RELEASE} | |
419 | exit ;; | |
420 | powerpc:machten:*:*) | |
421 | echo powerpc-apple-machten${UNAME_RELEASE} | |
422 | exit ;; | |
423 | RISC*:Mach:*:*) | |
424 | echo mips-dec-mach_bsd4.3 | |
425 | exit ;; | |
426 | RISC*:ULTRIX:*:*) | |
427 | echo mips-dec-ultrix${UNAME_RELEASE} | |
428 | exit ;; | |
429 | VAX*:ULTRIX*:*:*) | |
430 | echo vax-dec-ultrix${UNAME_RELEASE} | |
431 | exit ;; | |
432 | 2020:CLIX:*:* | 2430:CLIX:*:*) | |
433 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
434 | exit ;; | |
435 | mips:*:*:UMIPS | mips:*:*:RISCos) | |
436 | eval $set_cc_for_build | |
437 | sed 's/^ //' << EOF >$dummy.c | |
438 | #ifdef __cplusplus | |
439 | #include <stdio.h> /* for printf() prototype */ | |
440 | int main (int argc, char *argv[]) { | |
441 | #else | |
442 | int main (argc, argv) int argc; char *argv[]; { | |
443 | #endif | |
444 | #if defined (host_mips) && defined (MIPSEB) | |
445 | #if defined (SYSTYPE_SYSV) | |
446 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
447 | #endif | |
448 | #if defined (SYSTYPE_SVR4) | |
449 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
450 | #endif | |
451 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) | |
452 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
453 | #endif | |
454 | #endif | |
455 | exit (-1); | |
456 | } | |
457 | EOF | |
458 | $CC_FOR_BUILD -o $dummy $dummy.c && | |
459 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
460 | SYSTEM_NAME=`$dummy $dummyarg` && | |
461 | { echo "$SYSTEM_NAME"; exit; } | |
462 | echo mips-mips-riscos${UNAME_RELEASE} | |
463 | exit ;; | |
464 | Motorola:PowerMAX_OS:*:*) | |
465 | echo powerpc-motorola-powermax | |
466 | exit ;; | |
467 | Motorola:*:4.3:PL8-*) | |
468 | echo powerpc-harris-powermax | |
469 | exit ;; | |
470 | Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) | |
471 | echo powerpc-harris-powermax | |
472 | exit ;; | |
473 | Night_Hawk:Power_UNIX:*:*) | |
474 | echo powerpc-harris-powerunix | |
475 | exit ;; | |
476 | m88k:CX/UX:7*:*) | |
477 | echo m88k-harris-cxux7 | |
478 | exit ;; | |
479 | m88k:*:4*:R4*) | |
480 | echo m88k-motorola-sysv4 | |
481 | exit ;; | |
482 | m88k:*:3*:R3*) | |
483 | echo m88k-motorola-sysv3 | |
484 | exit ;; | |
485 | AViiON:dgux:*:*) | |
486 | # DG/UX returns AViiON for all architectures | |
487 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
488 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
489 | then | |
490 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | |
491 | [ ${TARGET_BINARY_INTERFACE}x = x ] | |
492 | then | |
493 | echo m88k-dg-dgux${UNAME_RELEASE} | |
494 | else | |
495 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
496 | fi | |
497 | else | |
498 | echo i586-dg-dgux${UNAME_RELEASE} | |
499 | fi | |
500 | exit ;; | |
501 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) | |
502 | echo m88k-dolphin-sysv3 | |
503 | exit ;; | |
504 | M88*:*:R3*:*) | |
505 | # Delta 88k system running SVR3 | |
506 | echo m88k-motorola-sysv3 | |
507 | exit ;; | |
508 | XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) | |
509 | echo m88k-tektronix-sysv3 | |
510 | exit ;; | |
511 | Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) | |
512 | echo m68k-tektronix-bsd | |
513 | exit ;; | |
514 | *:IRIX*:*:*) | |
515 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | |
516 | exit ;; | |
517 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. | |
518 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id | |
519 | exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' | |
520 | i*86:AIX:*:*) | |
521 | echo i386-ibm-aix | |
522 | exit ;; | |
523 | ia64:AIX:*:*) | |
524 | if [ -x /usr/bin/oslevel ] ; then | |
525 | IBM_REV=`/usr/bin/oslevel` | |
526 | else | |
527 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
528 | fi | |
529 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | |
530 | exit ;; | |
531 | *:AIX:2:3) | |
532 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then | |
533 | eval $set_cc_for_build | |
534 | sed 's/^ //' << EOF >$dummy.c | |
535 | #include <sys/systemcfg.h> | |
536 | ||
537 | main() | |
538 | { | |
539 | if (!__power_pc()) | |
540 | exit(1); | |
541 | puts("powerpc-ibm-aix3.2.5"); | |
542 | exit(0); | |
543 | } | |
544 | EOF | |
545 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | |
546 | then | |
547 | echo "$SYSTEM_NAME" | |
548 | else | |
549 | echo rs6000-ibm-aix3.2.5 | |
550 | fi | |
551 | elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then | |
552 | echo rs6000-ibm-aix3.2.4 | |
553 | else | |
554 | echo rs6000-ibm-aix3.2 | |
555 | fi | |
556 | exit ;; | |
557 | *:AIX:*:[4567]) | |
558 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | |
559 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | |
560 | IBM_ARCH=rs6000 | |
561 | else | |
562 | IBM_ARCH=powerpc | |
563 | fi | |
564 | if [ -x /usr/bin/oslevel ] ; then | |
565 | IBM_REV=`/usr/bin/oslevel` | |
566 | else | |
567 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
568 | fi | |
569 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | |
570 | exit ;; | |
571 | *:AIX:*:*) | |
572 | echo rs6000-ibm-aix | |
573 | exit ;; | |
574 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
575 | echo romp-ibm-bsd4.4 | |
576 | exit ;; | |
577 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and | |
578 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | |
579 | exit ;; # report: romp-ibm BSD 4.3 | |
580 | *:BOSX:*:*) | |
581 | echo rs6000-bull-bosx | |
582 | exit ;; | |
583 | DPX/2?00:B.O.S.:*:*) | |
584 | echo m68k-bull-sysv3 | |
585 | exit ;; | |
586 | 9000/[34]??:4.3bsd:1.*:*) | |
587 | echo m68k-hp-bsd | |
588 | exit ;; | |
589 | hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) | |
590 | echo m68k-hp-bsd4.4 | |
591 | exit ;; | |
592 | 9000/[34678]??:HP-UX:*:*) | |
593 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
594 | case "${UNAME_MACHINE}" in | |
595 | 9000/31? ) HP_ARCH=m68000 ;; | |
596 | 9000/[34]?? ) HP_ARCH=m68k ;; | |
597 | 9000/[678][0-9][0-9]) | |
598 | if [ -x /usr/bin/getconf ]; then | |
599 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` | |
600 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
601 | case "${sc_cpu_version}" in | |
602 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
603 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
604 | 532) # CPU_PA_RISC2_0 | |
605 | case "${sc_kernel_bits}" in | |
606 | 32) HP_ARCH="hppa2.0n" ;; | |
607 | 64) HP_ARCH="hppa2.0w" ;; | |
608 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | |
609 | esac ;; | |
610 | esac | |
611 | fi | |
612 | if [ "${HP_ARCH}" = "" ]; then | |
613 | eval $set_cc_for_build | |
614 | sed 's/^ //' << EOF >$dummy.c | |
615 | ||
616 | #define _HPUX_SOURCE | |
617 | #include <stdlib.h> | |
618 | #include <unistd.h> | |
619 | ||
620 | int main () | |
621 | { | |
622 | #if defined(_SC_KERNEL_BITS) | |
623 | long bits = sysconf(_SC_KERNEL_BITS); | |
624 | #endif | |
625 | long cpu = sysconf (_SC_CPU_VERSION); | |
626 | ||
627 | switch (cpu) | |
628 | { | |
629 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
630 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
631 | case CPU_PA_RISC2_0: | |
632 | #if defined(_SC_KERNEL_BITS) | |
633 | switch (bits) | |
634 | { | |
635 | case 64: puts ("hppa2.0w"); break; | |
636 | case 32: puts ("hppa2.0n"); break; | |
637 | default: puts ("hppa2.0"); break; | |
638 | } break; | |
639 | #else /* !defined(_SC_KERNEL_BITS) */ | |
640 | puts ("hppa2.0"); break; | |
641 | #endif | |
642 | default: puts ("hppa1.0"); break; | |
643 | } | |
644 | exit (0); | |
645 | } | |
646 | EOF | |
647 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
648 | test -z "$HP_ARCH" && HP_ARCH=hppa | |
649 | fi ;; | |
650 | esac | |
651 | if [ ${HP_ARCH} = "hppa2.0w" ] | |
652 | then | |
653 | eval $set_cc_for_build | |
654 | ||
655 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating | |
656 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler | |
657 | # generating 64-bit code. GNU and HP use different nomenclature: | |
658 | # | |
659 | # $ CC_FOR_BUILD=cc ./config.guess | |
660 | # => hppa2.0w-hp-hpux11.23 | |
661 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess | |
662 | # => hppa64-hp-hpux11.23 | |
663 | ||
664 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | |
665 | grep -q __LP64__ | |
666 | then | |
667 | HP_ARCH="hppa2.0w" | |
668 | else | |
669 | HP_ARCH="hppa64" | |
670 | fi | |
671 | fi | |
672 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
673 | exit ;; | |
674 | ia64:HP-UX:*:*) | |
675 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
676 | echo ia64-hp-hpux${HPUX_REV} | |
677 | exit ;; | |
678 | 3050*:HI-UX:*:*) | |
679 | eval $set_cc_for_build | |
680 | sed 's/^ //' << EOF >$dummy.c | |
681 | #include <unistd.h> | |
682 | int | |
683 | main () | |
684 | { | |
685 | long cpu = sysconf (_SC_CPU_VERSION); | |
686 | /* The order matters, because CPU_IS_HP_MC68K erroneously returns | |
687 | true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct | |
688 | results, however. */ | |
689 | if (CPU_IS_PA_RISC (cpu)) | |
690 | { | |
691 | switch (cpu) | |
692 | { | |
693 | case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; | |
694 | case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; | |
695 | case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; | |
696 | default: puts ("hppa-hitachi-hiuxwe2"); break; | |
697 | } | |
698 | } | |
699 | else if (CPU_IS_HP_MC68K (cpu)) | |
700 | puts ("m68k-hitachi-hiuxwe2"); | |
701 | else puts ("unknown-hitachi-hiuxwe2"); | |
702 | exit (0); | |
703 | } | |
704 | EOF | |
705 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
706 | { echo "$SYSTEM_NAME"; exit; } | |
707 | echo unknown-hitachi-hiuxwe2 | |
708 | exit ;; | |
709 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
710 | echo hppa1.1-hp-bsd | |
711 | exit ;; | |
712 | 9000/8??:4.3bsd:*:*) | |
713 | echo hppa1.0-hp-bsd | |
714 | exit ;; | |
715 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) | |
716 | echo hppa1.0-hp-mpeix | |
717 | exit ;; | |
718 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
719 | echo hppa1.1-hp-osf | |
720 | exit ;; | |
721 | hp8??:OSF1:*:*) | |
722 | echo hppa1.0-hp-osf | |
723 | exit ;; | |
724 | i*86:OSF1:*:*) | |
725 | if [ -x /usr/sbin/sysversion ] ; then | |
726 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
727 | else | |
728 | echo ${UNAME_MACHINE}-unknown-osf1 | |
729 | fi | |
730 | exit ;; | |
731 | parisc*:Lites*:*:*) | |
732 | echo hppa1.1-hp-lites | |
733 | exit ;; | |
734 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | |
735 | echo c1-convex-bsd | |
736 | exit ;; | |
737 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) | |
738 | if getsysinfo -f scalar_acc | |
739 | then echo c32-convex-bsd | |
740 | else echo c2-convex-bsd | |
741 | fi | |
742 | exit ;; | |
743 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) | |
744 | echo c34-convex-bsd | |
745 | exit ;; | |
746 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) | |
747 | echo c38-convex-bsd | |
748 | exit ;; | |
749 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) | |
750 | echo c4-convex-bsd | |
751 | exit ;; | |
752 | CRAY*Y-MP:*:*:*) | |
753 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
754 | exit ;; | |
755 | CRAY*[A-Z]90:*:*:*) | |
756 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
757 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ | |
758 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ | |
759 | -e 's/\.[^.]*$/.X/' | |
760 | exit ;; | |
761 | CRAY*TS:*:*:*) | |
762 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
763 | exit ;; | |
764 | CRAY*T3E:*:*:*) | |
765 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
766 | exit ;; | |
767 | CRAY*SV1:*:*:*) | |
768 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
769 | exit ;; | |
770 | *:UNICOS/mp:*:*) | |
771 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
772 | exit ;; | |
773 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) | |
774 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
775 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
776 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
777 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
778 | exit ;; | |
779 | 5000:UNIX_System_V:4.*:*) | |
780 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
781 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
782 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
783 | exit ;; | |
784 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | |
785 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | |
786 | exit ;; | |
787 | sparc*:BSD/OS:*:*) | |
788 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
789 | exit ;; | |
790 | *:BSD/OS:*:*) | |
791 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
792 | exit ;; | |
793 | *:FreeBSD:*:*) | |
794 | case ${UNAME_MACHINE} in | |
795 | pc98) | |
796 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
797 | amd64) | |
798 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
799 | *) | |
800 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
801 | esac | |
802 | exit ;; | |
803 | i*:CYGWIN*:*) | |
804 | echo ${UNAME_MACHINE}-pc-cygwin | |
805 | exit ;; | |
806 | *:MINGW*:*) | |
807 | echo ${UNAME_MACHINE}-pc-mingw32 | |
808 | exit ;; | |
809 | i*:windows32*:*) | |
810 | # uname -m includes "-pc" on this system. | |
811 | echo ${UNAME_MACHINE}-mingw32 | |
812 | exit ;; | |
813 | i*:PW*:*) | |
814 | echo ${UNAME_MACHINE}-pc-pw32 | |
815 | exit ;; | |
816 | *:Interix*:*) | |
817 | case ${UNAME_MACHINE} in | |
818 | x86) | |
819 | echo i586-pc-interix${UNAME_RELEASE} | |
820 | exit ;; | |
821 | authenticamd | genuineintel | EM64T) | |
822 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
823 | exit ;; | |
824 | IA64) | |
825 | echo ia64-unknown-interix${UNAME_RELEASE} | |
826 | exit ;; | |
827 | esac ;; | |
828 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | |
829 | echo i${UNAME_MACHINE}-pc-mks | |
830 | exit ;; | |
831 | 8664:Windows_NT:*) | |
832 | echo x86_64-pc-mks | |
833 | exit ;; | |
834 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | |
835 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
836 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | |
837 | # UNAME_MACHINE based on the output of uname instead of i386? | |
838 | echo i586-pc-interix | |
839 | exit ;; | |
840 | i*:UWIN*:*) | |
841 | echo ${UNAME_MACHINE}-pc-uwin | |
842 | exit ;; | |
843 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) | |
844 | echo x86_64-unknown-cygwin | |
845 | exit ;; | |
846 | p*:CYGWIN*:*) | |
847 | echo powerpcle-unknown-cygwin | |
848 | exit ;; | |
849 | prep*:SunOS:5.*:*) | |
850 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
851 | exit ;; | |
852 | *:GNU:*:*) | |
853 | # the GNU system | |
854 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
855 | exit ;; | |
856 | *:GNU/*:*:*) | |
857 | # other systems with GNU libc and userland | |
858 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
859 | exit ;; | |
860 | i*86:Minix:*:*) | |
861 | echo ${UNAME_MACHINE}-pc-minix | |
862 | exit ;; | |
863 | alpha:Linux:*:*) | |
864 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | |
865 | EV5) UNAME_MACHINE=alphaev5 ;; | |
866 | EV56) UNAME_MACHINE=alphaev56 ;; | |
867 | PCA56) UNAME_MACHINE=alphapca56 ;; | |
868 | PCA57) UNAME_MACHINE=alphapca56 ;; | |
869 | EV6) UNAME_MACHINE=alphaev6 ;; | |
870 | EV67) UNAME_MACHINE=alphaev67 ;; | |
871 | EV68*) UNAME_MACHINE=alphaev68 ;; | |
872 | esac | |
873 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
874 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
875 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
876 | exit ;; | |
877 | arm*:Linux:*:*) | |
878 | eval $set_cc_for_build | |
879 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
880 | | grep -q __ARM_EABI__ | |
881 | then | |
882 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
883 | else | |
884 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
885 | | grep -q __ARM_PCS_VFP | |
886 | then | |
887 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
888 | else | |
889 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
890 | fi | |
891 | fi | |
892 | exit ;; | |
893 | avr32*:Linux:*:*) | |
894 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
895 | exit ;; | |
896 | cris:Linux:*:*) | |
897 | echo cris-axis-linux-gnu | |
898 | exit ;; | |
899 | crisv32:Linux:*:*) | |
900 | echo crisv32-axis-linux-gnu | |
901 | exit ;; | |
902 | frv:Linux:*:*) | |
903 | echo frv-unknown-linux-gnu | |
904 | exit ;; | |
905 | i*86:Linux:*:*) | |
906 | LIBC=gnu | |
907 | eval $set_cc_for_build | |
908 | sed 's/^ //' << EOF >$dummy.c | |
909 | #ifdef __dietlibc__ | |
910 | LIBC=dietlibc | |
911 | #endif | |
912 | EOF | |
913 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
914 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
915 | exit ;; | |
916 | ia64:Linux:*:*) | |
917 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
918 | exit ;; | |
919 | m32r*:Linux:*:*) | |
920 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
921 | exit ;; | |
922 | m68*:Linux:*:*) | |
923 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
924 | exit ;; | |
925 | mips:Linux:*:* | mips64:Linux:*:*) | |
926 | eval $set_cc_for_build | |
927 | sed 's/^ //' << EOF >$dummy.c | |
928 | #undef CPU | |
929 | #undef ${UNAME_MACHINE} | |
930 | #undef ${UNAME_MACHINE}el | |
931 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
932 | CPU=${UNAME_MACHINE}el | |
933 | #else | |
934 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
935 | CPU=${UNAME_MACHINE} | |
936 | #else | |
937 | CPU= | |
938 | #endif | |
939 | #endif | |
940 | EOF | |
941 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
942 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
943 | ;; | |
944 | or32:Linux:*:*) | |
945 | echo or32-unknown-linux-gnu | |
946 | exit ;; | |
947 | padre:Linux:*:*) | |
948 | echo sparc-unknown-linux-gnu | |
949 | exit ;; | |
950 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
951 | echo hppa64-unknown-linux-gnu | |
952 | exit ;; | |
953 | parisc:Linux:*:* | hppa:Linux:*:*) | |
954 | # Look for CPU level | |
955 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | |
956 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
957 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
958 | *) echo hppa-unknown-linux-gnu ;; | |
959 | esac | |
960 | exit ;; | |
961 | ppc64:Linux:*:*) | |
962 | echo powerpc64-unknown-linux-gnu | |
963 | exit ;; | |
964 | ppc:Linux:*:*) | |
965 | echo powerpc-unknown-linux-gnu | |
966 | exit ;; | |
967 | s390:Linux:*:* | s390x:Linux:*:*) | |
968 | echo ${UNAME_MACHINE}-ibm-linux | |
969 | exit ;; | |
970 | sh64*:Linux:*:*) | |
971 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
972 | exit ;; | |
973 | sh*:Linux:*:*) | |
974 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
975 | exit ;; | |
976 | sparc:Linux:*:* | sparc64:Linux:*:*) | |
977 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
978 | exit ;; | |
979 | tile*:Linux:*:*) | |
980 | echo ${UNAME_MACHINE}-tilera-linux-gnu | |
981 | exit ;; | |
982 | vax:Linux:*:*) | |
983 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
984 | exit ;; | |
985 | x86_64:Linux:*:*) | |
986 | echo x86_64-unknown-linux-gnu | |
987 | exit ;; | |
988 | xtensa*:Linux:*:*) | |
989 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
990 | exit ;; | |
991 | i*86:DYNIX/ptx:4*:*) | |
992 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. | |
993 | # earlier versions are messed up and put the nodename in both | |
994 | # sysname and nodename. | |
995 | echo i386-sequent-sysv4 | |
996 | exit ;; | |
997 | i*86:UNIX_SV:4.2MP:2.*) | |
998 | # Unixware is an offshoot of SVR4, but it has its own version | |
999 | # number series starting with 2... | |
1000 | # I am not positive that other SVR4 systems won't match this, | |
1001 | # I just have to hope. -- rms. | |
1002 | # Use sysv4.2uw... so that sysv4* matches it. | |
1003 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | |
1004 | exit ;; | |
1005 | i*86:OS/2:*:*) | |
1006 | # If we were able to find `uname', then EMX Unix compatibility | |
1007 | # is probably installed. | |
1008 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1009 | exit ;; | |
1010 | i*86:XTS-300:*:STOP) | |
1011 | echo ${UNAME_MACHINE}-unknown-stop | |
1012 | exit ;; | |
1013 | i*86:atheos:*:*) | |
1014 | echo ${UNAME_MACHINE}-unknown-atheos | |
1015 | exit ;; | |
1016 | i*86:syllable:*:*) | |
1017 | echo ${UNAME_MACHINE}-pc-syllable | |
1018 | exit ;; | |
1019 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | |
1020 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1021 | exit ;; | |
1022 | i*86:*DOS:*:*) | |
1023 | echo ${UNAME_MACHINE}-pc-msdosdjgpp | |
1024 | exit ;; | |
1025 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | |
1026 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | |
1027 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then | |
1028 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | |
1029 | else | |
1030 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1031 | fi | |
1032 | exit ;; | |
1033 | i*86:*:5:[678]*) | |
1034 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1035 | case `/bin/uname -X | grep "^Machine"` in | |
1036 | *486*) UNAME_MACHINE=i486 ;; | |
1037 | *Pentium) UNAME_MACHINE=i586 ;; | |
1038 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; | |
1039 | esac | |
1040 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1041 | exit ;; | |
1042 | i*86:*:3.2:*) | |
1043 | if test -f /usr/options/cb.name; then | |
1044 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | |
1045 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | |
1046 | elif /bin/uname -X 2>/dev/null >/dev/null ; then | |
1047 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` | |
1048 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 | |
1049 | (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ | |
1050 | && UNAME_MACHINE=i586 | |
1051 | (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ | |
1052 | && UNAME_MACHINE=i686 | |
1053 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ | |
1054 | && UNAME_MACHINE=i686 | |
1055 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1056 | else | |
1057 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1058 | fi | |
1059 | exit ;; | |
1060 | pc:*:*:*) | |
1061 | # Left here for compatibility: | |
1062 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1063 | # the processor, so we play safe by assuming i586. | |
1064 | # Note: whatever this is, it MUST be the same as what config.sub | |
1065 | # prints for the "djgpp" host, or else GDB configury will decide that | |
1066 | # this is a cross-build. | |
1067 | echo i586-pc-msdosdjgpp | |
1068 | exit ;; | |
1069 | Intel:Mach:3*:*) | |
1070 | echo i386-pc-mach3 | |
1071 | exit ;; | |
1072 | paragon:*:*:*) | |
1073 | echo i860-intel-osf1 | |
1074 | exit ;; | |
1075 | i860:*:4.*:*) # i860-SVR4 | |
1076 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then | |
1077 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | |
1078 | else # Add other i860-SVR4 vendors below as they are discovered. | |
1079 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1080 | fi | |
1081 | exit ;; | |
1082 | mini*:CTIX:SYS*5:*) | |
1083 | # "miniframe" | |
1084 | echo m68010-convergent-sysv | |
1085 | exit ;; | |
1086 | mc68k:UNIX:SYSTEM5:3.51m) | |
1087 | echo m68k-convergent-sysv | |
1088 | exit ;; | |
1089 | M680?0:D-NIX:5.3:*) | |
1090 | echo m68k-diab-dnix | |
1091 | exit ;; | |
1092 | M68*:*:R3V[5678]*:*) | |
1093 | test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; | |
1094 | 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) | |
1095 | OS_REL='' | |
1096 | test -r /etc/.relid \ | |
1097 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1098 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1099 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1100 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1101 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1102 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | |
1103 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1104 | && { echo i486-ncr-sysv4; exit; } ;; | |
1105 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | |
1106 | OS_REL='.3' | |
1107 | test -r /etc/.relid \ | |
1108 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1109 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1110 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1111 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1112 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1113 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | |
1114 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1115 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) | |
1116 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1117 | exit ;; | |
1118 | mc68030:UNIX_System_V:4.*:*) | |
1119 | echo m68k-atari-sysv4 | |
1120 | exit ;; | |
1121 | TSUNAMI:LynxOS:2.*:*) | |
1122 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1123 | exit ;; | |
1124 | rs6000:LynxOS:2.*:*) | |
1125 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1126 | exit ;; | |
1127 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | |
1128 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1129 | exit ;; | |
1130 | SM[BE]S:UNIX_SV:*:*) | |
1131 | echo mips-dde-sysv${UNAME_RELEASE} | |
1132 | exit ;; | |
1133 | RM*:ReliantUNIX-*:*:*) | |
1134 | echo mips-sni-sysv4 | |
1135 | exit ;; | |
1136 | RM*:SINIX-*:*:*) | |
1137 | echo mips-sni-sysv4 | |
1138 | exit ;; | |
1139 | *:SINIX-*:*:*) | |
1140 | if uname -p 2>/dev/null >/dev/null ; then | |
1141 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1142 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1143 | else | |
1144 | echo ns32k-sni-sysv | |
1145 | fi | |
1146 | exit ;; | |
1147 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1148 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1149 | echo i586-unisys-sysv4 | |
1150 | exit ;; | |
1151 | *:UNIX_System_V:4*:FTX*) | |
1152 | # From Gerald Hewes <hewes@openmarket.com>. | |
1153 | # How about differentiating between stratus architectures? -djm | |
1154 | echo hppa1.1-stratus-sysv4 | |
1155 | exit ;; | |
1156 | *:*:*:FTX*) | |
1157 | # From seanf@swdc.stratus.com. | |
1158 | echo i860-stratus-sysv4 | |
1159 | exit ;; | |
1160 | i*86:VOS:*:*) | |
1161 | # From Paul.Green@stratus.com. | |
1162 | echo ${UNAME_MACHINE}-stratus-vos | |
1163 | exit ;; | |
1164 | *:VOS:*:*) | |
1165 | # From Paul.Green@stratus.com. | |
1166 | echo hppa1.1-stratus-vos | |
1167 | exit ;; | |
1168 | mc68*:A/UX:*:*) | |
1169 | echo m68k-apple-aux${UNAME_RELEASE} | |
1170 | exit ;; | |
1171 | news*:NEWS-OS:6*:*) | |
1172 | echo mips-sony-newsos6 | |
1173 | exit ;; | |
1174 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) | |
1175 | if [ -d /usr/nec ]; then | |
1176 | echo mips-nec-sysv${UNAME_RELEASE} | |
1177 | else | |
1178 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1179 | fi | |
1180 | exit ;; | |
1181 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. | |
1182 | echo powerpc-be-beos | |
1183 | exit ;; | |
1184 | BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. | |
1185 | echo powerpc-apple-beos | |
1186 | exit ;; | |
1187 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. | |
1188 | echo i586-pc-beos | |
1189 | exit ;; | |
1190 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | |
1191 | echo i586-pc-haiku | |
1192 | exit ;; | |
1193 | SX-4:SUPER-UX:*:*) | |
1194 | echo sx4-nec-superux${UNAME_RELEASE} | |
1195 | exit ;; | |
1196 | SX-5:SUPER-UX:*:*) | |
1197 | echo sx5-nec-superux${UNAME_RELEASE} | |
1198 | exit ;; | |
1199 | SX-6:SUPER-UX:*:*) | |
1200 | echo sx6-nec-superux${UNAME_RELEASE} | |
1201 | exit ;; | |
1202 | SX-7:SUPER-UX:*:*) | |
1203 | echo sx7-nec-superux${UNAME_RELEASE} | |
1204 | exit ;; | |
1205 | SX-8:SUPER-UX:*:*) | |
1206 | echo sx8-nec-superux${UNAME_RELEASE} | |
1207 | exit ;; | |
1208 | SX-8R:SUPER-UX:*:*) | |
1209 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1210 | exit ;; | |
1211 | Power*:Rhapsody:*:*) | |
1212 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1213 | exit ;; | |
1214 | *:Rhapsody:*:*) | |
1215 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1216 | exit ;; | |
1217 | *:Darwin:*:*) | |
1218 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | |
1219 | case $UNAME_PROCESSOR in | |
1220 | i386) | |
1221 | eval $set_cc_for_build | |
1222 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1223 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1224 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1225 | grep IS_64BIT_ARCH >/dev/null | |
1226 | then | |
1227 | UNAME_PROCESSOR="x86_64" | |
1228 | fi | |
1229 | fi ;; | |
1230 | unknown) UNAME_PROCESSOR=powerpc ;; | |
1231 | esac | |
1232 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1233 | exit ;; | |
1234 | *:procnto*:*:* | *:QNX:[0123456789]*:*) | |
1235 | UNAME_PROCESSOR=`uname -p` | |
1236 | if test "$UNAME_PROCESSOR" = "x86"; then | |
1237 | UNAME_PROCESSOR=i386 | |
1238 | UNAME_MACHINE=pc | |
1239 | fi | |
1240 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1241 | exit ;; | |
1242 | *:QNX:*:4*) | |
1243 | echo i386-pc-qnx | |
1244 | exit ;; | |
1245 | NEO-?:NONSTOP_KERNEL:*:*) | |
1246 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1247 | exit ;; | |
1248 | NSE-?:NONSTOP_KERNEL:*:*) | |
1249 | echo nse-tandem-nsk${UNAME_RELEASE} | |
1250 | exit ;; | |
1251 | NSR-?:NONSTOP_KERNEL:*:*) | |
1252 | echo nsr-tandem-nsk${UNAME_RELEASE} | |
1253 | exit ;; | |
1254 | *:NonStop-UX:*:*) | |
1255 | echo mips-compaq-nonstopux | |
1256 | exit ;; | |
1257 | BS2000:POSIX*:*:*) | |
1258 | echo bs2000-siemens-sysv | |
1259 | exit ;; | |
1260 | DS/*:UNIX_System_V:*:*) | |
1261 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1262 | exit ;; | |
1263 | *:Plan9:*:*) | |
1264 | # "uname -m" is not consistent, so use $cputype instead. 386 | |
1265 | # is converted to i386 for consistency with other x86 | |
1266 | # operating systems. | |
1267 | if test "$cputype" = "386"; then | |
1268 | UNAME_MACHINE=i386 | |
1269 | else | |
1270 | UNAME_MACHINE="$cputype" | |
1271 | fi | |
1272 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1273 | exit ;; | |
1274 | *:TOPS-10:*:*) | |
1275 | echo pdp10-unknown-tops10 | |
1276 | exit ;; | |
1277 | *:TENEX:*:*) | |
1278 | echo pdp10-unknown-tenex | |
1279 | exit ;; | |
1280 | KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) | |
1281 | echo pdp10-dec-tops20 | |
1282 | exit ;; | |
1283 | XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) | |
1284 | echo pdp10-xkl-tops20 | |
1285 | exit ;; | |
1286 | *:TOPS-20:*:*) | |
1287 | echo pdp10-unknown-tops20 | |
1288 | exit ;; | |
1289 | *:ITS:*:*) | |
1290 | echo pdp10-unknown-its | |
1291 | exit ;; | |
1292 | SEI:*:*:SEIUX) | |
1293 | echo mips-sei-seiux${UNAME_RELEASE} | |
1294 | exit ;; | |
1295 | *:DragonFly:*:*) | |
1296 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1297 | exit ;; | |
1298 | *:*VMS:*:*) | |
1299 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1300 | case "${UNAME_MACHINE}" in | |
1301 | A*) echo alpha-dec-vms ; exit ;; | |
1302 | I*) echo ia64-dec-vms ; exit ;; | |
1303 | V*) echo vax-dec-vms ; exit ;; | |
1304 | esac ;; | |
1305 | *:XENIX:*:SysV) | |
1306 | echo i386-pc-xenix | |
1307 | exit ;; | |
1308 | i*86:skyos:*:*) | |
1309 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' | |
1310 | exit ;; | |
1311 | i*86:rdos:*:*) | |
1312 | echo ${UNAME_MACHINE}-pc-rdos | |
1313 | exit ;; | |
1314 | i*86:AROS:*:*) | |
1315 | echo ${UNAME_MACHINE}-pc-aros | |
1316 | exit ;; | |
1317 | esac | |
1318 | ||
1319 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1320 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1321 | ||
1322 | eval $set_cc_for_build | |
1323 | cat >$dummy.c <<EOF | |
1324 | #ifdef _SEQUENT_ | |
1325 | # include <sys/types.h> | |
1326 | # include <sys/utsname.h> | |
1327 | #endif | |
1328 | main () | |
1329 | { | |
1330 | #if defined (sony) | |
1331 | #if defined (MIPSEB) | |
1332 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | |
1333 | I don't know.... */ | |
1334 | printf ("mips-sony-bsd\n"); exit (0); | |
1335 | #else | |
1336 | #include <sys/param.h> | |
1337 | printf ("m68k-sony-newsos%s\n", | |
1338 | #ifdef NEWSOS4 | |
1339 | "4" | |
1340 | #else | |
1341 | "" | |
1342 | #endif | |
1343 | ); exit (0); | |
1344 | #endif | |
1345 | #endif | |
1346 | ||
1347 | #if defined (__arm) && defined (__acorn) && defined (__unix) | |
1348 | printf ("arm-acorn-riscix\n"); exit (0); | |
1349 | #endif | |
1350 | ||
1351 | #if defined (hp300) && !defined (hpux) | |
1352 | printf ("m68k-hp-bsd\n"); exit (0); | |
1353 | #endif | |
1354 | ||
1355 | #if defined (NeXT) | |
1356 | #if !defined (__ARCHITECTURE__) | |
1357 | #define __ARCHITECTURE__ "m68k" | |
1358 | #endif | |
1359 | int version; | |
1360 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | |
1361 | if (version < 4) | |
1362 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | |
1363 | else | |
1364 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | |
1365 | exit (0); | |
1366 | #endif | |
1367 | ||
1368 | #if defined (MULTIMAX) || defined (n16) | |
1369 | #if defined (UMAXV) | |
1370 | printf ("ns32k-encore-sysv\n"); exit (0); | |
1371 | #else | |
1372 | #if defined (CMU) | |
1373 | printf ("ns32k-encore-mach\n"); exit (0); | |
1374 | #else | |
1375 | printf ("ns32k-encore-bsd\n"); exit (0); | |
1376 | #endif | |
1377 | #endif | |
1378 | #endif | |
1379 | ||
1380 | #if defined (__386BSD__) | |
1381 | printf ("i386-pc-bsd\n"); exit (0); | |
1382 | #endif | |
1383 | ||
1384 | #if defined (sequent) | |
1385 | #if defined (i386) | |
1386 | printf ("i386-sequent-dynix\n"); exit (0); | |
1387 | #endif | |
1388 | #if defined (ns32000) | |
1389 | printf ("ns32k-sequent-dynix\n"); exit (0); | |
1390 | #endif | |
1391 | #endif | |
1392 | ||
1393 | #if defined (_SEQUENT_) | |
1394 | struct utsname un; | |
1395 | ||
1396 | uname(&un); | |
1397 | ||
1398 | if (strncmp(un.version, "V2", 2) == 0) { | |
1399 | printf ("i386-sequent-ptx2\n"); exit (0); | |
1400 | } | |
1401 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | |
1402 | printf ("i386-sequent-ptx1\n"); exit (0); | |
1403 | } | |
1404 | printf ("i386-sequent-ptx\n"); exit (0); | |
1405 | ||
1406 | #endif | |
1407 | ||
1408 | #if defined (vax) | |
1409 | # if !defined (ultrix) | |
1410 | # include <sys/param.h> | |
1411 | # if defined (BSD) | |
1412 | # if BSD == 43 | |
1413 | printf ("vax-dec-bsd4.3\n"); exit (0); | |
1414 | # else | |
1415 | # if BSD == 199006 | |
1416 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | |
1417 | # else | |
1418 | printf ("vax-dec-bsd\n"); exit (0); | |
1419 | # endif | |
1420 | # endif | |
1421 | # else | |
1422 | printf ("vax-dec-bsd\n"); exit (0); | |
1423 | # endif | |
1424 | # else | |
1425 | printf ("vax-dec-ultrix\n"); exit (0); | |
1426 | # endif | |
1427 | #endif | |
1428 | ||
1429 | #if defined (alliant) && defined (i860) | |
1430 | printf ("i860-alliant-bsd\n"); exit (0); | |
1431 | #endif | |
1432 | ||
1433 | exit (1); | |
1434 | } | |
1435 | EOF | |
1436 | ||
1437 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | |
1438 | { echo "$SYSTEM_NAME"; exit; } | |
1439 | ||
1440 | # Apollos put the system type in the environment. | |
1441 | ||
1442 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | |
1443 | ||
1444 | # Convex versions that predate uname can use getsysinfo(1) | |
1445 | ||
1446 | if [ -x /usr/convex/getsysinfo ] | |
1447 | then | |
1448 | case `getsysinfo -f cpu_type` in | |
1449 | c1*) | |
1450 | echo c1-convex-bsd | |
1451 | exit ;; | |
1452 | c2*) | |
1453 | if getsysinfo -f scalar_acc | |
1454 | then echo c32-convex-bsd | |
1455 | else echo c2-convex-bsd | |
1456 | fi | |
1457 | exit ;; | |
1458 | c34*) | |
1459 | echo c34-convex-bsd | |
1460 | exit ;; | |
1461 | c38*) | |
1462 | echo c38-convex-bsd | |
1463 | exit ;; | |
1464 | c4*) | |
1465 | echo c4-convex-bsd | |
1466 | exit ;; | |
1467 | esac | |
1468 | fi | |
1469 | ||
1470 | cat >&2 <<EOF | |
1471 | $0: unable to guess system type | |
1472 | ||
1473 | This script, last modified $timestamp, has failed to recognize | |
1474 | the operating system you are using. It is advised that you | |
1475 | download the most up to date version of the config scripts from | |
1476 | ||
1477 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
1478 | and | |
1479 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
1480 | ||
1481 | If the version you run ($0) is already up to date, please | |
1482 | send the following data and any information you think might be | |
1483 | pertinent to <config-patches@gnu.org> in order to provide the needed | |
1484 | information to handle your system. | |
1485 | ||
1486 | config.guess timestamp = $timestamp | |
1487 | ||
1488 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1489 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1490 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1491 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1492 | ||
1493 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` | |
1494 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null` | |
1495 | ||
1496 | hostinfo = `(hostinfo) 2>/dev/null` | |
1497 | /bin/universe = `(/bin/universe) 2>/dev/null` | |
1498 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` | |
1499 | /bin/arch = `(/bin/arch) 2>/dev/null` | |
1500 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` | |
1501 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` | |
1502 | ||
1503 | UNAME_MACHINE = ${UNAME_MACHINE} | |
1504 | UNAME_RELEASE = ${UNAME_RELEASE} | |
1505 | UNAME_SYSTEM = ${UNAME_SYSTEM} | |
1506 | UNAME_VERSION = ${UNAME_VERSION} | |
1507 | EOF | |
1508 | ||
1509 | exit 1 | |
1510 | ||
1511 | # Local variables: | |
1512 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1513 | # time-stamp-start: "timestamp='" | |
1514 | # time-stamp-format: "%:y-%02m-%02d" | |
1515 | # time-stamp-end: "'" | |
1516 | # End: |
0 | #! /bin/sh | |
1 | # Configuration validation subroutine script. | |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2011-03-23' | |
7 | ||
8 | # This file is (in principle) common to ALL GNU software. | |
9 | # The presence of a machine in this file suggests that SOME GNU software | |
10 | # can handle that machine. It does not imply ALL GNU software can. | |
11 | # | |
12 | # This file is free software; you can redistribute it and/or modify | |
13 | # it under the terms of the GNU General Public License as published by | |
14 | # the Free Software Foundation; either version 2 of the License, or | |
15 | # (at your option) any later version. | |
16 | # | |
17 | # This program is distributed in the hope that it will be useful, | |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | # GNU General Public License for more details. | |
21 | # | |
22 | # You should have received a copy of the GNU General Public License | |
23 | # along with this program; if not, write to the Free Software | |
24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
25 | # 02110-1301, USA. | |
26 | # | |
27 | # As a special exception to the GNU General Public License, if you | |
28 | # distribute this file as part of a program that contains a | |
29 | # configuration script generated by Autoconf, you may include it under | |
30 | # the same distribution terms that you use for the rest of that program. | |
31 | ||
32 | ||
33 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
34 | # diff and a properly formatted GNU ChangeLog entry. | |
35 | # | |
36 | # Configuration subroutine to validate and canonicalize a configuration type. | |
37 | # Supply the specified configuration type as an argument. | |
38 | # If it is invalid, we print an error message on stderr and exit with code 1. | |
39 | # Otherwise, we print the canonical config type on stdout and succeed. | |
40 | ||
41 | # You can get the latest version of this script from: | |
42 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
43 | ||
44 | # This file is supposed to be the same for all GNU packages | |
45 | # and recognize all the CPU types, system types and aliases | |
46 | # that are meaningful with *any* GNU software. | |
47 | # Each package is responsible for reporting which valid configurations | |
48 | # it does not support. The user should be able to distinguish | |
49 | # a failure to support a valid configuration from a meaningless | |
50 | # configuration. | |
51 | ||
52 | # The goal of this file is to map all the various variations of a given | |
53 | # machine specification into a single specification in the form: | |
54 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
55 | # or in some cases, the newer four-part form: | |
56 | # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | |
57 | # It is wrong to echo any other type of specification. | |
58 | ||
59 | me=`echo "$0" | sed -e 's,.*/,,'` | |
60 | ||
61 | usage="\ | |
62 | Usage: $0 [OPTION] CPU-MFR-OPSYS | |
63 | $0 [OPTION] ALIAS | |
64 | ||
65 | Canonicalize a configuration name. | |
66 | ||
67 | Operation modes: | |
68 | -h, --help print this help, then exit | |
69 | -t, --time-stamp print date of last modification, then exit | |
70 | -v, --version print version number, then exit | |
71 | ||
72 | Report bugs and patches to <config-patches@gnu.org>." | |
73 | ||
74 | version="\ | |
75 | GNU config.sub ($timestamp) | |
76 | ||
77 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
78 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free | |
79 | Software Foundation, Inc. | |
80 | ||
81 | This is free software; see the source for copying conditions. There is NO | |
82 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | |
83 | ||
84 | help=" | |
85 | Try \`$me --help' for more information." | |
86 | ||
87 | # Parse command line | |
88 | while test $# -gt 0 ; do | |
89 | case $1 in | |
90 | --time-stamp | --time* | -t ) | |
91 | echo "$timestamp" ; exit ;; | |
92 | --version | -v ) | |
93 | echo "$version" ; exit ;; | |
94 | --help | --h* | -h ) | |
95 | echo "$usage"; exit ;; | |
96 | -- ) # Stop option processing | |
97 | shift; break ;; | |
98 | - ) # Use stdin as input. | |
99 | break ;; | |
100 | -* ) | |
101 | echo "$me: invalid option $1$help" | |
102 | exit 1 ;; | |
103 | ||
104 | *local*) | |
105 | # First pass through any local machine types. | |
106 | echo $1 | |
107 | exit ;; | |
108 | ||
109 | * ) | |
110 | break ;; | |
111 | esac | |
112 | done | |
113 | ||
114 | case $# in | |
115 | 0) echo "$me: missing argument$help" >&2 | |
116 | exit 1;; | |
117 | 1) ;; | |
118 | *) echo "$me: too many arguments$help" >&2 | |
119 | exit 1;; | |
120 | esac | |
121 | ||
122 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | |
123 | # Here we must recognize all the valid KERNEL-OS combinations. | |
124 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
125 | case $maybe_os in | |
126 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
127 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
128 | knetbsd*-gnu* | netbsd*-gnu* | \ | |
129 | kopensolaris*-gnu* | \ | |
130 | storm-chaos* | os2-emx* | rtmk-nova*) | |
131 | os=-$maybe_os | |
132 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
133 | ;; | |
134 | *) | |
135 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
136 | if [ $basic_machine != $1 ] | |
137 | then os=`echo $1 | sed 's/.*-/-/'` | |
138 | else os=; fi | |
139 | ;; | |
140 | esac | |
141 | ||
142 | ### Let's recognize common machines as not being operating systems so | |
143 | ### that things like config.sub decstation-3100 work. We also | |
144 | ### recognize some manufacturers as not being operating systems, so we | |
145 | ### can provide default operating systems below. | |
146 | case $os in | |
147 | -sun*os*) | |
148 | # Prevent following clause from handling this invalid input. | |
149 | ;; | |
150 | -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | |
151 | -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | |
152 | -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | |
153 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | |
154 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | |
155 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | |
156 | -apple | -axis | -knuth | -cray | -microblaze) | |
157 | os= | |
158 | basic_machine=$1 | |
159 | ;; | |
160 | -bluegene*) | |
161 | os=-cnk | |
162 | ;; | |
163 | -sim | -cisco | -oki | -wec | -winbond) | |
164 | os= | |
165 | basic_machine=$1 | |
166 | ;; | |
167 | -scout) | |
168 | ;; | |
169 | -wrs) | |
170 | os=-vxworks | |
171 | basic_machine=$1 | |
172 | ;; | |
173 | -chorusos*) | |
174 | os=-chorusos | |
175 | basic_machine=$1 | |
176 | ;; | |
177 | -chorusrdb) | |
178 | os=-chorusrdb | |
179 | basic_machine=$1 | |
180 | ;; | |
181 | -hiux*) | |
182 | os=-hiuxwe2 | |
183 | ;; | |
184 | -sco6) | |
185 | os=-sco5v6 | |
186 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
187 | ;; | |
188 | -sco5) | |
189 | os=-sco3.2v5 | |
190 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
191 | ;; | |
192 | -sco4) | |
193 | os=-sco3.2v4 | |
194 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
195 | ;; | |
196 | -sco3.2.[4-9]*) | |
197 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` | |
198 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
199 | ;; | |
200 | -sco3.2v[4-9]*) | |
201 | # Don't forget version if it is 3.2v4 or newer. | |
202 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
203 | ;; | |
204 | -sco5v6*) | |
205 | # Don't forget version if it is 3.2v4 or newer. | |
206 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
207 | ;; | |
208 | -sco*) | |
209 | os=-sco3.2v2 | |
210 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
211 | ;; | |
212 | -udk*) | |
213 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
214 | ;; | |
215 | -isc) | |
216 | os=-isc2.2 | |
217 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
218 | ;; | |
219 | -clix*) | |
220 | basic_machine=clipper-intergraph | |
221 | ;; | |
222 | -isc*) | |
223 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
224 | ;; | |
225 | -lynx*) | |
226 | os=-lynxos | |
227 | ;; | |
228 | -ptx*) | |
229 | basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
230 | ;; | |
231 | -windowsnt*) | |
232 | os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
233 | ;; | |
234 | -psos*) | |
235 | os=-psos | |
236 | ;; | |
237 | -mint | -mint[0-9]*) | |
238 | basic_machine=m68k-atari | |
239 | os=-mint | |
240 | ;; | |
241 | esac | |
242 | ||
243 | # Decode aliases for certain CPU-COMPANY combinations. | |
244 | case $basic_machine in | |
245 | # Recognize the basic CPU types without company name. | |
246 | # Some are omitted here because they have special meanings below. | |
247 | 1750a | 580 \ | |
248 | | a29k \ | |
249 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | |
250 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | |
251 | | am33_2.0 \ | |
252 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
253 | | bfin \ | |
254 | | c4x | clipper \ | |
255 | | d10v | d30v | dlx | dsp16xx \ | |
256 | | fido | fr30 | frv \ | |
257 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | |
258 | | i370 | i860 | i960 | ia64 \ | |
259 | | ip2k | iq2000 \ | |
260 | | lm32 \ | |
261 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | |
262 | | maxq | mb | microblaze | mcore | mep | metag \ | |
263 | | mips | mipsbe | mipseb | mipsel | mipsle \ | |
264 | | mips16 \ | |
265 | | mips64 | mips64el \ | |
266 | | mips64octeon | mips64octeonel \ | |
267 | | mips64orion | mips64orionel \ | |
268 | | mips64r5900 | mips64r5900el \ | |
269 | | mips64vr | mips64vrel \ | |
270 | | mips64vr4100 | mips64vr4100el \ | |
271 | | mips64vr4300 | mips64vr4300el \ | |
272 | | mips64vr5000 | mips64vr5000el \ | |
273 | | mips64vr5900 | mips64vr5900el \ | |
274 | | mipsisa32 | mipsisa32el \ | |
275 | | mipsisa32r2 | mipsisa32r2el \ | |
276 | | mipsisa64 | mipsisa64el \ | |
277 | | mipsisa64r2 | mipsisa64r2el \ | |
278 | | mipsisa64sb1 | mipsisa64sb1el \ | |
279 | | mipsisa64sr71k | mipsisa64sr71kel \ | |
280 | | mipstx39 | mipstx39el \ | |
281 | | mn10200 | mn10300 \ | |
282 | | moxie \ | |
283 | | mt \ | |
284 | | msp430 \ | |
285 | | nds32 | nds32le | nds32be \ | |
286 | | nios | nios2 \ | |
287 | | ns16k | ns32k \ | |
288 | | open8 \ | |
289 | | or32 \ | |
290 | | pdp10 | pdp11 | pj | pjl \ | |
291 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | |
292 | | pyramid \ | |
293 | | rx \ | |
294 | | score \ | |
295 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
296 | | sh64 | sh64le \ | |
297 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | |
298 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | |
299 | | spu \ | |
300 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | |
301 | | ubicom32 \ | |
302 | | v850 | v850e \ | |
303 | | we32k \ | |
304 | | x86 | xc16x | xstormy16 | xtensa \ | |
305 | | z8k | z80) | |
306 | basic_machine=$basic_machine-unknown | |
307 | ;; | |
308 | c54x) | |
309 | basic_machine=tic54x-unknown | |
310 | ;; | |
311 | c55x) | |
312 | basic_machine=tic55x-unknown | |
313 | ;; | |
314 | c6x) | |
315 | basic_machine=tic6x-unknown | |
316 | ;; | |
317 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | |
318 | # Motorola 68HC11/12. | |
319 | basic_machine=$basic_machine-unknown | |
320 | os=-none | |
321 | ;; | |
322 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | |
323 | ;; | |
324 | ms1) | |
325 | basic_machine=mt-unknown | |
326 | ;; | |
327 | ||
328 | strongarm | thumb | xscale) | |
329 | basic_machine=arm-unknown | |
330 | ;; | |
331 | ||
332 | xscaleeb) | |
333 | basic_machine=armeb-unknown | |
334 | ;; | |
335 | ||
336 | xscaleel) | |
337 | basic_machine=armel-unknown | |
338 | ;; | |
339 | ||
340 | # We use `pc' rather than `unknown' | |
341 | # because (1) that's what they normally are, and | |
342 | # (2) the word "unknown" tends to confuse beginning users. | |
343 | i*86 | x86_64) | |
344 | basic_machine=$basic_machine-pc | |
345 | ;; | |
346 | # Object if more than one company name word. | |
347 | *-*-*) | |
348 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
349 | exit 1 | |
350 | ;; | |
351 | # Recognize the basic CPU types with company name. | |
352 | 580-* \ | |
353 | | a29k-* \ | |
354 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | |
355 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | |
356 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
357 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | |
358 | | avr-* | avr32-* \ | |
359 | | bfin-* | bs2000-* \ | |
360 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | |
361 | | clipper-* | craynv-* | cydra-* \ | |
362 | | d10v-* | d30v-* | dlx-* \ | |
363 | | elxsi-* \ | |
364 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | |
365 | | h8300-* | h8500-* \ | |
366 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | |
367 | | i*86-* | i860-* | i960-* | ia64-* \ | |
368 | | ip2k-* | iq2000-* \ | |
369 | | lm32-* \ | |
370 | | m32c-* | m32r-* | m32rle-* \ | |
371 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | |
372 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
373 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | |
374 | | mips16-* \ | |
375 | | mips64-* | mips64el-* \ | |
376 | | mips64octeon-* | mips64octeonel-* \ | |
377 | | mips64orion-* | mips64orionel-* \ | |
378 | | mips64r5900-* | mips64r5900el-* \ | |
379 | | mips64vr-* | mips64vrel-* \ | |
380 | | mips64vr4100-* | mips64vr4100el-* \ | |
381 | | mips64vr4300-* | mips64vr4300el-* \ | |
382 | | mips64vr5000-* | mips64vr5000el-* \ | |
383 | | mips64vr5900-* | mips64vr5900el-* \ | |
384 | | mipsisa32-* | mipsisa32el-* \ | |
385 | | mipsisa32r2-* | mipsisa32r2el-* \ | |
386 | | mipsisa64-* | mipsisa64el-* \ | |
387 | | mipsisa64r2-* | mipsisa64r2el-* \ | |
388 | | mipsisa64sb1-* | mipsisa64sb1el-* \ | |
389 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | |
390 | | mipstx39-* | mipstx39el-* \ | |
391 | | mmix-* \ | |
392 | | mt-* \ | |
393 | | msp430-* \ | |
394 | | nds32-* | nds32le-* | nds32be-* \ | |
395 | | nios-* | nios2-* \ | |
396 | | none-* | np1-* | ns16k-* | ns32k-* \ | |
397 | | open8-* \ | |
398 | | orion-* \ | |
399 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | |
400 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | |
401 | | pyramid-* \ | |
402 | | romp-* | rs6000-* | rx-* \ | |
403 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
404 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | |
405 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | |
406 | | sparclite-* \ | |
407 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
408 | | tahoe-* \ | |
409 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | |
410 | | tile-* | tilegx-* \ | |
411 | | tron-* \ | |
412 | | ubicom32-* \ | |
413 | | v850-* | v850e-* | vax-* \ | |
414 | | we32k-* \ | |
415 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | |
416 | | xstormy16-* | xtensa*-* \ | |
417 | | ymp-* \ | |
418 | | z8k-* | z80-*) | |
419 | ;; | |
420 | # Recognize the basic CPU types without company name, with glob match. | |
421 | xtensa*) | |
422 | basic_machine=$basic_machine-unknown | |
423 | ;; | |
424 | # Recognize the various machine names and aliases which stand | |
425 | # for a CPU type and a company and sometimes even an OS. | |
426 | 386bsd) | |
427 | basic_machine=i386-unknown | |
428 | os=-bsd | |
429 | ;; | |
430 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | |
431 | basic_machine=m68000-att | |
432 | ;; | |
433 | 3b*) | |
434 | basic_machine=we32k-att | |
435 | ;; | |
436 | a29khif) | |
437 | basic_machine=a29k-amd | |
438 | os=-udi | |
439 | ;; | |
440 | abacus) | |
441 | basic_machine=abacus-unknown | |
442 | ;; | |
443 | adobe68k) | |
444 | basic_machine=m68010-adobe | |
445 | os=-scout | |
446 | ;; | |
447 | alliant | fx80) | |
448 | basic_machine=fx80-alliant | |
449 | ;; | |
450 | altos | altos3068) | |
451 | basic_machine=m68k-altos | |
452 | ;; | |
453 | am29k) | |
454 | basic_machine=a29k-none | |
455 | os=-bsd | |
456 | ;; | |
457 | amd64) | |
458 | basic_machine=x86_64-pc | |
459 | ;; | |
460 | amd64-*) | |
461 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
462 | ;; | |
463 | amdahl) | |
464 | basic_machine=580-amdahl | |
465 | os=-sysv | |
466 | ;; | |
467 | amiga | amiga-*) | |
468 | basic_machine=m68k-unknown | |
469 | ;; | |
470 | amigaos | amigados) | |
471 | basic_machine=m68k-unknown | |
472 | os=-amigaos | |
473 | ;; | |
474 | amigaunix | amix) | |
475 | basic_machine=m68k-unknown | |
476 | os=-sysv4 | |
477 | ;; | |
478 | apollo68) | |
479 | basic_machine=m68k-apollo | |
480 | os=-sysv | |
481 | ;; | |
482 | apollo68bsd) | |
483 | basic_machine=m68k-apollo | |
484 | os=-bsd | |
485 | ;; | |
486 | aros) | |
487 | basic_machine=i386-pc | |
488 | os=-aros | |
489 | ;; | |
490 | aux) | |
491 | basic_machine=m68k-apple | |
492 | os=-aux | |
493 | ;; | |
494 | balance) | |
495 | basic_machine=ns32k-sequent | |
496 | os=-dynix | |
497 | ;; | |
498 | blackfin) | |
499 | basic_machine=bfin-unknown | |
500 | os=-linux | |
501 | ;; | |
502 | blackfin-*) | |
503 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
504 | os=-linux | |
505 | ;; | |
506 | bluegene*) | |
507 | basic_machine=powerpc-ibm | |
508 | os=-cnk | |
509 | ;; | |
510 | c54x-*) | |
511 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
512 | ;; | |
513 | c55x-*) | |
514 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
515 | ;; | |
516 | c6x-*) | |
517 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
518 | ;; | |
519 | c90) | |
520 | basic_machine=c90-cray | |
521 | os=-unicos | |
522 | ;; | |
523 | cegcc) | |
524 | basic_machine=arm-unknown | |
525 | os=-cegcc | |
526 | ;; | |
527 | convex-c1) | |
528 | basic_machine=c1-convex | |
529 | os=-bsd | |
530 | ;; | |
531 | convex-c2) | |
532 | basic_machine=c2-convex | |
533 | os=-bsd | |
534 | ;; | |
535 | convex-c32) | |
536 | basic_machine=c32-convex | |
537 | os=-bsd | |
538 | ;; | |
539 | convex-c34) | |
540 | basic_machine=c34-convex | |
541 | os=-bsd | |
542 | ;; | |
543 | convex-c38) | |
544 | basic_machine=c38-convex | |
545 | os=-bsd | |
546 | ;; | |
547 | cray | j90) | |
548 | basic_machine=j90-cray | |
549 | os=-unicos | |
550 | ;; | |
551 | craynv) | |
552 | basic_machine=craynv-cray | |
553 | os=-unicosmp | |
554 | ;; | |
555 | cr16 | cr16-*) | |
556 | basic_machine=cr16-unknown | |
557 | os=-elf | |
558 | ;; | |
559 | crds | unos) | |
560 | basic_machine=m68k-crds | |
561 | ;; | |
562 | crisv32 | crisv32-* | etraxfs*) | |
563 | basic_machine=crisv32-axis | |
564 | ;; | |
565 | cris | cris-* | etrax*) | |
566 | basic_machine=cris-axis | |
567 | ;; | |
568 | crx) | |
569 | basic_machine=crx-unknown | |
570 | os=-elf | |
571 | ;; | |
572 | da30 | da30-*) | |
573 | basic_machine=m68k-da30 | |
574 | ;; | |
575 | decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) | |
576 | basic_machine=mips-dec | |
577 | ;; | |
578 | decsystem10* | dec10*) | |
579 | basic_machine=pdp10-dec | |
580 | os=-tops10 | |
581 | ;; | |
582 | decsystem20* | dec20*) | |
583 | basic_machine=pdp10-dec | |
584 | os=-tops20 | |
585 | ;; | |
586 | delta | 3300 | motorola-3300 | motorola-delta \ | |
587 | | 3300-motorola | delta-motorola) | |
588 | basic_machine=m68k-motorola | |
589 | ;; | |
590 | delta88) | |
591 | basic_machine=m88k-motorola | |
592 | os=-sysv3 | |
593 | ;; | |
594 | dicos) | |
595 | basic_machine=i686-pc | |
596 | os=-dicos | |
597 | ;; | |
598 | djgpp) | |
599 | basic_machine=i586-pc | |
600 | os=-msdosdjgpp | |
601 | ;; | |
602 | dpx20 | dpx20-*) | |
603 | basic_machine=rs6000-bull | |
604 | os=-bosx | |
605 | ;; | |
606 | dpx2* | dpx2*-bull) | |
607 | basic_machine=m68k-bull | |
608 | os=-sysv3 | |
609 | ;; | |
610 | ebmon29k) | |
611 | basic_machine=a29k-amd | |
612 | os=-ebmon | |
613 | ;; | |
614 | elxsi) | |
615 | basic_machine=elxsi-elxsi | |
616 | os=-bsd | |
617 | ;; | |
618 | encore | umax | mmax) | |
619 | basic_machine=ns32k-encore | |
620 | ;; | |
621 | es1800 | OSE68k | ose68k | ose | OSE) | |
622 | basic_machine=m68k-ericsson | |
623 | os=-ose | |
624 | ;; | |
625 | fx2800) | |
626 | basic_machine=i860-alliant | |
627 | ;; | |
628 | genix) | |
629 | basic_machine=ns32k-ns | |
630 | ;; | |
631 | gmicro) | |
632 | basic_machine=tron-gmicro | |
633 | os=-sysv | |
634 | ;; | |
635 | go32) | |
636 | basic_machine=i386-pc | |
637 | os=-go32 | |
638 | ;; | |
639 | h3050r* | hiux*) | |
640 | basic_machine=hppa1.1-hitachi | |
641 | os=-hiuxwe2 | |
642 | ;; | |
643 | h8300hms) | |
644 | basic_machine=h8300-hitachi | |
645 | os=-hms | |
646 | ;; | |
647 | h8300xray) | |
648 | basic_machine=h8300-hitachi | |
649 | os=-xray | |
650 | ;; | |
651 | h8500hms) | |
652 | basic_machine=h8500-hitachi | |
653 | os=-hms | |
654 | ;; | |
655 | harris) | |
656 | basic_machine=m88k-harris | |
657 | os=-sysv3 | |
658 | ;; | |
659 | hp300-*) | |
660 | basic_machine=m68k-hp | |
661 | ;; | |
662 | hp300bsd) | |
663 | basic_machine=m68k-hp | |
664 | os=-bsd | |
665 | ;; | |
666 | hp300hpux) | |
667 | basic_machine=m68k-hp | |
668 | os=-hpux | |
669 | ;; | |
670 | hp3k9[0-9][0-9] | hp9[0-9][0-9]) | |
671 | basic_machine=hppa1.0-hp | |
672 | ;; | |
673 | hp9k2[0-9][0-9] | hp9k31[0-9]) | |
674 | basic_machine=m68000-hp | |
675 | ;; | |
676 | hp9k3[2-9][0-9]) | |
677 | basic_machine=m68k-hp | |
678 | ;; | |
679 | hp9k6[0-9][0-9] | hp6[0-9][0-9]) | |
680 | basic_machine=hppa1.0-hp | |
681 | ;; | |
682 | hp9k7[0-79][0-9] | hp7[0-79][0-9]) | |
683 | basic_machine=hppa1.1-hp | |
684 | ;; | |
685 | hp9k78[0-9] | hp78[0-9]) | |
686 | # FIXME: really hppa2.0-hp | |
687 | basic_machine=hppa1.1-hp | |
688 | ;; | |
689 | hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) | |
690 | # FIXME: really hppa2.0-hp | |
691 | basic_machine=hppa1.1-hp | |
692 | ;; | |
693 | hp9k8[0-9][13679] | hp8[0-9][13679]) | |
694 | basic_machine=hppa1.1-hp | |
695 | ;; | |
696 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) | |
697 | basic_machine=hppa1.0-hp | |
698 | ;; | |
699 | hppa-next) | |
700 | os=-nextstep3 | |
701 | ;; | |
702 | hppaosf) | |
703 | basic_machine=hppa1.1-hp | |
704 | os=-osf | |
705 | ;; | |
706 | hppro) | |
707 | basic_machine=hppa1.1-hp | |
708 | os=-proelf | |
709 | ;; | |
710 | i370-ibm* | ibm*) | |
711 | basic_machine=i370-ibm | |
712 | ;; | |
713 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
714 | i*86v32) | |
715 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
716 | os=-sysv32 | |
717 | ;; | |
718 | i*86v4*) | |
719 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
720 | os=-sysv4 | |
721 | ;; | |
722 | i*86v) | |
723 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
724 | os=-sysv | |
725 | ;; | |
726 | i*86sol2) | |
727 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
728 | os=-solaris2 | |
729 | ;; | |
730 | i386mach) | |
731 | basic_machine=i386-mach | |
732 | os=-mach | |
733 | ;; | |
734 | i386-vsta | vsta) | |
735 | basic_machine=i386-unknown | |
736 | os=-vsta | |
737 | ;; | |
738 | iris | iris4d) | |
739 | basic_machine=mips-sgi | |
740 | case $os in | |
741 | -irix*) | |
742 | ;; | |
743 | *) | |
744 | os=-irix4 | |
745 | ;; | |
746 | esac | |
747 | ;; | |
748 | isi68 | isi) | |
749 | basic_machine=m68k-isi | |
750 | os=-sysv | |
751 | ;; | |
752 | m68knommu) | |
753 | basic_machine=m68k-unknown | |
754 | os=-linux | |
755 | ;; | |
756 | m68knommu-*) | |
757 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
758 | os=-linux | |
759 | ;; | |
760 | m88k-omron*) | |
761 | basic_machine=m88k-omron | |
762 | ;; | |
763 | magnum | m3230) | |
764 | basic_machine=mips-mips | |
765 | os=-sysv | |
766 | ;; | |
767 | merlin) | |
768 | basic_machine=ns32k-utek | |
769 | os=-sysv | |
770 | ;; | |
771 | microblaze) | |
772 | basic_machine=microblaze-xilinx | |
773 | ;; | |
774 | mingw32) | |
775 | basic_machine=i386-pc | |
776 | os=-mingw32 | |
777 | ;; | |
778 | mingw32ce) | |
779 | basic_machine=arm-unknown | |
780 | os=-mingw32ce | |
781 | ;; | |
782 | miniframe) | |
783 | basic_machine=m68000-convergent | |
784 | ;; | |
785 | *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | |
786 | basic_machine=m68k-atari | |
787 | os=-mint | |
788 | ;; | |
789 | mips3*-*) | |
790 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
791 | ;; | |
792 | mips3*) | |
793 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
794 | ;; | |
795 | monitor) | |
796 | basic_machine=m68k-rom68k | |
797 | os=-coff | |
798 | ;; | |
799 | morphos) | |
800 | basic_machine=powerpc-unknown | |
801 | os=-morphos | |
802 | ;; | |
803 | msdos) | |
804 | basic_machine=i386-pc | |
805 | os=-msdos | |
806 | ;; | |
807 | ms1-*) | |
808 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
809 | ;; | |
810 | mvs) | |
811 | basic_machine=i370-ibm | |
812 | os=-mvs | |
813 | ;; | |
814 | ncr3000) | |
815 | basic_machine=i486-ncr | |
816 | os=-sysv4 | |
817 | ;; | |
818 | netbsd386) | |
819 | basic_machine=i386-unknown | |
820 | os=-netbsd | |
821 | ;; | |
822 | netwinder) | |
823 | basic_machine=armv4l-rebel | |
824 | os=-linux | |
825 | ;; | |
826 | news | news700 | news800 | news900) | |
827 | basic_machine=m68k-sony | |
828 | os=-newsos | |
829 | ;; | |
830 | news1000) | |
831 | basic_machine=m68030-sony | |
832 | os=-newsos | |
833 | ;; | |
834 | news-3600 | risc-news) | |
835 | basic_machine=mips-sony | |
836 | os=-newsos | |
837 | ;; | |
838 | necv70) | |
839 | basic_machine=v70-nec | |
840 | os=-sysv | |
841 | ;; | |
842 | next | m*-next ) | |
843 | basic_machine=m68k-next | |
844 | case $os in | |
845 | -nextstep* ) | |
846 | ;; | |
847 | -ns2*) | |
848 | os=-nextstep2 | |
849 | ;; | |
850 | *) | |
851 | os=-nextstep3 | |
852 | ;; | |
853 | esac | |
854 | ;; | |
855 | nh3000) | |
856 | basic_machine=m68k-harris | |
857 | os=-cxux | |
858 | ;; | |
859 | nh[45]000) | |
860 | basic_machine=m88k-harris | |
861 | os=-cxux | |
862 | ;; | |
863 | nindy960) | |
864 | basic_machine=i960-intel | |
865 | os=-nindy | |
866 | ;; | |
867 | mon960) | |
868 | basic_machine=i960-intel | |
869 | os=-mon960 | |
870 | ;; | |
871 | nonstopux) | |
872 | basic_machine=mips-compaq | |
873 | os=-nonstopux | |
874 | ;; | |
875 | np1) | |
876 | basic_machine=np1-gould | |
877 | ;; | |
878 | neo-tandem) | |
879 | basic_machine=neo-tandem | |
880 | ;; | |
881 | nse-tandem) | |
882 | basic_machine=nse-tandem | |
883 | ;; | |
884 | nsr-tandem) | |
885 | basic_machine=nsr-tandem | |
886 | ;; | |
887 | op50n-* | op60c-*) | |
888 | basic_machine=hppa1.1-oki | |
889 | os=-proelf | |
890 | ;; | |
891 | openrisc | openrisc-*) | |
892 | basic_machine=or32-unknown | |
893 | ;; | |
894 | os400) | |
895 | basic_machine=powerpc-ibm | |
896 | os=-os400 | |
897 | ;; | |
898 | OSE68000 | ose68000) | |
899 | basic_machine=m68000-ericsson | |
900 | os=-ose | |
901 | ;; | |
902 | os68k) | |
903 | basic_machine=m68k-none | |
904 | os=-os68k | |
905 | ;; | |
906 | pa-hitachi) | |
907 | basic_machine=hppa1.1-hitachi | |
908 | os=-hiuxwe2 | |
909 | ;; | |
910 | paragon) | |
911 | basic_machine=i860-intel | |
912 | os=-osf | |
913 | ;; | |
914 | parisc) | |
915 | basic_machine=hppa-unknown | |
916 | os=-linux | |
917 | ;; | |
918 | parisc-*) | |
919 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
920 | os=-linux | |
921 | ;; | |
922 | pbd) | |
923 | basic_machine=sparc-tti | |
924 | ;; | |
925 | pbb) | |
926 | basic_machine=m68k-tti | |
927 | ;; | |
928 | pc532 | pc532-*) | |
929 | basic_machine=ns32k-pc532 | |
930 | ;; | |
931 | pc98) | |
932 | basic_machine=i386-pc | |
933 | ;; | |
934 | pc98-*) | |
935 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
936 | ;; | |
937 | pentium | p5 | k5 | k6 | nexgen | viac3) | |
938 | basic_machine=i586-pc | |
939 | ;; | |
940 | pentiumpro | p6 | 6x86 | athlon | athlon_*) | |
941 | basic_machine=i686-pc | |
942 | ;; | |
943 | pentiumii | pentium2 | pentiumiii | pentium3) | |
944 | basic_machine=i686-pc | |
945 | ;; | |
946 | pentium4) | |
947 | basic_machine=i786-pc | |
948 | ;; | |
949 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) | |
950 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
951 | ;; | |
952 | pentiumpro-* | p6-* | 6x86-* | athlon-*) | |
953 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
954 | ;; | |
955 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) | |
956 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
957 | ;; | |
958 | pentium4-*) | |
959 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
960 | ;; | |
961 | pn) | |
962 | basic_machine=pn-gould | |
963 | ;; | |
964 | power) basic_machine=power-ibm | |
965 | ;; | |
966 | ppc | ppcbe) basic_machine=powerpc-unknown | |
967 | ;; | |
968 | ppc-* | ppcbe-*) | |
969 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
970 | ;; | |
971 | ppcle | powerpclittle | ppc-le | powerpc-little) | |
972 | basic_machine=powerpcle-unknown | |
973 | ;; | |
974 | ppcle-* | powerpclittle-*) | |
975 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
976 | ;; | |
977 | ppc64) basic_machine=powerpc64-unknown | |
978 | ;; | |
979 | ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
980 | ;; | |
981 | ppc64le | powerpc64little | ppc64-le | powerpc64-little) | |
982 | basic_machine=powerpc64le-unknown | |
983 | ;; | |
984 | ppc64le-* | powerpc64little-*) | |
985 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
986 | ;; | |
987 | ps2) | |
988 | basic_machine=i386-ibm | |
989 | ;; | |
990 | pw32) | |
991 | basic_machine=i586-unknown | |
992 | os=-pw32 | |
993 | ;; | |
994 | rdos) | |
995 | basic_machine=i386-pc | |
996 | os=-rdos | |
997 | ;; | |
998 | rom68k) | |
999 | basic_machine=m68k-rom68k | |
1000 | os=-coff | |
1001 | ;; | |
1002 | rm[46]00) | |
1003 | basic_machine=mips-siemens | |
1004 | ;; | |
1005 | rtpc | rtpc-*) | |
1006 | basic_machine=romp-ibm | |
1007 | ;; | |
1008 | s390 | s390-*) | |
1009 | basic_machine=s390-ibm | |
1010 | ;; | |
1011 | s390x | s390x-*) | |
1012 | basic_machine=s390x-ibm | |
1013 | ;; | |
1014 | sa29200) | |
1015 | basic_machine=a29k-amd | |
1016 | os=-udi | |
1017 | ;; | |
1018 | sb1) | |
1019 | basic_machine=mipsisa64sb1-unknown | |
1020 | ;; | |
1021 | sb1el) | |
1022 | basic_machine=mipsisa64sb1el-unknown | |
1023 | ;; | |
1024 | sde) | |
1025 | basic_machine=mipsisa32-sde | |
1026 | os=-elf | |
1027 | ;; | |
1028 | sei) | |
1029 | basic_machine=mips-sei | |
1030 | os=-seiux | |
1031 | ;; | |
1032 | sequent) | |
1033 | basic_machine=i386-sequent | |
1034 | ;; | |
1035 | sh) | |
1036 | basic_machine=sh-hitachi | |
1037 | os=-hms | |
1038 | ;; | |
1039 | sh5el) | |
1040 | basic_machine=sh5le-unknown | |
1041 | ;; | |
1042 | sh64) | |
1043 | basic_machine=sh64-unknown | |
1044 | ;; | |
1045 | sparclite-wrs | simso-wrs) | |
1046 | basic_machine=sparclite-wrs | |
1047 | os=-vxworks | |
1048 | ;; | |
1049 | sps7) | |
1050 | basic_machine=m68k-bull | |
1051 | os=-sysv2 | |
1052 | ;; | |
1053 | spur) | |
1054 | basic_machine=spur-unknown | |
1055 | ;; | |
1056 | st2000) | |
1057 | basic_machine=m68k-tandem | |
1058 | ;; | |
1059 | stratus) | |
1060 | basic_machine=i860-stratus | |
1061 | os=-sysv4 | |
1062 | ;; | |
1063 | strongarm-* | thumb-*) | |
1064 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1065 | ;; | |
1066 | sun2) | |
1067 | basic_machine=m68000-sun | |
1068 | ;; | |
1069 | sun2os3) | |
1070 | basic_machine=m68000-sun | |
1071 | os=-sunos3 | |
1072 | ;; | |
1073 | sun2os4) | |
1074 | basic_machine=m68000-sun | |
1075 | os=-sunos4 | |
1076 | ;; | |
1077 | sun3os3) | |
1078 | basic_machine=m68k-sun | |
1079 | os=-sunos3 | |
1080 | ;; | |
1081 | sun3os4) | |
1082 | basic_machine=m68k-sun | |
1083 | os=-sunos4 | |
1084 | ;; | |
1085 | sun4os3) | |
1086 | basic_machine=sparc-sun | |
1087 | os=-sunos3 | |
1088 | ;; | |
1089 | sun4os4) | |
1090 | basic_machine=sparc-sun | |
1091 | os=-sunos4 | |
1092 | ;; | |
1093 | sun4sol2) | |
1094 | basic_machine=sparc-sun | |
1095 | os=-solaris2 | |
1096 | ;; | |
1097 | sun3 | sun3-*) | |
1098 | basic_machine=m68k-sun | |
1099 | ;; | |
1100 | sun4) | |
1101 | basic_machine=sparc-sun | |
1102 | ;; | |
1103 | sun386 | sun386i | roadrunner) | |
1104 | basic_machine=i386-sun | |
1105 | ;; | |
1106 | sv1) | |
1107 | basic_machine=sv1-cray | |
1108 | os=-unicos | |
1109 | ;; | |
1110 | symmetry) | |
1111 | basic_machine=i386-sequent | |
1112 | os=-dynix | |
1113 | ;; | |
1114 | t3e) | |
1115 | basic_machine=alphaev5-cray | |
1116 | os=-unicos | |
1117 | ;; | |
1118 | t90) | |
1119 | basic_machine=t90-cray | |
1120 | os=-unicos | |
1121 | ;; | |
1122 | # This must be matched before tile*. | |
1123 | tilegx*) | |
1124 | basic_machine=tilegx-unknown | |
1125 | os=-linux-gnu | |
1126 | ;; | |
1127 | tile*) | |
1128 | basic_machine=tile-unknown | |
1129 | os=-linux-gnu | |
1130 | ;; | |
1131 | tx39) | |
1132 | basic_machine=mipstx39-unknown | |
1133 | ;; | |
1134 | tx39el) | |
1135 | basic_machine=mipstx39el-unknown | |
1136 | ;; | |
1137 | toad1) | |
1138 | basic_machine=pdp10-xkl | |
1139 | os=-tops20 | |
1140 | ;; | |
1141 | tower | tower-32) | |
1142 | basic_machine=m68k-ncr | |
1143 | ;; | |
1144 | tpf) | |
1145 | basic_machine=s390x-ibm | |
1146 | os=-tpf | |
1147 | ;; | |
1148 | udi29k) | |
1149 | basic_machine=a29k-amd | |
1150 | os=-udi | |
1151 | ;; | |
1152 | ultra3) | |
1153 | basic_machine=a29k-nyu | |
1154 | os=-sym1 | |
1155 | ;; | |
1156 | v810 | necv810) | |
1157 | basic_machine=v810-nec | |
1158 | os=-none | |
1159 | ;; | |
1160 | vaxv) | |
1161 | basic_machine=vax-dec | |
1162 | os=-sysv | |
1163 | ;; | |
1164 | vms) | |
1165 | basic_machine=vax-dec | |
1166 | os=-vms | |
1167 | ;; | |
1168 | vpp*|vx|vx-*) | |
1169 | basic_machine=f301-fujitsu | |
1170 | ;; | |
1171 | vxworks960) | |
1172 | basic_machine=i960-wrs | |
1173 | os=-vxworks | |
1174 | ;; | |
1175 | vxworks68) | |
1176 | basic_machine=m68k-wrs | |
1177 | os=-vxworks | |
1178 | ;; | |
1179 | vxworks29k) | |
1180 | basic_machine=a29k-wrs | |
1181 | os=-vxworks | |
1182 | ;; | |
1183 | w65*) | |
1184 | basic_machine=w65-wdc | |
1185 | os=-none | |
1186 | ;; | |
1187 | w89k-*) | |
1188 | basic_machine=hppa1.1-winbond | |
1189 | os=-proelf | |
1190 | ;; | |
1191 | xbox) | |
1192 | basic_machine=i686-pc | |
1193 | os=-mingw32 | |
1194 | ;; | |
1195 | xps | xps100) | |
1196 | basic_machine=xps100-honeywell | |
1197 | ;; | |
1198 | xscale-* | xscalee[bl]-*) | |
1199 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1200 | ;; | |
1201 | ymp) | |
1202 | basic_machine=ymp-cray | |
1203 | os=-unicos | |
1204 | ;; | |
1205 | z8k-*-coff) | |
1206 | basic_machine=z8k-unknown | |
1207 | os=-sim | |
1208 | ;; | |
1209 | z80-*-coff) | |
1210 | basic_machine=z80-unknown | |
1211 | os=-sim | |
1212 | ;; | |
1213 | none) | |
1214 | basic_machine=none-none | |
1215 | os=-none | |
1216 | ;; | |
1217 | ||
1218 | # Here we handle the default manufacturer of certain CPU types. It is in | |
1219 | # some cases the only manufacturer, in others, it is the most popular. | |
1220 | w89k) | |
1221 | basic_machine=hppa1.1-winbond | |
1222 | ;; | |
1223 | op50n) | |
1224 | basic_machine=hppa1.1-oki | |
1225 | ;; | |
1226 | op60c) | |
1227 | basic_machine=hppa1.1-oki | |
1228 | ;; | |
1229 | romp) | |
1230 | basic_machine=romp-ibm | |
1231 | ;; | |
1232 | mmix) | |
1233 | basic_machine=mmix-knuth | |
1234 | ;; | |
1235 | rs6000) | |
1236 | basic_machine=rs6000-ibm | |
1237 | ;; | |
1238 | vax) | |
1239 | basic_machine=vax-dec | |
1240 | ;; | |
1241 | pdp10) | |
1242 | # there are many clones, so DEC is not a safe bet | |
1243 | basic_machine=pdp10-unknown | |
1244 | ;; | |
1245 | pdp11) | |
1246 | basic_machine=pdp11-dec | |
1247 | ;; | |
1248 | we32k) | |
1249 | basic_machine=we32k-att | |
1250 | ;; | |
1251 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) | |
1252 | basic_machine=sh-unknown | |
1253 | ;; | |
1254 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1255 | basic_machine=sparc-sun | |
1256 | ;; | |
1257 | cydra) | |
1258 | basic_machine=cydra-cydrome | |
1259 | ;; | |
1260 | orion) | |
1261 | basic_machine=orion-highlevel | |
1262 | ;; | |
1263 | orion105) | |
1264 | basic_machine=clipper-highlevel | |
1265 | ;; | |
1266 | mac | mpw | mac-mpw) | |
1267 | basic_machine=m68k-apple | |
1268 | ;; | |
1269 | pmac | pmac-mpw) | |
1270 | basic_machine=powerpc-apple | |
1271 | ;; | |
1272 | *-unknown) | |
1273 | # Make sure to match an already-canonicalized machine name. | |
1274 | ;; | |
1275 | *) | |
1276 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1277 | exit 1 | |
1278 | ;; | |
1279 | esac | |
1280 | ||
1281 | # Here we canonicalize certain aliases for manufacturers. | |
1282 | case $basic_machine in | |
1283 | *-digital*) | |
1284 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1285 | ;; | |
1286 | *-commodore*) | |
1287 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1288 | ;; | |
1289 | *) | |
1290 | ;; | |
1291 | esac | |
1292 | ||
1293 | # Decode manufacturer-specific aliases for certain operating systems. | |
1294 | ||
1295 | if [ x"$os" != x"" ] | |
1296 | then | |
1297 | case $os in | |
1298 | # First match some system type aliases | |
1299 | # that might get confused with valid system types. | |
1300 | # -solaris* is a basic system type, with this one exception. | |
1301 | -auroraux) | |
1302 | os=-auroraux | |
1303 | ;; | |
1304 | -solaris1 | -solaris1.*) | |
1305 | os=`echo $os | sed -e 's|solaris1|sunos4|'` | |
1306 | ;; | |
1307 | -solaris) | |
1308 | os=-solaris2 | |
1309 | ;; | |
1310 | -svr4*) | |
1311 | os=-sysv4 | |
1312 | ;; | |
1313 | -unixware*) | |
1314 | os=-sysv4.2uw | |
1315 | ;; | |
1316 | -gnu/linux*) | |
1317 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` | |
1318 | ;; | |
1319 | # First accept the basic system types. | |
1320 | # The portable systems comes first. | |
1321 | # Each alternative MUST END IN A *, to match a version number. | |
1322 | # -sysv* is not here because it comes later, after sysvr4. | |
1323 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | |
1324 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | |
1325 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | |
1326 | | -sym* | -kopensolaris* \ | |
1327 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | |
1328 | | -aos* | -aros* \ | |
1329 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | |
1330 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | |
1331 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1332 | | -openbsd* | -solidbsd* \ | |
1333 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | |
1334 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | |
1335 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | |
1336 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | |
1337 | | -chorusos* | -chorusrdb* | -cegcc* \ | |
1338 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1339 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1340 | | -linux-newlib* | -linux-uclibc* \ | |
1341 | | -uxpv* | -beos* | -mpeix* | -udk* \ | |
1342 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1343 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | |
1344 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | |
1345 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | |
1346 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1347 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | |
1348 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | |
1349 | # Remember, each alternative MUST END IN *, to match a version number. | |
1350 | ;; | |
1351 | -qnx*) | |
1352 | case $basic_machine in | |
1353 | x86-* | i*86-*) | |
1354 | ;; | |
1355 | *) | |
1356 | os=-nto$os | |
1357 | ;; | |
1358 | esac | |
1359 | ;; | |
1360 | -nto-qnx*) | |
1361 | ;; | |
1362 | -nto*) | |
1363 | os=`echo $os | sed -e 's|nto|nto-qnx|'` | |
1364 | ;; | |
1365 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | |
1366 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | |
1367 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | |
1368 | ;; | |
1369 | -mac*) | |
1370 | os=`echo $os | sed -e 's|mac|macos|'` | |
1371 | ;; | |
1372 | -linux-dietlibc) | |
1373 | os=-linux-dietlibc | |
1374 | ;; | |
1375 | -linux*) | |
1376 | os=`echo $os | sed -e 's|linux|linux-gnu|'` | |
1377 | ;; | |
1378 | -sunos5*) | |
1379 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1380 | ;; | |
1381 | -sunos6*) | |
1382 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1383 | ;; | |
1384 | -opened*) | |
1385 | os=-openedition | |
1386 | ;; | |
1387 | -os400*) | |
1388 | os=-os400 | |
1389 | ;; | |
1390 | -wince*) | |
1391 | os=-wince | |
1392 | ;; | |
1393 | -osfrose*) | |
1394 | os=-osfrose | |
1395 | ;; | |
1396 | -osf*) | |
1397 | os=-osf | |
1398 | ;; | |
1399 | -utek*) | |
1400 | os=-bsd | |
1401 | ;; | |
1402 | -dynix*) | |
1403 | os=-bsd | |
1404 | ;; | |
1405 | -acis*) | |
1406 | os=-aos | |
1407 | ;; | |
1408 | -atheos*) | |
1409 | os=-atheos | |
1410 | ;; | |
1411 | -syllable*) | |
1412 | os=-syllable | |
1413 | ;; | |
1414 | -386bsd) | |
1415 | os=-bsd | |
1416 | ;; | |
1417 | -ctix* | -uts*) | |
1418 | os=-sysv | |
1419 | ;; | |
1420 | -nova*) | |
1421 | os=-rtmk-nova | |
1422 | ;; | |
1423 | -ns2 ) | |
1424 | os=-nextstep2 | |
1425 | ;; | |
1426 | -nsk*) | |
1427 | os=-nsk | |
1428 | ;; | |
1429 | # Preserve the version number of sinix5. | |
1430 | -sinix5.*) | |
1431 | os=`echo $os | sed -e 's|sinix|sysv|'` | |
1432 | ;; | |
1433 | -sinix*) | |
1434 | os=-sysv4 | |
1435 | ;; | |
1436 | -tpf*) | |
1437 | os=-tpf | |
1438 | ;; | |
1439 | -triton*) | |
1440 | os=-sysv3 | |
1441 | ;; | |
1442 | -oss*) | |
1443 | os=-sysv3 | |
1444 | ;; | |
1445 | -svr4) | |
1446 | os=-sysv4 | |
1447 | ;; | |
1448 | -svr3) | |
1449 | os=-sysv3 | |
1450 | ;; | |
1451 | -sysvr4) | |
1452 | os=-sysv4 | |
1453 | ;; | |
1454 | # This must come after -sysvr4. | |
1455 | -sysv*) | |
1456 | ;; | |
1457 | -ose*) | |
1458 | os=-ose | |
1459 | ;; | |
1460 | -es1800*) | |
1461 | os=-ose | |
1462 | ;; | |
1463 | -xenix) | |
1464 | os=-xenix | |
1465 | ;; | |
1466 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | |
1467 | os=-mint | |
1468 | ;; | |
1469 | -aros*) | |
1470 | os=-aros | |
1471 | ;; | |
1472 | -kaos*) | |
1473 | os=-kaos | |
1474 | ;; | |
1475 | -zvmoe) | |
1476 | os=-zvmoe | |
1477 | ;; | |
1478 | -dicos*) | |
1479 | os=-dicos | |
1480 | ;; | |
1481 | -nacl*) | |
1482 | ;; | |
1483 | -none) | |
1484 | ;; | |
1485 | *) | |
1486 | # Get rid of the `-' at the beginning of $os. | |
1487 | os=`echo $os | sed 's/[^-]*-//'` | |
1488 | echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1489 | exit 1 | |
1490 | ;; | |
1491 | esac | |
1492 | else | |
1493 | ||
1494 | # Here we handle the default operating systems that come with various machines. | |
1495 | # The value should be what the vendor currently ships out the door with their | |
1496 | # machine or put another way, the most popular os provided with the machine. | |
1497 | ||
1498 | # Note that if you're going to try to match "-MANUFACTURER" here (say, | |
1499 | # "-sun"), then you have to tell the case statement up towards the top | |
1500 | # that MANUFACTURER isn't an operating system. Otherwise, code above | |
1501 | # will signal an error saying that MANUFACTURER isn't an operating | |
1502 | # system, and we'll never get to this point. | |
1503 | ||
1504 | case $basic_machine in | |
1505 | score-*) | |
1506 | os=-elf | |
1507 | ;; | |
1508 | spu-*) | |
1509 | os=-elf | |
1510 | ;; | |
1511 | *-acorn) | |
1512 | os=-riscix1.2 | |
1513 | ;; | |
1514 | arm*-rebel) | |
1515 | os=-linux | |
1516 | ;; | |
1517 | arm*-semi) | |
1518 | os=-aout | |
1519 | ;; | |
1520 | c4x-* | tic4x-*) | |
1521 | os=-coff | |
1522 | ;; | |
1523 | tic54x-*) | |
1524 | os=-coff | |
1525 | ;; | |
1526 | tic55x-*) | |
1527 | os=-coff | |
1528 | ;; | |
1529 | tic6x-*) | |
1530 | os=-coff | |
1531 | ;; | |
1532 | # This must come before the *-dec entry. | |
1533 | pdp10-*) | |
1534 | os=-tops20 | |
1535 | ;; | |
1536 | pdp11-*) | |
1537 | os=-none | |
1538 | ;; | |
1539 | *-dec | vax-*) | |
1540 | os=-ultrix4.2 | |
1541 | ;; | |
1542 | m68*-apollo) | |
1543 | os=-domain | |
1544 | ;; | |
1545 | i386-sun) | |
1546 | os=-sunos4.0.2 | |
1547 | ;; | |
1548 | m68000-sun) | |
1549 | os=-sunos3 | |
1550 | # This also exists in the configure program, but was not the | |
1551 | # default. | |
1552 | # os=-sunos4 | |
1553 | ;; | |
1554 | m68*-cisco) | |
1555 | os=-aout | |
1556 | ;; | |
1557 | mep-*) | |
1558 | os=-elf | |
1559 | ;; | |
1560 | mips*-cisco) | |
1561 | os=-elf | |
1562 | ;; | |
1563 | mips*-*) | |
1564 | os=-elf | |
1565 | ;; | |
1566 | or32-*) | |
1567 | os=-coff | |
1568 | ;; | |
1569 | *-tti) # must be before sparc entry or we get the wrong os. | |
1570 | os=-sysv3 | |
1571 | ;; | |
1572 | sparc-* | *-sun) | |
1573 | os=-sunos4.1.1 | |
1574 | ;; | |
1575 | *-be) | |
1576 | os=-beos | |
1577 | ;; | |
1578 | *-haiku) | |
1579 | os=-haiku | |
1580 | ;; | |
1581 | *-ibm) | |
1582 | os=-aix | |
1583 | ;; | |
1584 | *-knuth) | |
1585 | os=-mmixware | |
1586 | ;; | |
1587 | *-wec) | |
1588 | os=-proelf | |
1589 | ;; | |
1590 | *-winbond) | |
1591 | os=-proelf | |
1592 | ;; | |
1593 | *-oki) | |
1594 | os=-proelf | |
1595 | ;; | |
1596 | *-hp) | |
1597 | os=-hpux | |
1598 | ;; | |
1599 | *-hitachi) | |
1600 | os=-hiux | |
1601 | ;; | |
1602 | i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) | |
1603 | os=-sysv | |
1604 | ;; | |
1605 | *-cbm) | |
1606 | os=-amigaos | |
1607 | ;; | |
1608 | *-dg) | |
1609 | os=-dgux | |
1610 | ;; | |
1611 | *-dolphin) | |
1612 | os=-sysv3 | |
1613 | ;; | |
1614 | m68k-ccur) | |
1615 | os=-rtu | |
1616 | ;; | |
1617 | m88k-omron*) | |
1618 | os=-luna | |
1619 | ;; | |
1620 | *-next ) | |
1621 | os=-nextstep | |
1622 | ;; | |
1623 | *-sequent) | |
1624 | os=-ptx | |
1625 | ;; | |
1626 | *-crds) | |
1627 | os=-unos | |
1628 | ;; | |
1629 | *-ns) | |
1630 | os=-genix | |
1631 | ;; | |
1632 | i370-*) | |
1633 | os=-mvs | |
1634 | ;; | |
1635 | *-next) | |
1636 | os=-nextstep3 | |
1637 | ;; | |
1638 | *-gould) | |
1639 | os=-sysv | |
1640 | ;; | |
1641 | *-highlevel) | |
1642 | os=-bsd | |
1643 | ;; | |
1644 | *-encore) | |
1645 | os=-bsd | |
1646 | ;; | |
1647 | *-sgi) | |
1648 | os=-irix | |
1649 | ;; | |
1650 | *-siemens) | |
1651 | os=-sysv4 | |
1652 | ;; | |
1653 | *-masscomp) | |
1654 | os=-rtu | |
1655 | ;; | |
1656 | f30[01]-fujitsu | f700-fujitsu) | |
1657 | os=-uxpv | |
1658 | ;; | |
1659 | *-rom68k) | |
1660 | os=-coff | |
1661 | ;; | |
1662 | *-*bug) | |
1663 | os=-coff | |
1664 | ;; | |
1665 | *-apple) | |
1666 | os=-macos | |
1667 | ;; | |
1668 | *-atari*) | |
1669 | os=-mint | |
1670 | ;; | |
1671 | *) | |
1672 | os=-none | |
1673 | ;; | |
1674 | esac | |
1675 | fi | |
1676 | ||
1677 | # Here we handle the case where we know the os, and the CPU type, but not the | |
1678 | # manufacturer. We pick the logical manufacturer. | |
1679 | vendor=unknown | |
1680 | case $basic_machine in | |
1681 | *-unknown) | |
1682 | case $os in | |
1683 | -riscix*) | |
1684 | vendor=acorn | |
1685 | ;; | |
1686 | -sunos*) | |
1687 | vendor=sun | |
1688 | ;; | |
1689 | -cnk*|-aix*) | |
1690 | vendor=ibm | |
1691 | ;; | |
1692 | -beos*) | |
1693 | vendor=be | |
1694 | ;; | |
1695 | -hpux*) | |
1696 | vendor=hp | |
1697 | ;; | |
1698 | -mpeix*) | |
1699 | vendor=hp | |
1700 | ;; | |
1701 | -hiux*) | |
1702 | vendor=hitachi | |
1703 | ;; | |
1704 | -unos*) | |
1705 | vendor=crds | |
1706 | ;; | |
1707 | -dgux*) | |
1708 | vendor=dg | |
1709 | ;; | |
1710 | -luna*) | |
1711 | vendor=omron | |
1712 | ;; | |
1713 | -genix*) | |
1714 | vendor=ns | |
1715 | ;; | |
1716 | -mvs* | -opened*) | |
1717 | vendor=ibm | |
1718 | ;; | |
1719 | -os400*) | |
1720 | vendor=ibm | |
1721 | ;; | |
1722 | -ptx*) | |
1723 | vendor=sequent | |
1724 | ;; | |
1725 | -tpf*) | |
1726 | vendor=ibm | |
1727 | ;; | |
1728 | -vxsim* | -vxworks* | -windiss*) | |
1729 | vendor=wrs | |
1730 | ;; | |
1731 | -aux*) | |
1732 | vendor=apple | |
1733 | ;; | |
1734 | -hms*) | |
1735 | vendor=hitachi | |
1736 | ;; | |
1737 | -mpw* | -macos*) | |
1738 | vendor=apple | |
1739 | ;; | |
1740 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | |
1741 | vendor=atari | |
1742 | ;; | |
1743 | -vos*) | |
1744 | vendor=stratus | |
1745 | ;; | |
1746 | esac | |
1747 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1748 | ;; | |
1749 | esac | |
1750 | ||
1751 | echo $basic_machine$os | |
1752 | exit | |
1753 | ||
1754 | # Local variables: | |
1755 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1756 | # time-stamp-start: "timestamp='" | |
1757 | # time-stamp-format: "%:y-%02m-%02d" | |
1758 | # time-stamp-end: "'" | |
1759 | # End: |
0 | #! /bin/sh | |
1 | # Guess values for system-dependent variables and create Makefiles. | |
2 | # Generated by GNU Autoconf 2.68 for dillo 3.0-pre. | |
3 | # | |
4 | # | |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
7 | # Foundation, Inc. | |
8 | # | |
9 | # | |
10 | # This configure script is free software; the Free Software Foundation | |
11 | # gives unlimited permission to copy, distribute and modify it. | |
12 | ## -------------------- ## | |
13 | ## M4sh Initialization. ## | |
14 | ## -------------------- ## | |
15 | ||
16 | # Be more Bourne compatible | |
17 | DUALCASE=1; export DUALCASE # for MKS sh | |
18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
19 | emulate sh | |
20 | NULLCMD=: | |
21 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
22 | # is contrary to our usage. Disable this feature. | |
23 | alias -g '${1+"$@"}'='"$@"' | |
24 | setopt NO_GLOB_SUBST | |
25 | else | |
26 | case `(set -o) 2>/dev/null` in #( | |
27 | *posix*) : | |
28 | set -o posix ;; #( | |
29 | *) : | |
30 | ;; | |
31 | esac | |
32 | fi | |
33 | ||
34 | ||
35 | as_nl=' | |
36 | ' | |
37 | export as_nl | |
38 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
39 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
42 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
43 | # but without wasting forks for bash or zsh. | |
44 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
45 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
46 | as_echo='print -r --' | |
47 | as_echo_n='print -rn --' | |
48 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 | as_echo='printf %s\n' | |
50 | as_echo_n='printf %s' | |
51 | else | |
52 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
53 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
54 | as_echo_n='/usr/ucb/echo -n' | |
55 | else | |
56 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
57 | as_echo_n_body='eval | |
58 | arg=$1; | |
59 | case $arg in #( | |
60 | *"$as_nl"*) | |
61 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
62 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
63 | esac; | |
64 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
65 | ' | |
66 | export as_echo_n_body | |
67 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
68 | fi | |
69 | export as_echo_body | |
70 | as_echo='sh -c $as_echo_body as_echo' | |
71 | fi | |
72 | ||
73 | # The user is always right. | |
74 | if test "${PATH_SEPARATOR+set}" != set; then | |
75 | PATH_SEPARATOR=: | |
76 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
77 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
78 | PATH_SEPARATOR=';' | |
79 | } | |
80 | fi | |
81 | ||
82 | ||
83 | # IFS | |
84 | # We need space, tab and new line, in precisely that order. Quoting is | |
85 | # there to prevent editors from complaining about space-tab. | |
86 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
87 | # splitting by setting IFS to empty value.) | |
88 | IFS=" "" $as_nl" | |
89 | ||
90 | # Find who we are. Look in the path if we contain no directory separator. | |
91 | as_myself= | |
92 | case $0 in #(( | |
93 | *[\\/]* ) as_myself=$0 ;; | |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
95 | for as_dir in $PATH | |
96 | do | |
97 | IFS=$as_save_IFS | |
98 | test -z "$as_dir" && as_dir=. | |
99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
100 | done | |
101 | IFS=$as_save_IFS | |
102 | ||
103 | ;; | |
104 | esac | |
105 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
106 | # in which case we are not to be found in the path. | |
107 | if test "x$as_myself" = x; then | |
108 | as_myself=$0 | |
109 | fi | |
110 | if test ! -f "$as_myself"; then | |
111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
112 | exit 1 | |
113 | fi | |
114 | ||
115 | # Unset variables that we do not need and which cause bugs (e.g. in | |
116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
117 | # suppresses any "Segmentation fault" message there. '((' could | |
118 | # trigger a bug in pdksh 5.2.14. | |
119 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
120 | do eval test x\${$as_var+set} = xset \ | |
121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
122 | done | |
123 | PS1='$ ' | |
124 | PS2='> ' | |
125 | PS4='+ ' | |
126 | ||
127 | # NLS nuisances. | |
128 | LC_ALL=C | |
129 | export LC_ALL | |
130 | LANGUAGE=C | |
131 | export LANGUAGE | |
132 | ||
133 | # CDPATH. | |
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
135 | ||
136 | if test "x$CONFIG_SHELL" = x; then | |
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
138 | emulate sh | |
139 | NULLCMD=: | |
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
141 | # is contrary to our usage. Disable this feature. | |
142 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
143 | setopt NO_GLOB_SUBST | |
144 | else | |
145 | case \`(set -o) 2>/dev/null\` in #( | |
146 | *posix*) : | |
147 | set -o posix ;; #( | |
148 | *) : | |
149 | ;; | |
150 | esac | |
151 | fi | |
152 | " | |
153 | as_required="as_fn_return () { (exit \$1); } | |
154 | as_fn_success () { as_fn_return 0; } | |
155 | as_fn_failure () { as_fn_return 1; } | |
156 | as_fn_ret_success () { return 0; } | |
157 | as_fn_ret_failure () { return 1; } | |
158 | ||
159 | exitcode=0 | |
160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
165 | ||
166 | else | |
167 | exitcode=1; echo positional parameters were not saved. | |
168 | fi | |
169 | test x\$exitcode = x0 || exit 1" | |
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
174 | test \$(( 1 + 1 )) = 2 || exit 1" | |
175 | if (eval "$as_required") 2>/dev/null; then : | |
176 | as_have_required=yes | |
177 | else | |
178 | as_have_required=no | |
179 | fi | |
180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
181 | ||
182 | else | |
183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
184 | as_found=false | |
185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
186 | do | |
187 | IFS=$as_save_IFS | |
188 | test -z "$as_dir" && as_dir=. | |
189 | as_found=: | |
190 | case $as_dir in #( | |
191 | /*) | |
192 | for as_base in sh bash ksh sh5; do | |
193 | # Try only shells that exist, to save several forks. | |
194 | as_shell=$as_dir/$as_base | |
195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
197 | CONFIG_SHELL=$as_shell as_have_required=yes | |
198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
199 | break 2 | |
200 | fi | |
201 | fi | |
202 | done;; | |
203 | esac | |
204 | as_found=false | |
205 | done | |
206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
208 | CONFIG_SHELL=$SHELL as_have_required=yes | |
209 | fi; } | |
210 | IFS=$as_save_IFS | |
211 | ||
212 | ||
213 | if test "x$CONFIG_SHELL" != x; then : | |
214 | # We cannot yet assume a decent shell, so we have to provide a | |
215 | # neutralization value for shells without unset; and this also | |
216 | # works around shells that cannot unset nonexistent variables. | |
217 | # Preserve -v and -x to the replacement shell. | |
218 | BASH_ENV=/dev/null | |
219 | ENV=/dev/null | |
220 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
221 | export CONFIG_SHELL | |
222 | case $- in # (((( | |
223 | *v*x* | *x*v* ) as_opts=-vx ;; | |
224 | *v* ) as_opts=-v ;; | |
225 | *x* ) as_opts=-x ;; | |
226 | * ) as_opts= ;; | |
227 | esac | |
228 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
229 | fi | |
230 | ||
231 | if test x$as_have_required = xno; then : | |
232 | $as_echo "$0: This script requires a shell more modern than all" | |
233 | $as_echo "$0: the shells that I found on your system." | |
234 | if test x${ZSH_VERSION+set} = xset ; then | |
235 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
236 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
237 | else | |
238 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
239 | $0: including any error possibly output before this | |
240 | $0: message. Then install a modern shell, or manually run | |
241 | $0: the script under such a shell if you do have one." | |
242 | fi | |
243 | exit 1 | |
244 | fi | |
245 | fi | |
246 | fi | |
247 | SHELL=${CONFIG_SHELL-/bin/sh} | |
248 | export SHELL | |
249 | # Unset more variables known to interfere with behavior of common tools. | |
250 | CLICOLOR_FORCE= GREP_OPTIONS= | |
251 | unset CLICOLOR_FORCE GREP_OPTIONS | |
252 | ||
253 | ## --------------------- ## | |
254 | ## M4sh Shell Functions. ## | |
255 | ## --------------------- ## | |
256 | # as_fn_unset VAR | |
257 | # --------------- | |
258 | # Portably unset VAR. | |
259 | as_fn_unset () | |
260 | { | |
261 | { eval $1=; unset $1;} | |
262 | } | |
263 | as_unset=as_fn_unset | |
264 | ||
265 | # as_fn_set_status STATUS | |
266 | # ----------------------- | |
267 | # Set $? to STATUS, without forking. | |
268 | as_fn_set_status () | |
269 | { | |
270 | return $1 | |
271 | } # as_fn_set_status | |
272 | ||
273 | # as_fn_exit STATUS | |
274 | # ----------------- | |
275 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
276 | as_fn_exit () | |
277 | { | |
278 | set +e | |
279 | as_fn_set_status $1 | |
280 | exit $1 | |
281 | } # as_fn_exit | |
282 | ||
283 | # as_fn_mkdir_p | |
284 | # ------------- | |
285 | # Create "$as_dir" as a directory, including parents if necessary. | |
286 | as_fn_mkdir_p () | |
287 | { | |
288 | ||
289 | case $as_dir in #( | |
290 | -*) as_dir=./$as_dir;; | |
291 | esac | |
292 | test -d "$as_dir" || eval $as_mkdir_p || { | |
293 | as_dirs= | |
294 | while :; do | |
295 | case $as_dir in #( | |
296 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
297 | *) as_qdir=$as_dir;; | |
298 | esac | |
299 | as_dirs="'$as_qdir' $as_dirs" | |
300 | as_dir=`$as_dirname -- "$as_dir" || | |
301 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
302 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
303 | X"$as_dir" : 'X\(//\)$' \| \ | |
304 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
305 | $as_echo X"$as_dir" | | |
306 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
307 | s//\1/ | |
308 | q | |
309 | } | |
310 | /^X\(\/\/\)[^/].*/{ | |
311 | s//\1/ | |
312 | q | |
313 | } | |
314 | /^X\(\/\/\)$/{ | |
315 | s//\1/ | |
316 | q | |
317 | } | |
318 | /^X\(\/\).*/{ | |
319 | s//\1/ | |
320 | q | |
321 | } | |
322 | s/.*/./; q'` | |
323 | test -d "$as_dir" && break | |
324 | done | |
325 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
326 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
327 | ||
328 | ||
329 | } # as_fn_mkdir_p | |
330 | # as_fn_append VAR VALUE | |
331 | # ---------------------- | |
332 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
333 | # advantage of any shell optimizations that allow amortized linear growth over | |
334 | # repeated appends, instead of the typical quadratic growth present in naive | |
335 | # implementations. | |
336 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
337 | eval 'as_fn_append () | |
338 | { | |
339 | eval $1+=\$2 | |
340 | }' | |
341 | else | |
342 | as_fn_append () | |
343 | { | |
344 | eval $1=\$$1\$2 | |
345 | } | |
346 | fi # as_fn_append | |
347 | ||
348 | # as_fn_arith ARG... | |
349 | # ------------------ | |
350 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
351 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
352 | # must be portable across $(()) and expr. | |
353 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
354 | eval 'as_fn_arith () | |
355 | { | |
356 | as_val=$(( $* )) | |
357 | }' | |
358 | else | |
359 | as_fn_arith () | |
360 | { | |
361 | as_val=`expr "$@" || test $? -eq 1` | |
362 | } | |
363 | fi # as_fn_arith | |
364 | ||
365 | ||
366 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
367 | # ---------------------------------------- | |
368 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
369 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
370 | # script with STATUS, using 1 if that was 0. | |
371 | as_fn_error () | |
372 | { | |
373 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
374 | if test "$4"; then | |
375 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
376 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
377 | fi | |
378 | $as_echo "$as_me: error: $2" >&2 | |
379 | as_fn_exit $as_status | |
380 | } # as_fn_error | |
381 | ||
382 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
383 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
384 | as_expr=expr | |
385 | else | |
386 | as_expr=false | |
387 | fi | |
388 | ||
389 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
390 | as_basename=basename | |
391 | else | |
392 | as_basename=false | |
393 | fi | |
394 | ||
395 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
396 | as_dirname=dirname | |
397 | else | |
398 | as_dirname=false | |
399 | fi | |
400 | ||
401 | as_me=`$as_basename -- "$0" || | |
402 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
403 | X"$0" : 'X\(//\)$' \| \ | |
404 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
405 | $as_echo X/"$0" | | |
406 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
407 | s//\1/ | |
408 | q | |
409 | } | |
410 | /^X\/\(\/\/\)$/{ | |
411 | s//\1/ | |
412 | q | |
413 | } | |
414 | /^X\/\(\/\).*/{ | |
415 | s//\1/ | |
416 | q | |
417 | } | |
418 | s/.*/./; q'` | |
419 | ||
420 | # Avoid depending upon Character Ranges. | |
421 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
422 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
423 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
424 | as_cr_digits='0123456789' | |
425 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
426 | ||
427 | ||
428 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
429 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
430 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
431 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
432 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
433 | sed -n ' | |
434 | p | |
435 | /[$]LINENO/= | |
436 | ' <$as_myself | | |
437 | sed ' | |
438 | s/[$]LINENO.*/&-/ | |
439 | t lineno | |
440 | b | |
441 | :lineno | |
442 | N | |
443 | :loop | |
444 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
445 | t loop | |
446 | s/-\n.*// | |
447 | ' >$as_me.lineno && | |
448 | chmod +x "$as_me.lineno" || | |
449 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
450 | ||
451 | # Don't try to exec as it changes $[0], causing all sort of problems | |
452 | # (the dirname of $[0] is not the place where we might find the | |
453 | # original and so on. Autoconf is especially sensitive to this). | |
454 | . "./$as_me.lineno" | |
455 | # Exit status is that of the last command. | |
456 | exit | |
457 | } | |
458 | ||
459 | ECHO_C= ECHO_N= ECHO_T= | |
460 | case `echo -n x` in #((((( | |
461 | -n*) | |
462 | case `echo 'xy\c'` in | |
463 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
464 | xy) ECHO_C='\c';; | |
465 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
466 | ECHO_T=' ';; | |
467 | esac;; | |
468 | *) | |
469 | ECHO_N='-n';; | |
470 | esac | |
471 | ||
472 | rm -f conf$$ conf$$.exe conf$$.file | |
473 | if test -d conf$$.dir; then | |
474 | rm -f conf$$.dir/conf$$.file | |
475 | else | |
476 | rm -f conf$$.dir | |
477 | mkdir conf$$.dir 2>/dev/null | |
478 | fi | |
479 | if (echo >conf$$.file) 2>/dev/null; then | |
480 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
481 | as_ln_s='ln -s' | |
482 | # ... but there are two gotchas: | |
483 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
484 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
485 | # In both cases, we have to default to `cp -p'. | |
486 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
487 | as_ln_s='cp -p' | |
488 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
489 | as_ln_s=ln | |
490 | else | |
491 | as_ln_s='cp -p' | |
492 | fi | |
493 | else | |
494 | as_ln_s='cp -p' | |
495 | fi | |
496 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
497 | rmdir conf$$.dir 2>/dev/null | |
498 | ||
499 | if mkdir -p . 2>/dev/null; then | |
500 | as_mkdir_p='mkdir -p "$as_dir"' | |
501 | else | |
502 | test -d ./-p && rmdir ./-p | |
503 | as_mkdir_p=false | |
504 | fi | |
505 | ||
506 | if test -x / >/dev/null 2>&1; then | |
507 | as_test_x='test -x' | |
508 | else | |
509 | if ls -dL / >/dev/null 2>&1; then | |
510 | as_ls_L_option=L | |
511 | else | |
512 | as_ls_L_option= | |
513 | fi | |
514 | as_test_x=' | |
515 | eval sh -c '\'' | |
516 | if test -d "$1"; then | |
517 | test -d "$1/."; | |
518 | else | |
519 | case $1 in #( | |
520 | -*)set "./$1";; | |
521 | esac; | |
522 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
523 | ???[sx]*):;;*)false;;esac;fi | |
524 | '\'' sh | |
525 | ' | |
526 | fi | |
527 | as_executable_p=$as_test_x | |
528 | ||
529 | # Sed expression to map a string onto a valid CPP name. | |
530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
531 | ||
532 | # Sed expression to map a string onto a valid variable name. | |
533 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
534 | ||
535 | ||
536 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
537 | exec 6>&1 | |
538 | ||
539 | # Name of the host. | |
540 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
541 | # so uname gets run too. | |
542 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
543 | ||
544 | # | |
545 | # Initializations. | |
546 | # | |
547 | ac_default_prefix=/usr/local | |
548 | ac_clean_files= | |
549 | ac_config_libobj_dir=. | |
550 | LIBOBJS= | |
551 | cross_compiling=no | |
552 | subdirs= | |
553 | MFLAGS= | |
554 | MAKEFLAGS= | |
555 | ||
556 | # Identity of this package. | |
557 | PACKAGE_NAME='dillo' | |
558 | PACKAGE_TARNAME='dillo' | |
559 | PACKAGE_VERSION='3.0-pre' | |
560 | PACKAGE_STRING='dillo 3.0-pre' | |
561 | PACKAGE_BUGREPORT='' | |
562 | PACKAGE_URL='' | |
563 | ||
564 | ac_unique_file="src/dillo.cc" | |
565 | # Factoring default headers for most tests. | |
566 | ac_includes_default="\ | |
567 | #include <stdio.h> | |
568 | #ifdef HAVE_SYS_TYPES_H | |
569 | # include <sys/types.h> | |
570 | #endif | |
571 | #ifdef HAVE_SYS_STAT_H | |
572 | # include <sys/stat.h> | |
573 | #endif | |
574 | #ifdef STDC_HEADERS | |
575 | # include <stdlib.h> | |
576 | # include <stddef.h> | |
577 | #else | |
578 | # ifdef HAVE_STDLIB_H | |
579 | # include <stdlib.h> | |
580 | # endif | |
581 | #endif | |
582 | #ifdef HAVE_STRING_H | |
583 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
584 | # include <memory.h> | |
585 | # endif | |
586 | # include <string.h> | |
587 | #endif | |
588 | #ifdef HAVE_STRINGS_H | |
589 | # include <strings.h> | |
590 | #endif | |
591 | #ifdef HAVE_INTTYPES_H | |
592 | # include <inttypes.h> | |
593 | #endif | |
594 | #ifdef HAVE_STDINT_H | |
595 | # include <stdint.h> | |
596 | #endif | |
597 | #ifdef HAVE_UNISTD_H | |
598 | # include <unistd.h> | |
599 | #endif" | |
600 | ||
601 | ac_subst_vars='am__EXEEXT_FALSE | |
602 | am__EXEEXT_TRUE | |
603 | LTLIBOBJS | |
604 | LIBOBJS | |
605 | LIBICONV_LIBS | |
606 | LIBFLTK_LIBS | |
607 | LIBFLTK_CFLAGS | |
608 | LIBFLTK_CXXFLAGS | |
609 | LIBPTHREAD_LDFLAGS | |
610 | LIBPTHREAD_LIBS | |
611 | LIBSSL_LIBS | |
612 | LIBZ_LIBS | |
613 | LIBPNG_CFLAGS | |
614 | LIBPNG_LIBS | |
615 | LIBJPEG_CPPFLAGS | |
616 | LIBJPEG_LDFLAGS | |
617 | LIBJPEG_LIBS | |
618 | EGREP | |
619 | GREP | |
620 | CPP | |
621 | RANLIB | |
622 | am__fastdepCXX_FALSE | |
623 | am__fastdepCXX_TRUE | |
624 | CXXDEPMODE | |
625 | ac_ct_CXX | |
626 | CXXFLAGS | |
627 | CXX | |
628 | am__fastdepCC_FALSE | |
629 | am__fastdepCC_TRUE | |
630 | CCDEPMODE | |
631 | AMDEPBACKSLASH | |
632 | AMDEP_FALSE | |
633 | AMDEP_TRUE | |
634 | am__quote | |
635 | am__include | |
636 | DEPDIR | |
637 | OBJEXT | |
638 | EXEEXT | |
639 | ac_ct_CC | |
640 | CPPFLAGS | |
641 | LDFLAGS | |
642 | CFLAGS | |
643 | CC | |
644 | am__untar | |
645 | am__tar | |
646 | AMTAR | |
647 | am__leading_dot | |
648 | SET_MAKE | |
649 | AWK | |
650 | mkdir_p | |
651 | MKDIR_P | |
652 | INSTALL_STRIP_PROGRAM | |
653 | STRIP | |
654 | install_sh | |
655 | MAKEINFO | |
656 | AUTOHEADER | |
657 | AUTOMAKE | |
658 | AUTOCONF | |
659 | ACLOCAL | |
660 | VERSION | |
661 | PACKAGE | |
662 | CYGPATH_W | |
663 | am__isrc | |
664 | INSTALL_DATA | |
665 | INSTALL_SCRIPT | |
666 | INSTALL_PROGRAM | |
667 | target_os | |
668 | target_vendor | |
669 | target_cpu | |
670 | target | |
671 | host_os | |
672 | host_vendor | |
673 | host_cpu | |
674 | host | |
675 | build_os | |
676 | build_vendor | |
677 | build_cpu | |
678 | build | |
679 | target_alias | |
680 | host_alias | |
681 | build_alias | |
682 | LIBS | |
683 | ECHO_T | |
684 | ECHO_N | |
685 | ECHO_C | |
686 | DEFS | |
687 | mandir | |
688 | localedir | |
689 | libdir | |
690 | psdir | |
691 | pdfdir | |
692 | dvidir | |
693 | htmldir | |
694 | infodir | |
695 | docdir | |
696 | oldincludedir | |
697 | includedir | |
698 | localstatedir | |
699 | sharedstatedir | |
700 | sysconfdir | |
701 | datadir | |
702 | datarootdir | |
703 | libexecdir | |
704 | sbindir | |
705 | bindir | |
706 | program_transform_name | |
707 | prefix | |
708 | exec_prefix | |
709 | PACKAGE_URL | |
710 | PACKAGE_BUGREPORT | |
711 | PACKAGE_STRING | |
712 | PACKAGE_VERSION | |
713 | PACKAGE_TARNAME | |
714 | PACKAGE_NAME | |
715 | PATH_SEPARATOR | |
716 | SHELL' | |
717 | ac_subst_files='' | |
718 | ac_user_opts=' | |
719 | enable_option_checking | |
720 | with_jpeg_lib | |
721 | with_jpeg_inc | |
722 | enable_efence | |
723 | enable_gprof | |
724 | enable_insure | |
725 | enable_ssl | |
726 | enable_ipv6 | |
727 | enable_cookies | |
728 | enable_png | |
729 | enable_jpeg | |
730 | enable_gif | |
731 | enable_threaded_dns | |
732 | enable_rtfl | |
733 | enable_dependency_tracking | |
734 | ' | |
735 | ac_precious_vars='build_alias | |
736 | host_alias | |
737 | target_alias | |
738 | CC | |
739 | CFLAGS | |
740 | LDFLAGS | |
741 | LIBS | |
742 | CPPFLAGS | |
743 | CXX | |
744 | CXXFLAGS | |
745 | CCC | |
746 | CPP' | |
747 | ||
748 | ||
749 | # Initialize some variables set by options. | |
750 | ac_init_help= | |
751 | ac_init_version=false | |
752 | ac_unrecognized_opts= | |
753 | ac_unrecognized_sep= | |
754 | # The variables have the same names as the options, with | |
755 | # dashes changed to underlines. | |
756 | cache_file=/dev/null | |
757 | exec_prefix=NONE | |
758 | no_create= | |
759 | no_recursion= | |
760 | prefix=NONE | |
761 | program_prefix=NONE | |
762 | program_suffix=NONE | |
763 | program_transform_name=s,x,x, | |
764 | silent= | |
765 | site= | |
766 | srcdir= | |
767 | verbose= | |
768 | x_includes=NONE | |
769 | x_libraries=NONE | |
770 | ||
771 | # Installation directory options. | |
772 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
773 | # and all the variables that are supposed to be based on exec_prefix | |
774 | # by default will actually change. | |
775 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
776 | # (The list follows the same order as the GNU Coding Standards.) | |
777 | bindir='${exec_prefix}/bin' | |
778 | sbindir='${exec_prefix}/sbin' | |
779 | libexecdir='${exec_prefix}/libexec' | |
780 | datarootdir='${prefix}/share' | |
781 | datadir='${datarootdir}' | |
782 | sysconfdir='${prefix}/etc' | |
783 | sharedstatedir='${prefix}/com' | |
784 | localstatedir='${prefix}/var' | |
785 | includedir='${prefix}/include' | |
786 | oldincludedir='/usr/include' | |
787 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
788 | infodir='${datarootdir}/info' | |
789 | htmldir='${docdir}' | |
790 | dvidir='${docdir}' | |
791 | pdfdir='${docdir}' | |
792 | psdir='${docdir}' | |
793 | libdir='${exec_prefix}/lib' | |
794 | localedir='${datarootdir}/locale' | |
795 | mandir='${datarootdir}/man' | |
796 | ||
797 | ac_prev= | |
798 | ac_dashdash= | |
799 | for ac_option | |
800 | do | |
801 | # If the previous option needs an argument, assign it. | |
802 | if test -n "$ac_prev"; then | |
803 | eval $ac_prev=\$ac_option | |
804 | ac_prev= | |
805 | continue | |
806 | fi | |
807 | ||
808 | case $ac_option in | |
809 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
810 | *=) ac_optarg= ;; | |
811 | *) ac_optarg=yes ;; | |
812 | esac | |
813 | ||
814 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
815 | ||
816 | case $ac_dashdash$ac_option in | |
817 | --) | |
818 | ac_dashdash=yes ;; | |
819 | ||
820 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
821 | ac_prev=bindir ;; | |
822 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
823 | bindir=$ac_optarg ;; | |
824 | ||
825 | -build | --build | --buil | --bui | --bu) | |
826 | ac_prev=build_alias ;; | |
827 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
828 | build_alias=$ac_optarg ;; | |
829 | ||
830 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
831 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
832 | ac_prev=cache_file ;; | |
833 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
834 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
835 | cache_file=$ac_optarg ;; | |
836 | ||
837 | --config-cache | -C) | |
838 | cache_file=config.cache ;; | |
839 | ||
840 | -datadir | --datadir | --datadi | --datad) | |
841 | ac_prev=datadir ;; | |
842 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
843 | datadir=$ac_optarg ;; | |
844 | ||
845 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
846 | | --dataroo | --dataro | --datar) | |
847 | ac_prev=datarootdir ;; | |
848 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
849 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
850 | datarootdir=$ac_optarg ;; | |
851 | ||
852 | -disable-* | --disable-*) | |
853 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
854 | # Reject names that are not valid shell variable names. | |
855 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
856 | as_fn_error $? "invalid feature name: $ac_useropt" | |
857 | ac_useropt_orig=$ac_useropt | |
858 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
859 | case $ac_user_opts in | |
860 | *" | |
861 | "enable_$ac_useropt" | |
862 | "*) ;; | |
863 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
864 | ac_unrecognized_sep=', ';; | |
865 | esac | |
866 | eval enable_$ac_useropt=no ;; | |
867 | ||
868 | -docdir | --docdir | --docdi | --doc | --do) | |
869 | ac_prev=docdir ;; | |
870 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
871 | docdir=$ac_optarg ;; | |
872 | ||
873 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
874 | ac_prev=dvidir ;; | |
875 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
876 | dvidir=$ac_optarg ;; | |
877 | ||
878 | -enable-* | --enable-*) | |
879 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
880 | # Reject names that are not valid shell variable names. | |
881 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
882 | as_fn_error $? "invalid feature name: $ac_useropt" | |
883 | ac_useropt_orig=$ac_useropt | |
884 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
885 | case $ac_user_opts in | |
886 | *" | |
887 | "enable_$ac_useropt" | |
888 | "*) ;; | |
889 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
890 | ac_unrecognized_sep=', ';; | |
891 | esac | |
892 | eval enable_$ac_useropt=\$ac_optarg ;; | |
893 | ||
894 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
895 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
896 | | --exec | --exe | --ex) | |
897 | ac_prev=exec_prefix ;; | |
898 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
899 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
900 | | --exec=* | --exe=* | --ex=*) | |
901 | exec_prefix=$ac_optarg ;; | |
902 | ||
903 | -gas | --gas | --ga | --g) | |
904 | # Obsolete; use --with-gas. | |
905 | with_gas=yes ;; | |
906 | ||
907 | -help | --help | --hel | --he | -h) | |
908 | ac_init_help=long ;; | |
909 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
910 | ac_init_help=recursive ;; | |
911 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
912 | ac_init_help=short ;; | |
913 | ||
914 | -host | --host | --hos | --ho) | |
915 | ac_prev=host_alias ;; | |
916 | -host=* | --host=* | --hos=* | --ho=*) | |
917 | host_alias=$ac_optarg ;; | |
918 | ||
919 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
920 | ac_prev=htmldir ;; | |
921 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
922 | | --ht=*) | |
923 | htmldir=$ac_optarg ;; | |
924 | ||
925 | -includedir | --includedir | --includedi | --included | --include \ | |
926 | | --includ | --inclu | --incl | --inc) | |
927 | ac_prev=includedir ;; | |
928 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
929 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
930 | includedir=$ac_optarg ;; | |
931 | ||
932 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
933 | ac_prev=infodir ;; | |
934 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
935 | infodir=$ac_optarg ;; | |
936 | ||
937 | -libdir | --libdir | --libdi | --libd) | |
938 | ac_prev=libdir ;; | |
939 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
940 | libdir=$ac_optarg ;; | |
941 | ||
942 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
943 | | --libexe | --libex | --libe) | |
944 | ac_prev=libexecdir ;; | |
945 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
946 | | --libexe=* | --libex=* | --libe=*) | |
947 | libexecdir=$ac_optarg ;; | |
948 | ||
949 | -localedir | --localedir | --localedi | --localed | --locale) | |
950 | ac_prev=localedir ;; | |
951 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
952 | localedir=$ac_optarg ;; | |
953 | ||
954 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
955 | | --localstate | --localstat | --localsta | --localst | --locals) | |
956 | ac_prev=localstatedir ;; | |
957 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
958 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
959 | localstatedir=$ac_optarg ;; | |
960 | ||
961 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
962 | ac_prev=mandir ;; | |
963 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
964 | mandir=$ac_optarg ;; | |
965 | ||
966 | -nfp | --nfp | --nf) | |
967 | # Obsolete; use --without-fp. | |
968 | with_fp=no ;; | |
969 | ||
970 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
971 | | --no-cr | --no-c | -n) | |
972 | no_create=yes ;; | |
973 | ||
974 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
975 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
976 | no_recursion=yes ;; | |
977 | ||
978 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
979 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
980 | | --oldin | --oldi | --old | --ol | --o) | |
981 | ac_prev=oldincludedir ;; | |
982 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
983 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
984 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
985 | oldincludedir=$ac_optarg ;; | |
986 | ||
987 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
988 | ac_prev=prefix ;; | |
989 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
990 | prefix=$ac_optarg ;; | |
991 | ||
992 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
993 | | --program-pre | --program-pr | --program-p) | |
994 | ac_prev=program_prefix ;; | |
995 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
996 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
997 | program_prefix=$ac_optarg ;; | |
998 | ||
999 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1000 | | --program-suf | --program-su | --program-s) | |
1001 | ac_prev=program_suffix ;; | |
1002 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1003 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
1004 | program_suffix=$ac_optarg ;; | |
1005 | ||
1006 | -program-transform-name | --program-transform-name \ | |
1007 | | --program-transform-nam | --program-transform-na \ | |
1008 | | --program-transform-n | --program-transform- \ | |
1009 | | --program-transform | --program-transfor \ | |
1010 | | --program-transfo | --program-transf \ | |
1011 | | --program-trans | --program-tran \ | |
1012 | | --progr-tra | --program-tr | --program-t) | |
1013 | ac_prev=program_transform_name ;; | |
1014 | -program-transform-name=* | --program-transform-name=* \ | |
1015 | | --program-transform-nam=* | --program-transform-na=* \ | |
1016 | | --program-transform-n=* | --program-transform-=* \ | |
1017 | | --program-transform=* | --program-transfor=* \ | |
1018 | | --program-transfo=* | --program-transf=* \ | |
1019 | | --program-trans=* | --program-tran=* \ | |
1020 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
1021 | program_transform_name=$ac_optarg ;; | |
1022 | ||
1023 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1024 | ac_prev=pdfdir ;; | |
1025 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1026 | pdfdir=$ac_optarg ;; | |
1027 | ||
1028 | -psdir | --psdir | --psdi | --psd | --ps) | |
1029 | ac_prev=psdir ;; | |
1030 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1031 | psdir=$ac_optarg ;; | |
1032 | ||
1033 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1034 | | -silent | --silent | --silen | --sile | --sil) | |
1035 | silent=yes ;; | |
1036 | ||
1037 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1038 | ac_prev=sbindir ;; | |
1039 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1040 | | --sbi=* | --sb=*) | |
1041 | sbindir=$ac_optarg ;; | |
1042 | ||
1043 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1044 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1045 | | --sharedst | --shareds | --shared | --share | --shar \ | |
1046 | | --sha | --sh) | |
1047 | ac_prev=sharedstatedir ;; | |
1048 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1049 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1050 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1051 | | --sha=* | --sh=*) | |
1052 | sharedstatedir=$ac_optarg ;; | |
1053 | ||
1054 | -site | --site | --sit) | |
1055 | ac_prev=site ;; | |
1056 | -site=* | --site=* | --sit=*) | |
1057 | site=$ac_optarg ;; | |
1058 | ||
1059 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1060 | ac_prev=srcdir ;; | |
1061 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1062 | srcdir=$ac_optarg ;; | |
1063 | ||
1064 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1065 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1066 | ac_prev=sysconfdir ;; | |
1067 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1068 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1069 | sysconfdir=$ac_optarg ;; | |
1070 | ||
1071 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
1072 | ac_prev=target_alias ;; | |
1073 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1074 | target_alias=$ac_optarg ;; | |
1075 | ||
1076 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1077 | verbose=yes ;; | |
1078 | ||
1079 | -version | --version | --versio | --versi | --vers | -V) | |
1080 | ac_init_version=: ;; | |
1081 | ||
1082 | -with-* | --with-*) | |
1083 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1084 | # Reject names that are not valid shell variable names. | |
1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1086 | as_fn_error $? "invalid package name: $ac_useropt" | |
1087 | ac_useropt_orig=$ac_useropt | |
1088 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1089 | case $ac_user_opts in | |
1090 | *" | |
1091 | "with_$ac_useropt" | |
1092 | "*) ;; | |
1093 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1094 | ac_unrecognized_sep=', ';; | |
1095 | esac | |
1096 | eval with_$ac_useropt=\$ac_optarg ;; | |
1097 | ||
1098 | -without-* | --without-*) | |
1099 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1100 | # Reject names that are not valid shell variable names. | |
1101 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1102 | as_fn_error $? "invalid package name: $ac_useropt" | |
1103 | ac_useropt_orig=$ac_useropt | |
1104 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1105 | case $ac_user_opts in | |
1106 | *" | |
1107 | "with_$ac_useropt" | |
1108 | "*) ;; | |
1109 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1110 | ac_unrecognized_sep=', ';; | |
1111 | esac | |
1112 | eval with_$ac_useropt=no ;; | |
1113 | ||
1114 | --x) | |
1115 | # Obsolete; use --with-x. | |
1116 | with_x=yes ;; | |
1117 | ||
1118 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1119 | | --x-incl | --x-inc | --x-in | --x-i) | |
1120 | ac_prev=x_includes ;; | |
1121 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1122 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1123 | x_includes=$ac_optarg ;; | |
1124 | ||
1125 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1126 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1127 | ac_prev=x_libraries ;; | |
1128 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1129 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1130 | x_libraries=$ac_optarg ;; | |
1131 | ||
1132 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1133 | Try \`$0 --help' for more information" | |
1134 | ;; | |
1135 | ||
1136 | *=*) | |
1137 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1138 | # Reject names that are not valid shell variable names. | |
1139 | case $ac_envvar in #( | |
1140 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1141 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1142 | esac | |
1143 | eval $ac_envvar=\$ac_optarg | |
1144 | export $ac_envvar ;; | |
1145 | ||
1146 | *) | |
1147 | # FIXME: should be removed in autoconf 3.0. | |
1148 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1149 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1150 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1151 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1152 | ;; | |
1153 | ||
1154 | esac | |
1155 | done | |
1156 | ||
1157 | if test -n "$ac_prev"; then | |
1158 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1159 | as_fn_error $? "missing argument to $ac_option" | |
1160 | fi | |
1161 | ||
1162 | if test -n "$ac_unrecognized_opts"; then | |
1163 | case $enable_option_checking in | |
1164 | no) ;; | |
1165 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1166 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1167 | esac | |
1168 | fi | |
1169 | ||
1170 | # Check all directory arguments for consistency. | |
1171 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1172 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1173 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1174 | libdir localedir mandir | |
1175 | do | |
1176 | eval ac_val=\$$ac_var | |
1177 | # Remove trailing slashes. | |
1178 | case $ac_val in | |
1179 | */ ) | |
1180 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1181 | eval $ac_var=\$ac_val;; | |
1182 | esac | |
1183 | # Be sure to have absolute directory names. | |
1184 | case $ac_val in | |
1185 | [\\/$]* | ?:[\\/]* ) continue;; | |
1186 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1187 | esac | |
1188 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1189 | done | |
1190 | ||
1191 | # There might be people who depend on the old broken behavior: `$host' | |
1192 | # used to hold the argument of --host etc. | |
1193 | # FIXME: To remove some day. | |
1194 | build=$build_alias | |
1195 | host=$host_alias | |
1196 | target=$target_alias | |
1197 | ||
1198 | # FIXME: To remove some day. | |
1199 | if test "x$host_alias" != x; then | |
1200 | if test "x$build_alias" = x; then | |
1201 | cross_compiling=maybe | |
1202 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1203 | If a cross compiler is detected then cross compile mode will be used" >&2 | |
1204 | elif test "x$build_alias" != "x$host_alias"; then | |
1205 | cross_compiling=yes | |
1206 | fi | |
1207 | fi | |
1208 | ||
1209 | ac_tool_prefix= | |
1210 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1211 | ||
1212 | test "$silent" = yes && exec 6>/dev/null | |
1213 | ||
1214 | ||
1215 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1216 | ac_ls_di=`ls -di .` && | |
1217 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1218 | as_fn_error $? "working directory cannot be determined" | |
1219 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1220 | as_fn_error $? "pwd does not report name of working directory" | |
1221 | ||
1222 | ||
1223 | # Find the source files, if location was not specified. | |
1224 | if test -z "$srcdir"; then | |
1225 | ac_srcdir_defaulted=yes | |
1226 | # Try the directory containing this script, then the parent directory. | |
1227 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1228 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1229 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1230 | X"$as_myself" : 'X\(//\)$' \| \ | |
1231 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1232 | $as_echo X"$as_myself" | | |
1233 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1234 | s//\1/ | |
1235 | q | |
1236 | } | |
1237 | /^X\(\/\/\)[^/].*/{ | |
1238 | s//\1/ | |
1239 | q | |
1240 | } | |
1241 | /^X\(\/\/\)$/{ | |
1242 | s//\1/ | |
1243 | q | |
1244 | } | |
1245 | /^X\(\/\).*/{ | |
1246 | s//\1/ | |
1247 | q | |
1248 | } | |
1249 | s/.*/./; q'` | |
1250 | srcdir=$ac_confdir | |
1251 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1252 | srcdir=.. | |
1253 | fi | |
1254 | else | |
1255 | ac_srcdir_defaulted=no | |
1256 | fi | |
1257 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1258 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1259 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1260 | fi | |
1261 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1262 | ac_abs_confdir=`( | |
1263 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1264 | pwd)` | |
1265 | # When building in place, set srcdir=. | |
1266 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1267 | srcdir=. | |
1268 | fi | |
1269 | # Remove unnecessary trailing slashes from srcdir. | |
1270 | # Double slashes in file names in object file debugging info | |
1271 | # mess up M-x gdb in Emacs. | |
1272 | case $srcdir in | |
1273 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1274 | esac | |
1275 | for ac_var in $ac_precious_vars; do | |
1276 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1277 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1278 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1279 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1280 | done | |
1281 | ||
1282 | # | |
1283 | # Report the --help message. | |
1284 | # | |
1285 | if test "$ac_init_help" = "long"; then | |
1286 | # Omit some internal or obsolete options to make the list less imposing. | |
1287 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1288 | cat <<_ACEOF | |
1289 | \`configure' configures dillo 3.0-pre to adapt to many kinds of systems. | |
1290 | ||
1291 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1292 | ||
1293 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1294 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1295 | ||
1296 | Defaults for the options are specified in brackets. | |
1297 | ||
1298 | Configuration: | |
1299 | -h, --help display this help and exit | |
1300 | --help=short display options specific to this package | |
1301 | --help=recursive display the short help of all the included packages | |
1302 | -V, --version display version information and exit | |
1303 | -q, --quiet, --silent do not print \`checking ...' messages | |
1304 | --cache-file=FILE cache test results in FILE [disabled] | |
1305 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1306 | -n, --no-create do not create output files | |
1307 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1308 | ||
1309 | Installation directories: | |
1310 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1311 | [$ac_default_prefix] | |
1312 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1313 | [PREFIX] | |
1314 | ||
1315 | By default, \`make install' will install all the files in | |
1316 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1317 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1318 | for instance \`--prefix=\$HOME'. | |
1319 | ||
1320 | For better control, use the options below. | |
1321 | ||
1322 | Fine tuning of the installation directories: | |
1323 | --bindir=DIR user executables [EPREFIX/bin] | |
1324 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1325 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1326 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1327 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1328 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1329 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1330 | --includedir=DIR C header files [PREFIX/include] | |
1331 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1332 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1333 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1334 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1335 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1336 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1337 | --docdir=DIR documentation root [DATAROOTDIR/doc/dillo] | |
1338 | --htmldir=DIR html documentation [DOCDIR] | |
1339 | --dvidir=DIR dvi documentation [DOCDIR] | |
1340 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1341 | --psdir=DIR ps documentation [DOCDIR] | |
1342 | _ACEOF | |
1343 | ||
1344 | cat <<\_ACEOF | |
1345 | ||
1346 | Program names: | |
1347 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
1348 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
1349 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1350 | ||
1351 | System types: | |
1352 | --build=BUILD configure for building on BUILD [guessed] | |
1353 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1354 | --target=TARGET configure for building compilers for TARGET [HOST] | |
1355 | _ACEOF | |
1356 | fi | |
1357 | ||
1358 | if test -n "$ac_init_help"; then | |
1359 | case $ac_init_help in | |
1360 | short | recursive ) echo "Configuration of dillo 3.0-pre:";; | |
1361 | esac | |
1362 | cat <<\_ACEOF | |
1363 | ||
1364 | Optional Features: | |
1365 | --disable-option-checking ignore unrecognized --enable/--with options | |
1366 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1367 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1368 | --enable-efence Try to compile and run with Electric Fence | |
1369 | --enable-gprof Try to compile and run with profiling enabled | |
1370 | --enable-insure Try to compile and run with Insure++ | |
1371 | --enable-ssl Enable ssl, https (ALPHA CODE) | |
1372 | --enable-ipv6 Build with support for IPv6 | |
1373 | --disable-cookies Don't compile support for cookies | |
1374 | --disable-png Disable support for PNG images | |
1375 | --disable-jpeg Disable support for JPEG images | |
1376 | --disable-gif Disable support for GIF images | |
1377 | --disable-threaded-dns Disable the advantage of a reentrant resolver library | |
1378 | --enable-rtfl Build with rtfl messages (for debugging rendering) | |
1379 | --disable-dependency-tracking speeds up one-time build | |
1380 | --enable-dependency-tracking do not reject slow dependency extractors | |
1381 | ||
1382 | Optional Packages: | |
1383 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1384 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
1385 | --with-jpeg-lib=DIR Specify where to find libjpeg | |
1386 | --with-jpeg-inc=DIR Specify where to find libjpeg's headers | |
1387 | ||
1388 | Some influential environment variables: | |
1389 | CC C compiler command | |
1390 | CFLAGS C compiler flags | |
1391 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1392 | nonstandard directory <lib dir> | |
1393 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1394 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1395 | you have headers in a nonstandard directory <include dir> | |
1396 | CXX C++ compiler command | |
1397 | CXXFLAGS C++ compiler flags | |
1398 | CPP C preprocessor | |
1399 | ||
1400 | Use these variables to override the choices made by `configure' or to help | |
1401 | it to find libraries and programs with nonstandard names/locations. | |
1402 | ||
1403 | Report bugs to the package provider. | |
1404 | _ACEOF | |
1405 | ac_status=$? | |
1406 | fi | |
1407 | ||
1408 | if test "$ac_init_help" = "recursive"; then | |
1409 | # If there are subdirs, report their specific --help. | |
1410 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1411 | test -d "$ac_dir" || | |
1412 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1413 | continue | |
1414 | ac_builddir=. | |
1415 | ||
1416 | case "$ac_dir" in | |
1417 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1418 | *) | |
1419 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1420 | # A ".." for each directory in $ac_dir_suffix. | |
1421 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1422 | case $ac_top_builddir_sub in | |
1423 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1424 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1425 | esac ;; | |
1426 | esac | |
1427 | ac_abs_top_builddir=$ac_pwd | |
1428 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1429 | # for backward compatibility: | |
1430 | ac_top_builddir=$ac_top_build_prefix | |
1431 | ||
1432 | case $srcdir in | |
1433 | .) # We are building in place. | |
1434 | ac_srcdir=. | |
1435 | ac_top_srcdir=$ac_top_builddir_sub | |
1436 | ac_abs_top_srcdir=$ac_pwd ;; | |
1437 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1438 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1439 | ac_top_srcdir=$srcdir | |
1440 | ac_abs_top_srcdir=$srcdir ;; | |
1441 | *) # Relative name. | |
1442 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1443 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1444 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1445 | esac | |
1446 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1447 | ||
1448 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1449 | # Check for guested configure. | |
1450 | if test -f "$ac_srcdir/configure.gnu"; then | |
1451 | echo && | |
1452 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1453 | elif test -f "$ac_srcdir/configure"; then | |
1454 | echo && | |
1455 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1456 | else | |
1457 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1458 | fi || ac_status=$? | |
1459 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1460 | done | |
1461 | fi | |
1462 | ||
1463 | test -n "$ac_init_help" && exit $ac_status | |
1464 | if $ac_init_version; then | |
1465 | cat <<\_ACEOF | |
1466 | dillo configure 3.0-pre | |
1467 | generated by GNU Autoconf 2.68 | |
1468 | ||
1469 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1470 | This configure script is free software; the Free Software Foundation | |
1471 | gives unlimited permission to copy, distribute and modify it. | |
1472 | _ACEOF | |
1473 | exit | |
1474 | fi | |
1475 | ||
1476 | ## ------------------------ ## | |
1477 | ## Autoconf initialization. ## | |
1478 | ## ------------------------ ## | |
1479 | ||
1480 | # ac_fn_c_try_compile LINENO | |
1481 | # -------------------------- | |
1482 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1483 | ac_fn_c_try_compile () | |
1484 | { | |
1485 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1486 | rm -f conftest.$ac_objext | |
1487 | if { { ac_try="$ac_compile" | |
1488 | case "(($ac_try" in | |
1489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1490 | *) ac_try_echo=$ac_try;; | |
1491 | esac | |
1492 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1493 | $as_echo "$ac_try_echo"; } >&5 | |
1494 | (eval "$ac_compile") 2>conftest.err | |
1495 | ac_status=$? | |
1496 | if test -s conftest.err; then | |
1497 | grep -v '^ *+' conftest.err >conftest.er1 | |
1498 | cat conftest.er1 >&5 | |
1499 | mv -f conftest.er1 conftest.err | |
1500 | fi | |
1501 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1502 | test $ac_status = 0; } && { | |
1503 | test -z "$ac_c_werror_flag" || | |
1504 | test ! -s conftest.err | |
1505 | } && test -s conftest.$ac_objext; then : | |
1506 | ac_retval=0 | |
1507 | else | |
1508 | $as_echo "$as_me: failed program was:" >&5 | |
1509 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1510 | ||
1511 | ac_retval=1 | |
1512 | fi | |
1513 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1514 | as_fn_set_status $ac_retval | |
1515 | ||
1516 | } # ac_fn_c_try_compile | |
1517 | ||
1518 | # ac_fn_cxx_try_compile LINENO | |
1519 | # ---------------------------- | |
1520 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1521 | ac_fn_cxx_try_compile () | |
1522 | { | |
1523 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1524 | rm -f conftest.$ac_objext | |
1525 | if { { ac_try="$ac_compile" | |
1526 | case "(($ac_try" in | |
1527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1528 | *) ac_try_echo=$ac_try;; | |
1529 | esac | |
1530 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1531 | $as_echo "$ac_try_echo"; } >&5 | |
1532 | (eval "$ac_compile") 2>conftest.err | |
1533 | ac_status=$? | |
1534 | if test -s conftest.err; then | |
1535 | grep -v '^ *+' conftest.err >conftest.er1 | |
1536 | cat conftest.er1 >&5 | |
1537 | mv -f conftest.er1 conftest.err | |
1538 | fi | |
1539 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1540 | test $ac_status = 0; } && { | |
1541 | test -z "$ac_cxx_werror_flag" || | |
1542 | test ! -s conftest.err | |
1543 | } && test -s conftest.$ac_objext; then : | |
1544 | ac_retval=0 | |
1545 | else | |
1546 | $as_echo "$as_me: failed program was:" >&5 | |
1547 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1548 | ||
1549 | ac_retval=1 | |
1550 | fi | |
1551 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1552 | as_fn_set_status $ac_retval | |
1553 | ||
1554 | } # ac_fn_cxx_try_compile | |
1555 | ||
1556 | # ac_fn_c_try_cpp LINENO | |
1557 | # ---------------------- | |
1558 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1559 | ac_fn_c_try_cpp () | |
1560 | { | |
1561 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1562 | if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1563 | case "(($ac_try" in | |
1564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1565 | *) ac_try_echo=$ac_try;; | |
1566 | esac | |
1567 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1568 | $as_echo "$ac_try_echo"; } >&5 | |
1569 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1570 | ac_status=$? | |
1571 | if test -s conftest.err; then | |
1572 | grep -v '^ *+' conftest.err >conftest.er1 | |
1573 | cat conftest.er1 >&5 | |
1574 | mv -f conftest.er1 conftest.err | |
1575 | fi | |
1576 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1577 | test $ac_status = 0; } > conftest.i && { | |
1578 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1579 | test ! -s conftest.err | |
1580 | }; then : | |
1581 | ac_retval=0 | |
1582 | else | |
1583 | $as_echo "$as_me: failed program was:" >&5 | |
1584 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1585 | ||
1586 | ac_retval=1 | |
1587 | fi | |
1588 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1589 | as_fn_set_status $ac_retval | |
1590 | ||
1591 | } # ac_fn_c_try_cpp | |
1592 | ||
1593 | # ac_fn_c_try_run LINENO | |
1594 | # ---------------------- | |
1595 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1596 | # that executables *can* be run. | |
1597 | ac_fn_c_try_run () | |
1598 | { | |
1599 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1600 | if { { ac_try="$ac_link" | |
1601 | case "(($ac_try" in | |
1602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1603 | *) ac_try_echo=$ac_try;; | |
1604 | esac | |
1605 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1606 | $as_echo "$ac_try_echo"; } >&5 | |
1607 | (eval "$ac_link") 2>&5 | |
1608 | ac_status=$? | |
1609 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1610 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1611 | { { case "(($ac_try" in | |
1612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1613 | *) ac_try_echo=$ac_try;; | |
1614 | esac | |
1615 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1616 | $as_echo "$ac_try_echo"; } >&5 | |
1617 | (eval "$ac_try") 2>&5 | |
1618 | ac_status=$? | |
1619 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1620 | test $ac_status = 0; }; }; then : | |
1621 | ac_retval=0 | |
1622 | else | |
1623 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1624 | $as_echo "$as_me: failed program was:" >&5 | |
1625 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1626 | ||
1627 | ac_retval=$ac_status | |
1628 | fi | |
1629 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1630 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1631 | as_fn_set_status $ac_retval | |
1632 | ||
1633 | } # ac_fn_c_try_run | |
1634 | ||
1635 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | |
1636 | # -------------------------------------------- | |
1637 | # Tries to find the compile-time value of EXPR in a program that includes | |
1638 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | |
1639 | # computed | |
1640 | ac_fn_c_compute_int () | |
1641 | { | |
1642 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1643 | if test "$cross_compiling" = yes; then | |
1644 | # Depending upon the size, compute the lo and hi bounds. | |
1645 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1646 | /* end confdefs.h. */ | |
1647 | $4 | |
1648 | int | |
1649 | main () | |
1650 | { | |
1651 | static int test_array [1 - 2 * !(($2) >= 0)]; | |
1652 | test_array [0] = 0 | |
1653 | ||
1654 | ; | |
1655 | return 0; | |
1656 | } | |
1657 | _ACEOF | |
1658 | if ac_fn_c_try_compile "$LINENO"; then : | |
1659 | ac_lo=0 ac_mid=0 | |
1660 | while :; do | |
1661 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1662 | /* end confdefs.h. */ | |
1663 | $4 | |
1664 | int | |
1665 | main () | |
1666 | { | |
1667 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
1668 | test_array [0] = 0 | |
1669 | ||
1670 | ; | |
1671 | return 0; | |
1672 | } | |
1673 | _ACEOF | |
1674 | if ac_fn_c_try_compile "$LINENO"; then : | |
1675 | ac_hi=$ac_mid; break | |
1676 | else | |
1677 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val | |
1678 | if test $ac_lo -le $ac_mid; then | |
1679 | ac_lo= ac_hi= | |
1680 | break | |
1681 | fi | |
1682 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | |
1683 | fi | |
1684 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1685 | done | |
1686 | else | |
1687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1688 | /* end confdefs.h. */ | |
1689 | $4 | |
1690 | int | |
1691 | main () | |
1692 | { | |
1693 | static int test_array [1 - 2 * !(($2) < 0)]; | |
1694 | test_array [0] = 0 | |
1695 | ||
1696 | ; | |
1697 | return 0; | |
1698 | } | |
1699 | _ACEOF | |
1700 | if ac_fn_c_try_compile "$LINENO"; then : | |
1701 | ac_hi=-1 ac_mid=-1 | |
1702 | while :; do | |
1703 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1704 | /* end confdefs.h. */ | |
1705 | $4 | |
1706 | int | |
1707 | main () | |
1708 | { | |
1709 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | |
1710 | test_array [0] = 0 | |
1711 | ||
1712 | ; | |
1713 | return 0; | |
1714 | } | |
1715 | _ACEOF | |
1716 | if ac_fn_c_try_compile "$LINENO"; then : | |
1717 | ac_lo=$ac_mid; break | |
1718 | else | |
1719 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | |
1720 | if test $ac_mid -le $ac_hi; then | |
1721 | ac_lo= ac_hi= | |
1722 | break | |
1723 | fi | |
1724 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | |
1725 | fi | |
1726 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1727 | done | |
1728 | else | |
1729 | ac_lo= ac_hi= | |
1730 | fi | |
1731 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1732 | fi | |
1733 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1734 | # Binary search between lo and hi bounds. | |
1735 | while test "x$ac_lo" != "x$ac_hi"; do | |
1736 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | |
1737 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1738 | /* end confdefs.h. */ | |
1739 | $4 | |
1740 | int | |
1741 | main () | |
1742 | { | |
1743 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
1744 | test_array [0] = 0 | |
1745 | ||
1746 | ; | |
1747 | return 0; | |
1748 | } | |
1749 | _ACEOF | |
1750 | if ac_fn_c_try_compile "$LINENO"; then : | |
1751 | ac_hi=$ac_mid | |
1752 | else | |
1753 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | |
1754 | fi | |
1755 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1756 | done | |
1757 | case $ac_lo in #(( | |
1758 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | |
1759 | '') ac_retval=1 ;; | |
1760 | esac | |
1761 | else | |
1762 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1763 | /* end confdefs.h. */ | |
1764 | $4 | |
1765 | static long int longval () { return $2; } | |
1766 | static unsigned long int ulongval () { return $2; } | |
1767 | #include <stdio.h> | |
1768 | #include <stdlib.h> | |
1769 | int | |
1770 | main () | |
1771 | { | |
1772 | ||
1773 | FILE *f = fopen ("conftest.val", "w"); | |
1774 | if (! f) | |
1775 | return 1; | |
1776 | if (($2) < 0) | |
1777 | { | |
1778 | long int i = longval (); | |
1779 | if (i != ($2)) | |
1780 | return 1; | |
1781 | fprintf (f, "%ld", i); | |
1782 | } | |
1783 | else | |
1784 | { | |
1785 | unsigned long int i = ulongval (); | |
1786 | if (i != ($2)) | |
1787 | return 1; | |
1788 | fprintf (f, "%lu", i); | |
1789 | } | |
1790 | /* Do not output a trailing newline, as this causes \r\n confusion | |
1791 | on some platforms. */ | |
1792 | return ferror (f) || fclose (f) != 0; | |
1793 | ||
1794 | ; | |
1795 | return 0; | |
1796 | } | |
1797 | _ACEOF | |
1798 | if ac_fn_c_try_run "$LINENO"; then : | |
1799 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | |
1800 | else | |
1801 | ac_retval=1 | |
1802 | fi | |
1803 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
1804 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
1805 | rm -f conftest.val | |
1806 | ||
1807 | fi | |
1808 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1809 | as_fn_set_status $ac_retval | |
1810 | ||
1811 | } # ac_fn_c_compute_int | |
1812 | ||
1813 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1814 | # ------------------------------------------------------- | |
1815 | # Tests whether HEADER exists and can be compiled using the include files in | |
1816 | # INCLUDES, setting the cache variable VAR accordingly. | |
1817 | ac_fn_c_check_header_compile () | |
1818 | { | |
1819 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1821 | $as_echo_n "checking for $2... " >&6; } | |
1822 | if eval \${$3+:} false; then : | |
1823 | $as_echo_n "(cached) " >&6 | |
1824 | else | |
1825 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1826 | /* end confdefs.h. */ | |
1827 | $4 | |
1828 | #include <$2> | |
1829 | _ACEOF | |
1830 | if ac_fn_c_try_compile "$LINENO"; then : | |
1831 | eval "$3=yes" | |
1832 | else | |
1833 | eval "$3=no" | |
1834 | fi | |
1835 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1836 | fi | |
1837 | eval ac_res=\$$3 | |
1838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1839 | $as_echo "$ac_res" >&6; } | |
1840 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1841 | ||
1842 | } # ac_fn_c_check_header_compile | |
1843 | ||
1844 | # ac_fn_c_find_intX_t LINENO BITS VAR | |
1845 | # ----------------------------------- | |
1846 | # Finds a signed integer type with width BITS, setting cache variable VAR | |
1847 | # accordingly. | |
1848 | ac_fn_c_find_intX_t () | |
1849 | { | |
1850 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | |
1852 | $as_echo_n "checking for int$2_t... " >&6; } | |
1853 | if eval \${$3+:} false; then : | |
1854 | $as_echo_n "(cached) " >&6 | |
1855 | else | |
1856 | eval "$3=no" | |
1857 | # Order is important - never check a type that is potentially smaller | |
1858 | # than half of the expected target width. | |
1859 | for ac_type in int$2_t 'int' 'long int' \ | |
1860 | 'long long int' 'short int' 'signed char'; do | |
1861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1862 | /* end confdefs.h. */ | |
1863 | $ac_includes_default | |
1864 | enum { N = $2 / 2 - 1 }; | |
1865 | int | |
1866 | main () | |
1867 | { | |
1868 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; | |
1869 | test_array [0] = 0 | |
1870 | ||
1871 | ; | |
1872 | return 0; | |
1873 | } | |
1874 | _ACEOF | |
1875 | if ac_fn_c_try_compile "$LINENO"; then : | |
1876 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1877 | /* end confdefs.h. */ | |
1878 | $ac_includes_default | |
1879 | enum { N = $2 / 2 - 1 }; | |
1880 | int | |
1881 | main () | |
1882 | { | |
1883 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) | |
1884 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; | |
1885 | test_array [0] = 0 | |
1886 | ||
1887 | ; | |
1888 | return 0; | |
1889 | } | |
1890 | _ACEOF | |
1891 | if ac_fn_c_try_compile "$LINENO"; then : | |
1892 | ||
1893 | else | |
1894 | case $ac_type in #( | |
1895 | int$2_t) : | |
1896 | eval "$3=yes" ;; #( | |
1897 | *) : | |
1898 | eval "$3=\$ac_type" ;; | |
1899 | esac | |
1900 | fi | |
1901 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1902 | fi | |
1903 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1904 | if eval test \"x\$"$3"\" = x"no"; then : | |
1905 | ||
1906 | else | |
1907 | break | |
1908 | fi | |
1909 | done | |
1910 | fi | |
1911 | eval ac_res=\$$3 | |
1912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1913 | $as_echo "$ac_res" >&6; } | |
1914 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1915 | ||
1916 | } # ac_fn_c_find_intX_t | |
1917 | ||
1918 | # ac_fn_c_find_uintX_t LINENO BITS VAR | |
1919 | # ------------------------------------ | |
1920 | # Finds an unsigned integer type with width BITS, setting cache variable VAR | |
1921 | # accordingly. | |
1922 | ac_fn_c_find_uintX_t () | |
1923 | { | |
1924 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | |
1926 | $as_echo_n "checking for uint$2_t... " >&6; } | |
1927 | if eval \${$3+:} false; then : | |
1928 | $as_echo_n "(cached) " >&6 | |
1929 | else | |
1930 | eval "$3=no" | |
1931 | # Order is important - never check a type that is potentially smaller | |
1932 | # than half of the expected target width. | |
1933 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | |
1934 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | |
1935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1936 | /* end confdefs.h. */ | |
1937 | $ac_includes_default | |
1938 | int | |
1939 | main () | |
1940 | { | |
1941 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | |
1942 | test_array [0] = 0 | |
1943 | ||
1944 | ; | |
1945 | return 0; | |
1946 | } | |
1947 | _ACEOF | |
1948 | if ac_fn_c_try_compile "$LINENO"; then : | |
1949 | case $ac_type in #( | |
1950 | uint$2_t) : | |
1951 | eval "$3=yes" ;; #( | |
1952 | *) : | |
1953 | eval "$3=\$ac_type" ;; | |
1954 | esac | |
1955 | fi | |
1956 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1957 | if eval test \"x\$"$3"\" = x"no"; then : | |
1958 | ||
1959 | else | |
1960 | break | |
1961 | fi | |
1962 | done | |
1963 | fi | |
1964 | eval ac_res=\$$3 | |
1965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1966 | $as_echo "$ac_res" >&6; } | |
1967 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1968 | ||
1969 | } # ac_fn_c_find_uintX_t | |
1970 | ||
1971 | # ac_fn_c_try_link LINENO | |
1972 | # ----------------------- | |
1973 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1974 | ac_fn_c_try_link () | |
1975 | { | |
1976 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1977 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1978 | if { { ac_try="$ac_link" | |
1979 | case "(($ac_try" in | |
1980 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1981 | *) ac_try_echo=$ac_try;; | |
1982 | esac | |
1983 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1984 | $as_echo "$ac_try_echo"; } >&5 | |
1985 | (eval "$ac_link") 2>conftest.err | |
1986 | ac_status=$? | |
1987 | if test -s conftest.err; then | |
1988 | grep -v '^ *+' conftest.err >conftest.er1 | |
1989 | cat conftest.er1 >&5 | |
1990 | mv -f conftest.er1 conftest.err | |
1991 | fi | |
1992 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1993 | test $ac_status = 0; } && { | |
1994 | test -z "$ac_c_werror_flag" || | |
1995 | test ! -s conftest.err | |
1996 | } && test -s conftest$ac_exeext && { | |
1997 | test "$cross_compiling" = yes || | |
1998 | $as_test_x conftest$ac_exeext | |
1999 | }; then : | |
2000 | ac_retval=0 | |
2001 | else | |
2002 | $as_echo "$as_me: failed program was:" >&5 | |
2003 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2004 | ||
2005 | ac_retval=1 | |
2006 | fi | |
2007 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
2008 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
2009 | # interfere with the next link command; also delete a directory that is | |
2010 | # left behind by Apple's compiler. We do this before executing the actions. | |
2011 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
2012 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2013 | as_fn_set_status $ac_retval | |
2014 | ||
2015 | } # ac_fn_c_try_link | |
2016 | ||
2017 | # ac_fn_c_check_func LINENO FUNC VAR | |
2018 | # ---------------------------------- | |
2019 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
2020 | ac_fn_c_check_func () | |
2021 | { | |
2022 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2024 | $as_echo_n "checking for $2... " >&6; } | |
2025 | if eval \${$3+:} false; then : | |
2026 | $as_echo_n "(cached) " >&6 | |
2027 | else | |
2028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2029 | /* end confdefs.h. */ | |
2030 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2031 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2032 | #define $2 innocuous_$2 | |
2033 | ||
2034 | /* System header to define __stub macros and hopefully few prototypes, | |
2035 | which can conflict with char $2 (); below. | |
2036 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2037 | <limits.h> exists even on freestanding compilers. */ | |
2038 | ||
2039 | #ifdef __STDC__ | |
2040 | # include <limits.h> | |
2041 | #else | |
2042 | # include <assert.h> | |
2043 | #endif | |
2044 | ||
2045 | #undef $2 | |
2046 | ||
2047 | /* Override any GCC internal prototype to avoid an error. | |
2048 | Use char because int might match the return type of a GCC | |
2049 | builtin and then its argument prototype would still apply. */ | |
2050 | #ifdef __cplusplus | |
2051 | extern "C" | |
2052 | #endif | |
2053 | char $2 (); | |
2054 | /* The GNU C library defines this for functions which it implements | |
2055 | to always fail with ENOSYS. Some functions are actually named | |
2056 | something starting with __ and the normal name is an alias. */ | |
2057 | #if defined __stub_$2 || defined __stub___$2 | |
2058 | choke me | |
2059 | #endif | |
2060 | ||
2061 | int | |
2062 | main () | |
2063 | { | |
2064 | return $2 (); | |
2065 | ; | |
2066 | return 0; | |
2067 | } | |
2068 | _ACEOF | |
2069 | if ac_fn_c_try_link "$LINENO"; then : | |
2070 | eval "$3=yes" | |
2071 | else | |
2072 | eval "$3=no" | |
2073 | fi | |
2074 | rm -f core conftest.err conftest.$ac_objext \ | |
2075 | conftest$ac_exeext conftest.$ac_ext | |
2076 | fi | |
2077 | eval ac_res=\$$3 | |
2078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2079 | $as_echo "$ac_res" >&6; } | |
2080 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2081 | ||
2082 | } # ac_fn_c_check_func | |
2083 | ||
2084 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
2085 | # ------------------------------------------------------- | |
2086 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
2087 | # the include files in INCLUDES and setting the cache variable VAR | |
2088 | # accordingly. | |
2089 | ac_fn_c_check_header_mongrel () | |
2090 | { | |
2091 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2092 | if eval \${$3+:} false; then : | |
2093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2094 | $as_echo_n "checking for $2... " >&6; } | |
2095 | if eval \${$3+:} false; then : | |
2096 | $as_echo_n "(cached) " >&6 | |
2097 | fi | |
2098 | eval ac_res=\$$3 | |
2099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2100 | $as_echo "$ac_res" >&6; } | |
2101 | else | |
2102 | # Is the header compilable? | |
2103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
2104 | $as_echo_n "checking $2 usability... " >&6; } | |
2105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2106 | /* end confdefs.h. */ | |
2107 | $4 | |
2108 | #include <$2> | |
2109 | _ACEOF | |
2110 | if ac_fn_c_try_compile "$LINENO"; then : | |
2111 | ac_header_compiler=yes | |
2112 | else | |
2113 | ac_header_compiler=no | |
2114 | fi | |
2115 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
2117 | $as_echo "$ac_header_compiler" >&6; } | |
2118 | ||
2119 | # Is the header present? | |
2120 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
2121 | $as_echo_n "checking $2 presence... " >&6; } | |
2122 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2123 | /* end confdefs.h. */ | |
2124 | #include <$2> | |
2125 | _ACEOF | |
2126 | if ac_fn_c_try_cpp "$LINENO"; then : | |
2127 | ac_header_preproc=yes | |
2128 | else | |
2129 | ac_header_preproc=no | |
2130 | fi | |
2131 | rm -f conftest.err conftest.i conftest.$ac_ext | |
2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
2133 | $as_echo "$ac_header_preproc" >&6; } | |
2134 | ||
2135 | # So? What about this header? | |
2136 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
2137 | yes:no: ) | |
2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
2139 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
2140 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
2141 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
2142 | ;; | |
2143 | no:yes:* ) | |
2144 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
2145 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
2146 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
2147 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
2148 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
2149 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
2150 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
2151 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
2152 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
2153 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
2154 | ;; | |
2155 | esac | |
2156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2157 | $as_echo_n "checking for $2... " >&6; } | |
2158 | if eval \${$3+:} false; then : | |
2159 | $as_echo_n "(cached) " >&6 | |
2160 | else | |
2161 | eval "$3=\$ac_header_compiler" | |
2162 | fi | |
2163 | eval ac_res=\$$3 | |
2164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2165 | $as_echo "$ac_res" >&6; } | |
2166 | fi | |
2167 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2168 | ||
2169 | } # ac_fn_c_check_header_mongrel | |
2170 | cat >config.log <<_ACEOF | |
2171 | This file contains any messages produced by compilers while | |
2172 | running configure, to aid debugging if configure makes a mistake. | |
2173 | ||
2174 | It was created by dillo $as_me 3.0-pre, which was | |
2175 | generated by GNU Autoconf 2.68. Invocation command line was | |
2176 | ||
2177 | $ $0 $@ | |
2178 | ||
2179 | _ACEOF | |
2180 | exec 5>>config.log | |
2181 | { | |
2182 | cat <<_ASUNAME | |
2183 | ## --------- ## | |
2184 | ## Platform. ## | |
2185 | ## --------- ## | |
2186 | ||
2187 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
2188 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
2189 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
2190 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
2191 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
2192 | ||
2193 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
2194 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
2195 | ||
2196 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
2197 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
2198 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
2199 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
2200 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
2201 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
2202 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
2203 | ||
2204 | _ASUNAME | |
2205 | ||
2206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2207 | for as_dir in $PATH | |
2208 | do | |
2209 | IFS=$as_save_IFS | |
2210 | test -z "$as_dir" && as_dir=. | |
2211 | $as_echo "PATH: $as_dir" | |
2212 | done | |
2213 | IFS=$as_save_IFS | |
2214 | ||
2215 | } >&5 | |
2216 | ||
2217 | cat >&5 <<_ACEOF | |
2218 | ||
2219 | ||
2220 | ## ----------- ## | |
2221 | ## Core tests. ## | |
2222 | ## ----------- ## | |
2223 | ||
2224 | _ACEOF | |
2225 | ||
2226 | ||
2227 | # Keep a trace of the command line. | |
2228 | # Strip out --no-create and --no-recursion so they do not pile up. | |
2229 | # Strip out --silent because we don't want to record it for future runs. | |
2230 | # Also quote any args containing shell meta-characters. | |
2231 | # Make two passes to allow for proper duplicate-argument suppression. | |
2232 | ac_configure_args= | |
2233 | ac_configure_args0= | |
2234 | ac_configure_args1= | |
2235 | ac_must_keep_next=false | |
2236 | for ac_pass in 1 2 | |
2237 | do | |
2238 | for ac_arg | |
2239 | do | |
2240 | case $ac_arg in | |
2241 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
2242 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
2243 | | -silent | --silent | --silen | --sile | --sil) | |
2244 | continue ;; | |
2245 | *\'*) | |
2246 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
2247 | esac | |
2248 | case $ac_pass in | |
2249 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
2250 | 2) | |
2251 | as_fn_append ac_configure_args1 " '$ac_arg'" | |
2252 | if test $ac_must_keep_next = true; then | |
2253 | ac_must_keep_next=false # Got value, back to normal. | |
2254 | else | |
2255 | case $ac_arg in | |
2256 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
2257 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
2258 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
2259 | | -with-* | --with-* | -without-* | --without-* | --x) | |
2260 | case "$ac_configure_args0 " in | |
2261 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
2262 | esac | |
2263 | ;; | |
2264 | -* ) ac_must_keep_next=true ;; | |
2265 | esac | |
2266 | fi | |
2267 | as_fn_append ac_configure_args " '$ac_arg'" | |
2268 | ;; | |
2269 | esac | |
2270 | done | |
2271 | done | |
2272 | { ac_configure_args0=; unset ac_configure_args0;} | |
2273 | { ac_configure_args1=; unset ac_configure_args1;} | |
2274 | ||
2275 | # When interrupted or exit'd, cleanup temporary files, and complete | |
2276 | # config.log. We remove comments because anyway the quotes in there | |
2277 | # would cause problems or look ugly. | |
2278 | # WARNING: Use '\'' to represent an apostrophe within the trap. | |
2279 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
2280 | trap 'exit_status=$? | |
2281 | # Save into config.log some information that might help in debugging. | |
2282 | { | |
2283 | echo | |
2284 | ||
2285 | $as_echo "## ---------------- ## | |
2286 | ## Cache variables. ## | |
2287 | ## ---------------- ##" | |
2288 | echo | |
2289 | # The following way of writing the cache mishandles newlines in values, | |
2290 | ( | |
2291 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
2292 | eval ac_val=\$$ac_var | |
2293 | case $ac_val in #( | |
2294 | *${as_nl}*) | |
2295 | case $ac_var in #( | |
2296 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
2297 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
2298 | esac | |
2299 | case $ac_var in #( | |
2300 | _ | IFS | as_nl) ;; #( | |
2301 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
2302 | *) { eval $ac_var=; unset $ac_var;} ;; | |
2303 | esac ;; | |
2304 | esac | |
2305 | done | |
2306 | (set) 2>&1 | | |
2307 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
2308 | *${as_nl}ac_space=\ *) | |
2309 | sed -n \ | |
2310 | "s/'\''/'\''\\\\'\'''\''/g; | |
2311 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
2312 | ;; #( | |
2313 | *) | |
2314 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
2315 | ;; | |
2316 | esac | | |
2317 | sort | |
2318 | ) | |
2319 | echo | |
2320 | ||
2321 | $as_echo "## ----------------- ## | |
2322 | ## Output variables. ## | |
2323 | ## ----------------- ##" | |
2324 | echo | |
2325 | for ac_var in $ac_subst_vars | |
2326 | do | |
2327 | eval ac_val=\$$ac_var | |
2328 | case $ac_val in | |
2329 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
2330 | esac | |
2331 | $as_echo "$ac_var='\''$ac_val'\''" | |
2332 | done | sort | |
2333 | echo | |
2334 | ||
2335 | if test -n "$ac_subst_files"; then | |
2336 | $as_echo "## ------------------- ## | |
2337 | ## File substitutions. ## | |
2338 | ## ------------------- ##" | |
2339 | echo | |
2340 | for ac_var in $ac_subst_files | |
2341 | do | |
2342 | eval ac_val=\$$ac_var | |
2343 | case $ac_val in | |
2344 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
2345 | esac | |
2346 | $as_echo "$ac_var='\''$ac_val'\''" | |
2347 | done | sort | |
2348 | echo | |
2349 | fi | |
2350 | ||
2351 | if test -s confdefs.h; then | |
2352 | $as_echo "## ----------- ## | |
2353 | ## confdefs.h. ## | |
2354 | ## ----------- ##" | |
2355 | echo | |
2356 | cat confdefs.h | |
2357 | echo | |
2358 | fi | |
2359 | test "$ac_signal" != 0 && | |
2360 | $as_echo "$as_me: caught signal $ac_signal" | |
2361 | $as_echo "$as_me: exit $exit_status" | |
2362 | } >&5 | |
2363 | rm -f core *.core core.conftest.* && | |
2364 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
2365 | exit $exit_status | |
2366 | ' 0 | |
2367 | for ac_signal in 1 2 13 15; do | |
2368 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
2369 | done | |
2370 | ac_signal=0 | |
2371 | ||
2372 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
2373 | rm -f -r conftest* confdefs.h | |
2374 | ||
2375 | $as_echo "/* confdefs.h */" > confdefs.h | |
2376 | ||
2377 | # Predefined preprocessor variables. | |
2378 | ||
2379 | cat >>confdefs.h <<_ACEOF | |
2380 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
2381 | _ACEOF | |
2382 | ||
2383 | cat >>confdefs.h <<_ACEOF | |
2384 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
2385 | _ACEOF | |
2386 | ||
2387 | cat >>confdefs.h <<_ACEOF | |
2388 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
2389 | _ACEOF | |
2390 | ||
2391 | cat >>confdefs.h <<_ACEOF | |
2392 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
2393 | _ACEOF | |
2394 | ||
2395 | cat >>confdefs.h <<_ACEOF | |
2396 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
2397 | _ACEOF | |
2398 | ||
2399 | cat >>confdefs.h <<_ACEOF | |
2400 | #define PACKAGE_URL "$PACKAGE_URL" | |
2401 | _ACEOF | |
2402 | ||
2403 | ||
2404 | # Let the site file select an alternate cache file if it wants to. | |
2405 | # Prefer an explicitly selected file to automatically selected ones. | |
2406 | ac_site_file1=NONE | |
2407 | ac_site_file2=NONE | |
2408 | if test -n "$CONFIG_SITE"; then | |
2409 | # We do not want a PATH search for config.site. | |
2410 | case $CONFIG_SITE in #(( | |
2411 | -*) ac_site_file1=./$CONFIG_SITE;; | |
2412 | */*) ac_site_file1=$CONFIG_SITE;; | |
2413 | *) ac_site_file1=./$CONFIG_SITE;; | |
2414 | esac | |
2415 | elif test "x$prefix" != xNONE; then | |
2416 | ac_site_file1=$prefix/share/config.site | |
2417 | ac_site_file2=$prefix/etc/config.site | |
2418 | else | |
2419 | ac_site_file1=$ac_default_prefix/share/config.site | |
2420 | ac_site_file2=$ac_default_prefix/etc/config.site | |
2421 | fi | |
2422 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
2423 | do | |
2424 | test "x$ac_site_file" = xNONE && continue | |
2425 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
2426 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
2427 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
2428 | sed 's/^/| /' "$ac_site_file" >&5 | |
2429 | . "$ac_site_file" \ | |
2430 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2431 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2432 | as_fn_error $? "failed to load site script $ac_site_file | |
2433 | See \`config.log' for more details" "$LINENO" 5; } | |
2434 | fi | |
2435 | done | |
2436 | ||
2437 | if test -r "$cache_file"; then | |
2438 | # Some versions of bash will fail to source /dev/null (special files | |
2439 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
2440 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
2441 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
2442 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
2443 | case $cache_file in | |
2444 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
2445 | *) . "./$cache_file";; | |
2446 | esac | |
2447 | fi | |
2448 | else | |
2449 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
2450 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
2451 | >$cache_file | |
2452 | fi | |
2453 | ||
2454 | # Check that the precious variables saved in the cache have kept the same | |
2455 | # value. | |
2456 | ac_cache_corrupted=false | |
2457 | for ac_var in $ac_precious_vars; do | |
2458 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
2459 | eval ac_new_set=\$ac_env_${ac_var}_set | |
2460 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
2461 | eval ac_new_val=\$ac_env_${ac_var}_value | |
2462 | case $ac_old_set,$ac_new_set in | |
2463 | set,) | |
2464 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
2465 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
2466 | ac_cache_corrupted=: ;; | |
2467 | ,set) | |
2468 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
2469 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
2470 | ac_cache_corrupted=: ;; | |
2471 | ,);; | |
2472 | *) | |
2473 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
2474 | # differences in whitespace do not lead to failure. | |
2475 | ac_old_val_w=`echo x $ac_old_val` | |
2476 | ac_new_val_w=`echo x $ac_new_val` | |
2477 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
2478 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
2479 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
2480 | ac_cache_corrupted=: | |
2481 | else | |
2482 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2483 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2484 | eval $ac_var=\$ac_old_val | |
2485 | fi | |
2486 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2487 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2488 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2489 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
2490 | fi;; | |
2491 | esac | |
2492 | # Pass precious variables to config.status. | |
2493 | if test "$ac_new_set" = set; then | |
2494 | case $ac_new_val in | |
2495 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
2496 | *) ac_arg=$ac_var=$ac_new_val ;; | |
2497 | esac | |
2498 | case " $ac_configure_args " in | |
2499 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
2500 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
2501 | esac | |
2502 | fi | |
2503 | done | |
2504 | if $ac_cache_corrupted; then | |
2505 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2506 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2507 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
2508 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
2509 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
2510 | fi | |
2511 | ## -------------------- ## | |
2512 | ## Main body of script. ## | |
2513 | ## -------------------- ## | |
2514 | ||
2515 | ac_ext=c | |
2516 | ac_cpp='$CPP $CPPFLAGS' | |
2517 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2518 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2519 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2520 | ||
2521 | ||
2522 | ||
2523 | ac_aux_dir= | |
2524 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
2525 | if test -f "$ac_dir/install-sh"; then | |
2526 | ac_aux_dir=$ac_dir | |
2527 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
2528 | break | |
2529 | elif test -f "$ac_dir/install.sh"; then | |
2530 | ac_aux_dir=$ac_dir | |
2531 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
2532 | break | |
2533 | elif test -f "$ac_dir/shtool"; then | |
2534 | ac_aux_dir=$ac_dir | |
2535 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
2536 | break | |
2537 | fi | |
2538 | done | |
2539 | if test -z "$ac_aux_dir"; then | |
2540 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
2541 | fi | |
2542 | ||
2543 | # These three variables are undocumented and unsupported, | |
2544 | # and are intended to be withdrawn in a future Autoconf release. | |
2545 | # They can cause serious problems if a builder's source tree is in a directory | |
2546 | # whose full name contains unusual characters. | |
2547 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2548 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2549 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2550 | ||
2551 | ||
2552 | # Make sure we can run config.sub. | |
2553 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
2554 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
2555 | ||
2556 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
2557 | $as_echo_n "checking build system type... " >&6; } | |
2558 | if ${ac_cv_build+:} false; then : | |
2559 | $as_echo_n "(cached) " >&6 | |
2560 | else | |
2561 | ac_build_alias=$build_alias | |
2562 | test "x$ac_build_alias" = x && | |
2563 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
2564 | test "x$ac_build_alias" = x && | |
2565 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
2566 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
2567 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
2568 | ||
2569 | fi | |
2570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
2571 | $as_echo "$ac_cv_build" >&6; } | |
2572 | case $ac_cv_build in | |
2573 | *-*-*) ;; | |
2574 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
2575 | esac | |
2576 | build=$ac_cv_build | |
2577 | ac_save_IFS=$IFS; IFS='-' | |
2578 | set x $ac_cv_build | |
2579 | shift | |
2580 | build_cpu=$1 | |
2581 | build_vendor=$2 | |
2582 | shift; shift | |
2583 | # Remember, the first character of IFS is used to create $*, | |
2584 | # except with old shells: | |
2585 | build_os=$* | |
2586 | IFS=$ac_save_IFS | |
2587 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
2588 | ||
2589 | ||
2590 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
2591 | $as_echo_n "checking host system type... " >&6; } | |
2592 | if ${ac_cv_host+:} false; then : | |
2593 | $as_echo_n "(cached) " >&6 | |
2594 | else | |
2595 | if test "x$host_alias" = x; then | |
2596 | ac_cv_host=$ac_cv_build | |
2597 | else | |
2598 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
2599 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
2600 | fi | |
2601 | ||
2602 | fi | |
2603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
2604 | $as_echo "$ac_cv_host" >&6; } | |
2605 | case $ac_cv_host in | |
2606 | *-*-*) ;; | |
2607 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
2608 | esac | |
2609 | host=$ac_cv_host | |
2610 | ac_save_IFS=$IFS; IFS='-' | |
2611 | set x $ac_cv_host | |
2612 | shift | |
2613 | host_cpu=$1 | |
2614 | host_vendor=$2 | |
2615 | shift; shift | |
2616 | # Remember, the first character of IFS is used to create $*, | |
2617 | # except with old shells: | |
2618 | host_os=$* | |
2619 | IFS=$ac_save_IFS | |
2620 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
2621 | ||
2622 | ||
2623 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | |
2624 | $as_echo_n "checking target system type... " >&6; } | |
2625 | if ${ac_cv_target+:} false; then : | |
2626 | $as_echo_n "(cached) " >&6 | |
2627 | else | |
2628 | if test "x$target_alias" = x; then | |
2629 | ac_cv_target=$ac_cv_host | |
2630 | else | |
2631 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | |
2632 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | |
2633 | fi | |
2634 | ||
2635 | fi | |
2636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | |
2637 | $as_echo "$ac_cv_target" >&6; } | |
2638 | case $ac_cv_target in | |
2639 | *-*-*) ;; | |
2640 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | |
2641 | esac | |
2642 | target=$ac_cv_target | |
2643 | ac_save_IFS=$IFS; IFS='-' | |
2644 | set x $ac_cv_target | |
2645 | shift | |
2646 | target_cpu=$1 | |
2647 | target_vendor=$2 | |
2648 | shift; shift | |
2649 | # Remember, the first character of IFS is used to create $*, | |
2650 | # except with old shells: | |
2651 | target_os=$* | |
2652 | IFS=$ac_save_IFS | |
2653 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | |
2654 | ||
2655 | ||
2656 | # The aliases save the names the user supplied, while $host etc. | |
2657 | # will get canonicalized. | |
2658 | test -n "$target_alias" && | |
2659 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
2660 | NONENONEs,x,x, && | |
2661 | program_prefix=${target_alias}- | |
2662 | ||
2663 | am__api_version='1.11' | |
2664 | ||
2665 | # Find a good install program. We prefer a C program (faster), | |
2666 | # so one script is as good as another. But avoid the broken or | |
2667 | # incompatible versions: | |
2668 | # SysV /etc/install, /usr/sbin/install | |
2669 | # SunOS /usr/etc/install | |
2670 | # IRIX /sbin/install | |
2671 | # AIX /bin/install | |
2672 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2673 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2674 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2675 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2676 | # OS/2's system install, which has a completely different semantic | |
2677 | # ./install, which can be erroneously created by make from ./install.sh. | |
2678 | # Reject install programs that cannot install multiple files. | |
2679 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
2680 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
2681 | if test -z "$INSTALL"; then | |
2682 | if ${ac_cv_path_install+:} false; then : | |
2683 | $as_echo_n "(cached) " >&6 | |
2684 | else | |
2685 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2686 | for as_dir in $PATH | |
2687 | do | |
2688 | IFS=$as_save_IFS | |
2689 | test -z "$as_dir" && as_dir=. | |
2690 | # Account for people who put trailing slashes in PATH elements. | |
2691 | case $as_dir/ in #(( | |
2692 | ./ | .// | /[cC]/* | \ | |
2693 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
2694 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
2695 | /usr/ucb/* ) ;; | |
2696 | *) | |
2697 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
2698 | # Don't use installbsd from OSF since it installs stuff as root | |
2699 | # by default. | |
2700 | for ac_prog in ginstall scoinst install; do | |
2701 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2702 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
2703 | if test $ac_prog = install && | |
2704 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2705 | # AIX install. It has an incompatible calling convention. | |
2706 | : | |
2707 | elif test $ac_prog = install && | |
2708 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2709 | # program-specific install script used by HP pwplus--don't use. | |
2710 | : | |
2711 | else | |
2712 | rm -rf conftest.one conftest.two conftest.dir | |
2713 | echo one > conftest.one | |
2714 | echo two > conftest.two | |
2715 | mkdir conftest.dir | |
2716 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2717 | test -s conftest.one && test -s conftest.two && | |
2718 | test -s conftest.dir/conftest.one && | |
2719 | test -s conftest.dir/conftest.two | |
2720 | then | |
2721 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2722 | break 3 | |
2723 | fi | |
2724 | fi | |
2725 | fi | |
2726 | done | |
2727 | done | |
2728 | ;; | |
2729 | esac | |
2730 | ||
2731 | done | |
2732 | IFS=$as_save_IFS | |
2733 | ||
2734 | rm -rf conftest.one conftest.two conftest.dir | |
2735 | ||
2736 | fi | |
2737 | if test "${ac_cv_path_install+set}" = set; then | |
2738 | INSTALL=$ac_cv_path_install | |
2739 | else | |
2740 | # As a last resort, use the slow shell script. Don't cache a | |
2741 | # value for INSTALL within a source directory, because that will | |
2742 | # break other packages using the cache if that directory is | |
2743 | # removed, or if the value is a relative name. | |
2744 | INSTALL=$ac_install_sh | |
2745 | fi | |
2746 | fi | |
2747 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
2748 | $as_echo "$INSTALL" >&6; } | |
2749 | ||
2750 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2751 | # It thinks the first close brace ends the variable substitution. | |
2752 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2753 | ||
2754 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2755 | ||
2756 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2757 | ||
2758 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | |
2759 | $as_echo_n "checking whether build environment is sane... " >&6; } | |
2760 | # Just in case | |
2761 | sleep 1 | |
2762 | echo timestamp > conftest.file | |
2763 | # Reject unsafe characters in $srcdir or the absolute working directory | |
2764 | # name. Accept space and tab only in the latter. | |
2765 | am_lf=' | |
2766 | ' | |
2767 | case `pwd` in | |
2768 | *[\\\"\#\$\&\'\`$am_lf]*) | |
2769 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2770 | esac | |
2771 | case $srcdir in | |
2772 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
2773 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2774 | esac | |
2775 | ||
2776 | # Do `set' in a subshell so we don't clobber the current shell's | |
2777 | # arguments. Must try -L first in case configure is actually a | |
2778 | # symlink; some systems play weird games with the mod time of symlinks | |
2779 | # (eg FreeBSD returns the mod time of the symlink's containing | |
2780 | # directory). | |
2781 | if ( | |
2782 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2783 | if test "$*" = "X"; then | |
2784 | # -L didn't work. | |
2785 | set X `ls -t "$srcdir/configure" conftest.file` | |
2786 | fi | |
2787 | rm -f conftest.file | |
2788 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2789 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2790 | ||
2791 | # If neither matched, then we have a broken ls. This can happen | |
2792 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2793 | # broken ls alias from the environment. This has actually | |
2794 | # happened. Such a system could not be considered "sane". | |
2795 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2796 | alias in your environment" "$LINENO" 5 | |
2797 | fi | |
2798 | ||
2799 | test "$2" = conftest.file | |
2800 | ) | |
2801 | then | |
2802 | # Ok. | |
2803 | : | |
2804 | else | |
2805 | as_fn_error $? "newly created file is older than distributed files! | |
2806 | Check your system clock" "$LINENO" 5 | |
2807 | fi | |
2808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2809 | $as_echo "yes" >&6; } | |
2810 | test "$program_prefix" != NONE && | |
2811 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2812 | # Use a double $ so make ignores it. | |
2813 | test "$program_suffix" != NONE && | |
2814 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2815 | # Double any \ or $. | |
2816 | # By default was `s,x,x', remove it if useless. | |
2817 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2818 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2819 | ||
2820 | # expand $ac_aux_dir to an absolute path | |
2821 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2822 | ||
2823 | if test x"${MISSING+set}" != xset; then | |
2824 | case $am_aux_dir in | |
2825 | *\ * | *\ *) | |
2826 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2827 | *) | |
2828 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2829 | esac | |
2830 | fi | |
2831 | # Use eval to expand $SHELL | |
2832 | if eval "$MISSING --run true"; then | |
2833 | am_missing_run="$MISSING --run " | |
2834 | else | |
2835 | am_missing_run= | |
2836 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2837 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2838 | fi | |
2839 | ||
2840 | if test x"${install_sh}" != xset; then | |
2841 | case $am_aux_dir in | |
2842 | *\ * | *\ *) | |
2843 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2844 | *) | |
2845 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2846 | esac | |
2847 | fi | |
2848 | ||
2849 | # Installed binaries are usually stripped using `strip' when the user | |
2850 | # run `make install-strip'. However `strip' might not be the right | |
2851 | # tool to use in cross-compilation environments, therefore Automake | |
2852 | # will honor the `STRIP' environment variable to overrule this program. | |
2853 | if test "$cross_compiling" != no; then | |
2854 | if test -n "$ac_tool_prefix"; then | |
2855 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2856 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2858 | $as_echo_n "checking for $ac_word... " >&6; } | |
2859 | if ${ac_cv_prog_STRIP+:} false; then : | |
2860 | $as_echo_n "(cached) " >&6 | |
2861 | else | |
2862 | if test -n "$STRIP"; then | |
2863 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2864 | else | |
2865 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2866 | for as_dir in $PATH | |
2867 | do | |
2868 | IFS=$as_save_IFS | |
2869 | test -z "$as_dir" && as_dir=. | |
2870 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2871 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2872 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2873 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2874 | break 2 | |
2875 | fi | |
2876 | done | |
2877 | done | |
2878 | IFS=$as_save_IFS | |
2879 | ||
2880 | fi | |
2881 | fi | |
2882 | STRIP=$ac_cv_prog_STRIP | |
2883 | if test -n "$STRIP"; then | |
2884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2885 | $as_echo "$STRIP" >&6; } | |
2886 | else | |
2887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2888 | $as_echo "no" >&6; } | |
2889 | fi | |
2890 | ||
2891 | ||
2892 | fi | |
2893 | if test -z "$ac_cv_prog_STRIP"; then | |
2894 | ac_ct_STRIP=$STRIP | |
2895 | # Extract the first word of "strip", so it can be a program name with args. | |
2896 | set dummy strip; ac_word=$2 | |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2898 | $as_echo_n "checking for $ac_word... " >&6; } | |
2899 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2900 | $as_echo_n "(cached) " >&6 | |
2901 | else | |
2902 | if test -n "$ac_ct_STRIP"; then | |
2903 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2904 | else | |
2905 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2906 | for as_dir in $PATH | |
2907 | do | |
2908 | IFS=$as_save_IFS | |
2909 | test -z "$as_dir" && as_dir=. | |
2910 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2911 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2912 | ac_cv_prog_ac_ct_STRIP="strip" | |
2913 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2914 | break 2 | |
2915 | fi | |
2916 | done | |
2917 | done | |
2918 | IFS=$as_save_IFS | |
2919 | ||
2920 | fi | |
2921 | fi | |
2922 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2923 | if test -n "$ac_ct_STRIP"; then | |
2924 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2925 | $as_echo "$ac_ct_STRIP" >&6; } | |
2926 | else | |
2927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2928 | $as_echo "no" >&6; } | |
2929 | fi | |
2930 | ||
2931 | if test "x$ac_ct_STRIP" = x; then | |
2932 | STRIP=":" | |
2933 | else | |
2934 | case $cross_compiling:$ac_tool_warned in | |
2935 | yes:) | |
2936 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2937 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2938 | ac_tool_warned=yes ;; | |
2939 | esac | |
2940 | STRIP=$ac_ct_STRIP | |
2941 | fi | |
2942 | else | |
2943 | STRIP="$ac_cv_prog_STRIP" | |
2944 | fi | |
2945 | ||
2946 | fi | |
2947 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2948 | ||
2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2950 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2951 | if test -z "$MKDIR_P"; then | |
2952 | if ${ac_cv_path_mkdir+:} false; then : | |
2953 | $as_echo_n "(cached) " >&6 | |
2954 | else | |
2955 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2956 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2957 | do | |
2958 | IFS=$as_save_IFS | |
2959 | test -z "$as_dir" && as_dir=. | |
2960 | for ac_prog in mkdir gmkdir; do | |
2961 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2962 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2963 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2964 | 'mkdir (GNU coreutils) '* | \ | |
2965 | 'mkdir (coreutils) '* | \ | |
2966 | 'mkdir (fileutils) '4.1*) | |
2967 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2968 | break 3;; | |
2969 | esac | |
2970 | done | |
2971 | done | |
2972 | done | |
2973 | IFS=$as_save_IFS | |
2974 | ||
2975 | fi | |
2976 | ||
2977 | test -d ./--version && rmdir ./--version | |
2978 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2979 | MKDIR_P="$ac_cv_path_mkdir -p" | |
2980 | else | |
2981 | # As a last resort, use the slow shell script. Don't cache a | |
2982 | # value for MKDIR_P within a source directory, because that will | |
2983 | # break other packages using the cache if that directory is | |
2984 | # removed, or if the value is a relative name. | |
2985 | MKDIR_P="$ac_install_sh -d" | |
2986 | fi | |
2987 | fi | |
2988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2989 | $as_echo "$MKDIR_P" >&6; } | |
2990 | ||
2991 | mkdir_p="$MKDIR_P" | |
2992 | case $mkdir_p in | |
2993 | [\\/$]* | ?:[\\/]*) ;; | |
2994 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2995 | esac | |
2996 | ||
2997 | for ac_prog in gawk mawk nawk awk | |
2998 | do | |
2999 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3000 | set dummy $ac_prog; ac_word=$2 | |
3001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3002 | $as_echo_n "checking for $ac_word... " >&6; } | |
3003 | if ${ac_cv_prog_AWK+:} false; then : | |
3004 | $as_echo_n "(cached) " >&6 | |
3005 | else | |
3006 | if test -n "$AWK"; then | |
3007 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
3008 | else | |
3009 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3010 | for as_dir in $PATH | |
3011 | do | |
3012 | IFS=$as_save_IFS | |
3013 | test -z "$as_dir" && as_dir=. | |
3014 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3015 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3016 | ac_cv_prog_AWK="$ac_prog" | |
3017 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3018 | break 2 | |
3019 | fi | |
3020 | done | |
3021 | done | |
3022 | IFS=$as_save_IFS | |
3023 | ||
3024 | fi | |
3025 | fi | |
3026 | AWK=$ac_cv_prog_AWK | |
3027 | if test -n "$AWK"; then | |
3028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
3029 | $as_echo "$AWK" >&6; } | |
3030 | else | |
3031 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3032 | $as_echo "no" >&6; } | |
3033 | fi | |
3034 | ||
3035 | ||
3036 | test -n "$AWK" && break | |
3037 | done | |
3038 | ||
3039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
3040 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
3041 | set x ${MAKE-make} | |
3042 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
3043 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
3044 | $as_echo_n "(cached) " >&6 | |
3045 | else | |
3046 | cat >conftest.make <<\_ACEOF | |
3047 | SHELL = /bin/sh | |
3048 | all: | |
3049 | @echo '@@@%%%=$(MAKE)=@@@%%%' | |
3050 | _ACEOF | |
3051 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
3052 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
3053 | *@@@%%%=?*=@@@%%%*) | |
3054 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
3055 | *) | |
3056 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
3057 | esac | |
3058 | rm -f conftest.make | |
3059 | fi | |
3060 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
3061 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3062 | $as_echo "yes" >&6; } | |
3063 | SET_MAKE= | |
3064 | else | |
3065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3066 | $as_echo "no" >&6; } | |
3067 | SET_MAKE="MAKE=${MAKE-make}" | |
3068 | fi | |
3069 | ||
3070 | rm -rf .tst 2>/dev/null | |
3071 | mkdir .tst 2>/dev/null | |
3072 | if test -d .tst; then | |
3073 | am__leading_dot=. | |
3074 | else | |
3075 | am__leading_dot=_ | |
3076 | fi | |
3077 | rmdir .tst 2>/dev/null | |
3078 | ||
3079 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
3080 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
3081 | # is not polluted with repeated "-I." | |
3082 | am__isrc=' -I$(srcdir)' | |
3083 | # test to see if srcdir already configured | |
3084 | if test -f $srcdir/config.status; then | |
3085 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
3086 | fi | |
3087 | fi | |
3088 | ||
3089 | # test whether we have cygpath | |
3090 | if test -z "$CYGPATH_W"; then | |
3091 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
3092 | CYGPATH_W='cygpath -w' | |
3093 | else | |
3094 | CYGPATH_W=echo | |
3095 | fi | |
3096 | fi | |
3097 | ||
3098 | ||
3099 | # Define the identity of the package. | |
3100 | PACKAGE='dillo' | |
3101 | VERSION='3.0-pre' | |
3102 | ||
3103 | ||
3104 | cat >>confdefs.h <<_ACEOF | |
3105 | #define PACKAGE "$PACKAGE" | |
3106 | _ACEOF | |
3107 | ||
3108 | ||
3109 | cat >>confdefs.h <<_ACEOF | |
3110 | #define VERSION "$VERSION" | |
3111 | _ACEOF | |
3112 | ||
3113 | # Some tools Automake needs. | |
3114 | ||
3115 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
3116 | ||
3117 | ||
3118 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
3119 | ||
3120 | ||
3121 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
3122 | ||
3123 | ||
3124 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
3125 | ||
3126 | ||
3127 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
3128 | ||
3129 | # We need awk for the "check" target. The system "awk" is bad on | |
3130 | # some platforms. | |
3131 | # Always define AMTAR for backward compatibility. | |
3132 | ||
3133 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
3134 | ||
3135 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
3136 | ||
3137 | ||
3138 | ||
3139 | ||
3140 | ||
3141 | ||
3142 | ac_config_headers="$ac_config_headers config.h" | |
3143 | ||
3144 | ||
3145 | sysconfdir=${sysconfdir}/${PACKAGE} | |
3146 | ||
3147 | ||
3148 | ||
3149 | # Check whether --with-jpeg-lib was given. | |
3150 | if test "${with_jpeg_lib+set}" = set; then : | |
3151 | withval=$with_jpeg_lib; LIBJPEG_LIBDIR=$withval | |
3152 | fi | |
3153 | ||
3154 | ||
3155 | # Check whether --with-jpeg-inc was given. | |
3156 | if test "${with_jpeg_inc+set}" = set; then : | |
3157 | withval=$with_jpeg_inc; LIBJPEG_INCDIR=$withval | |
3158 | fi | |
3159 | ||
3160 | ||
3161 | # Check whether --enable-efence was given. | |
3162 | if test "${enable_efence+set}" = set; then : | |
3163 | enableval=$enable_efence; | |
3164 | else | |
3165 | enable_efence=no | |
3166 | fi | |
3167 | ||
3168 | # Check whether --enable-gprof was given. | |
3169 | if test "${enable_gprof+set}" = set; then : | |
3170 | enableval=$enable_gprof; | |
3171 | else | |
3172 | enable_gprof=no | |
3173 | fi | |
3174 | ||
3175 | # Check whether --enable-insure was given. | |
3176 | if test "${enable_insure+set}" = set; then : | |
3177 | enableval=$enable_insure; | |
3178 | else | |
3179 | enable_insure=no | |
3180 | fi | |
3181 | ||
3182 | # Check whether --enable-ssl was given. | |
3183 | if test "${enable_ssl+set}" = set; then : | |
3184 | enableval=$enable_ssl; | |
3185 | else | |
3186 | enable_ssl=no | |
3187 | fi | |
3188 | ||
3189 | # Check whether --enable-ipv6 was given. | |
3190 | if test "${enable_ipv6+set}" = set; then : | |
3191 | enableval=$enable_ipv6; | |
3192 | fi | |
3193 | ||
3194 | # Check whether --enable-cookies was given. | |
3195 | if test "${enable_cookies+set}" = set; then : | |
3196 | enableval=$enable_cookies; | |
3197 | else | |
3198 | enable_cookies=yes | |
3199 | fi | |
3200 | ||
3201 | # Check whether --enable-png was given. | |
3202 | if test "${enable_png+set}" = set; then : | |
3203 | enableval=$enable_png; enable_png=$enableval | |
3204 | else | |
3205 | enable_png=yes | |
3206 | fi | |
3207 | ||
3208 | # Check whether --enable-jpeg was given. | |
3209 | if test "${enable_jpeg+set}" = set; then : | |
3210 | enableval=$enable_jpeg; enable_jpeg=$enableval | |
3211 | else | |
3212 | enable_jpeg=yes | |
3213 | fi | |
3214 | ||
3215 | # Check whether --enable-gif was given. | |
3216 | if test "${enable_gif+set}" = set; then : | |
3217 | enableval=$enable_gif; enable_gif=$enableval | |
3218 | else | |
3219 | enable_gif=yes | |
3220 | fi | |
3221 | ||
3222 | # Check whether --enable-threaded-dns was given. | |
3223 | if test "${enable_threaded_dns+set}" = set; then : | |
3224 | enableval=$enable_threaded_dns; enable_threaded_dns=$enableval | |
3225 | else | |
3226 | enable_threaded_dns=yes | |
3227 | fi | |
3228 | ||
3229 | # Check whether --enable-rtfl was given. | |
3230 | if test "${enable_rtfl+set}" = set; then : | |
3231 | enableval=$enable_rtfl; | |
3232 | fi | |
3233 | ||
3234 | ac_ext=c | |
3235 | ac_cpp='$CPP $CPPFLAGS' | |
3236 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3237 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3238 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3239 | if test -n "$ac_tool_prefix"; then | |
3240 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
3241 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3243 | $as_echo_n "checking for $ac_word... " >&6; } | |
3244 | if ${ac_cv_prog_CC+:} false; then : | |
3245 | $as_echo_n "(cached) " >&6 | |
3246 | else | |
3247 | if test -n "$CC"; then | |
3248 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3249 | else | |
3250 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3251 | for as_dir in $PATH | |
3252 | do | |
3253 | IFS=$as_save_IFS | |
3254 | test -z "$as_dir" && as_dir=. | |
3255 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3256 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3257 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
3258 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3259 | break 2 | |
3260 | fi | |
3261 | done | |
3262 | done | |
3263 | IFS=$as_save_IFS | |
3264 | ||
3265 | fi | |
3266 | fi | |
3267 | CC=$ac_cv_prog_CC | |
3268 | if test -n "$CC"; then | |
3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3270 | $as_echo "$CC" >&6; } | |
3271 | else | |
3272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3273 | $as_echo "no" >&6; } | |
3274 | fi | |
3275 | ||
3276 | ||
3277 | fi | |
3278 | if test -z "$ac_cv_prog_CC"; then | |
3279 | ac_ct_CC=$CC | |
3280 | # Extract the first word of "gcc", so it can be a program name with args. | |
3281 | set dummy gcc; ac_word=$2 | |
3282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3283 | $as_echo_n "checking for $ac_word... " >&6; } | |
3284 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3285 | $as_echo_n "(cached) " >&6 | |
3286 | else | |
3287 | if test -n "$ac_ct_CC"; then | |
3288 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3289 | else | |
3290 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3291 | for as_dir in $PATH | |
3292 | do | |
3293 | IFS=$as_save_IFS | |
3294 | test -z "$as_dir" && as_dir=. | |
3295 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3296 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3297 | ac_cv_prog_ac_ct_CC="gcc" | |
3298 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3299 | break 2 | |
3300 | fi | |
3301 | done | |
3302 | done | |
3303 | IFS=$as_save_IFS | |
3304 | ||
3305 | fi | |
3306 | fi | |
3307 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3308 | if test -n "$ac_ct_CC"; then | |
3309 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3310 | $as_echo "$ac_ct_CC" >&6; } | |
3311 | else | |
3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3313 | $as_echo "no" >&6; } | |
3314 | fi | |
3315 | ||
3316 | if test "x$ac_ct_CC" = x; then | |
3317 | CC="" | |
3318 | else | |
3319 | case $cross_compiling:$ac_tool_warned in | |
3320 | yes:) | |
3321 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3322 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3323 | ac_tool_warned=yes ;; | |
3324 | esac | |
3325 | CC=$ac_ct_CC | |
3326 | fi | |
3327 | else | |
3328 | CC="$ac_cv_prog_CC" | |
3329 | fi | |
3330 | ||
3331 | if test -z "$CC"; then | |
3332 | if test -n "$ac_tool_prefix"; then | |
3333 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
3334 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
3335 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3336 | $as_echo_n "checking for $ac_word... " >&6; } | |
3337 | if ${ac_cv_prog_CC+:} false; then : | |
3338 | $as_echo_n "(cached) " >&6 | |
3339 | else | |
3340 | if test -n "$CC"; then | |
3341 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3342 | else | |
3343 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3344 | for as_dir in $PATH | |
3345 | do | |
3346 | IFS=$as_save_IFS | |
3347 | test -z "$as_dir" && as_dir=. | |
3348 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3349 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3350 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
3351 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3352 | break 2 | |
3353 | fi | |
3354 | done | |
3355 | done | |
3356 | IFS=$as_save_IFS | |
3357 | ||
3358 | fi | |
3359 | fi | |
3360 | CC=$ac_cv_prog_CC | |
3361 | if test -n "$CC"; then | |
3362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3363 | $as_echo "$CC" >&6; } | |
3364 | else | |
3365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3366 | $as_echo "no" >&6; } | |
3367 | fi | |
3368 | ||
3369 | ||
3370 | fi | |
3371 | fi | |
3372 | if test -z "$CC"; then | |
3373 | # Extract the first word of "cc", so it can be a program name with args. | |
3374 | set dummy cc; ac_word=$2 | |
3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3376 | $as_echo_n "checking for $ac_word... " >&6; } | |
3377 | if ${ac_cv_prog_CC+:} false; then : | |
3378 | $as_echo_n "(cached) " >&6 | |
3379 | else | |
3380 | if test -n "$CC"; then | |
3381 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3382 | else | |
3383 | ac_prog_rejected=no | |
3384 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3385 | for as_dir in $PATH | |
3386 | do | |
3387 | IFS=$as_save_IFS | |
3388 | test -z "$as_dir" && as_dir=. | |
3389 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3390 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3391 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
3392 | ac_prog_rejected=yes | |
3393 | continue | |
3394 | fi | |
3395 | ac_cv_prog_CC="cc" | |
3396 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3397 | break 2 | |
3398 | fi | |
3399 | done | |
3400 | done | |
3401 | IFS=$as_save_IFS | |
3402 | ||
3403 | if test $ac_prog_rejected = yes; then | |
3404 | # We found a bogon in the path, so make sure we never use it. | |
3405 | set dummy $ac_cv_prog_CC | |
3406 | shift | |
3407 | if test $# != 0; then | |
3408 | # We chose a different compiler from the bogus one. | |
3409 | # However, it has the same basename, so the bogon will be chosen | |
3410 | # first if we set CC to just the basename; use the full file name. | |
3411 | shift | |
3412 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
3413 | fi | |
3414 | fi | |
3415 | fi | |
3416 | fi | |
3417 | CC=$ac_cv_prog_CC | |
3418 | if test -n "$CC"; then | |
3419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3420 | $as_echo "$CC" >&6; } | |
3421 | else | |
3422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3423 | $as_echo "no" >&6; } | |
3424 | fi | |
3425 | ||
3426 | ||
3427 | fi | |
3428 | if test -z "$CC"; then | |
3429 | if test -n "$ac_tool_prefix"; then | |
3430 | for ac_prog in cl.exe | |
3431 | do | |
3432 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
3433 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
3434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3435 | $as_echo_n "checking for $ac_word... " >&6; } | |
3436 | if ${ac_cv_prog_CC+:} false; then : | |
3437 | $as_echo_n "(cached) " >&6 | |
3438 | else | |
3439 | if test -n "$CC"; then | |
3440 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3441 | else | |
3442 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3443 | for as_dir in $PATH | |
3444 | do | |
3445 | IFS=$as_save_IFS | |
3446 | test -z "$as_dir" && as_dir=. | |
3447 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3448 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3449 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
3450 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3451 | break 2 | |
3452 | fi | |
3453 | done | |
3454 | done | |
3455 | IFS=$as_save_IFS | |
3456 | ||
3457 | fi | |
3458 | fi | |
3459 | CC=$ac_cv_prog_CC | |
3460 | if test -n "$CC"; then | |
3461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3462 | $as_echo "$CC" >&6; } | |
3463 | else | |
3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3465 | $as_echo "no" >&6; } | |
3466 | fi | |
3467 | ||
3468 | ||
3469 | test -n "$CC" && break | |
3470 | done | |
3471 | fi | |
3472 | if test -z "$CC"; then | |
3473 | ac_ct_CC=$CC | |
3474 | for ac_prog in cl.exe | |
3475 | do | |
3476 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3477 | set dummy $ac_prog; ac_word=$2 | |
3478 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3479 | $as_echo_n "checking for $ac_word... " >&6; } | |
3480 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3481 | $as_echo_n "(cached) " >&6 | |
3482 | else | |
3483 | if test -n "$ac_ct_CC"; then | |
3484 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3485 | else | |
3486 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3487 | for as_dir in $PATH | |
3488 | do | |
3489 | IFS=$as_save_IFS | |
3490 | test -z "$as_dir" && as_dir=. | |
3491 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3492 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3493 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
3494 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3495 | break 2 | |
3496 | fi | |
3497 | done | |
3498 | done | |
3499 | IFS=$as_save_IFS | |
3500 | ||
3501 | fi | |
3502 | fi | |
3503 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3504 | if test -n "$ac_ct_CC"; then | |
3505 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3506 | $as_echo "$ac_ct_CC" >&6; } | |
3507 | else | |
3508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3509 | $as_echo "no" >&6; } | |
3510 | fi | |
3511 | ||
3512 | ||
3513 | test -n "$ac_ct_CC" && break | |
3514 | done | |
3515 | ||
3516 | if test "x$ac_ct_CC" = x; then | |
3517 | CC="" | |
3518 | else | |
3519 | case $cross_compiling:$ac_tool_warned in | |
3520 | yes:) | |
3521 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3522 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3523 | ac_tool_warned=yes ;; | |
3524 | esac | |
3525 | CC=$ac_ct_CC | |
3526 | fi | |
3527 | fi | |
3528 | ||
3529 | fi | |
3530 | ||
3531 | ||
3532 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3533 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3534 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
3535 | See \`config.log' for more details" "$LINENO" 5; } | |
3536 | ||
3537 | # Provide some information about the compiler. | |
3538 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
3539 | set X $ac_compile | |
3540 | ac_compiler=$2 | |
3541 | for ac_option in --version -v -V -qversion; do | |
3542 | { { ac_try="$ac_compiler $ac_option >&5" | |
3543 | case "(($ac_try" in | |
3544 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3545 | *) ac_try_echo=$ac_try;; | |
3546 | esac | |
3547 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3548 | $as_echo "$ac_try_echo"; } >&5 | |
3549 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3550 | ac_status=$? | |
3551 | if test -s conftest.err; then | |
3552 | sed '10a\ | |
3553 | ... rest of stderr output deleted ... | |
3554 | 10q' conftest.err >conftest.er1 | |
3555 | cat conftest.er1 >&5 | |
3556 | fi | |
3557 | rm -f conftest.er1 conftest.err | |
3558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3559 | test $ac_status = 0; } | |
3560 | done | |
3561 | ||
3562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3563 | /* end confdefs.h. */ | |
3564 | ||
3565 | int | |
3566 | main () | |
3567 | { | |
3568 | ||
3569 | ; | |
3570 | return 0; | |
3571 | } | |
3572 | _ACEOF | |
3573 | ac_clean_files_save=$ac_clean_files | |
3574 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
3575 | # Try to create an executable without -o first, disregard a.out. | |
3576 | # It will help us diagnose broken compilers, and finding out an intuition | |
3577 | # of exeext. | |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
3579 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
3580 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
3581 | ||
3582 | # The possible output files: | |
3583 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
3584 | ||
3585 | ac_rmfiles= | |
3586 | for ac_file in $ac_files | |
3587 | do | |
3588 | case $ac_file in | |
3589 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3590 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3591 | esac | |
3592 | done | |
3593 | rm -f $ac_rmfiles | |
3594 | ||
3595 | if { { ac_try="$ac_link_default" | |
3596 | case "(($ac_try" in | |
3597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3598 | *) ac_try_echo=$ac_try;; | |
3599 | esac | |
3600 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3601 | $as_echo "$ac_try_echo"; } >&5 | |
3602 | (eval "$ac_link_default") 2>&5 | |
3603 | ac_status=$? | |
3604 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3605 | test $ac_status = 0; }; then : | |
3606 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
3607 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
3608 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
3609 | # so that the user can short-circuit this test for compilers unknown to | |
3610 | # Autoconf. | |
3611 | for ac_file in $ac_files '' | |
3612 | do | |
3613 | test -f "$ac_file" || continue | |
3614 | case $ac_file in | |
3615 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
3616 | ;; | |
3617 | [ab].out ) | |
3618 | # We found the default executable, but exeext='' is most | |
3619 | # certainly right. | |
3620 | break;; | |
3621 | *.* ) | |
3622 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
3623 | then :; else | |
3624 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3625 | fi | |
3626 | # We set ac_cv_exeext here because the later test for it is not | |
3627 | # safe: cross compilers may not add the suffix if given an `-o' | |
3628 | # argument, so we may need to know it at that point already. | |
3629 | # Even if this section looks crufty: it has the advantage of | |
3630 | # actually working. | |
3631 | break;; | |
3632 | * ) | |
3633 | break;; | |
3634 | esac | |
3635 | done | |
3636 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3637 | ||
3638 | else | |
3639 | ac_file='' | |
3640 | fi | |
3641 | if test -z "$ac_file"; then : | |
3642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3643 | $as_echo "no" >&6; } | |
3644 | $as_echo "$as_me: failed program was:" >&5 | |
3645 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3646 | ||
3647 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3648 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3649 | as_fn_error 77 "C compiler cannot create executables | |
3650 | See \`config.log' for more details" "$LINENO" 5; } | |
3651 | else | |
3652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3653 | $as_echo "yes" >&6; } | |
3654 | fi | |
3655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3656 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3658 | $as_echo "$ac_file" >&6; } | |
3659 | ac_exeext=$ac_cv_exeext | |
3660 | ||
3661 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
3662 | ac_clean_files=$ac_clean_files_save | |
3663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
3664 | $as_echo_n "checking for suffix of executables... " >&6; } | |
3665 | if { { ac_try="$ac_link" | |
3666 | case "(($ac_try" in | |
3667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3668 | *) ac_try_echo=$ac_try;; | |
3669 | esac | |
3670 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3671 | $as_echo "$ac_try_echo"; } >&5 | |
3672 | (eval "$ac_link") 2>&5 | |
3673 | ac_status=$? | |
3674 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3675 | test $ac_status = 0; }; then : | |
3676 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
3677 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3678 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
3679 | # `rm'. | |
3680 | for ac_file in conftest.exe conftest conftest.*; do | |
3681 | test -f "$ac_file" || continue | |
3682 | case $ac_file in | |
3683 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3684 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3685 | break;; | |
3686 | * ) break;; | |
3687 | esac | |
3688 | done | |
3689 | else | |
3690 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3691 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3692 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3693 | See \`config.log' for more details" "$LINENO" 5; } | |
3694 | fi | |
3695 | rm -f conftest conftest$ac_cv_exeext | |
3696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3697 | $as_echo "$ac_cv_exeext" >&6; } | |
3698 | ||
3699 | rm -f conftest.$ac_ext | |
3700 | EXEEXT=$ac_cv_exeext | |
3701 | ac_exeext=$EXEEXT | |
3702 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3703 | /* end confdefs.h. */ | |
3704 | #include <stdio.h> | |
3705 | int | |
3706 | main () | |
3707 | { | |
3708 | FILE *f = fopen ("conftest.out", "w"); | |
3709 | return ferror (f) || fclose (f) != 0; | |
3710 | ||
3711 | ; | |
3712 | return 0; | |
3713 | } | |
3714 | _ACEOF | |
3715 | ac_clean_files="$ac_clean_files conftest.out" | |
3716 | # Check that the compiler produces executables we can run. If not, either | |
3717 | # the compiler is broken, or we cross compile. | |
3718 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3719 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3720 | if test "$cross_compiling" != yes; then | |
3721 | { { ac_try="$ac_link" | |
3722 | case "(($ac_try" in | |
3723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3724 | *) ac_try_echo=$ac_try;; | |
3725 | esac | |
3726 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3727 | $as_echo "$ac_try_echo"; } >&5 | |
3728 | (eval "$ac_link") 2>&5 | |
3729 | ac_status=$? | |
3730 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3731 | test $ac_status = 0; } | |
3732 | if { ac_try='./conftest$ac_cv_exeext' | |
3733 | { { case "(($ac_try" in | |
3734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3735 | *) ac_try_echo=$ac_try;; | |
3736 | esac | |
3737 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3738 | $as_echo "$ac_try_echo"; } >&5 | |
3739 | (eval "$ac_try") 2>&5 | |
3740 | ac_status=$? | |
3741 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3742 | test $ac_status = 0; }; }; then | |
3743 | cross_compiling=no | |
3744 | else | |
3745 | if test "$cross_compiling" = maybe; then | |
3746 | cross_compiling=yes | |
3747 | else | |
3748 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3749 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3750 | as_fn_error $? "cannot run C compiled programs. | |
3751 | If you meant to cross compile, use \`--host'. | |
3752 | See \`config.log' for more details" "$LINENO" 5; } | |
3753 | fi | |
3754 | fi | |
3755 | fi | |
3756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3757 | $as_echo "$cross_compiling" >&6; } | |
3758 | ||
3759 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3760 | ac_clean_files=$ac_clean_files_save | |
3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3762 | $as_echo_n "checking for suffix of object files... " >&6; } | |
3763 | if ${ac_cv_objext+:} false; then : | |
3764 | $as_echo_n "(cached) " >&6 | |
3765 | else | |
3766 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3767 | /* end confdefs.h. */ | |
3768 | ||
3769 | int | |
3770 | main () | |
3771 | { | |
3772 | ||
3773 | ; | |
3774 | return 0; | |
3775 | } | |
3776 | _ACEOF | |
3777 | rm -f conftest.o conftest.obj | |
3778 | if { { ac_try="$ac_compile" | |
3779 | case "(($ac_try" in | |
3780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3781 | *) ac_try_echo=$ac_try;; | |
3782 | esac | |
3783 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3784 | $as_echo "$ac_try_echo"; } >&5 | |
3785 | (eval "$ac_compile") 2>&5 | |
3786 | ac_status=$? | |
3787 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3788 | test $ac_status = 0; }; then : | |
3789 | for ac_file in conftest.o conftest.obj conftest.*; do | |
3790 | test -f "$ac_file" || continue; | |
3791 | case $ac_file in | |
3792 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
3793 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
3794 | break;; | |
3795 | esac | |
3796 | done | |
3797 | else | |
3798 | $as_echo "$as_me: failed program was:" >&5 | |
3799 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3800 | ||
3801 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3802 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3803 | as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3804 | See \`config.log' for more details" "$LINENO" 5; } | |
3805 | fi | |
3806 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
3807 | fi | |
3808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
3809 | $as_echo "$ac_cv_objext" >&6; } | |
3810 | OBJEXT=$ac_cv_objext | |
3811 | ac_objext=$OBJEXT | |
3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
3813 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3814 | if ${ac_cv_c_compiler_gnu+:} false; then : | |
3815 | $as_echo_n "(cached) " >&6 | |
3816 | else | |
3817 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3818 | /* end confdefs.h. */ | |
3819 | ||
3820 | int | |
3821 | main () | |
3822 | { | |
3823 | #ifndef __GNUC__ | |
3824 | choke me | |
3825 | #endif | |
3826 | ||
3827 | ; | |
3828 | return 0; | |
3829 | } | |
3830 | _ACEOF | |
3831 | if ac_fn_c_try_compile "$LINENO"; then : | |
3832 | ac_compiler_gnu=yes | |
3833 | else | |
3834 | ac_compiler_gnu=no | |
3835 | fi | |
3836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3837 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3838 | ||
3839 | fi | |
3840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
3841 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3842 | if test $ac_compiler_gnu = yes; then | |
3843 | GCC=yes | |
3844 | else | |
3845 | GCC= | |
3846 | fi | |
3847 | ac_test_CFLAGS=${CFLAGS+set} | |
3848 | ac_save_CFLAGS=$CFLAGS | |
3849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
3850 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3851 | if ${ac_cv_prog_cc_g+:} false; then : | |
3852 | $as_echo_n "(cached) " >&6 | |
3853 | else | |
3854 | ac_save_c_werror_flag=$ac_c_werror_flag | |
3855 | ac_c_werror_flag=yes | |
3856 | ac_cv_prog_cc_g=no | |
3857 | CFLAGS="-g" | |
3858 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3859 | /* end confdefs.h. */ | |
3860 | ||
3861 | int | |
3862 | main () | |
3863 | { | |
3864 | ||
3865 | ; | |
3866 | return 0; | |
3867 | } | |
3868 | _ACEOF | |
3869 | if ac_fn_c_try_compile "$LINENO"; then : | |
3870 | ac_cv_prog_cc_g=yes | |
3871 | else | |
3872 | CFLAGS="" | |
3873 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3874 | /* end confdefs.h. */ | |
3875 | ||
3876 | int | |
3877 | main () | |
3878 | { | |
3879 | ||
3880 | ; | |
3881 | return 0; | |
3882 | } | |
3883 | _ACEOF | |
3884 | if ac_fn_c_try_compile "$LINENO"; then : | |
3885 | ||
3886 | else | |
3887 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3888 | CFLAGS="-g" | |
3889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3890 | /* end confdefs.h. */ | |
3891 | ||
3892 | int | |
3893 | main () | |
3894 | { | |
3895 | ||
3896 | ; | |
3897 | return 0; | |
3898 | } | |
3899 | _ACEOF | |
3900 | if ac_fn_c_try_compile "$LINENO"; then : | |
3901 | ac_cv_prog_cc_g=yes | |
3902 | fi | |
3903 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3904 | fi | |
3905 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3906 | fi | |
3907 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3908 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3909 | fi | |
3910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3911 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3912 | if test "$ac_test_CFLAGS" = set; then | |
3913 | CFLAGS=$ac_save_CFLAGS | |
3914 | elif test $ac_cv_prog_cc_g = yes; then | |
3915 | if test "$GCC" = yes; then | |
3916 | CFLAGS="-g -O2" | |
3917 | else | |
3918 | CFLAGS="-g" | |
3919 | fi | |
3920 | else | |
3921 | if test "$GCC" = yes; then | |
3922 | CFLAGS="-O2" | |
3923 | else | |
3924 | CFLAGS= | |
3925 | fi | |
3926 | fi | |
3927 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
3928 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3929 | if ${ac_cv_prog_cc_c89+:} false; then : | |
3930 | $as_echo_n "(cached) " >&6 | |
3931 | else | |
3932 | ac_cv_prog_cc_c89=no | |
3933 | ac_save_CC=$CC | |
3934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3935 | /* end confdefs.h. */ | |
3936 | #include <stdarg.h> | |
3937 | #include <stdio.h> | |
3938 | #include <sys/types.h> | |
3939 | #include <sys/stat.h> | |
3940 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3941 | struct buf { int x; }; | |
3942 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3943 | static char *e (p, i) | |
3944 | char **p; | |
3945 | int i; | |
3946 | { | |
3947 | return p[i]; | |
3948 | } | |
3949 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3950 | { | |
3951 | char *s; | |
3952 | va_list v; | |
3953 | va_start (v,p); | |
3954 | s = g (p, va_arg (v,int)); | |
3955 | va_end (v); | |
3956 | return s; | |
3957 | } | |
3958 | ||
3959 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3960 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3961 | These don't provoke an error unfortunately, instead are silently treated | |
3962 | as 'x'. The following induces an error, until -std is added to get | |
3963 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3964 | array size at least. It's necessary to write '\x00'==0 to get something | |
3965 | that's true only with -std. */ | |
3966 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3967 | ||
3968 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3969 | inside strings and character constants. */ | |
3970 | #define FOO(x) 'x' | |
3971 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3972 | ||
3973 | int test (int i, double x); | |
3974 | struct s1 {int (*f) (int a);}; | |
3975 | struct s2 {int (*f) (double a);}; | |
3976 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3977 | int argc; | |
3978 | char **argv; | |
3979 | int | |
3980 | main () | |
3981 | { | |
3982 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3983 | ; | |
3984 | return 0; | |
3985 | } | |
3986 | _ACEOF | |
3987 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3988 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3989 | do | |
3990 | CC="$ac_save_CC $ac_arg" | |
3991 | if ac_fn_c_try_compile "$LINENO"; then : | |
3992 | ac_cv_prog_cc_c89=$ac_arg | |
3993 | fi | |
3994 | rm -f core conftest.err conftest.$ac_objext | |
3995 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3996 | done | |
3997 | rm -f conftest.$ac_ext | |
3998 | CC=$ac_save_CC | |
3999 | ||
4000 | fi | |
4001 | # AC_CACHE_VAL | |
4002 | case "x$ac_cv_prog_cc_c89" in | |
4003 | x) | |
4004 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
4005 | $as_echo "none needed" >&6; } ;; | |
4006 | xno) | |
4007 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
4008 | $as_echo "unsupported" >&6; } ;; | |
4009 | *) | |
4010 | CC="$CC $ac_cv_prog_cc_c89" | |
4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
4012 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
4013 | esac | |
4014 | if test "x$ac_cv_prog_cc_c89" != xno; then : | |
4015 | ||
4016 | fi | |
4017 | ||
4018 | ac_ext=c | |
4019 | ac_cpp='$CPP $CPPFLAGS' | |
4020 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4021 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4022 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4023 | DEPDIR="${am__leading_dot}deps" | |
4024 | ||
4025 | ac_config_commands="$ac_config_commands depfiles" | |
4026 | ||
4027 | ||
4028 | am_make=${MAKE-make} | |
4029 | cat > confinc << 'END' | |
4030 | am__doit: | |
4031 | @echo this is the am__doit target | |
4032 | .PHONY: am__doit | |
4033 | END | |
4034 | # If we don't find an include directive, just comment out the code. | |
4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
4036 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
4037 | am__include="#" | |
4038 | am__quote= | |
4039 | _am_result=none | |
4040 | # First try GNU make style include. | |
4041 | echo "include confinc" > confmf | |
4042 | # Ignore all kinds of additional output from `make'. | |
4043 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
4044 | *the\ am__doit\ target*) | |
4045 | am__include=include | |
4046 | am__quote= | |
4047 | _am_result=GNU | |
4048 | ;; | |
4049 | esac | |
4050 | # Now try BSD make style include. | |
4051 | if test "$am__include" = "#"; then | |
4052 | echo '.include "confinc"' > confmf | |
4053 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
4054 | *the\ am__doit\ target*) | |
4055 | am__include=.include | |
4056 | am__quote="\"" | |
4057 | _am_result=BSD | |
4058 | ;; | |
4059 | esac | |
4060 | fi | |
4061 | ||
4062 | ||
4063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
4064 | $as_echo "$_am_result" >&6; } | |
4065 | rm -f confinc confmf | |
4066 | ||
4067 | # Check whether --enable-dependency-tracking was given. | |
4068 | if test "${enable_dependency_tracking+set}" = set; then : | |
4069 | enableval=$enable_dependency_tracking; | |
4070 | fi | |
4071 | ||
4072 | if test "x$enable_dependency_tracking" != xno; then | |
4073 | am_depcomp="$ac_aux_dir/depcomp" | |
4074 | AMDEPBACKSLASH='\' | |
4075 | fi | |
4076 | if test "x$enable_dependency_tracking" != xno; then | |
4077 | AMDEP_TRUE= | |
4078 | AMDEP_FALSE='#' | |
4079 | else | |
4080 | AMDEP_TRUE='#' | |
4081 | AMDEP_FALSE= | |
4082 | fi | |
4083 | ||
4084 | ||
4085 | ||
4086 | depcc="$CC" am_compiler_list= | |
4087 | ||
4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
4089 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
4090 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
4091 | $as_echo_n "(cached) " >&6 | |
4092 | else | |
4093 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
4094 | # We make a subdir and do the tests there. Otherwise we can end up | |
4095 | # making bogus files that we don't know about and never remove. For | |
4096 | # instance it was reported that on HP-UX the gcc test will end up | |
4097 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4098 | # in D'. | |
4099 | mkdir conftest.dir | |
4100 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
4101 | # using a relative directory. | |
4102 | cp "$am_depcomp" conftest.dir | |
4103 | cd conftest.dir | |
4104 | # We will build objects and dependencies in a subdirectory because | |
4105 | # it helps to detect inapplicable dependency modes. For instance | |
4106 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
4107 | # side effect of compilation, but ICC will put the dependencies in | |
4108 | # the current directory while Tru64 will put them in the object | |
4109 | # directory. | |
4110 | mkdir sub | |
4111 | ||
4112 | am_cv_CC_dependencies_compiler_type=none | |
4113 | if test "$am_compiler_list" = ""; then | |
4114 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
4115 | fi | |
4116 | am__universal=false | |
4117 | case " $depcc " in #( | |
4118 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
4119 | esac | |
4120 | ||
4121 | for depmode in $am_compiler_list; do | |
4122 | # Setup a source with many dependencies, because some compilers | |
4123 | # like to wrap large dependency lists on column 80 (with \), and | |
4124 | # we should not choose a depcomp mode which is confused by this. | |
4125 | # | |
4126 | # We need to recreate these files for each test, as the compiler may | |
4127 | # overwrite some of them when testing with obscure command lines. | |
4128 | # This happens at least with the AIX C compiler. | |
4129 | : > sub/conftest.c | |
4130 | for i in 1 2 3 4 5 6; do | |
4131 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
4132 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4133 | # Solaris 8's {/usr,}/bin/sh. | |
4134 | touch sub/conftst$i.h | |
4135 | done | |
4136 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
4137 | ||
4138 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4139 | # mode. It turns out that the SunPro C++ compiler does not properly | |
4140 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4141 | # versions had trouble with output in subdirs | |
4142 | am__obj=sub/conftest.${OBJEXT-o} | |
4143 | am__minus_obj="-o $am__obj" | |
4144 | case $depmode in | |
4145 | gcc) | |
4146 | # This depmode causes a compiler race in universal mode. | |
4147 | test "$am__universal" = false || continue | |
4148 | ;; | |
4149 | nosideeffect) | |
4150 | # after this tag, mechanisms are not by side-effect, so they'll | |
4151 | # only be used when explicitly requested | |
4152 | if test "x$enable_dependency_tracking" = xyes; then | |
4153 | continue | |
4154 | else | |
4155 | break | |
4156 | fi | |
4157 | ;; | |
4158 | msvisualcpp | msvcmsys) | |
4159 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4160 | # not run yet. These depmodes are late enough in the game, and | |
4161 | # so weak that their functioning should not be impacted. | |
4162 | am__obj=conftest.${OBJEXT-o} | |
4163 | am__minus_obj= | |
4164 | ;; | |
4165 | none) break ;; | |
4166 | esac | |
4167 | if depmode=$depmode \ | |
4168 | source=sub/conftest.c object=$am__obj \ | |
4169 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
4170 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
4171 | >/dev/null 2>conftest.err && | |
4172 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
4173 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
4174 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
4175 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
4176 | # icc doesn't choke on unknown options, it will just issue warnings | |
4177 | # or remarks (even with -Werror). So we grep stderr for any message | |
4178 | # that says an option was ignored or not supported. | |
4179 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
4180 | # icc: Command line warning: ignoring option '-M'; no argument required | |
4181 | # The diagnosis changed in icc 8.0: | |
4182 | # icc: Command line remark: option '-MP' not supported | |
4183 | if (grep 'ignoring option' conftest.err || | |
4184 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
4185 | am_cv_CC_dependencies_compiler_type=$depmode | |
4186 | break | |
4187 | fi | |
4188 | fi | |
4189 | done | |
4190 | ||
4191 | cd .. | |
4192 | rm -rf conftest.dir | |
4193 | else | |
4194 | am_cv_CC_dependencies_compiler_type=none | |
4195 | fi | |
4196 | ||
4197 | fi | |
4198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
4199 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
4200 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
4201 | ||
4202 | if | |
4203 | test "x$enable_dependency_tracking" != xno \ | |
4204 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
4205 | am__fastdepCC_TRUE= | |
4206 | am__fastdepCC_FALSE='#' | |
4207 | else | |
4208 | am__fastdepCC_TRUE='#' | |
4209 | am__fastdepCC_FALSE= | |
4210 | fi | |
4211 | ||
4212 | ||
4213 | ac_ext=cpp | |
4214 | ac_cpp='$CXXCPP $CPPFLAGS' | |
4215 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4216 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4217 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
4218 | if test -z "$CXX"; then | |
4219 | if test -n "$CCC"; then | |
4220 | CXX=$CCC | |
4221 | else | |
4222 | if test -n "$ac_tool_prefix"; then | |
4223 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
4224 | do | |
4225 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
4226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
4227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4228 | $as_echo_n "checking for $ac_word... " >&6; } | |
4229 | if ${ac_cv_prog_CXX+:} false; then : | |
4230 | $as_echo_n "(cached) " >&6 | |
4231 | else | |
4232 | if test -n "$CXX"; then | |
4233 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
4234 | else | |
4235 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4236 | for as_dir in $PATH | |
4237 | do | |
4238 | IFS=$as_save_IFS | |
4239 | test -z "$as_dir" && as_dir=. | |
4240 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4241 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4242 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
4243 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4244 | break 2 | |
4245 | fi | |
4246 | done | |
4247 | done | |
4248 | IFS=$as_save_IFS | |
4249 | ||
4250 | fi | |
4251 | fi | |
4252 | CXX=$ac_cv_prog_CXX | |
4253 | if test -n "$CXX"; then | |
4254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | |
4255 | $as_echo "$CXX" >&6; } | |
4256 | else | |
4257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4258 | $as_echo "no" >&6; } | |
4259 | fi | |
4260 | ||
4261 | ||
4262 | test -n "$CXX" && break | |
4263 | done | |
4264 | fi | |
4265 | if test -z "$CXX"; then | |
4266 | ac_ct_CXX=$CXX | |
4267 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
4268 | do | |
4269 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
4270 | set dummy $ac_prog; ac_word=$2 | |
4271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4272 | $as_echo_n "checking for $ac_word... " >&6; } | |
4273 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : | |
4274 | $as_echo_n "(cached) " >&6 | |
4275 | else | |
4276 | if test -n "$ac_ct_CXX"; then | |
4277 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
4278 | else | |
4279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4280 | for as_dir in $PATH | |
4281 | do | |
4282 | IFS=$as_save_IFS | |
4283 | test -z "$as_dir" && as_dir=. | |
4284 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4285 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4286 | ac_cv_prog_ac_ct_CXX="$ac_prog" | |
4287 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4288 | break 2 | |
4289 | fi | |
4290 | done | |
4291 | done | |
4292 | IFS=$as_save_IFS | |
4293 | ||
4294 | fi | |
4295 | fi | |
4296 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
4297 | if test -n "$ac_ct_CXX"; then | |
4298 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | |
4299 | $as_echo "$ac_ct_CXX" >&6; } | |
4300 | else | |
4301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4302 | $as_echo "no" >&6; } | |
4303 | fi | |
4304 | ||
4305 | ||
4306 | test -n "$ac_ct_CXX" && break | |
4307 | done | |
4308 | ||
4309 | if test "x$ac_ct_CXX" = x; then | |
4310 | CXX="g++" | |
4311 | else | |
4312 | case $cross_compiling:$ac_tool_warned in | |
4313 | yes:) | |
4314 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
4315 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
4316 | ac_tool_warned=yes ;; | |
4317 | esac | |
4318 | CXX=$ac_ct_CXX | |
4319 | fi | |
4320 | fi | |
4321 | ||
4322 | fi | |
4323 | fi | |
4324 | # Provide some information about the compiler. | |
4325 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | |
4326 | set X $ac_compile | |
4327 | ac_compiler=$2 | |
4328 | for ac_option in --version -v -V -qversion; do | |
4329 | { { ac_try="$ac_compiler $ac_option >&5" | |
4330 | case "(($ac_try" in | |
4331 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4332 | *) ac_try_echo=$ac_try;; | |
4333 | esac | |
4334 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
4335 | $as_echo "$ac_try_echo"; } >&5 | |
4336 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
4337 | ac_status=$? | |
4338 | if test -s conftest.err; then | |
4339 | sed '10a\ | |
4340 | ... rest of stderr output deleted ... | |
4341 | 10q' conftest.err >conftest.er1 | |
4342 | cat conftest.er1 >&5 | |
4343 | fi | |
4344 | rm -f conftest.er1 conftest.err | |
4345 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
4346 | test $ac_status = 0; } | |
4347 | done | |
4348 | ||
4349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | |
4350 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | |
4351 | if ${ac_cv_cxx_compiler_gnu+:} false; then : | |
4352 | $as_echo_n "(cached) " >&6 | |
4353 | else | |
4354 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4355 | /* end confdefs.h. */ | |
4356 | ||
4357 | int | |
4358 | main () | |
4359 | { | |
4360 | #ifndef __GNUC__ | |
4361 | choke me | |
4362 | #endif | |
4363 | ||
4364 | ; | |
4365 | return 0; | |
4366 | } | |
4367 | _ACEOF | |
4368 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
4369 | ac_compiler_gnu=yes | |
4370 | else | |
4371 | ac_compiler_gnu=no | |
4372 | fi | |
4373 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4374 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
4375 | ||
4376 | fi | |
4377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | |
4378 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | |
4379 | if test $ac_compiler_gnu = yes; then | |
4380 | GXX=yes | |
4381 | else | |
4382 | GXX= | |
4383 | fi | |
4384 | ac_test_CXXFLAGS=${CXXFLAGS+set} | |
4385 | ac_save_CXXFLAGS=$CXXFLAGS | |
4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | |
4387 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } | |
4388 | if ${ac_cv_prog_cxx_g+:} false; then : | |
4389 | $as_echo_n "(cached) " >&6 | |
4390 | else | |
4391 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
4392 | ac_cxx_werror_flag=yes | |
4393 | ac_cv_prog_cxx_g=no | |
4394 | CXXFLAGS="-g" | |
4395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4396 | /* end confdefs.h. */ | |
4397 | ||
4398 | int | |
4399 | main () | |
4400 | { | |
4401 | ||
4402 | ; | |
4403 | return 0; | |
4404 | } | |
4405 | _ACEOF | |
4406 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
4407 | ac_cv_prog_cxx_g=yes | |
4408 | else | |
4409 | CXXFLAGS="" | |
4410 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4411 | /* end confdefs.h. */ | |
4412 | ||
4413 | int | |
4414 | main () | |
4415 | { | |
4416 | ||
4417 | ; | |
4418 | return 0; | |
4419 | } | |
4420 | _ACEOF | |
4421 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
4422 | ||
4423 | else | |
4424 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
4425 | CXXFLAGS="-g" | |
4426 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4427 | /* end confdefs.h. */ | |
4428 | ||
4429 | int | |
4430 | main () | |
4431 | { | |
4432 | ||
4433 | ; | |
4434 | return 0; | |
4435 | } | |
4436 | _ACEOF | |
4437 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
4438 | ac_cv_prog_cxx_g=yes | |
4439 | fi | |
4440 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4441 | fi | |
4442 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4443 | fi | |
4444 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4445 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
4446 | fi | |
4447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | |
4448 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | |
4449 | if test "$ac_test_CXXFLAGS" = set; then | |
4450 | CXXFLAGS=$ac_save_CXXFLAGS | |
4451 | elif test $ac_cv_prog_cxx_g = yes; then | |
4452 | if test "$GXX" = yes; then | |
4453 | CXXFLAGS="-g -O2" | |
4454 | else | |
4455 | CXXFLAGS="-g" | |
4456 | fi | |
4457 | else | |
4458 | if test "$GXX" = yes; then | |
4459 | CXXFLAGS="-O2" | |
4460 | else | |
4461 | CXXFLAGS= | |
4462 | fi | |
4463 | fi | |
4464 | ac_ext=c | |
4465 | ac_cpp='$CPP $CPPFLAGS' | |
4466 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4467 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4468 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4469 | ||
4470 | depcc="$CXX" am_compiler_list= | |
4471 | ||
4472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
4473 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
4474 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : | |
4475 | $as_echo_n "(cached) " >&6 | |
4476 | else | |
4477 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
4478 | # We make a subdir and do the tests there. Otherwise we can end up | |
4479 | # making bogus files that we don't know about and never remove. For | |
4480 | # instance it was reported that on HP-UX the gcc test will end up | |
4481 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4482 | # in D'. | |
4483 | mkdir conftest.dir | |
4484 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
4485 | # using a relative directory. | |
4486 | cp "$am_depcomp" conftest.dir | |
4487 | cd conftest.dir | |
4488 | # We will build objects and dependencies in a subdirectory because | |
4489 | # it helps to detect inapplicable dependency modes. For instance | |
4490 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
4491 | # side effect of compilation, but ICC will put the dependencies in | |
4492 | # the current directory while Tru64 will put them in the object | |
4493 | # directory. | |
4494 | mkdir sub | |
4495 | ||
4496 | am_cv_CXX_dependencies_compiler_type=none | |
4497 | if test "$am_compiler_list" = ""; then | |
4498 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
4499 | fi | |
4500 | am__universal=false | |
4501 | case " $depcc " in #( | |
4502 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
4503 | esac | |
4504 | ||
4505 | for depmode in $am_compiler_list; do | |
4506 | # Setup a source with many dependencies, because some compilers | |
4507 | # like to wrap large dependency lists on column 80 (with \), and | |
4508 | # we should not choose a depcomp mode which is confused by this. | |
4509 | # | |
4510 | # We need to recreate these files for each test, as the compiler may | |
4511 | # overwrite some of them when testing with obscure command lines. | |
4512 | # This happens at least with the AIX C compiler. | |
4513 | : > sub/conftest.c | |
4514 | for i in 1 2 3 4 5 6; do | |
4515 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
4516 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4517 | # Solaris 8's {/usr,}/bin/sh. | |
4518 | touch sub/conftst$i.h | |
4519 | done | |
4520 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
4521 | ||
4522 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4523 | # mode. It turns out that the SunPro C++ compiler does not properly | |
4524 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4525 | # versions had trouble with output in subdirs | |
4526 | am__obj=sub/conftest.${OBJEXT-o} | |
4527 | am__minus_obj="-o $am__obj" | |
4528 | case $depmode in | |
4529 | gcc) | |
4530 | # This depmode causes a compiler race in universal mode. | |
4531 | test "$am__universal" = false || continue | |
4532 | ;; | |
4533 | nosideeffect) | |
4534 | # after this tag, mechanisms are not by side-effect, so they'll | |
4535 | # only be used when explicitly requested | |
4536 | if test "x$enable_dependency_tracking" = xyes; then | |
4537 | continue | |
4538 | else | |
4539 | break | |
4540 | fi | |
4541 | ;; | |
4542 | msvisualcpp | msvcmsys) | |
4543 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4544 | # not run yet. These depmodes are late enough in the game, and | |
4545 | # so weak that their functioning should not be impacted. | |
4546 | am__obj=conftest.${OBJEXT-o} | |
4547 | am__minus_obj= | |
4548 | ;; | |
4549 | none) break ;; | |
4550 | esac | |
4551 | if depmode=$depmode \ | |
4552 | source=sub/conftest.c object=$am__obj \ | |
4553 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
4554 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
4555 | >/dev/null 2>conftest.err && | |
4556 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
4557 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
4558 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
4559 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
4560 | # icc doesn't choke on unknown options, it will just issue warnings | |
4561 | # or remarks (even with -Werror). So we grep stderr for any message | |
4562 | # that says an option was ignored or not supported. | |
4563 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
4564 | # icc: Command line warning: ignoring option '-M'; no argument required | |
4565 | # The diagnosis changed in icc 8.0: | |
4566 | # icc: Command line remark: option '-MP' not supported | |
4567 | if (grep 'ignoring option' conftest.err || | |
4568 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
4569 | am_cv_CXX_dependencies_compiler_type=$depmode | |
4570 | break | |
4571 | fi | |
4572 | fi | |
4573 | done | |
4574 | ||
4575 | cd .. | |
4576 | rm -rf conftest.dir | |
4577 | else | |
4578 | am_cv_CXX_dependencies_compiler_type=none | |
4579 | fi | |
4580 | ||
4581 | fi | |
4582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 | |
4583 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | |
4584 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | |
4585 | ||
4586 | if | |
4587 | test "x$enable_dependency_tracking" != xno \ | |
4588 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | |
4589 | am__fastdepCXX_TRUE= | |
4590 | am__fastdepCXX_FALSE='#' | |
4591 | else | |
4592 | am__fastdepCXX_TRUE='#' | |
4593 | am__fastdepCXX_FALSE= | |
4594 | fi | |
4595 | ||
4596 | ||
4597 | if test -n "$ac_tool_prefix"; then | |
4598 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
4599 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
4600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4601 | $as_echo_n "checking for $ac_word... " >&6; } | |
4602 | if ${ac_cv_prog_RANLIB+:} false; then : | |
4603 | $as_echo_n "(cached) " >&6 | |
4604 | else | |
4605 | if test -n "$RANLIB"; then | |
4606 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
4607 | else | |
4608 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4609 | for as_dir in $PATH | |
4610 | do | |
4611 | IFS=$as_save_IFS | |
4612 | test -z "$as_dir" && as_dir=. | |
4613 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4614 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4615 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
4616 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4617 | break 2 | |
4618 | fi | |
4619 | done | |
4620 | done | |
4621 | IFS=$as_save_IFS | |
4622 | ||
4623 | fi | |
4624 | fi | |
4625 | RANLIB=$ac_cv_prog_RANLIB | |
4626 | if test -n "$RANLIB"; then | |
4627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
4628 | $as_echo "$RANLIB" >&6; } | |
4629 | else | |
4630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4631 | $as_echo "no" >&6; } | |
4632 | fi | |
4633 | ||
4634 | ||
4635 | fi | |
4636 | if test -z "$ac_cv_prog_RANLIB"; then | |
4637 | ac_ct_RANLIB=$RANLIB | |
4638 | # Extract the first word of "ranlib", so it can be a program name with args. | |
4639 | set dummy ranlib; ac_word=$2 | |
4640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4641 | $as_echo_n "checking for $ac_word... " >&6; } | |
4642 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | |
4643 | $as_echo_n "(cached) " >&6 | |
4644 | else | |
4645 | if test -n "$ac_ct_RANLIB"; then | |
4646 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
4647 | else | |
4648 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4649 | for as_dir in $PATH | |
4650 | do | |
4651 | IFS=$as_save_IFS | |
4652 | test -z "$as_dir" && as_dir=. | |
4653 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4654 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4655 | ac_cv_prog_ac_ct_RANLIB="ranlib" | |
4656 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4657 | break 2 | |
4658 | fi | |
4659 | done | |
4660 | done | |
4661 | IFS=$as_save_IFS | |
4662 | ||
4663 | fi | |
4664 | fi | |
4665 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
4666 | if test -n "$ac_ct_RANLIB"; then | |
4667 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
4668 | $as_echo "$ac_ct_RANLIB" >&6; } | |
4669 | else | |
4670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4671 | $as_echo "no" >&6; } | |
4672 | fi | |
4673 | ||
4674 | if test "x$ac_ct_RANLIB" = x; then | |
4675 | RANLIB=":" | |
4676 | else | |
4677 | case $cross_compiling:$ac_tool_warned in | |
4678 | yes:) | |
4679 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
4680 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
4681 | ac_tool_warned=yes ;; | |
4682 | esac | |
4683 | RANLIB=$ac_ct_RANLIB | |
4684 | fi | |
4685 | else | |
4686 | RANLIB="$ac_cv_prog_RANLIB" | |
4687 | fi | |
4688 | ||
4689 | ac_ext=c | |
4690 | ac_cpp='$CPP $CPPFLAGS' | |
4691 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4692 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4693 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
4695 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
4696 | # On Suns, sometimes $CPP names a directory. | |
4697 | if test -n "$CPP" && test -d "$CPP"; then | |
4698 | CPP= | |
4699 | fi | |
4700 | if test -z "$CPP"; then | |
4701 | if ${ac_cv_prog_CPP+:} false; then : | |
4702 | $as_echo_n "(cached) " >&6 | |
4703 | else | |
4704 | # Double quotes because CPP needs to be expanded | |
4705 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
4706 | do | |
4707 | ac_preproc_ok=false | |
4708 | for ac_c_preproc_warn_flag in '' yes | |
4709 | do | |
4710 | # Use a header file that comes with gcc, so configuring glibc | |
4711 | # with a fresh cross-compiler works. | |
4712 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4713 | # <limits.h> exists even on freestanding compilers. | |
4714 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
4715 | # not just through cpp. "Syntax error" is here to catch this case. | |
4716 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4717 | /* end confdefs.h. */ | |
4718 | #ifdef __STDC__ | |
4719 | # include <limits.h> | |
4720 | #else | |
4721 | # include <assert.h> | |
4722 | #endif | |
4723 | Syntax error | |
4724 | _ACEOF | |
4725 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4726 | ||
4727 | else | |
4728 | # Broken: fails on valid input. | |
4729 | continue | |
4730 | fi | |
4731 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4732 | ||
4733 | # OK, works on sane cases. Now check whether nonexistent headers | |
4734 | # can be detected and how. | |
4735 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4736 | /* end confdefs.h. */ | |
4737 | #include <ac_nonexistent.h> | |
4738 | _ACEOF | |
4739 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4740 | # Broken: success on invalid input. | |
4741 | continue | |
4742 | else | |
4743 | # Passes both tests. | |
4744 | ac_preproc_ok=: | |
4745 | break | |
4746 | fi | |
4747 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4748 | ||
4749 | done | |
4750 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4751 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4752 | if $ac_preproc_ok; then : | |
4753 | break | |
4754 | fi | |
4755 | ||
4756 | done | |
4757 | ac_cv_prog_CPP=$CPP | |
4758 | ||
4759 | fi | |
4760 | CPP=$ac_cv_prog_CPP | |
4761 | else | |
4762 | ac_cv_prog_CPP=$CPP | |
4763 | fi | |
4764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
4765 | $as_echo "$CPP" >&6; } | |
4766 | ac_preproc_ok=false | |
4767 | for ac_c_preproc_warn_flag in '' yes | |
4768 | do | |
4769 | # Use a header file that comes with gcc, so configuring glibc | |
4770 | # with a fresh cross-compiler works. | |
4771 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4772 | # <limits.h> exists even on freestanding compilers. | |
4773 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
4774 | # not just through cpp. "Syntax error" is here to catch this case. | |
4775 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4776 | /* end confdefs.h. */ | |
4777 | #ifdef __STDC__ | |
4778 | # include <limits.h> | |
4779 | #else | |
4780 | # include <assert.h> | |
4781 | #endif | |
4782 | Syntax error | |
4783 | _ACEOF | |
4784 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4785 | ||
4786 | else | |
4787 | # Broken: fails on valid input. | |
4788 | continue | |
4789 | fi | |
4790 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4791 | ||
4792 | # OK, works on sane cases. Now check whether nonexistent headers | |
4793 | # can be detected and how. | |
4794 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4795 | /* end confdefs.h. */ | |
4796 | #include <ac_nonexistent.h> | |
4797 | _ACEOF | |
4798 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4799 | # Broken: success on invalid input. | |
4800 | continue | |
4801 | else | |
4802 | # Passes both tests. | |
4803 | ac_preproc_ok=: | |
4804 | break | |
4805 | fi | |
4806 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4807 | ||
4808 | done | |
4809 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4810 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4811 | if $ac_preproc_ok; then : | |
4812 | ||
4813 | else | |
4814 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
4815 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4816 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
4817 | See \`config.log' for more details" "$LINENO" 5; } | |
4818 | fi | |
4819 | ||
4820 | ac_ext=c | |
4821 | ac_cpp='$CPP $CPPFLAGS' | |
4822 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4823 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4824 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4825 | ||
4826 | ||
4827 | ||
4828 | ||
4829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
4830 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
4831 | if ${ac_cv_path_GREP+:} false; then : | |
4832 | $as_echo_n "(cached) " >&6 | |
4833 | else | |
4834 | if test -z "$GREP"; then | |
4835 | ac_path_GREP_found=false | |
4836 | # Loop through the user's path and test for each of PROGNAME-LIST | |
4837 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4838 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4839 | do | |
4840 | IFS=$as_save_IFS | |
4841 | test -z "$as_dir" && as_dir=. | |
4842 | for ac_prog in grep ggrep; do | |
4843 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4844 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
4845 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
4846 | # Check for GNU ac_path_GREP and select it if it is found. | |
4847 | # Check for GNU $ac_path_GREP | |
4848 | case `"$ac_path_GREP" --version 2>&1` in | |
4849 | *GNU*) | |
4850 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
4851 | *) | |
4852 | ac_count=0 | |
4853 | $as_echo_n 0123456789 >"conftest.in" | |
4854 | while : | |
4855 | do | |
4856 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4857 | mv "conftest.tmp" "conftest.in" | |
4858 | cp "conftest.in" "conftest.nl" | |
4859 | $as_echo 'GREP' >> "conftest.nl" | |
4860 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4861 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4862 | as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4863 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
4864 | # Best one so far, save it but keep looking for a better one | |
4865 | ac_cv_path_GREP="$ac_path_GREP" | |
4866 | ac_path_GREP_max=$ac_count | |
4867 | fi | |
4868 | # 10*(2^10) chars as input seems more than enough | |
4869 | test $ac_count -gt 10 && break | |
4870 | done | |
4871 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4872 | esac | |
4873 | ||
4874 | $ac_path_GREP_found && break 3 | |
4875 | done | |
4876 | done | |
4877 | done | |
4878 | IFS=$as_save_IFS | |
4879 | if test -z "$ac_cv_path_GREP"; then | |
4880 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4881 | fi | |
4882 | else | |
4883 | ac_cv_path_GREP=$GREP | |
4884 | fi | |
4885 | ||
4886 | fi | |
4887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
4888 | $as_echo "$ac_cv_path_GREP" >&6; } | |
4889 | GREP="$ac_cv_path_GREP" | |
4890 | ||
4891 | ||
4892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
4893 | $as_echo_n "checking for egrep... " >&6; } | |
4894 | if ${ac_cv_path_EGREP+:} false; then : | |
4895 | $as_echo_n "(cached) " >&6 | |
4896 | else | |
4897 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4898 | then ac_cv_path_EGREP="$GREP -E" | |
4899 | else | |
4900 | if test -z "$EGREP"; then | |
4901 | ac_path_EGREP_found=false | |
4902 | # Loop through the user's path and test for each of PROGNAME-LIST | |
4903 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4904 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4905 | do | |
4906 | IFS=$as_save_IFS | |
4907 | test -z "$as_dir" && as_dir=. | |
4908 | for ac_prog in egrep; do | |
4909 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4910 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4911 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
4912 | # Check for GNU ac_path_EGREP and select it if it is found. | |
4913 | # Check for GNU $ac_path_EGREP | |
4914 | case `"$ac_path_EGREP" --version 2>&1` in | |
4915 | *GNU*) | |
4916 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4917 | *) | |
4918 | ac_count=0 | |
4919 | $as_echo_n 0123456789 >"conftest.in" | |
4920 | while : | |
4921 | do | |
4922 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4923 | mv "conftest.tmp" "conftest.in" | |
4924 | cp "conftest.in" "conftest.nl" | |
4925 | $as_echo 'EGREP' >> "conftest.nl" | |
4926 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4927 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4928 | as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4929 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4930 | # Best one so far, save it but keep looking for a better one | |
4931 | ac_cv_path_EGREP="$ac_path_EGREP" | |
4932 | ac_path_EGREP_max=$ac_count | |
4933 | fi | |
4934 | # 10*(2^10) chars as input seems more than enough | |
4935 | test $ac_count -gt 10 && break | |
4936 | done | |
4937 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4938 | esac | |
4939 | ||
4940 | $ac_path_EGREP_found && break 3 | |
4941 | done | |
4942 | done | |
4943 | done | |
4944 | IFS=$as_save_IFS | |
4945 | if test -z "$ac_cv_path_EGREP"; then | |
4946 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4947 | fi | |
4948 | else | |
4949 | ac_cv_path_EGREP=$EGREP | |
4950 | fi | |
4951 | ||
4952 | fi | |
4953 | fi | |
4954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
4955 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
4956 | EGREP="$ac_cv_path_EGREP" | |
4957 | ||
4958 | ||
4959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
4960 | $as_echo_n "checking for ANSI C header files... " >&6; } | |
4961 | if ${ac_cv_header_stdc+:} false; then : | |
4962 | $as_echo_n "(cached) " >&6 | |
4963 | else | |
4964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4965 | /* end confdefs.h. */ | |
4966 | #include <stdlib.h> | |
4967 | #include <stdarg.h> | |
4968 | #include <string.h> | |
4969 | #include <float.h> | |
4970 | ||
4971 | int | |
4972 | main () | |
4973 | { | |
4974 | ||
4975 | ; | |
4976 | return 0; | |
4977 | } | |
4978 | _ACEOF | |
4979 | if ac_fn_c_try_compile "$LINENO"; then : | |
4980 | ac_cv_header_stdc=yes | |
4981 | else | |
4982 | ac_cv_header_stdc=no | |
4983 | fi | |
4984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4985 | ||
4986 | if test $ac_cv_header_stdc = yes; then | |
4987 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
4988 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4989 | /* end confdefs.h. */ | |
4990 | #include <string.h> | |
4991 | ||
4992 | _ACEOF | |
4993 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4994 | $EGREP "memchr" >/dev/null 2>&1; then : | |
4995 | ||
4996 | else | |
4997 | ac_cv_header_stdc=no | |
4998 | fi | |
4999 | rm -f conftest* | |
5000 | ||
5001 | fi | |
5002 | ||
5003 | if test $ac_cv_header_stdc = yes; then | |
5004 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
5005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5006 | /* end confdefs.h. */ | |
5007 | #include <stdlib.h> | |
5008 | ||
5009 | _ACEOF | |
5010 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
5011 | $EGREP "free" >/dev/null 2>&1; then : | |
5012 | ||
5013 | else | |
5014 | ac_cv_header_stdc=no | |
5015 | fi | |
5016 | rm -f conftest* | |
5017 | ||
5018 | fi | |
5019 | ||
5020 | if test $ac_cv_header_stdc = yes; then | |
5021 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
5022 | if test "$cross_compiling" = yes; then : | |
5023 | : | |
5024 | else | |
5025 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5026 | /* end confdefs.h. */ | |
5027 | #include <ctype.h> | |
5028 | #include <stdlib.h> | |
5029 | #if ((' ' & 0x0FF) == 0x020) | |
5030 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
5031 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
5032 | #else | |
5033 | # define ISLOWER(c) \ | |
5034 | (('a' <= (c) && (c) <= 'i') \ | |
5035 | || ('j' <= (c) && (c) <= 'r') \ | |
5036 | || ('s' <= (c) && (c) <= 'z')) | |
5037 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
5038 | #endif | |
5039 | ||
5040 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
5041 | int | |
5042 | main () | |
5043 | { | |
5044 | int i; | |
5045 | for (i = 0; i < 256; i++) | |
5046 | if (XOR (islower (i), ISLOWER (i)) | |
5047 | || toupper (i) != TOUPPER (i)) | |
5048 | return 2; | |
5049 | return 0; | |
5050 | } | |
5051 | _ACEOF | |
5052 | if ac_fn_c_try_run "$LINENO"; then : | |
5053 | ||
5054 | else | |
5055 | ac_cv_header_stdc=no | |
5056 | fi | |
5057 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
5058 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
5059 | fi | |
5060 | ||
5061 | fi | |
5062 | fi | |
5063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
5064 | $as_echo "$ac_cv_header_stdc" >&6; } | |
5065 | if test $ac_cv_header_stdc = yes; then | |
5066 | ||
5067 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
5068 | ||
5069 | fi | |
5070 | ||
5071 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
5072 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
5073 | inttypes.h stdint.h unistd.h | |
5074 | do : | |
5075 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
5076 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
5077 | " | |
5078 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5079 | cat >>confdefs.h <<_ACEOF | |
5080 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
5081 | _ACEOF | |
5082 | ||
5083 | fi | |
5084 | ||
5085 | done | |
5086 | ||
5087 | ||
5088 | # The cast to long int works around a bug in the HP C Compiler | |
5089 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
5090 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
5091 | # This bug is HP SR number 8606223364. | |
5092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 | |
5093 | $as_echo_n "checking size of char... " >&6; } | |
5094 | if ${ac_cv_sizeof_char+:} false; then : | |
5095 | $as_echo_n "(cached) " >&6 | |
5096 | else | |
5097 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : | |
5098 | ||
5099 | else | |
5100 | if test "$ac_cv_type_char" = yes; then | |
5101 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5102 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5103 | as_fn_error 77 "cannot compute sizeof (char) | |
5104 | See \`config.log' for more details" "$LINENO" 5; } | |
5105 | else | |
5106 | ac_cv_sizeof_char=0 | |
5107 | fi | |
5108 | fi | |
5109 | ||
5110 | fi | |
5111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 | |
5112 | $as_echo "$ac_cv_sizeof_char" >&6; } | |
5113 | ||
5114 | ||
5115 | ||
5116 | cat >>confdefs.h <<_ACEOF | |
5117 | #define SIZEOF_CHAR $ac_cv_sizeof_char | |
5118 | _ACEOF | |
5119 | ||
5120 | ||
5121 | # The cast to long int works around a bug in the HP C Compiler | |
5122 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
5123 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
5124 | # This bug is HP SR number 8606223364. | |
5125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 | |
5126 | $as_echo_n "checking size of short... " >&6; } | |
5127 | if ${ac_cv_sizeof_short+:} false; then : | |
5128 | $as_echo_n "(cached) " >&6 | |
5129 | else | |
5130 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : | |
5131 | ||
5132 | else | |
5133 | if test "$ac_cv_type_short" = yes; then | |
5134 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5135 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5136 | as_fn_error 77 "cannot compute sizeof (short) | |
5137 | See \`config.log' for more details" "$LINENO" 5; } | |
5138 | else | |
5139 | ac_cv_sizeof_short=0 | |
5140 | fi | |
5141 | fi | |
5142 | ||
5143 | fi | |
5144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 | |
5145 | $as_echo "$ac_cv_sizeof_short" >&6; } | |
5146 | ||
5147 | ||
5148 | ||
5149 | cat >>confdefs.h <<_ACEOF | |
5150 | #define SIZEOF_SHORT $ac_cv_sizeof_short | |
5151 | _ACEOF | |
5152 | ||
5153 | ||
5154 | # The cast to long int works around a bug in the HP C Compiler | |
5155 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
5156 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
5157 | # This bug is HP SR number 8606223364. | |
5158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 | |
5159 | $as_echo_n "checking size of long... " >&6; } | |
5160 | if ${ac_cv_sizeof_long+:} false; then : | |
5161 | $as_echo_n "(cached) " >&6 | |
5162 | else | |
5163 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : | |
5164 | ||
5165 | else | |
5166 | if test "$ac_cv_type_long" = yes; then | |
5167 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5168 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5169 | as_fn_error 77 "cannot compute sizeof (long) | |
5170 | See \`config.log' for more details" "$LINENO" 5; } | |
5171 | else | |
5172 | ac_cv_sizeof_long=0 | |
5173 | fi | |
5174 | fi | |
5175 | ||
5176 | fi | |
5177 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 | |
5178 | $as_echo "$ac_cv_sizeof_long" >&6; } | |
5179 | ||
5180 | ||
5181 | ||
5182 | cat >>confdefs.h <<_ACEOF | |
5183 | #define SIZEOF_LONG $ac_cv_sizeof_long | |
5184 | _ACEOF | |
5185 | ||
5186 | ||
5187 | # The cast to long int works around a bug in the HP C Compiler | |
5188 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
5189 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
5190 | # This bug is HP SR number 8606223364. | |
5191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 | |
5192 | $as_echo_n "checking size of int... " >&6; } | |
5193 | if ${ac_cv_sizeof_int+:} false; then : | |
5194 | $as_echo_n "(cached) " >&6 | |
5195 | else | |
5196 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : | |
5197 | ||
5198 | else | |
5199 | if test "$ac_cv_type_int" = yes; then | |
5200 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5201 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5202 | as_fn_error 77 "cannot compute sizeof (int) | |
5203 | See \`config.log' for more details" "$LINENO" 5; } | |
5204 | else | |
5205 | ac_cv_sizeof_int=0 | |
5206 | fi | |
5207 | fi | |
5208 | ||
5209 | fi | |
5210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 | |
5211 | $as_echo "$ac_cv_sizeof_int" >&6; } | |
5212 | ||
5213 | ||
5214 | ||
5215 | cat >>confdefs.h <<_ACEOF | |
5216 | #define SIZEOF_INT $ac_cv_sizeof_int | |
5217 | _ACEOF | |
5218 | ||
5219 | ||
5220 | # The cast to long int works around a bug in the HP C Compiler | |
5221 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
5222 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
5223 | # This bug is HP SR number 8606223364. | |
5224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 | |
5225 | $as_echo_n "checking size of void *... " >&6; } | |
5226 | if ${ac_cv_sizeof_void_p+:} false; then : | |
5227 | $as_echo_n "(cached) " >&6 | |
5228 | else | |
5229 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : | |
5230 | ||
5231 | else | |
5232 | if test "$ac_cv_type_void_p" = yes; then | |
5233 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5234 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5235 | as_fn_error 77 "cannot compute sizeof (void *) | |
5236 | See \`config.log' for more details" "$LINENO" 5; } | |
5237 | else | |
5238 | ac_cv_sizeof_void_p=0 | |
5239 | fi | |
5240 | fi | |
5241 | ||
5242 | fi | |
5243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 | |
5244 | $as_echo "$ac_cv_sizeof_void_p" >&6; } | |
5245 | ||
5246 | ||
5247 | ||
5248 | cat >>confdefs.h <<_ACEOF | |
5249 | #define SIZEOF_VOID_P $ac_cv_sizeof_void_p | |
5250 | _ACEOF | |
5251 | ||
5252 | ||
5253 | ||
5254 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" | |
5255 | case $ac_cv_c_int16_t in #( | |
5256 | no|yes) ;; #( | |
5257 | *) | |
5258 | ||
5259 | cat >>confdefs.h <<_ACEOF | |
5260 | #define int16_t $ac_cv_c_int16_t | |
5261 | _ACEOF | |
5262 | ;; | |
5263 | esac | |
5264 | ||
5265 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" | |
5266 | case $ac_cv_c_uint16_t in #( | |
5267 | no|yes) ;; #( | |
5268 | *) | |
5269 | ||
5270 | ||
5271 | cat >>confdefs.h <<_ACEOF | |
5272 | #define uint16_t $ac_cv_c_uint16_t | |
5273 | _ACEOF | |
5274 | ;; | |
5275 | esac | |
5276 | ||
5277 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" | |
5278 | case $ac_cv_c_int32_t in #( | |
5279 | no|yes) ;; #( | |
5280 | *) | |
5281 | ||
5282 | cat >>confdefs.h <<_ACEOF | |
5283 | #define int32_t $ac_cv_c_int32_t | |
5284 | _ACEOF | |
5285 | ;; | |
5286 | esac | |
5287 | ||
5288 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | |
5289 | case $ac_cv_c_uint32_t in #( | |
5290 | no|yes) ;; #( | |
5291 | *) | |
5292 | ||
5293 | $as_echo "#define _UINT32_T 1" >>confdefs.h | |
5294 | ||
5295 | ||
5296 | cat >>confdefs.h <<_ACEOF | |
5297 | #define uint32_t $ac_cv_c_uint32_t | |
5298 | _ACEOF | |
5299 | ;; | |
5300 | esac | |
5301 | ||
5302 | ||
5303 | if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then | |
5304 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | |
5305 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | |
5306 | fi | |
5307 | ||
5308 | for ac_func in gethostbyname | |
5309 | do : | |
5310 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" | |
5311 | if test "x$ac_cv_func_gethostbyname" = xyes; then : | |
5312 | cat >>confdefs.h <<_ACEOF | |
5313 | #define HAVE_GETHOSTBYNAME 1 | |
5314 | _ACEOF | |
5315 | ||
5316 | else | |
5317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 | |
5318 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } | |
5319 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : | |
5320 | $as_echo_n "(cached) " >&6 | |
5321 | else | |
5322 | ac_check_lib_save_LIBS=$LIBS | |
5323 | LIBS="-lnsl $LIBS" | |
5324 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5325 | /* end confdefs.h. */ | |
5326 | ||
5327 | /* Override any GCC internal prototype to avoid an error. | |
5328 | Use char because int might match the return type of a GCC | |
5329 | builtin and then its argument prototype would still apply. */ | |
5330 | #ifdef __cplusplus | |
5331 | extern "C" | |
5332 | #endif | |
5333 | char gethostbyname (); | |
5334 | int | |
5335 | main () | |
5336 | { | |
5337 | return gethostbyname (); | |
5338 | ; | |
5339 | return 0; | |
5340 | } | |
5341 | _ACEOF | |
5342 | if ac_fn_c_try_link "$LINENO"; then : | |
5343 | ac_cv_lib_nsl_gethostbyname=yes | |
5344 | else | |
5345 | ac_cv_lib_nsl_gethostbyname=no | |
5346 | fi | |
5347 | rm -f core conftest.err conftest.$ac_objext \ | |
5348 | conftest$ac_exeext conftest.$ac_ext | |
5349 | LIBS=$ac_check_lib_save_LIBS | |
5350 | fi | |
5351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
5352 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } | |
5353 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : | |
5354 | cat >>confdefs.h <<_ACEOF | |
5355 | #define HAVE_LIBNSL 1 | |
5356 | _ACEOF | |
5357 | ||
5358 | LIBS="-lnsl $LIBS" | |
5359 | ||
5360 | else | |
5361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5 | |
5362 | $as_echo_n "checking for gethostbyname in -lsocket... " >&6; } | |
5363 | if ${ac_cv_lib_socket_gethostbyname+:} false; then : | |
5364 | $as_echo_n "(cached) " >&6 | |
5365 | else | |
5366 | ac_check_lib_save_LIBS=$LIBS | |
5367 | LIBS="-lsocket $LIBS" | |
5368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5369 | /* end confdefs.h. */ | |
5370 | ||
5371 | /* Override any GCC internal prototype to avoid an error. | |
5372 | Use char because int might match the return type of a GCC | |
5373 | builtin and then its argument prototype would still apply. */ | |
5374 | #ifdef __cplusplus | |
5375 | extern "C" | |
5376 | #endif | |
5377 | char gethostbyname (); | |
5378 | int | |
5379 | main () | |
5380 | { | |
5381 | return gethostbyname (); | |
5382 | ; | |
5383 | return 0; | |
5384 | } | |
5385 | _ACEOF | |
5386 | if ac_fn_c_try_link "$LINENO"; then : | |
5387 | ac_cv_lib_socket_gethostbyname=yes | |
5388 | else | |
5389 | ac_cv_lib_socket_gethostbyname=no | |
5390 | fi | |
5391 | rm -f core conftest.err conftest.$ac_objext \ | |
5392 | conftest$ac_exeext conftest.$ac_ext | |
5393 | LIBS=$ac_check_lib_save_LIBS | |
5394 | fi | |
5395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5 | |
5396 | $as_echo "$ac_cv_lib_socket_gethostbyname" >&6; } | |
5397 | if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then : | |
5398 | cat >>confdefs.h <<_ACEOF | |
5399 | #define HAVE_LIBSOCKET 1 | |
5400 | _ACEOF | |
5401 | ||
5402 | LIBS="-lsocket $LIBS" | |
5403 | ||
5404 | fi | |
5405 | ||
5406 | fi | |
5407 | ||
5408 | fi | |
5409 | done | |
5410 | ||
5411 | for ac_func in setsockopt | |
5412 | do : | |
5413 | ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" | |
5414 | if test "x$ac_cv_func_setsockopt" = xyes; then : | |
5415 | cat >>confdefs.h <<_ACEOF | |
5416 | #define HAVE_SETSOCKOPT 1 | |
5417 | _ACEOF | |
5418 | ||
5419 | else | |
5420 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 | |
5421 | $as_echo_n "checking for setsockopt in -lsocket... " >&6; } | |
5422 | if ${ac_cv_lib_socket_setsockopt+:} false; then : | |
5423 | $as_echo_n "(cached) " >&6 | |
5424 | else | |
5425 | ac_check_lib_save_LIBS=$LIBS | |
5426 | LIBS="-lsocket $LIBS" | |
5427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5428 | /* end confdefs.h. */ | |
5429 | ||
5430 | /* Override any GCC internal prototype to avoid an error. | |
5431 | Use char because int might match the return type of a GCC | |
5432 | builtin and then its argument prototype would still apply. */ | |
5433 | #ifdef __cplusplus | |
5434 | extern "C" | |
5435 | #endif | |
5436 | char setsockopt (); | |
5437 | int | |
5438 | main () | |
5439 | { | |
5440 | return setsockopt (); | |
5441 | ; | |
5442 | return 0; | |
5443 | } | |
5444 | _ACEOF | |
5445 | if ac_fn_c_try_link "$LINENO"; then : | |
5446 | ac_cv_lib_socket_setsockopt=yes | |
5447 | else | |
5448 | ac_cv_lib_socket_setsockopt=no | |
5449 | fi | |
5450 | rm -f core conftest.err conftest.$ac_objext \ | |
5451 | conftest$ac_exeext conftest.$ac_ext | |
5452 | LIBS=$ac_check_lib_save_LIBS | |
5453 | fi | |
5454 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 | |
5455 | $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } | |
5456 | if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : | |
5457 | cat >>confdefs.h <<_ACEOF | |
5458 | #define HAVE_LIBSOCKET 1 | |
5459 | _ACEOF | |
5460 | ||
5461 | LIBS="-lsocket $LIBS" | |
5462 | ||
5463 | fi | |
5464 | ||
5465 | fi | |
5466 | done | |
5467 | ||
5468 | ||
5469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 | |
5470 | $as_echo_n "checking for socklen_t... " >&6; } | |
5471 | ac_cv_socklen_t="" | |
5472 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5473 | /* end confdefs.h. */ | |
5474 | ||
5475 | #include <sys/types.h> | |
5476 | #include <sys/socket.h> | |
5477 | ||
5478 | int | |
5479 | main () | |
5480 | { | |
5481 | ||
5482 | socklen_t a=0; | |
5483 | getsockname(0,(struct sockaddr*)0, &a); | |
5484 | ||
5485 | ; | |
5486 | return 0; | |
5487 | } | |
5488 | _ACEOF | |
5489 | if ac_fn_c_try_compile "$LINENO"; then : | |
5490 | ac_cv_socklen_t="socklen_t" | |
5491 | else | |
5492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5493 | /* end confdefs.h. */ | |
5494 | ||
5495 | #include <sys/types.h> | |
5496 | #include <sys/socket.h> | |
5497 | ||
5498 | int | |
5499 | main () | |
5500 | { | |
5501 | ||
5502 | int a=0; | |
5503 | getsockname(0,(struct sockaddr*)0, &a); | |
5504 | ||
5505 | ; | |
5506 | return 0; | |
5507 | } | |
5508 | _ACEOF | |
5509 | if ac_fn_c_try_compile "$LINENO"; then : | |
5510 | ac_cv_socklen_t="int" | |
5511 | else | |
5512 | ac_cv_socklen_t="size_t" | |
5513 | ||
5514 | fi | |
5515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5516 | ||
5517 | fi | |
5518 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_socklen_t" >&5 | |
5520 | $as_echo "$ac_cv_socklen_t" >&6; } | |
5521 | if test "$ac_cv_socklen_t" != "socklen_t"; then | |
5522 | ||
5523 | cat >>confdefs.h <<_ACEOF | |
5524 | #define socklen_t $ac_cv_socklen_t | |
5525 | _ACEOF | |
5526 | ||
5527 | fi | |
5528 | ||
5529 | ||
5530 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FLTK 1.3" >&5 | |
5531 | $as_echo_n "checking FLTK 1.3... " >&6; } | |
5532 | fltk_version="`fltk-config --version 2>/dev/null`" | |
5533 | case $fltk_version in | |
5534 | 1.3.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5535 | $as_echo "yes" >&6; } | |
5536 | LIBFLTK_CXXFLAGS=`fltk-config --cxxflags` | |
5537 | LIBFLTK_CFLAGS=`fltk-config --cflags` | |
5538 | LIBFLTK_LIBS=`fltk-config --ldflags`;; | |
5539 | ?*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5540 | $as_echo "no" >&6; } | |
5541 | as_fn_error $? "FLTK 1.3 required; version found: $fltk_version" "$LINENO" 5;; | |
5542 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5543 | $as_echo "no" >&6; } | |
5544 | as_fn_error $? "FLTK 1.3 required; fltk-config not found" "$LINENO" 5 | |
5545 | esac | |
5546 | ||
5547 | ||
5548 | if test "x$enable_jpeg" = "xyes"; then | |
5549 | ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" | |
5550 | if test "x$ac_cv_header_jpeglib_h" = xyes; then : | |
5551 | jpeg_ok=yes | |
5552 | else | |
5553 | jpeg_ok=no | |
5554 | fi | |
5555 | ||
5556 | ||
5557 | ||
5558 | if test "x$jpeg_ok" = "xyes"; then | |
5559 | old_libs="$LIBS" | |
5560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 | |
5561 | $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } | |
5562 | if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then : | |
5563 | $as_echo_n "(cached) " >&6 | |
5564 | else | |
5565 | ac_check_lib_save_LIBS=$LIBS | |
5566 | LIBS="-ljpeg $LIBS" | |
5567 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5568 | /* end confdefs.h. */ | |
5569 | ||
5570 | /* Override any GCC internal prototype to avoid an error. | |
5571 | Use char because int might match the return type of a GCC | |
5572 | builtin and then its argument prototype would still apply. */ | |
5573 | #ifdef __cplusplus | |
5574 | extern "C" | |
5575 | #endif | |
5576 | char jpeg_destroy_decompress (); | |
5577 | int | |
5578 | main () | |
5579 | { | |
5580 | return jpeg_destroy_decompress (); | |
5581 | ; | |
5582 | return 0; | |
5583 | } | |
5584 | _ACEOF | |
5585 | if ac_fn_c_try_link "$LINENO"; then : | |
5586 | ac_cv_lib_jpeg_jpeg_destroy_decompress=yes | |
5587 | else | |
5588 | ac_cv_lib_jpeg_jpeg_destroy_decompress=no | |
5589 | fi | |
5590 | rm -f core conftest.err conftest.$ac_objext \ | |
5591 | conftest$ac_exeext conftest.$ac_ext | |
5592 | LIBS=$ac_check_lib_save_LIBS | |
5593 | fi | |
5594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 | |
5595 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } | |
5596 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then : | |
5597 | jpeg_ok=yes | |
5598 | else | |
5599 | jpeg_ok=no | |
5600 | fi | |
5601 | ||
5602 | LIBS="$old_libs" | |
5603 | fi | |
5604 | ||
5605 | if test "x$jpeg_ok" = "xyes"; then | |
5606 | LIBJPEG_LIBS="-ljpeg" | |
5607 | if test -n "$LIBJPEG_LIBDIR"; then | |
5608 | LIBJPEG_LDFLAGS="-L$LIBJPEG_LIBDIR" | |
5609 | fi | |
5610 | if test -n "$LIBJPEG_INCDIR"; then | |
5611 | LIBJPEG_CPPFLAGS="-I$LIBJPEG_INCDIR" | |
5612 | fi | |
5613 | else | |
5614 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No libjpeg found. Disabling jpeg images.***" >&5 | |
5615 | $as_echo "$as_me: WARNING: *** No libjpeg found. Disabling jpeg images.***" >&2;} | |
5616 | fi | |
5617 | fi | |
5618 | ||
5619 | if test "x$jpeg_ok" = "xyes"; then | |
5620 | ||
5621 | $as_echo "#define ENABLE_JPEG 1" >>confdefs.h | |
5622 | ||
5623 | fi | |
5624 | ||
5625 | ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" | |
5626 | if test "x$ac_cv_header_zlib_h" = xyes; then : | |
5627 | libz_ok=yes | |
5628 | else | |
5629 | libz_ok=no | |
5630 | fi | |
5631 | ||
5632 | ||
5633 | ||
5634 | if test "x$libz_ok" = "xyes"; then | |
5635 | old_libs="$LIBS" | |
5636 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 | |
5637 | $as_echo_n "checking for zlibVersion in -lz... " >&6; } | |
5638 | if ${ac_cv_lib_z_zlibVersion+:} false; then : | |
5639 | $as_echo_n "(cached) " >&6 | |
5640 | else | |
5641 | ac_check_lib_save_LIBS=$LIBS | |
5642 | LIBS="-lz $LIBS" | |
5643 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5644 | /* end confdefs.h. */ | |
5645 | ||
5646 | /* Override any GCC internal prototype to avoid an error. | |
5647 | Use char because int might match the return type of a GCC | |
5648 | builtin and then its argument prototype would still apply. */ | |
5649 | #ifdef __cplusplus | |
5650 | extern "C" | |
5651 | #endif | |
5652 | char zlibVersion (); | |
5653 | int | |
5654 | main () | |
5655 | { | |
5656 | return zlibVersion (); | |
5657 | ; | |
5658 | return 0; | |
5659 | } | |
5660 | _ACEOF | |
5661 | if ac_fn_c_try_link "$LINENO"; then : | |
5662 | ac_cv_lib_z_zlibVersion=yes | |
5663 | else | |
5664 | ac_cv_lib_z_zlibVersion=no | |
5665 | fi | |
5666 | rm -f core conftest.err conftest.$ac_objext \ | |
5667 | conftest$ac_exeext conftest.$ac_ext | |
5668 | LIBS=$ac_check_lib_save_LIBS | |
5669 | fi | |
5670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 | |
5671 | $as_echo "$ac_cv_lib_z_zlibVersion" >&6; } | |
5672 | if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : | |
5673 | libz_ok=yes | |
5674 | else | |
5675 | libz_ok=no | |
5676 | fi | |
5677 | ||
5678 | LIBS="$old_libs" | |
5679 | fi | |
5680 | ||
5681 | if test "x$libz_ok" = xyes; then | |
5682 | LIBZ_LIBS="-lz" | |
5683 | else | |
5684 | as_fn_error $? "zlib must be installed!" "$LINENO" 5 | |
5685 | fi | |
5686 | ||
5687 | if test "x$enable_png" = "xyes"; then | |
5688 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5 | |
5689 | $as_echo_n "checking for libpng-config... " >&6; } | |
5690 | ||
5691 | if test -z "$PNG_CONFIG"; then | |
5692 | PNG_CONFIG=`which libpng14-config` | |
5693 | if test -z "$PNG_CONFIG"; then | |
5694 | PNG_CONFIG=`which libpng12-config` | |
5695 | fi | |
5696 | if test -z "$PNG_CONFIG"; then | |
5697 | PNG_CONFIG=`which libpng-config` | |
5698 | fi | |
5699 | if test -z "$PNG_CONFIG"; then | |
5700 | PNG_CONFIG=`which libpng10-config` | |
5701 | fi | |
5702 | fi | |
5703 | ||
5704 | if test -n "$PNG_CONFIG" && test -x "$PNG_CONFIG"; then | |
5705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNG_CONFIG" >&5 | |
5706 | $as_echo "$PNG_CONFIG" >&6; } | |
5707 | png_ok="yes" | |
5708 | else | |
5709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 | |
5710 | $as_echo "missing" >&6; } | |
5711 | png_ok="no" | |
5712 | fi | |
5713 | ||
5714 | if test "x$png_ok" = "xyes"; then | |
5715 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version" >&5 | |
5716 | $as_echo_n "checking for libpng version... " >&6; } | |
5717 | png_version=`$PNG_CONFIG --version` | |
5718 | case $png_version in | |
5719 | 1.4.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (newer version)" >&5 | |
5720 | $as_echo "$png_version (newer version)" >&6; } ;; | |
5721 | 1.2.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (newer version)" >&5 | |
5722 | $as_echo "$png_version (newer version)" >&6; } ;; | |
5723 | 1.0.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (older version)" >&5 | |
5724 | $as_echo "$png_version (older version)" >&6; } ;; | |
5725 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5 | |
5726 | $as_echo "ERROR" >&6; } ;; | |
5727 | esac | |
5728 | ||
5729 | LIBPNG_CFLAGS=`$PNG_CONFIG --cflags` | |
5730 | LIBPNG_LIBS=`$PNG_CONFIG --ldflags` | |
5731 | case $png_version in | |
5732 | 1.2.4*) LIBPNG_LIBS="$LIBPNG_LIBS `$PNG_CONFIG --libs`" ;; | |
5733 | esac | |
5734 | else | |
5735 | for ac_header in png.h libpng/png.h | |
5736 | do : | |
5737 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
5738 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
5739 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5740 | cat >>confdefs.h <<_ACEOF | |
5741 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
5742 | _ACEOF | |
5743 | png_ok=yes && break | |
5744 | else | |
5745 | png_ok=no | |
5746 | fi | |
5747 | ||
5748 | done | |
5749 | ||
5750 | ||
5751 | if test "x$png_ok" = "xyes"; then | |
5752 | old_libs="$LIBS" | |
5753 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5 | |
5754 | $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; } | |
5755 | if ${ac_cv_lib_png_png_sig_cmp+:} false; then : | |
5756 | $as_echo_n "(cached) " >&6 | |
5757 | else | |
5758 | ac_check_lib_save_LIBS=$LIBS | |
5759 | LIBS="-lpng $LIBZ_LIBS -lm $LIBS" | |
5760 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5761 | /* end confdefs.h. */ | |
5762 | ||
5763 | /* Override any GCC internal prototype to avoid an error. | |
5764 | Use char because int might match the return type of a GCC | |
5765 | builtin and then its argument prototype would still apply. */ | |
5766 | #ifdef __cplusplus | |
5767 | extern "C" | |
5768 | #endif | |
5769 | char png_sig_cmp (); | |
5770 | int | |
5771 | main () | |
5772 | { | |
5773 | return png_sig_cmp (); | |
5774 | ; | |
5775 | return 0; | |
5776 | } | |
5777 | _ACEOF | |
5778 | if ac_fn_c_try_link "$LINENO"; then : | |
5779 | ac_cv_lib_png_png_sig_cmp=yes | |
5780 | else | |
5781 | ac_cv_lib_png_png_sig_cmp=no | |
5782 | fi | |
5783 | rm -f core conftest.err conftest.$ac_objext \ | |
5784 | conftest$ac_exeext conftest.$ac_ext | |
5785 | LIBS=$ac_check_lib_save_LIBS | |
5786 | fi | |
5787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5 | |
5788 | $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; } | |
5789 | if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then : | |
5790 | png_ok=yes | |
5791 | else | |
5792 | png_ok=no | |
5793 | fi | |
5794 | ||
5795 | LIBS="$old_libs" | |
5796 | ||
5797 | if test "x$png_ok" = "xyes"; then | |
5798 | LIBPNG_LIBS="-lpng -lm" | |
5799 | fi | |
5800 | fi | |
5801 | ||
5802 | if test "x$png_ok" = "xno"; then | |
5803 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No libpng found. Disabling PNG images ***" >&5 | |
5804 | $as_echo "$as_me: WARNING: *** No libpng found. Disabling PNG images ***" >&2;} | |
5805 | fi | |
5806 | fi | |
5807 | fi | |
5808 | ||
5809 | if test "x$png_ok" = "xyes"; then | |
5810 | ||
5811 | $as_echo "#define ENABLE_PNG 1" >>confdefs.h | |
5812 | ||
5813 | fi | |
5814 | ||
5815 | if test "x$enable_gif" = "xyes"; then | |
5816 | ||
5817 | $as_echo "#define ENABLE_GIF 1" >>confdefs.h | |
5818 | ||
5819 | fi | |
5820 | ||
5821 | if test "x$enable_ssl" = "xyes"; then | |
5822 | ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" | |
5823 | if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : | |
5824 | ssl_ok=yes | |
5825 | else | |
5826 | ssl_ok=no | |
5827 | fi | |
5828 | ||
5829 | ||
5830 | ||
5831 | if test "x$ssl_ok" = "xyes"; then | |
5832 | old_libs="$LIBS" | |
5833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 | |
5834 | $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } | |
5835 | if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : | |
5836 | $as_echo_n "(cached) " >&6 | |
5837 | else | |
5838 | ac_check_lib_save_LIBS=$LIBS | |
5839 | LIBS="-lssl -lcrypto $LIBS" | |
5840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5841 | /* end confdefs.h. */ | |
5842 | ||
5843 | /* Override any GCC internal prototype to avoid an error. | |
5844 | Use char because int might match the return type of a GCC | |
5845 | builtin and then its argument prototype would still apply. */ | |
5846 | #ifdef __cplusplus | |
5847 | extern "C" | |
5848 | #endif | |
5849 | char SSL_library_init (); | |
5850 | int | |
5851 | main () | |
5852 | { | |
5853 | return SSL_library_init (); | |
5854 | ; | |
5855 | return 0; | |
5856 | } | |
5857 | _ACEOF | |
5858 | if ac_fn_c_try_link "$LINENO"; then : | |
5859 | ac_cv_lib_ssl_SSL_library_init=yes | |
5860 | else | |
5861 | ac_cv_lib_ssl_SSL_library_init=no | |
5862 | fi | |
5863 | rm -f core conftest.err conftest.$ac_objext \ | |
5864 | conftest$ac_exeext conftest.$ac_ext | |
5865 | LIBS=$ac_check_lib_save_LIBS | |
5866 | fi | |
5867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 | |
5868 | $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } | |
5869 | if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : | |
5870 | ssl_ok=yes | |
5871 | else | |
5872 | ssl_ok=no | |
5873 | fi | |
5874 | ||
5875 | LIBS="$old_libs" | |
5876 | fi | |
5877 | ||
5878 | if test "x$ssl_ok" = "xyes"; then | |
5879 | LIBSSL_LIBS="-lcrypto -lssl" | |
5880 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Enabling ssl support. THIS IS ALPHA CODE!***" >&5 | |
5881 | $as_echo "$as_me: WARNING: *** Enabling ssl support. THIS IS ALPHA CODE!***" >&2;} | |
5882 | else | |
5883 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No libssl found. Disabling ssl support.***" >&5 | |
5884 | $as_echo "$as_me: WARNING: *** No libssl found. Disabling ssl support.***" >&2;} | |
5885 | fi | |
5886 | fi | |
5887 | ||
5888 | if test "x$ssl_ok" = "xyes"; then | |
5889 | ||
5890 | $as_echo "#define ENABLE_SSL 1" >>confdefs.h | |
5891 | ||
5892 | fi | |
5893 | ||
5894 | ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" | |
5895 | if test "x$ac_cv_header_iconv_h" = xyes; then : | |
5896 | iconv_ok=yes | |
5897 | else | |
5898 | iconv_ok=no | |
5899 | fi | |
5900 | ||
5901 | ||
5902 | if test "x$iconv_ok" = "xyes"; then | |
5903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -lc" >&5 | |
5904 | $as_echo_n "checking for iconv_open in -lc... " >&6; } | |
5905 | if ${ac_cv_lib_c_iconv_open+:} false; then : | |
5906 | $as_echo_n "(cached) " >&6 | |
5907 | else | |
5908 | ac_check_lib_save_LIBS=$LIBS | |
5909 | LIBS="-lc $LIBS" | |
5910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5911 | /* end confdefs.h. */ | |
5912 | ||
5913 | /* Override any GCC internal prototype to avoid an error. | |
5914 | Use char because int might match the return type of a GCC | |
5915 | builtin and then its argument prototype would still apply. */ | |
5916 | #ifdef __cplusplus | |
5917 | extern "C" | |
5918 | #endif | |
5919 | char iconv_open (); | |
5920 | int | |
5921 | main () | |
5922 | { | |
5923 | return iconv_open (); | |
5924 | ; | |
5925 | return 0; | |
5926 | } | |
5927 | _ACEOF | |
5928 | if ac_fn_c_try_link "$LINENO"; then : | |
5929 | ac_cv_lib_c_iconv_open=yes | |
5930 | else | |
5931 | ac_cv_lib_c_iconv_open=no | |
5932 | fi | |
5933 | rm -f core conftest.err conftest.$ac_objext \ | |
5934 | conftest$ac_exeext conftest.$ac_ext | |
5935 | LIBS=$ac_check_lib_save_LIBS | |
5936 | fi | |
5937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_iconv_open" >&5 | |
5938 | $as_echo "$ac_cv_lib_c_iconv_open" >&6; } | |
5939 | if test "x$ac_cv_lib_c_iconv_open" = xyes; then : | |
5940 | LIBICONV_LIBS="" | |
5941 | else | |
5942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5 | |
5943 | $as_echo_n "checking for iconv_open in -liconv... " >&6; } | |
5944 | if ${ac_cv_lib_iconv_iconv_open+:} false; then : | |
5945 | $as_echo_n "(cached) " >&6 | |
5946 | else | |
5947 | ac_check_lib_save_LIBS=$LIBS | |
5948 | LIBS="-liconv $LIBS" | |
5949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5950 | /* end confdefs.h. */ | |
5951 | ||
5952 | /* Override any GCC internal prototype to avoid an error. | |
5953 | Use char because int might match the return type of a GCC | |
5954 | builtin and then its argument prototype would still apply. */ | |
5955 | #ifdef __cplusplus | |
5956 | extern "C" | |
5957 | #endif | |
5958 | char iconv_open (); | |
5959 | int | |
5960 | main () | |
5961 | { | |
5962 | return iconv_open (); | |
5963 | ; | |
5964 | return 0; | |
5965 | } | |
5966 | _ACEOF | |
5967 | if ac_fn_c_try_link "$LINENO"; then : | |
5968 | ac_cv_lib_iconv_iconv_open=yes | |
5969 | else | |
5970 | ac_cv_lib_iconv_iconv_open=no | |
5971 | fi | |
5972 | rm -f core conftest.err conftest.$ac_objext \ | |
5973 | conftest$ac_exeext conftest.$ac_ext | |
5974 | LIBS=$ac_check_lib_save_LIBS | |
5975 | fi | |
5976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5 | |
5977 | $as_echo "$ac_cv_lib_iconv_iconv_open" >&6; } | |
5978 | if test "x$ac_cv_lib_iconv_iconv_open" = xyes; then : | |
5979 | LIBICONV_LIBS="-liconv" | |
5980 | else | |
5981 | iconv_ok=no | |
5982 | fi | |
5983 | ||
5984 | fi | |
5985 | ||
5986 | fi | |
5987 | if test "x$iconv_ok" = "xno"; then | |
5988 | old_libs="$LIBS" | |
5989 | LIBS="$old_libs -liconv" | |
5990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5991 | /* end confdefs.h. */ | |
5992 | ||
5993 | #include <iconv.h> | |
5994 | ||
5995 | int | |
5996 | main () | |
5997 | { | |
5998 | ||
5999 | iconv_open("",""); | |
6000 | ||
6001 | ; | |
6002 | return 0; | |
6003 | } | |
6004 | _ACEOF | |
6005 | if ac_fn_c_try_compile "$LINENO"; then : | |
6006 | iconv_ok=yes | |
6007 | else | |
6008 | iconv_ok=no | |
6009 | fi | |
6010 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6011 | LIBS="$old_libs" | |
6012 | if test "x$iconv_ok" = "xyes"; then | |
6013 | LIBICONV_LIBS="-liconv" | |
6014 | fi | |
6015 | fi | |
6016 | ||
6017 | if test "x$iconv_ok" = "xno"; then | |
6018 | as_fn_error $? "libiconv must be installed!" "$LINENO" 5 | |
6019 | fi | |
6020 | ||
6021 | if test "x$iconv_ok" = "xyes"; then | |
6022 | old_libs="$LIBS" | |
6023 | LIBS="$old_libs $LIBICONV_LIBS" | |
6024 | old_cflags="$CFLAGS" | |
6025 | CFLAGS="$CFLAGS -Werror" | |
6026 | ac_ext=cpp | |
6027 | ac_cpp='$CXXCPP $CPPFLAGS' | |
6028 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
6029 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
6030 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
6031 | ||
6032 | ||
6033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6034 | /* end confdefs.h. */ | |
6035 | ||
6036 | #include <iconv.h> | |
6037 | ||
6038 | int | |
6039 | main () | |
6040 | { | |
6041 | ||
6042 | const char *inPtr; | |
6043 | char *outPtr; | |
6044 | size_t inLeft = 0, outRoom = 0; | |
6045 | iconv_t encoder = iconv_open("ASCII", "UTF-8"); | |
6046 | iconv(encoder, &inPtr, &inLeft, &outPtr, &outRoom); | |
6047 | ||
6048 | ; | |
6049 | return 0; | |
6050 | } | |
6051 | _ACEOF | |
6052 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
6053 | iconv_old=yes | |
6054 | else | |
6055 | iconv_old=no | |
6056 | fi | |
6057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6058 | ac_ext=c | |
6059 | ac_cpp='$CPP $CPPFLAGS' | |
6060 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
6061 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
6062 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
6063 | ||
6064 | LIBS="$old_libs" | |
6065 | CFLAGS="$old_cflags" | |
6066 | ||
6067 | if test "x$iconv_old" = "xyes"; then | |
6068 | ||
6069 | $as_echo "#define inbuf_t const char" >>confdefs.h | |
6070 | ||
6071 | else | |
6072 | ||
6073 | $as_echo "#define inbuf_t char" >>confdefs.h | |
6074 | ||
6075 | fi | |
6076 | fi | |
6077 | ||
6078 | if test -z "$LIBPTHREAD_LIBS"; then | |
6079 | case $target in | |
6080 | *-*-linux*|*-*-solaris*) | |
6081 | old_libs="$LIBS" | |
6082 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | |
6083 | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | |
6084 | if ${ac_cv_lib_pthread_pthread_create+:} false; then : | |
6085 | $as_echo_n "(cached) " >&6 | |
6086 | else | |
6087 | ac_check_lib_save_LIBS=$LIBS | |
6088 | LIBS="-lpthread $LIBS" | |
6089 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6090 | /* end confdefs.h. */ | |
6091 | ||
6092 | /* Override any GCC internal prototype to avoid an error. | |
6093 | Use char because int might match the return type of a GCC | |
6094 | builtin and then its argument prototype would still apply. */ | |
6095 | #ifdef __cplusplus | |
6096 | extern "C" | |
6097 | #endif | |
6098 | char pthread_create (); | |
6099 | int | |
6100 | main () | |
6101 | { | |
6102 | return pthread_create (); | |
6103 | ; | |
6104 | return 0; | |
6105 | } | |
6106 | _ACEOF | |
6107 | if ac_fn_c_try_link "$LINENO"; then : | |
6108 | ac_cv_lib_pthread_pthread_create=yes | |
6109 | else | |
6110 | ac_cv_lib_pthread_pthread_create=no | |
6111 | fi | |
6112 | rm -f core conftest.err conftest.$ac_objext \ | |
6113 | conftest$ac_exeext conftest.$ac_ext | |
6114 | LIBS=$ac_check_lib_save_LIBS | |
6115 | fi | |
6116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 | |
6117 | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | |
6118 | if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | |
6119 | LIBPTHREAD_LIBS="-lpthread" | |
6120 | fi | |
6121 | ||
6122 | LIBS="$old_libs" | |
6123 | ;; | |
6124 | ||
6125 | *-*-osf1*) | |
6126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work" >&5 | |
6127 | $as_echo_n "checking whether pthreads work... " >&6; } | |
6128 | LIBPTHREAD_LIBS="-lpthread -lexc -ldb" | |
6129 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** _Untested pthreads_ try setting LIBPTHREAD_LIBS manually if it doesn't work ***" >&5 | |
6130 | $as_echo "$as_me: WARNING: *** _Untested pthreads_ try setting LIBPTHREAD_LIBS manually if it doesn't work ***" >&2;} | |
6131 | ;; | |
6132 | ||
6133 | *-*-minix*) | |
6134 | { $as_echo "$as_me:${as_lineno-$LINENO}: Minix detected, skipping pthread detection" >&5 | |
6135 | $as_echo "$as_me: Minix detected, skipping pthread detection" >&6;} | |
6136 | ;; | |
6137 | ||
6138 | *) | |
6139 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether threads work with -pthread" >&5 | |
6140 | $as_echo_n "checking whether threads work with -pthread... " >&6; } | |
6141 | LDSAVEFLAGS=$LDFLAGS | |
6142 | LDFLAGS="$LDFLAGS -pthread" | |
6143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6144 | /* end confdefs.h. */ | |
6145 | ||
6146 | /* Override any GCC internal prototype to avoid an error. | |
6147 | Use char because int might match the return type of a GCC | |
6148 | builtin and then its argument prototype would still apply. */ | |
6149 | #ifdef __cplusplus | |
6150 | extern "C" | |
6151 | #endif | |
6152 | char pthread_create (); | |
6153 | int | |
6154 | main () | |
6155 | { | |
6156 | return pthread_create (); | |
6157 | ; | |
6158 | return 0; | |
6159 | } | |
6160 | _ACEOF | |
6161 | if ac_fn_c_try_link "$LINENO"; then : | |
6162 | pthread_ok=yes | |
6163 | else | |
6164 | pthread_ok=no | |
6165 | fi | |
6166 | rm -f core conftest.err conftest.$ac_objext \ | |
6167 | conftest$ac_exeext conftest.$ac_ext | |
6168 | LDFLAGS=$LDSAVEFLAGS | |
6169 | ||
6170 | if test "x$pthread_ok" = "xyes"; then | |
6171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
6172 | $as_echo "yes" >&6; } | |
6173 | LIBPTHREAD_LDFLAGS="-pthread" | |
6174 | else | |
6175 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no. Now we will try some libraries." >&5 | |
6176 | $as_echo "no. Now we will try some libraries." >&6; } | |
6177 | ||
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 | |
6179 | $as_echo_n "checking for library containing pthread_create... " >&6; } | |
6180 | if ${ac_cv_search_pthread_create+:} false; then : | |
6181 | $as_echo_n "(cached) " >&6 | |
6182 | else | |
6183 | ac_func_search_save_LIBS=$LIBS | |
6184 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6185 | /* end confdefs.h. */ | |
6186 | ||
6187 | /* Override any GCC internal prototype to avoid an error. | |
6188 | Use char because int might match the return type of a GCC | |
6189 | builtin and then its argument prototype would still apply. */ | |
6190 | #ifdef __cplusplus | |
6191 | extern "C" | |
6192 | #endif | |
6193 | char pthread_create (); | |
6194 | int | |
6195 | main () | |
6196 | { | |
6197 | return pthread_create (); | |
6198 | ; | |
6199 | return 0; | |
6200 | } | |
6201 | _ACEOF | |
6202 | for ac_lib in '' pthread; do | |
6203 | if test -z "$ac_lib"; then | |
6204 | ac_res="none required" | |
6205 | else | |
6206 | ac_res=-l$ac_lib | |
6207 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
6208 | fi | |
6209 | if ac_fn_c_try_link "$LINENO"; then : | |
6210 | ac_cv_search_pthread_create=$ac_res | |
6211 | fi | |
6212 | rm -f core conftest.err conftest.$ac_objext \ | |
6213 | conftest$ac_exeext | |
6214 | if ${ac_cv_search_pthread_create+:} false; then : | |
6215 | break | |
6216 | fi | |
6217 | done | |
6218 | if ${ac_cv_search_pthread_create+:} false; then : | |
6219 | ||
6220 | else | |
6221 | ac_cv_search_pthread_create=no | |
6222 | fi | |
6223 | rm conftest.$ac_ext | |
6224 | LIBS=$ac_func_search_save_LIBS | |
6225 | fi | |
6226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 | |
6227 | $as_echo "$ac_cv_search_pthread_create" >&6; } | |
6228 | ac_res=$ac_cv_search_pthread_create | |
6229 | if test "$ac_res" != no; then : | |
6230 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
6231 | LIBPTHREADS_LIBS="-lpthread" | |
6232 | else | |
6233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 | |
6234 | $as_echo_n "checking for library containing pthread_create... " >&6; } | |
6235 | if ${ac_cv_search_pthread_create+:} false; then : | |
6236 | $as_echo_n "(cached) " >&6 | |
6237 | else | |
6238 | ac_func_search_save_LIBS=$LIBS | |
6239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6240 | /* end confdefs.h. */ | |
6241 | ||
6242 | /* Override any GCC internal prototype to avoid an error. | |
6243 | Use char because int might match the return type of a GCC | |
6244 | builtin and then its argument prototype would still apply. */ | |
6245 | #ifdef __cplusplus | |
6246 | extern "C" | |
6247 | #endif | |
6248 | char pthread_create (); | |
6249 | int | |
6250 | main () | |
6251 | { | |
6252 | return pthread_create (); | |
6253 | ; | |
6254 | return 0; | |
6255 | } | |
6256 | _ACEOF | |
6257 | for ac_lib in '' pthreads; do | |
6258 | if test -z "$ac_lib"; then | |
6259 | ac_res="none required" | |
6260 | else | |
6261 | ac_res=-l$ac_lib | |
6262 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
6263 | fi | |
6264 | if ac_fn_c_try_link "$LINENO"; then : | |
6265 | ac_cv_search_pthread_create=$ac_res | |
6266 | fi | |
6267 | rm -f core conftest.err conftest.$ac_objext \ | |
6268 | conftest$ac_exeext | |
6269 | if ${ac_cv_search_pthread_create+:} false; then : | |
6270 | break | |
6271 | fi | |
6272 | done | |
6273 | if ${ac_cv_search_pthread_create+:} false; then : | |
6274 | ||
6275 | else | |
6276 | ac_cv_search_pthread_create=no | |
6277 | fi | |
6278 | rm conftest.$ac_ext | |
6279 | LIBS=$ac_func_search_save_LIBS | |
6280 | fi | |
6281 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 | |
6282 | $as_echo "$ac_cv_search_pthread_create" >&6; } | |
6283 | ac_res=$ac_cv_search_pthread_create | |
6284 | if test "$ac_res" != no; then : | |
6285 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
6286 | LIBPTHREADS_LIBS="-lpthreads" | |
6287 | else | |
6288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 | |
6289 | $as_echo_n "checking for library containing pthread_create... " >&6; } | |
6290 | if ${ac_cv_search_pthread_create+:} false; then : | |
6291 | $as_echo_n "(cached) " >&6 | |
6292 | else | |
6293 | ac_func_search_save_LIBS=$LIBS | |
6294 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6295 | /* end confdefs.h. */ | |
6296 | ||
6297 | /* Override any GCC internal prototype to avoid an error. | |
6298 | Use char because int might match the return type of a GCC | |
6299 | builtin and then its argument prototype would still apply. */ | |
6300 | #ifdef __cplusplus | |
6301 | extern "C" | |
6302 | #endif | |
6303 | char pthread_create (); | |
6304 | int | |
6305 | main () | |
6306 | { | |
6307 | return pthread_create (); | |
6308 | ; | |
6309 | return 0; | |
6310 | } | |
6311 | _ACEOF | |
6312 | for ac_lib in '' c_r; do | |
6313 | if test -z "$ac_lib"; then | |
6314 | ac_res="none required" | |
6315 | else | |
6316 | ac_res=-l$ac_lib | |
6317 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
6318 | fi | |
6319 | if ac_fn_c_try_link "$LINENO"; then : | |
6320 | ac_cv_search_pthread_create=$ac_res | |
6321 | fi | |
6322 | rm -f core conftest.err conftest.$ac_objext \ | |
6323 | conftest$ac_exeext | |
6324 | if ${ac_cv_search_pthread_create+:} false; then : | |
6325 | break | |
6326 | fi | |
6327 | done | |
6328 | if ${ac_cv_search_pthread_create+:} false; then : | |
6329 | ||
6330 | else | |
6331 | ac_cv_search_pthread_create=no | |
6332 | fi | |
6333 | rm conftest.$ac_ext | |
6334 | LIBS=$ac_func_search_save_LIBS | |
6335 | fi | |
6336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 | |
6337 | $as_echo "$ac_cv_search_pthread_create" >&6; } | |
6338 | ac_res=$ac_cv_search_pthread_create | |
6339 | if test "$ac_res" != no; then : | |
6340 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
6341 | LIBPTHREADS_LIBS="-lc_r" | |
6342 | else | |
6343 | thread_ok=no | |
6344 | fi | |
6345 | ||
6346 | fi | |
6347 | ||
6348 | fi | |
6349 | ||
6350 | ||
6351 | if test "x$thread_ok" = "xno"; then | |
6352 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No pthreads found. ***" >&5 | |
6353 | $as_echo "$as_me: WARNING: *** No pthreads found. ***" >&2;} | |
6354 | as_fn_error $? "*** Try setting LIBPTHREAD_LIBS manually to point to your pthreads library. ***" "$LINENO" 5 | |
6355 | exit 1 | |
6356 | else | |
6357 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found a way to link threads, but it may not work..." >&5 | |
6358 | $as_echo "$as_me: WARNING: found a way to link threads, but it may not work..." >&2;} | |
6359 | fi | |
6360 | fi | |
6361 | ;; | |
6362 | ||
6363 | esac | |
6364 | fi | |
6365 | ||
6366 | if test "x$enable_cookies" = "xno" ; then | |
6367 | CFLAGS="$CFLAGS -DDISABLE_COOKIES" | |
6368 | CXXFLAGS="$CXXFLAGS -DDISABLE_COOKIES" | |
6369 | fi | |
6370 | if test "x$enable_ipv6" = "xyes" ; then | |
6371 | CFLAGS="$CFLAGS -DENABLE_IPV6" | |
6372 | fi | |
6373 | if test "x$enable_efence" = "xyes" ; then | |
6374 | LIBS="-lefence $LIBS" | |
6375 | fi | |
6376 | if test "x$enable_gprof" = "xyes" ; then | |
6377 | CFLAGS="$CFLAGS -pg" | |
6378 | CXXFLAGS="$CXXFLAGS -pg" | |
6379 | fi | |
6380 | if test "x$enable_insure" = "xyes" ; then | |
6381 | CC="insure -Zoi \"compiler $CC\"" | |
6382 | LIBS="$LIBS -lstdc++-2-libc6.1-1-2.9.0" | |
6383 | fi | |
6384 | if test "x$enable_threaded_dns" = "xyes" ; then | |
6385 | CFLAGS="$CFLAGS -DD_DNS_THREADED" | |
6386 | fi | |
6387 | if test "x$enable_rtfl" = "xyes" ; then | |
6388 | CXXFLAGS="$CXXFLAGS -DDBG_RTFL" | |
6389 | fi | |
6390 | ||
6391 | for ac_header in fcntl.h unistd.h sys/uio.h | |
6392 | do : | |
6393 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
6394 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
6395 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
6396 | cat >>confdefs.h <<_ACEOF | |
6397 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
6398 | _ACEOF | |
6399 | ||
6400 | fi | |
6401 | ||
6402 | done | |
6403 | ||
6404 | ||
6405 | if eval "test x$GCC = xyes"; then | |
6406 | if test "`echo $CFLAGS | grep '\-D_REENTRANT' 2> /dev/null`" = ""; then | |
6407 | CFLAGS="$CFLAGS -D_REENTRANT" | |
6408 | fi | |
6409 | if test "`echo $CFLAGS | grep '\-D_THREAD_SAFE' 2> /dev/null`" = ""; then | |
6410 | CFLAGS="$CFLAGS -D_THREAD_SAFE" | |
6411 | fi | |
6412 | if test "`echo $CFLAGS | grep '\-Wall' 2> /dev/null`" = ""; then | |
6413 | CFLAGS="$CFLAGS -Wall" | |
6414 | fi | |
6415 | if test "`echo $CFLAGS | grep -e '-W ' -e '-W$' 2> /dev/null`" = ""; then | |
6416 | CFLAGS="$CFLAGS -W" | |
6417 | fi | |
6418 | if test "`echo $CFLAGS | grep '\-Wno-unused-parameter' 2> /dev/null`" = ""; then | |
6419 | CFLAGS="$CFLAGS -Wno-unused-parameter" | |
6420 | fi | |
6421 | if test "`echo $CFLAGS | grep '\-Waggregate-return' 2> /dev/null`" = ""; then | |
6422 | CFLAGS="$CFLAGS -Waggregate-return" | |
6423 | fi | |
6424 | fi | |
6425 | ||
6426 | if eval "test x$GCC = xyes"; then | |
6427 | CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions" | |
6428 | fi | |
6429 | ||
6430 | ||
6431 | ||
6432 | ||
6433 | ||
6434 | ||
6435 | ||
6436 | ||
6437 | ||
6438 | ||
6439 | ||
6440 | ||
6441 | ||
6442 | ||
6443 | ||
6444 | ||
6445 | ac_config_files="$ac_config_files Makefile dlib/Makefile dpip/Makefile dpid/Makefile dpi/Makefile doc/Makefile dw/Makefile lout/Makefile src/Makefile src/IO/Makefile test/Makefile" | |
6446 | ||
6447 | ||
6448 | cat >confcache <<\_ACEOF | |
6449 | # This file is a shell script that caches the results of configure | |
6450 | # tests run on this system so they can be shared between configure | |
6451 | # scripts and configure runs, see configure's option --config-cache. | |
6452 | # It is not useful on other systems. If it contains results you don't | |
6453 | # want to keep, you may remove or edit it. | |
6454 | # | |
6455 | # config.status only pays attention to the cache file if you give it | |
6456 | # the --recheck option to rerun configure. | |
6457 | # | |
6458 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
6459 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
6460 | # following values. | |
6461 | ||
6462 | _ACEOF | |
6463 | ||
6464 | # The following way of writing the cache mishandles newlines in values, | |
6465 | # but we know of no workaround that is simple, portable, and efficient. | |
6466 | # So, we kill variables containing newlines. | |
6467 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
6468 | # and sets the high bit in the cache file unless we assign to the vars. | |
6469 | ( | |
6470 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
6471 | eval ac_val=\$$ac_var | |
6472 | case $ac_val in #( | |
6473 | *${as_nl}*) | |
6474 | case $ac_var in #( | |
6475 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
6476 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
6477 | esac | |
6478 | case $ac_var in #( | |
6479 | _ | IFS | as_nl) ;; #( | |
6480 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
6481 | *) { eval $ac_var=; unset $ac_var;} ;; | |
6482 | esac ;; | |
6483 | esac | |
6484 | done | |
6485 | ||
6486 | (set) 2>&1 | | |
6487 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
6488 | *${as_nl}ac_space=\ *) | |
6489 | # `set' does not quote correctly, so add quotes: double-quote | |
6490 | # substitution turns \\\\ into \\, and sed turns \\ into \. | |
6491 | sed -n \ | |
6492 | "s/'/'\\\\''/g; | |
6493 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
6494 | ;; #( | |
6495 | *) | |
6496 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
6497 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
6498 | ;; | |
6499 | esac | | |
6500 | sort | |
6501 | ) | | |
6502 | sed ' | |
6503 | /^ac_cv_env_/b end | |
6504 | t clear | |
6505 | :clear | |
6506 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
6507 | t end | |
6508 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
6509 | :end' >>confcache | |
6510 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
6511 | if test -w "$cache_file"; then | |
6512 | if test "x$cache_file" != "x/dev/null"; then | |
6513 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
6514 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
6515 | if test ! -f "$cache_file" || test -h "$cache_file"; then | |
6516 | cat confcache >"$cache_file" | |
6517 | else | |
6518 | case $cache_file in #( | |
6519 | */* | ?:*) | |
6520 | mv -f confcache "$cache_file"$$ && | |
6521 | mv -f "$cache_file"$$ "$cache_file" ;; #( | |
6522 | *) | |
6523 | mv -f confcache "$cache_file" ;; | |
6524 | esac | |
6525 | fi | |
6526 | fi | |
6527 | else | |
6528 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
6529 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
6530 | fi | |
6531 | fi | |
6532 | rm -f confcache | |
6533 | ||
6534 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
6535 | # Let make expand exec_prefix. | |
6536 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
6537 | ||
6538 | DEFS=-DHAVE_CONFIG_H | |
6539 | ||
6540 | ac_libobjs= | |
6541 | ac_ltlibobjs= | |
6542 | U= | |
6543 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
6544 | # 1. Remove the extension, and $U if already installed. | |
6545 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
6546 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
6547 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
6548 | # will be set to the directory where LIBOBJS objects are built. | |
6549 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
6550 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
6551 | done | |
6552 | LIBOBJS=$ac_libobjs | |
6553 | ||
6554 | LTLIBOBJS=$ac_ltlibobjs | |
6555 | ||
6556 | ||
6557 | if test -n "$EXEEXT"; then | |
6558 | am__EXEEXT_TRUE= | |
6559 | am__EXEEXT_FALSE='#' | |
6560 | else | |
6561 | am__EXEEXT_TRUE='#' | |
6562 | am__EXEEXT_FALSE= | |
6563 | fi | |
6564 | ||
6565 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
6566 | as_fn_error $? "conditional \"AMDEP\" was never defined. | |
6567 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
6568 | fi | |
6569 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
6570 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
6571 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
6572 | fi | |
6573 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | |
6574 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. | |
6575 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
6576 | fi | |
6577 | ||
6578 | : "${CONFIG_STATUS=./config.status}" | |
6579 | ac_write_fail=0 | |
6580 | ac_clean_files_save=$ac_clean_files | |
6581 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
6582 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
6583 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
6584 | as_write_fail=0 | |
6585 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
6586 | #! $SHELL | |
6587 | # Generated by $as_me. | |
6588 | # Run this file to recreate the current configuration. | |
6589 | # Compiler output produced by configure, useful for debugging | |
6590 | # configure, is in config.log if it exists. | |
6591 | ||
6592 | debug=false | |
6593 | ac_cs_recheck=false | |
6594 | ac_cs_silent=false | |
6595 | ||
6596 | SHELL=\${CONFIG_SHELL-$SHELL} | |
6597 | export SHELL | |
6598 | _ASEOF | |
6599 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
6600 | ## -------------------- ## | |
6601 | ## M4sh Initialization. ## | |
6602 | ## -------------------- ## | |
6603 | ||
6604 | # Be more Bourne compatible | |
6605 | DUALCASE=1; export DUALCASE # for MKS sh | |
6606 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
6607 | emulate sh | |
6608 | NULLCMD=: | |
6609 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
6610 | # is contrary to our usage. Disable this feature. | |
6611 | alias -g '${1+"$@"}'='"$@"' | |
6612 | setopt NO_GLOB_SUBST | |
6613 | else | |
6614 | case `(set -o) 2>/dev/null` in #( | |
6615 | *posix*) : | |
6616 | set -o posix ;; #( | |
6617 | *) : | |
6618 | ;; | |
6619 | esac | |
6620 | fi | |
6621 | ||
6622 | ||
6623 | as_nl=' | |
6624 | ' | |
6625 | export as_nl | |
6626 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
6627 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
6628 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
6629 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
6630 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
6631 | # but without wasting forks for bash or zsh. | |
6632 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
6633 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
6634 | as_echo='print -r --' | |
6635 | as_echo_n='print -rn --' | |
6636 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
6637 | as_echo='printf %s\n' | |
6638 | as_echo_n='printf %s' | |
6639 | else | |
6640 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
6641 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
6642 | as_echo_n='/usr/ucb/echo -n' | |
6643 | else | |
6644 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
6645 | as_echo_n_body='eval | |
6646 | arg=$1; | |
6647 | case $arg in #( | |
6648 | *"$as_nl"*) | |
6649 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
6650 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
6651 | esac; | |
6652 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
6653 | ' | |
6654 | export as_echo_n_body | |
6655 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
6656 | fi | |
6657 | export as_echo_body | |
6658 | as_echo='sh -c $as_echo_body as_echo' | |
6659 | fi | |
6660 | ||
6661 | # The user is always right. | |
6662 | if test "${PATH_SEPARATOR+set}" != set; then | |
6663 | PATH_SEPARATOR=: | |
6664 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
6665 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
6666 | PATH_SEPARATOR=';' | |
6667 | } | |
6668 | fi | |
6669 | ||
6670 | ||
6671 | # IFS | |
6672 | # We need space, tab and new line, in precisely that order. Quoting is | |
6673 | # there to prevent editors from complaining about space-tab. | |
6674 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
6675 | # splitting by setting IFS to empty value.) | |
6676 | IFS=" "" $as_nl" | |
6677 | ||
6678 | # Find who we are. Look in the path if we contain no directory separator. | |
6679 | as_myself= | |
6680 | case $0 in #(( | |
6681 | *[\\/]* ) as_myself=$0 ;; | |
6682 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6683 | for as_dir in $PATH | |
6684 | do | |
6685 | IFS=$as_save_IFS | |
6686 | test -z "$as_dir" && as_dir=. | |
6687 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
6688 | done | |
6689 | IFS=$as_save_IFS | |
6690 | ||
6691 | ;; | |
6692 | esac | |
6693 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
6694 | # in which case we are not to be found in the path. | |
6695 | if test "x$as_myself" = x; then | |
6696 | as_myself=$0 | |
6697 | fi | |
6698 | if test ! -f "$as_myself"; then | |
6699 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
6700 | exit 1 | |
6701 | fi | |
6702 | ||
6703 | # Unset variables that we do not need and which cause bugs (e.g. in | |
6704 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
6705 | # suppresses any "Segmentation fault" message there. '((' could | |
6706 | # trigger a bug in pdksh 5.2.14. | |
6707 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
6708 | do eval test x\${$as_var+set} = xset \ | |
6709 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
6710 | done | |
6711 | PS1='$ ' | |
6712 | PS2='> ' | |
6713 | PS4='+ ' | |
6714 | ||
6715 | # NLS nuisances. | |
6716 | LC_ALL=C | |
6717 | export LC_ALL | |
6718 | LANGUAGE=C | |
6719 | export LANGUAGE | |
6720 | ||
6721 | # CDPATH. | |
6722 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
6723 | ||
6724 | ||
6725 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
6726 | # ---------------------------------------- | |
6727 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
6728 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
6729 | # script with STATUS, using 1 if that was 0. | |
6730 | as_fn_error () | |
6731 | { | |
6732 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
6733 | if test "$4"; then | |
6734 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
6735 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
6736 | fi | |
6737 | $as_echo "$as_me: error: $2" >&2 | |
6738 | as_fn_exit $as_status | |
6739 | } # as_fn_error | |
6740 | ||
6741 | ||
6742 | # as_fn_set_status STATUS | |
6743 | # ----------------------- | |
6744 | # Set $? to STATUS, without forking. | |
6745 | as_fn_set_status () | |
6746 | { | |
6747 | return $1 | |
6748 | } # as_fn_set_status | |
6749 | ||
6750 | # as_fn_exit STATUS | |
6751 | # ----------------- | |
6752 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
6753 | as_fn_exit () | |
6754 | { | |
6755 | set +e | |
6756 | as_fn_set_status $1 | |
6757 | exit $1 | |
6758 | } # as_fn_exit | |
6759 | ||
6760 | # as_fn_unset VAR | |
6761 | # --------------- | |
6762 | # Portably unset VAR. | |
6763 | as_fn_unset () | |
6764 | { | |
6765 | { eval $1=; unset $1;} | |
6766 | } | |
6767 | as_unset=as_fn_unset | |
6768 | # as_fn_append VAR VALUE | |
6769 | # ---------------------- | |
6770 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
6771 | # advantage of any shell optimizations that allow amortized linear growth over | |
6772 | # repeated appends, instead of the typical quadratic growth present in naive | |
6773 | # implementations. | |
6774 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
6775 | eval 'as_fn_append () | |
6776 | { | |
6777 | eval $1+=\$2 | |
6778 | }' | |
6779 | else | |
6780 | as_fn_append () | |
6781 | { | |
6782 | eval $1=\$$1\$2 | |
6783 | } | |
6784 | fi # as_fn_append | |
6785 | ||
6786 | # as_fn_arith ARG... | |
6787 | # ------------------ | |
6788 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
6789 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
6790 | # must be portable across $(()) and expr. | |
6791 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
6792 | eval 'as_fn_arith () | |
6793 | { | |
6794 | as_val=$(( $* )) | |
6795 | }' | |
6796 | else | |
6797 | as_fn_arith () | |
6798 | { | |
6799 | as_val=`expr "$@" || test $? -eq 1` | |
6800 | } | |
6801 | fi # as_fn_arith | |
6802 | ||
6803 | ||
6804 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
6805 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
6806 | as_expr=expr | |
6807 | else | |
6808 | as_expr=false | |
6809 | fi | |
6810 | ||
6811 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
6812 | as_basename=basename | |
6813 | else | |
6814 | as_basename=false | |
6815 | fi | |
6816 | ||
6817 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
6818 | as_dirname=dirname | |
6819 | else | |
6820 | as_dirname=false | |
6821 | fi | |
6822 | ||
6823 | as_me=`$as_basename -- "$0" || | |
6824 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
6825 | X"$0" : 'X\(//\)$' \| \ | |
6826 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
6827 | $as_echo X/"$0" | | |
6828 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
6829 | s//\1/ | |
6830 | q | |
6831 | } | |
6832 | /^X\/\(\/\/\)$/{ | |
6833 | s//\1/ | |
6834 | q | |
6835 | } | |
6836 | /^X\/\(\/\).*/{ | |
6837 | s//\1/ | |
6838 | q | |
6839 | } | |
6840 | s/.*/./; q'` | |
6841 | ||
6842 | # Avoid depending upon Character Ranges. | |
6843 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
6844 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
6845 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
6846 | as_cr_digits='0123456789' | |
6847 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
6848 | ||
6849 | ECHO_C= ECHO_N= ECHO_T= | |
6850 | case `echo -n x` in #((((( | |
6851 | -n*) | |
6852 | case `echo 'xy\c'` in | |
6853 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
6854 | xy) ECHO_C='\c';; | |
6855 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
6856 | ECHO_T=' ';; | |
6857 | esac;; | |
6858 | *) | |
6859 | ECHO_N='-n';; | |
6860 | esac | |
6861 | ||
6862 | rm -f conf$$ conf$$.exe conf$$.file | |
6863 | if test -d conf$$.dir; then | |
6864 | rm -f conf$$.dir/conf$$.file | |
6865 | else | |
6866 | rm -f conf$$.dir | |
6867 | mkdir conf$$.dir 2>/dev/null | |
6868 | fi | |
6869 | if (echo >conf$$.file) 2>/dev/null; then | |
6870 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
6871 | as_ln_s='ln -s' | |
6872 | # ... but there are two gotchas: | |
6873 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
6874 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
6875 | # In both cases, we have to default to `cp -p'. | |
6876 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
6877 | as_ln_s='cp -p' | |
6878 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
6879 | as_ln_s=ln | |
6880 | else | |
6881 | as_ln_s='cp -p' | |
6882 | fi | |
6883 | else | |
6884 | as_ln_s='cp -p' | |
6885 | fi | |
6886 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
6887 | rmdir conf$$.dir 2>/dev/null | |
6888 | ||
6889 | ||
6890 | # as_fn_mkdir_p | |
6891 | # ------------- | |
6892 | # Create "$as_dir" as a directory, including parents if necessary. | |
6893 | as_fn_mkdir_p () | |
6894 | { | |
6895 | ||
6896 | case $as_dir in #( | |
6897 | -*) as_dir=./$as_dir;; | |
6898 | esac | |
6899 | test -d "$as_dir" || eval $as_mkdir_p || { | |
6900 | as_dirs= | |
6901 | while :; do | |
6902 | case $as_dir in #( | |
6903 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
6904 | *) as_qdir=$as_dir;; | |
6905 | esac | |
6906 | as_dirs="'$as_qdir' $as_dirs" | |
6907 | as_dir=`$as_dirname -- "$as_dir" || | |
6908 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6909 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
6910 | X"$as_dir" : 'X\(//\)$' \| \ | |
6911 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
6912 | $as_echo X"$as_dir" | | |
6913 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6914 | s//\1/ | |
6915 | q | |
6916 | } | |
6917 | /^X\(\/\/\)[^/].*/{ | |
6918 | s//\1/ | |
6919 | q | |
6920 | } | |
6921 | /^X\(\/\/\)$/{ | |
6922 | s//\1/ | |
6923 | q | |
6924 | } | |
6925 | /^X\(\/\).*/{ | |
6926 | s//\1/ | |
6927 | q | |
6928 | } | |
6929 | s/.*/./; q'` | |
6930 | test -d "$as_dir" && break | |
6931 | done | |
6932 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
6933 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
6934 | ||
6935 | ||
6936 | } # as_fn_mkdir_p | |
6937 | if mkdir -p . 2>/dev/null; then | |
6938 | as_mkdir_p='mkdir -p "$as_dir"' | |
6939 | else | |
6940 | test -d ./-p && rmdir ./-p | |
6941 | as_mkdir_p=false | |
6942 | fi | |
6943 | ||
6944 | if test -x / >/dev/null 2>&1; then | |
6945 | as_test_x='test -x' | |
6946 | else | |
6947 | if ls -dL / >/dev/null 2>&1; then | |
6948 | as_ls_L_option=L | |
6949 | else | |
6950 | as_ls_L_option= | |
6951 | fi | |
6952 | as_test_x=' | |
6953 | eval sh -c '\'' | |
6954 | if test -d "$1"; then | |
6955 | test -d "$1/."; | |
6956 | else | |
6957 | case $1 in #( | |
6958 | -*)set "./$1";; | |
6959 | esac; | |
6960 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
6961 | ???[sx]*):;;*)false;;esac;fi | |
6962 | '\'' sh | |
6963 | ' | |
6964 | fi | |
6965 | as_executable_p=$as_test_x | |
6966 | ||
6967 | # Sed expression to map a string onto a valid CPP name. | |
6968 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
6969 | ||
6970 | # Sed expression to map a string onto a valid variable name. | |
6971 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
6972 | ||
6973 | ||
6974 | exec 6>&1 | |
6975 | ## ----------------------------------- ## | |
6976 | ## Main body of $CONFIG_STATUS script. ## | |
6977 | ## ----------------------------------- ## | |
6978 | _ASEOF | |
6979 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
6980 | ||
6981 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6982 | # Save the log message, to keep $0 and so on meaningful, and to | |
6983 | # report actual input values of CONFIG_FILES etc. instead of their | |
6984 | # values after options handling. | |
6985 | ac_log=" | |
6986 | This file was extended by dillo $as_me 3.0-pre, which was | |
6987 | generated by GNU Autoconf 2.68. Invocation command line was | |
6988 | ||
6989 | CONFIG_FILES = $CONFIG_FILES | |
6990 | CONFIG_HEADERS = $CONFIG_HEADERS | |
6991 | CONFIG_LINKS = $CONFIG_LINKS | |
6992 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
6993 | $ $0 $@ | |
6994 | ||
6995 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
6996 | " | |
6997 | ||
6998 | _ACEOF | |
6999 | ||
7000 | case $ac_config_files in *" | |
7001 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
7002 | esac | |
7003 | ||
7004 | case $ac_config_headers in *" | |
7005 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
7006 | esac | |
7007 | ||
7008 | ||
7009 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7010 | # Files that config.status was made for. | |
7011 | config_files="$ac_config_files" | |
7012 | config_headers="$ac_config_headers" | |
7013 | config_commands="$ac_config_commands" | |
7014 | ||
7015 | _ACEOF | |
7016 | ||
7017 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7018 | ac_cs_usage="\ | |
7019 | \`$as_me' instantiates files and other configuration actions | |
7020 | from templates according to the current configuration. Unless the files | |
7021 | and actions are specified as TAGs, all are instantiated by default. | |
7022 | ||
7023 | Usage: $0 [OPTION]... [TAG]... | |
7024 | ||
7025 | -h, --help print this help, then exit | |
7026 | -V, --version print version number and configuration settings, then exit | |
7027 | --config print configuration, then exit | |
7028 | -q, --quiet, --silent | |
7029 | do not print progress messages | |
7030 | -d, --debug don't remove temporary files | |
7031 | --recheck update $as_me by reconfiguring in the same conditions | |
7032 | --file=FILE[:TEMPLATE] | |
7033 | instantiate the configuration file FILE | |
7034 | --header=FILE[:TEMPLATE] | |
7035 | instantiate the configuration header FILE | |
7036 | ||
7037 | Configuration files: | |
7038 | $config_files | |
7039 | ||
7040 | Configuration headers: | |
7041 | $config_headers | |
7042 | ||
7043 | Configuration commands: | |
7044 | $config_commands | |
7045 | ||
7046 | Report bugs to the package provider." | |
7047 | ||
7048 | _ACEOF | |
7049 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7050 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
7051 | ac_cs_version="\\ | |
7052 | dillo config.status 3.0-pre | |
7053 | configured by $0, generated by GNU Autoconf 2.68, | |
7054 | with options \\"\$ac_cs_config\\" | |
7055 | ||
7056 | Copyright (C) 2010 Free Software Foundation, Inc. | |
7057 | This config.status script is free software; the Free Software Foundation | |
7058 | gives unlimited permission to copy, distribute and modify it." | |
7059 | ||
7060 | ac_pwd='$ac_pwd' | |
7061 | srcdir='$srcdir' | |
7062 | INSTALL='$INSTALL' | |
7063 | MKDIR_P='$MKDIR_P' | |
7064 | AWK='$AWK' | |
7065 | test -n "\$AWK" || AWK=awk | |
7066 | _ACEOF | |
7067 | ||
7068 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7069 | # The default lists apply if the user does not specify any file. | |
7070 | ac_need_defaults=: | |
7071 | while test $# != 0 | |
7072 | do | |
7073 | case $1 in | |
7074 | --*=?*) | |
7075 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7076 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
7077 | ac_shift=: | |
7078 | ;; | |
7079 | --*=) | |
7080 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7081 | ac_optarg= | |
7082 | ac_shift=: | |
7083 | ;; | |
7084 | *) | |
7085 | ac_option=$1 | |
7086 | ac_optarg=$2 | |
7087 | ac_shift=shift | |
7088 | ;; | |
7089 | esac | |
7090 | ||
7091 | case $ac_option in | |
7092 | # Handling of the options. | |
7093 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
7094 | ac_cs_recheck=: ;; | |
7095 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
7096 | $as_echo "$ac_cs_version"; exit ;; | |
7097 | --config | --confi | --conf | --con | --co | --c ) | |
7098 | $as_echo "$ac_cs_config"; exit ;; | |
7099 | --debug | --debu | --deb | --de | --d | -d ) | |
7100 | debug=: ;; | |
7101 | --file | --fil | --fi | --f ) | |
7102 | $ac_shift | |
7103 | case $ac_optarg in | |
7104 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
7105 | '') as_fn_error $? "missing file argument" ;; | |
7106 | esac | |
7107 | as_fn_append CONFIG_FILES " '$ac_optarg'" | |
7108 | ac_need_defaults=false;; | |
7109 | --header | --heade | --head | --hea ) | |
7110 | $ac_shift | |
7111 | case $ac_optarg in | |
7112 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
7113 | esac | |
7114 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
7115 | ac_need_defaults=false;; | |
7116 | --he | --h) | |
7117 | # Conflict between --help and --header | |
7118 | as_fn_error $? "ambiguous option: \`$1' | |
7119 | Try \`$0 --help' for more information.";; | |
7120 | --help | --hel | -h ) | |
7121 | $as_echo "$ac_cs_usage"; exit ;; | |
7122 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
7123 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
7124 | ac_cs_silent=: ;; | |
7125 | ||
7126 | # This is an error. | |
7127 | -*) as_fn_error $? "unrecognized option: \`$1' | |
7128 | Try \`$0 --help' for more information." ;; | |
7129 | ||
7130 | *) as_fn_append ac_config_targets " $1" | |
7131 | ac_need_defaults=false ;; | |
7132 | ||
7133 | esac | |
7134 | shift | |
7135 | done | |
7136 | ||
7137 | ac_configure_extra_args= | |
7138 | ||
7139 | if $ac_cs_silent; then | |
7140 | exec 6>/dev/null | |
7141 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
7142 | fi | |
7143 | ||
7144 | _ACEOF | |
7145 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7146 | if \$ac_cs_recheck; then | |
7147 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7148 | shift | |
7149 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
7150 | CONFIG_SHELL='$SHELL' | |
7151 | export CONFIG_SHELL | |
7152 | exec "\$@" | |
7153 | fi | |
7154 | ||
7155 | _ACEOF | |
7156 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7157 | exec 5>>config.log | |
7158 | { | |
7159 | echo | |
7160 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
7161 | ## Running $as_me. ## | |
7162 | _ASBOX | |
7163 | $as_echo "$ac_log" | |
7164 | } >&5 | |
7165 | ||
7166 | _ACEOF | |
7167 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7168 | # | |
7169 | # INIT-COMMANDS | |
7170 | # | |
7171 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
7172 | ||
7173 | _ACEOF | |
7174 | ||
7175 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7176 | ||
7177 | # Handling of arguments. | |
7178 | for ac_config_target in $ac_config_targets | |
7179 | do | |
7180 | case $ac_config_target in | |
7181 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
7182 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
7183 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
7184 | "dlib/Makefile") CONFIG_FILES="$CONFIG_FILES dlib/Makefile" ;; | |
7185 | "dpip/Makefile") CONFIG_FILES="$CONFIG_FILES dpip/Makefile" ;; | |
7186 | "dpid/Makefile") CONFIG_FILES="$CONFIG_FILES dpid/Makefile" ;; | |
7187 | "dpi/Makefile") CONFIG_FILES="$CONFIG_FILES dpi/Makefile" ;; | |
7188 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |
7189 | "dw/Makefile") CONFIG_FILES="$CONFIG_FILES dw/Makefile" ;; | |
7190 | "lout/Makefile") CONFIG_FILES="$CONFIG_FILES lout/Makefile" ;; | |
7191 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
7192 | "src/IO/Makefile") CONFIG_FILES="$CONFIG_FILES src/IO/Makefile" ;; | |
7193 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; | |
7194 | ||
7195 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
7196 | esac | |
7197 | done | |
7198 | ||
7199 | ||
7200 | # If the user did not use the arguments to specify the items to instantiate, | |
7201 | # then the envvar interface is used. Set only those that are not. | |
7202 | # We use the long form for the default assignment because of an extremely | |
7203 | # bizarre bug on SunOS 4.1.3. | |
7204 | if $ac_need_defaults; then | |
7205 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
7206 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
7207 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
7208 | fi | |
7209 | ||
7210 | # Have a temporary directory for convenience. Make it in the build tree | |
7211 | # simply because there is no reason against having it here, and in addition, | |
7212 | # creating and moving files from /tmp can sometimes cause problems. | |
7213 | # Hook for its removal unless debugging. | |
7214 | # Note that there is a small window in which the directory will not be cleaned: | |
7215 | # after its creation but before its name has been assigned to `$tmp'. | |
7216 | $debug || | |
7217 | { | |
7218 | tmp= ac_tmp= | |
7219 | trap 'exit_status=$? | |
7220 | : "${ac_tmp:=$tmp}" | |
7221 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
7222 | ' 0 | |
7223 | trap 'as_fn_exit 1' 1 2 13 15 | |
7224 | } | |
7225 | # Create a (secure) tmp directory for tmp files. | |
7226 | ||
7227 | { | |
7228 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
7229 | test -d "$tmp" | |
7230 | } || | |
7231 | { | |
7232 | tmp=./conf$$-$RANDOM | |
7233 | (umask 077 && mkdir "$tmp") | |
7234 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
7235 | ac_tmp=$tmp | |
7236 | ||
7237 | # Set up the scripts for CONFIG_FILES section. | |
7238 | # No need to generate them if there are no CONFIG_FILES. | |
7239 | # This happens for instance with `./config.status config.h'. | |
7240 | if test -n "$CONFIG_FILES"; then | |
7241 | ||
7242 | ||
7243 | ac_cr=`echo X | tr X '\015'` | |
7244 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
7245 | # But we know of no other shell where ac_cr would be empty at this | |
7246 | # point, so we can use a bashism as a fallback. | |
7247 | if test "x$ac_cr" = x; then | |
7248 | eval ac_cr=\$\'\\r\' | |
7249 | fi | |
7250 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
7251 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
7252 | ac_cs_awk_cr='\\r' | |
7253 | else | |
7254 | ac_cs_awk_cr=$ac_cr | |
7255 | fi | |
7256 | ||
7257 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
7258 | _ACEOF | |
7259 | ||
7260 | ||
7261 | { | |
7262 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
7263 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
7264 | echo "_ACEOF" | |
7265 | } >conf$$subs.sh || | |
7266 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
7267 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
7268 | ac_delim='%!_!# ' | |
7269 | for ac_last_try in false false false false false :; do | |
7270 | . ./conf$$subs.sh || | |
7271 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
7272 | ||
7273 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
7274 | if test $ac_delim_n = $ac_delim_num; then | |
7275 | break | |
7276 | elif $ac_last_try; then | |
7277 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
7278 | else | |
7279 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7280 | fi | |
7281 | done | |
7282 | rm -f conf$$subs.sh | |
7283 | ||
7284 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7285 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
7286 | _ACEOF | |
7287 | sed -n ' | |
7288 | h | |
7289 | s/^/S["/; s/!.*/"]=/ | |
7290 | p | |
7291 | g | |
7292 | s/^[^!]*!// | |
7293 | :repl | |
7294 | t repl | |
7295 | s/'"$ac_delim"'$// | |
7296 | t delim | |
7297 | :nl | |
7298 | h | |
7299 | s/\(.\{148\}\)..*/\1/ | |
7300 | t more1 | |
7301 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
7302 | p | |
7303 | n | |
7304 | b repl | |
7305 | :more1 | |
7306 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
7307 | p | |
7308 | g | |
7309 | s/.\{148\}// | |
7310 | t nl | |
7311 | :delim | |
7312 | h | |
7313 | s/\(.\{148\}\)..*/\1/ | |
7314 | t more2 | |
7315 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
7316 | p | |
7317 | b | |
7318 | :more2 | |
7319 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
7320 | p | |
7321 | g | |
7322 | s/.\{148\}// | |
7323 | t delim | |
7324 | ' <conf$$subs.awk | sed ' | |
7325 | /^[^""]/{ | |
7326 | N | |
7327 | s/\n// | |
7328 | } | |
7329 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
7330 | rm -f conf$$subs.awk | |
7331 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7332 | _ACAWK | |
7333 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
7334 | for (key in S) S_is_set[key] = 1 | |
7335 | FS = "" | |
7336 | ||
7337 | } | |
7338 | { | |
7339 | line = $ 0 | |
7340 | nfields = split(line, field, "@") | |
7341 | substed = 0 | |
7342 | len = length(field[1]) | |
7343 | for (i = 2; i < nfields; i++) { | |
7344 | key = field[i] | |
7345 | keylen = length(key) | |
7346 | if (S_is_set[key]) { | |
7347 | value = S[key] | |
7348 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
7349 | len += length(value) + length(field[++i]) | |
7350 | substed = 1 | |
7351 | } else | |
7352 | len += 1 + keylen | |
7353 | } | |
7354 | ||
7355 | print line | |
7356 | } | |
7357 | ||
7358 | _ACAWK | |
7359 | _ACEOF | |
7360 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7361 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
7362 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
7363 | else | |
7364 | cat | |
7365 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
7366 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
7367 | _ACEOF | |
7368 | ||
7369 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
7370 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
7371 | # trailing colons and then remove the whole line if VPATH becomes empty | |
7372 | # (actually we leave an empty line to preserve line numbers). | |
7373 | if test "x$srcdir" = x.; then | |
7374 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
7375 | h | |
7376 | s/// | |
7377 | s/^/:/ | |
7378 | s/[ ]*$/:/ | |
7379 | s/:\$(srcdir):/:/g | |
7380 | s/:\${srcdir}:/:/g | |
7381 | s/:@srcdir@:/:/g | |
7382 | s/^:*// | |
7383 | s/:*$// | |
7384 | x | |
7385 | s/\(=[ ]*\).*/\1/ | |
7386 | G | |
7387 | s/\n// | |
7388 | s/^[^=]*=[ ]*$// | |
7389 | }' | |
7390 | fi | |
7391 | ||
7392 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7393 | fi # test -n "$CONFIG_FILES" | |
7394 | ||
7395 | # Set up the scripts for CONFIG_HEADERS section. | |
7396 | # No need to generate them if there are no CONFIG_HEADERS. | |
7397 | # This happens for instance with `./config.status Makefile'. | |
7398 | if test -n "$CONFIG_HEADERS"; then | |
7399 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
7400 | BEGIN { | |
7401 | _ACEOF | |
7402 | ||
7403 | # Transform confdefs.h into an awk script `defines.awk', embedded as | |
7404 | # here-document in config.status, that substitutes the proper values into | |
7405 | # config.h.in to produce config.h. | |
7406 | ||
7407 | # Create a delimiter string that does not exist in confdefs.h, to ease | |
7408 | # handling of long lines. | |
7409 | ac_delim='%!_!# ' | |
7410 | for ac_last_try in false false :; do | |
7411 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
7412 | if test -z "$ac_tt"; then | |
7413 | break | |
7414 | elif $ac_last_try; then | |
7415 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
7416 | else | |
7417 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7418 | fi | |
7419 | done | |
7420 | ||
7421 | # For the awk script, D is an array of macro values keyed by name, | |
7422 | # likewise P contains macro parameters if any. Preserve backslash | |
7423 | # newline sequences. | |
7424 | ||
7425 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
7426 | sed -n ' | |
7427 | s/.\{148\}/&'"$ac_delim"'/g | |
7428 | t rset | |
7429 | :rset | |
7430 | s/^[ ]*#[ ]*define[ ][ ]*/ / | |
7431 | t def | |
7432 | d | |
7433 | :def | |
7434 | s/\\$// | |
7435 | t bsnl | |
7436 | s/["\\]/\\&/g | |
7437 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
7438 | D["\1"]=" \3"/p | |
7439 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
7440 | d | |
7441 | :bsnl | |
7442 | s/["\\]/\\&/g | |
7443 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
7444 | D["\1"]=" \3\\\\\\n"\\/p | |
7445 | t cont | |
7446 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
7447 | t cont | |
7448 | d | |
7449 | :cont | |
7450 | n | |
7451 | s/.\{148\}/&'"$ac_delim"'/g | |
7452 | t clear | |
7453 | :clear | |
7454 | s/\\$// | |
7455 | t bsnlc | |
7456 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
7457 | d | |
7458 | :bsnlc | |
7459 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
7460 | b cont | |
7461 | ' <confdefs.h | sed ' | |
7462 | s/'"$ac_delim"'/"\\\ | |
7463 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
7464 | ||
7465 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7466 | for (key in D) D_is_set[key] = 1 | |
7467 | FS = "" | |
7468 | } | |
7469 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
7470 | line = \$ 0 | |
7471 | split(line, arg, " ") | |
7472 | if (arg[1] == "#") { | |
7473 | defundef = arg[2] | |
7474 | mac1 = arg[3] | |
7475 | } else { | |
7476 | defundef = substr(arg[1], 2) | |
7477 | mac1 = arg[2] | |
7478 | } | |
7479 | split(mac1, mac2, "(") #) | |
7480 | macro = mac2[1] | |
7481 | prefix = substr(line, 1, index(line, defundef) - 1) | |
7482 | if (D_is_set[macro]) { | |
7483 | # Preserve the white space surrounding the "#". | |
7484 | print prefix "define", macro P[macro] D[macro] | |
7485 | next | |
7486 | } else { | |
7487 | # Replace #undef with comments. This is necessary, for example, | |
7488 | # in the case of _POSIX_SOURCE, which is predefined and required | |
7489 | # on some systems where configure will not decide to define it. | |
7490 | if (defundef == "undef") { | |
7491 | print "/*", prefix defundef, macro, "*/" | |
7492 | next | |
7493 | } | |
7494 | } | |
7495 | } | |
7496 | { print } | |
7497 | _ACAWK | |
7498 | _ACEOF | |
7499 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7500 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
7501 | fi # test -n "$CONFIG_HEADERS" | |
7502 | ||
7503 | ||
7504 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
7505 | shift | |
7506 | for ac_tag | |
7507 | do | |
7508 | case $ac_tag in | |
7509 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
7510 | esac | |
7511 | case $ac_mode$ac_tag in | |
7512 | :[FHL]*:*);; | |
7513 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
7514 | :[FH]-) ac_tag=-:-;; | |
7515 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
7516 | esac | |
7517 | ac_save_IFS=$IFS | |
7518 | IFS=: | |
7519 | set x $ac_tag | |
7520 | IFS=$ac_save_IFS | |
7521 | shift | |
7522 | ac_file=$1 | |
7523 | shift | |
7524 | ||
7525 | case $ac_mode in | |
7526 | :L) ac_source=$1;; | |
7527 | :[FH]) | |
7528 | ac_file_inputs= | |
7529 | for ac_f | |
7530 | do | |
7531 | case $ac_f in | |
7532 | -) ac_f="$ac_tmp/stdin";; | |
7533 | *) # Look for the file first in the build tree, then in the source tree | |
7534 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
7535 | # because $ac_f cannot contain `:'. | |
7536 | test -f "$ac_f" || | |
7537 | case $ac_f in | |
7538 | [\\/$]*) false;; | |
7539 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
7540 | esac || | |
7541 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
7542 | esac | |
7543 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
7544 | as_fn_append ac_file_inputs " '$ac_f'" | |
7545 | done | |
7546 | ||
7547 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
7548 | # use $as_me), people would be surprised to read: | |
7549 | # /* config.h. Generated by config.status. */ | |
7550 | configure_input='Generated from '` | |
7551 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
7552 | `' by configure.' | |
7553 | if test x"$ac_file" != x-; then | |
7554 | configure_input="$ac_file. $configure_input" | |
7555 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
7556 | $as_echo "$as_me: creating $ac_file" >&6;} | |
7557 | fi | |
7558 | # Neutralize special characters interpreted by sed in replacement strings. | |
7559 | case $configure_input in #( | |
7560 | *\&* | *\|* | *\\* ) | |
7561 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
7562 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
7563 | *) ac_sed_conf_input=$configure_input;; | |
7564 | esac | |
7565 | ||
7566 | case $ac_tag in | |
7567 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
7568 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
7569 | esac | |
7570 | ;; | |
7571 | esac | |
7572 | ||
7573 | ac_dir=`$as_dirname -- "$ac_file" || | |
7574 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7575 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
7576 | X"$ac_file" : 'X\(//\)$' \| \ | |
7577 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
7578 | $as_echo X"$ac_file" | | |
7579 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7580 | s//\1/ | |
7581 | q | |
7582 | } | |
7583 | /^X\(\/\/\)[^/].*/{ | |
7584 | s//\1/ | |
7585 | q | |
7586 | } | |
7587 | /^X\(\/\/\)$/{ | |
7588 | s//\1/ | |
7589 | q | |
7590 | } | |
7591 | /^X\(\/\).*/{ | |
7592 | s//\1/ | |
7593 | q | |
7594 | } | |
7595 | s/.*/./; q'` | |
7596 | as_dir="$ac_dir"; as_fn_mkdir_p | |
7597 | ac_builddir=. | |
7598 | ||
7599 | case "$ac_dir" in | |
7600 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
7601 | *) | |
7602 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
7603 | # A ".." for each directory in $ac_dir_suffix. | |
7604 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
7605 | case $ac_top_builddir_sub in | |
7606 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
7607 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
7608 | esac ;; | |
7609 | esac | |
7610 | ac_abs_top_builddir=$ac_pwd | |
7611 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
7612 | # for backward compatibility: | |
7613 | ac_top_builddir=$ac_top_build_prefix | |
7614 | ||
7615 | case $srcdir in | |
7616 | .) # We are building in place. | |
7617 | ac_srcdir=. | |
7618 | ac_top_srcdir=$ac_top_builddir_sub | |
7619 | ac_abs_top_srcdir=$ac_pwd ;; | |
7620 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
7621 | ac_srcdir=$srcdir$ac_dir_suffix; | |
7622 | ac_top_srcdir=$srcdir | |
7623 | ac_abs_top_srcdir=$srcdir ;; | |
7624 | *) # Relative name. | |
7625 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
7626 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
7627 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
7628 | esac | |
7629 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
7630 | ||
7631 | ||
7632 | case $ac_mode in | |
7633 | :F) | |
7634 | # | |
7635 | # CONFIG_FILE | |
7636 | # | |
7637 | ||
7638 | case $INSTALL in | |
7639 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
7640 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
7641 | esac | |
7642 | ac_MKDIR_P=$MKDIR_P | |
7643 | case $MKDIR_P in | |
7644 | [\\/$]* | ?:[\\/]* ) ;; | |
7645 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
7646 | esac | |
7647 | _ACEOF | |
7648 | ||
7649 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7650 | # If the template does not know about datarootdir, expand it. | |
7651 | # FIXME: This hack should be removed a few years after 2.60. | |
7652 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
7653 | ac_sed_dataroot=' | |
7654 | /datarootdir/ { | |
7655 | p | |
7656 | q | |
7657 | } | |
7658 | /@datadir@/p | |
7659 | /@docdir@/p | |
7660 | /@infodir@/p | |
7661 | /@localedir@/p | |
7662 | /@mandir@/p' | |
7663 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
7664 | *datarootdir*) ac_datarootdir_seen=yes;; | |
7665 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
7666 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
7667 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
7668 | _ACEOF | |
7669 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7670 | ac_datarootdir_hack=' | |
7671 | s&@datadir@&$datadir&g | |
7672 | s&@docdir@&$docdir&g | |
7673 | s&@infodir@&$infodir&g | |
7674 | s&@localedir@&$localedir&g | |
7675 | s&@mandir@&$mandir&g | |
7676 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
7677 | esac | |
7678 | _ACEOF | |
7679 | ||
7680 | # Neutralize VPATH when `$srcdir' = `.'. | |
7681 | # Shell code in configure.ac might set extrasub. | |
7682 | # FIXME: do we really want to maintain this feature? | |
7683 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7684 | ac_sed_extra="$ac_vpsub | |
7685 | $extrasub | |
7686 | _ACEOF | |
7687 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7688 | :t | |
7689 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
7690 | s|@configure_input@|$ac_sed_conf_input|;t t | |
7691 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
7692 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
7693 | s&@srcdir@&$ac_srcdir&;t t | |
7694 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
7695 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
7696 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
7697 | s&@builddir@&$ac_builddir&;t t | |
7698 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
7699 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
7700 | s&@INSTALL@&$ac_INSTALL&;t t | |
7701 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
7702 | $ac_datarootdir_hack | |
7703 | " | |
7704 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
7705 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7706 | ||
7707 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
7708 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
7709 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
7710 | "$ac_tmp/out"`; test -z "$ac_out"; } && | |
7711 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
7712 | which seems to be undefined. Please make sure it is defined" >&5 | |
7713 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
7714 | which seems to be undefined. Please make sure it is defined" >&2;} | |
7715 | ||
7716 | rm -f "$ac_tmp/stdin" | |
7717 | case $ac_file in | |
7718 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
7719 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
7720 | esac \ | |
7721 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7722 | ;; | |
7723 | :H) | |
7724 | # | |
7725 | # CONFIG_HEADER | |
7726 | # | |
7727 | if test x"$ac_file" != x-; then | |
7728 | { | |
7729 | $as_echo "/* $configure_input */" \ | |
7730 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | |
7731 | } >"$ac_tmp/config.h" \ | |
7732 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7733 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
7734 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
7735 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
7736 | else | |
7737 | rm -f "$ac_file" | |
7738 | mv "$ac_tmp/config.h" "$ac_file" \ | |
7739 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7740 | fi | |
7741 | else | |
7742 | $as_echo "/* $configure_input */" \ | |
7743 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | |
7744 | || as_fn_error $? "could not create -" "$LINENO" 5 | |
7745 | fi | |
7746 | # Compute "$ac_file"'s index in $config_headers. | |
7747 | _am_arg="$ac_file" | |
7748 | _am_stamp_count=1 | |
7749 | for _am_header in $config_headers :; do | |
7750 | case $_am_header in | |
7751 | $_am_arg | $_am_arg:* ) | |
7752 | break ;; | |
7753 | * ) | |
7754 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
7755 | esac | |
7756 | done | |
7757 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
7758 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7759 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
7760 | X"$_am_arg" : 'X\(//\)$' \| \ | |
7761 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
7762 | $as_echo X"$_am_arg" | | |
7763 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7764 | s//\1/ | |
7765 | q | |
7766 | } | |
7767 | /^X\(\/\/\)[^/].*/{ | |
7768 | s//\1/ | |
7769 | q | |
7770 | } | |
7771 | /^X\(\/\/\)$/{ | |
7772 | s//\1/ | |
7773 | q | |
7774 | } | |
7775 | /^X\(\/\).*/{ | |
7776 | s//\1/ | |
7777 | q | |
7778 | } | |
7779 | s/.*/./; q'`/stamp-h$_am_stamp_count | |
7780 | ;; | |
7781 | ||
7782 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
7783 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
7784 | ;; | |
7785 | esac | |
7786 | ||
7787 | ||
7788 | case $ac_file$ac_mode in | |
7789 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
7790 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
7791 | # are listed without --file. Let's play safe and only enable the eval | |
7792 | # if we detect the quoting. | |
7793 | case $CONFIG_FILES in | |
7794 | *\'*) eval set x "$CONFIG_FILES" ;; | |
7795 | *) set x $CONFIG_FILES ;; | |
7796 | esac | |
7797 | shift | |
7798 | for mf | |
7799 | do | |
7800 | # Strip MF so we end up with the name of the file. | |
7801 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
7802 | # Check whether this is an Automake generated Makefile or not. | |
7803 | # We used to match only the files named `Makefile.in', but | |
7804 | # some people rename them; so instead we look at the file content. | |
7805 | # Grep'ing the first line is not enough: some people post-process | |
7806 | # each Makefile.in and add a new line on top of each file to say so. | |
7807 | # Grep'ing the whole file is not good either: AIX grep has a line | |
7808 | # limit of 2048, but all sed's we know have understand at least 4000. | |
7809 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
7810 | dirpart=`$as_dirname -- "$mf" || | |
7811 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7812 | X"$mf" : 'X\(//\)[^/]' \| \ | |
7813 | X"$mf" : 'X\(//\)$' \| \ | |
7814 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
7815 | $as_echo X"$mf" | | |
7816 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7817 | s//\1/ | |
7818 | q | |
7819 | } | |
7820 | /^X\(\/\/\)[^/].*/{ | |
7821 | s//\1/ | |
7822 | q | |
7823 | } | |
7824 | /^X\(\/\/\)$/{ | |
7825 | s//\1/ | |
7826 | q | |
7827 | } | |
7828 | /^X\(\/\).*/{ | |
7829 | s//\1/ | |
7830 | q | |
7831 | } | |
7832 | s/.*/./; q'` | |
7833 | else | |
7834 | continue | |
7835 | fi | |
7836 | # Extract the definition of DEPDIR, am__include, and am__quote | |
7837 | # from the Makefile without running `make'. | |
7838 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
7839 | test -z "$DEPDIR" && continue | |
7840 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
7841 | test -z "am__include" && continue | |
7842 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
7843 | # When using ansi2knr, U may be empty or an underscore; expand it | |
7844 | U=`sed -n 's/^U = //p' < "$mf"` | |
7845 | # Find all dependency output files, they are included files with | |
7846 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
7847 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
7848 | # expansion. | |
7849 | for file in `sed -n " | |
7850 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
7851 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
7852 | # Make sure the directory exists. | |
7853 | test -f "$dirpart/$file" && continue | |
7854 | fdir=`$as_dirname -- "$file" || | |
7855 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7856 | X"$file" : 'X\(//\)[^/]' \| \ | |
7857 | X"$file" : 'X\(//\)$' \| \ | |
7858 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
7859 | $as_echo X"$file" | | |
7860 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7861 | s//\1/ | |
7862 | q | |
7863 | } | |
7864 | /^X\(\/\/\)[^/].*/{ | |
7865 | s//\1/ | |
7866 | q | |
7867 | } | |
7868 | /^X\(\/\/\)$/{ | |
7869 | s//\1/ | |
7870 | q | |
7871 | } | |
7872 | /^X\(\/\).*/{ | |
7873 | s//\1/ | |
7874 | q | |
7875 | } | |
7876 | s/.*/./; q'` | |
7877 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
7878 | # echo "creating $dirpart/$file" | |
7879 | echo '# dummy' > "$dirpart/$file" | |
7880 | done | |
7881 | done | |
7882 | } | |
7883 | ;; | |
7884 | ||
7885 | esac | |
7886 | done # for ac_tag | |
7887 | ||
7888 | ||
7889 | as_fn_exit 0 | |
7890 | _ACEOF | |
7891 | ac_clean_files=$ac_clean_files_save | |
7892 | ||
7893 | test $ac_write_fail = 0 || | |
7894 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
7895 | ||
7896 | ||
7897 | # configure is writing to config.log, and then calls config.status. | |
7898 | # config.status does its own redirection, appending to config.log. | |
7899 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
7900 | # by configure, so config.status won't be able to write to it; its | |
7901 | # output is simply discarded. So we exec the FD to /dev/null, | |
7902 | # effectively closing config.log, so it can be properly (re)opened and | |
7903 | # appended to by config.status. When coming back to configure, we | |
7904 | # need to make the FD available again. | |
7905 | if test "$no_create" != yes; then | |
7906 | ac_cs_success=: | |
7907 | ac_config_status_args= | |
7908 | test "$silent" = yes && | |
7909 | ac_config_status_args="$ac_config_status_args --quiet" | |
7910 | exec 5>/dev/null | |
7911 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
7912 | exec 5>>config.log | |
7913 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
7914 | # would make configure fail if this is the last instruction. | |
7915 | $ac_cs_success || as_fn_exit 1 | |
7916 | fi | |
7917 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
7918 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
7919 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
7920 | fi | |
7921 |
0 | #! /bin/sh | |
1 | # depcomp - compile a program generating dependencies as side-effects | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free | |
6 | # Software Foundation, Inc. | |
7 | ||
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | ||
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | ||
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. | |
27 | ||
28 | case $1 in | |
29 | '') | |
30 | echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | |
31 | exit 1; | |
32 | ;; | |
33 | -h | --h*) | |
34 | cat <<\EOF | |
35 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] | |
36 | ||
37 | Run PROGRAMS ARGS to compile a file, generating dependencies | |
38 | as side-effects. | |
39 | ||
40 | Environment variables: | |
41 | depmode Dependency tracking mode. | |
42 | source Source file read by `PROGRAMS ARGS'. | |
43 | object Object file output by `PROGRAMS ARGS'. | |
44 | DEPDIR directory where to store dependencies. | |
45 | depfile Dependency file to output. | |
46 | tmpdepfile Temporary file to use when outputing dependencies. | |
47 | libtool Whether libtool is used (yes/no). | |
48 | ||
49 | Report bugs to <bug-automake@gnu.org>. | |
50 | EOF | |
51 | exit $? | |
52 | ;; | |
53 | -v | --v*) | |
54 | echo "depcomp $scriptversion" | |
55 | exit $? | |
56 | ;; | |
57 | esac | |
58 | ||
59 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then | |
60 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 | |
61 | exit 1 | |
62 | fi | |
63 | ||
64 | # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. | |
65 | depfile=${depfile-`echo "$object" | | |
66 | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} | |
67 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} | |
68 | ||
69 | rm -f "$tmpdepfile" | |
70 | ||
71 | # Some modes work just like other modes, but use different flags. We | |
72 | # parameterize here, but still list the modes in the big case below, | |
73 | # to make depend.m4 easier to write. Note that we *cannot* use a case | |
74 | # here, because this file can only contain one case statement. | |
75 | if test "$depmode" = hp; then | |
76 | # HP compiler uses -M and no extra arg. | |
77 | gccflag=-M | |
78 | depmode=gcc | |
79 | fi | |
80 | ||
81 | if test "$depmode" = dashXmstdout; then | |
82 | # This is just like dashmstdout with a different argument. | |
83 | dashmflag=-xM | |
84 | depmode=dashmstdout | |
85 | fi | |
86 | ||
87 | cygpath_u="cygpath -u -f -" | |
88 | if test "$depmode" = msvcmsys; then | |
89 | # This is just like msvisualcpp but w/o cygpath translation. | |
90 | # Just convert the backslash-escaped backslashes to single forward | |
91 | # slashes to satisfy depend.m4 | |
92 | cygpath_u="sed s,\\\\\\\\,/,g" | |
93 | depmode=msvisualcpp | |
94 | fi | |
95 | ||
96 | case "$depmode" in | |
97 | gcc3) | |
98 | ## gcc 3 implements dependency tracking that does exactly what | |
99 | ## we want. Yay! Note: for some reason libtool 1.4 doesn't like | |
100 | ## it if -MD -MP comes after the -MF stuff. Hmm. | |
101 | ## Unfortunately, FreeBSD c89 acceptance of flags depends upon | |
102 | ## the command line argument order; so add the flags where they | |
103 | ## appear in depend2.am. Note that the slowdown incurred here | |
104 | ## affects only configure: in makefiles, %FASTDEP% shortcuts this. | |
105 | for arg | |
106 | do | |
107 | case $arg in | |
108 | -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; | |
109 | *) set fnord "$@" "$arg" ;; | |
110 | esac | |
111 | shift # fnord | |
112 | shift # $arg | |
113 | done | |
114 | "$@" | |
115 | stat=$? | |
116 | if test $stat -eq 0; then : | |
117 | else | |
118 | rm -f "$tmpdepfile" | |
119 | exit $stat | |
120 | fi | |
121 | mv "$tmpdepfile" "$depfile" | |
122 | ;; | |
123 | ||
124 | gcc) | |
125 | ## There are various ways to get dependency output from gcc. Here's | |
126 | ## why we pick this rather obscure method: | |
127 | ## - Don't want to use -MD because we'd like the dependencies to end | |
128 | ## up in a subdir. Having to rename by hand is ugly. | |
129 | ## (We might end up doing this anyway to support other compilers.) | |
130 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like | |
131 | ## -MM, not -M (despite what the docs say). | |
132 | ## - Using -M directly means running the compiler twice (even worse | |
133 | ## than renaming). | |
134 | if test -z "$gccflag"; then | |
135 | gccflag=-MD, | |
136 | fi | |
137 | "$@" -Wp,"$gccflag$tmpdepfile" | |
138 | stat=$? | |
139 | if test $stat -eq 0; then : | |
140 | else | |
141 | rm -f "$tmpdepfile" | |
142 | exit $stat | |
143 | fi | |
144 | rm -f "$depfile" | |
145 | echo "$object : \\" > "$depfile" | |
146 | alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |
147 | ## The second -e expression handles DOS-style file names with drive letters. | |
148 | sed -e 's/^[^:]*: / /' \ | |
149 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" | |
150 | ## This next piece of magic avoids the `deleted header file' problem. | |
151 | ## The problem is that when a header file which appears in a .P file | |
152 | ## is deleted, the dependency causes make to die (because there is | |
153 | ## typically no way to rebuild the header). We avoid this by adding | |
154 | ## dummy dependencies for each header file. Too bad gcc doesn't do | |
155 | ## this for us directly. | |
156 | tr ' ' ' | |
157 | ' < "$tmpdepfile" | | |
158 | ## Some versions of gcc put a space before the `:'. On the theory | |
159 | ## that the space means something, we add a space to the output as | |
160 | ## well. | |
161 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
162 | ## correctly. Breaking it into two sed invocations is a workaround. | |
163 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
164 | rm -f "$tmpdepfile" | |
165 | ;; | |
166 | ||
167 | hp) | |
168 | # This case exists only to let depend.m4 do its work. It works by | |
169 | # looking at the text of this script. This case will never be run, | |
170 | # since it is checked for above. | |
171 | exit 1 | |
172 | ;; | |
173 | ||
174 | sgi) | |
175 | if test "$libtool" = yes; then | |
176 | "$@" "-Wp,-MDupdate,$tmpdepfile" | |
177 | else | |
178 | "$@" -MDupdate "$tmpdepfile" | |
179 | fi | |
180 | stat=$? | |
181 | if test $stat -eq 0; then : | |
182 | else | |
183 | rm -f "$tmpdepfile" | |
184 | exit $stat | |
185 | fi | |
186 | rm -f "$depfile" | |
187 | ||
188 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files | |
189 | echo "$object : \\" > "$depfile" | |
190 | ||
191 | # Clip off the initial element (the dependent). Don't try to be | |
192 | # clever and replace this with sed code, as IRIX sed won't handle | |
193 | # lines with more than a fixed number of characters (4096 in | |
194 | # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; | |
195 | # the IRIX cc adds comments like `#:fec' to the end of the | |
196 | # dependency line. | |
197 | tr ' ' ' | |
198 | ' < "$tmpdepfile" \ | |
199 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ | |
200 | tr ' | |
201 | ' ' ' >> "$depfile" | |
202 | echo >> "$depfile" | |
203 | ||
204 | # The second pass generates a dummy entry for each header file. | |
205 | tr ' ' ' | |
206 | ' < "$tmpdepfile" \ | |
207 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
208 | >> "$depfile" | |
209 | else | |
210 | # The sourcefile does not contain any dependencies, so just | |
211 | # store a dummy comment line, to avoid errors with the Makefile | |
212 | # "include basename.Plo" scheme. | |
213 | echo "#dummy" > "$depfile" | |
214 | fi | |
215 | rm -f "$tmpdepfile" | |
216 | ;; | |
217 | ||
218 | aix) | |
219 | # The C for AIX Compiler uses -M and outputs the dependencies | |
220 | # in a .u file. In older versions, this file always lives in the | |
221 | # current directory. Also, the AIX compiler puts `$object:' at the | |
222 | # start of each line; $object doesn't have directory information. | |
223 | # Version 6 uses the directory in both cases. | |
224 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
225 | test "x$dir" = "x$object" && dir= | |
226 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
227 | if test "$libtool" = yes; then | |
228 | tmpdepfile1=$dir$base.u | |
229 | tmpdepfile2=$base.u | |
230 | tmpdepfile3=$dir.libs/$base.u | |
231 | "$@" -Wc,-M | |
232 | else | |
233 | tmpdepfile1=$dir$base.u | |
234 | tmpdepfile2=$dir$base.u | |
235 | tmpdepfile3=$dir$base.u | |
236 | "$@" -M | |
237 | fi | |
238 | stat=$? | |
239 | ||
240 | if test $stat -eq 0; then : | |
241 | else | |
242 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
243 | exit $stat | |
244 | fi | |
245 | ||
246 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
247 | do | |
248 | test -f "$tmpdepfile" && break | |
249 | done | |
250 | if test -f "$tmpdepfile"; then | |
251 | # Each line is of the form `foo.o: dependent.h'. | |
252 | # Do two passes, one to just change these to | |
253 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
254 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
255 | # That's a tab and a space in the []. | |
256 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
257 | else | |
258 | # The sourcefile does not contain any dependencies, so just | |
259 | # store a dummy comment line, to avoid errors with the Makefile | |
260 | # "include basename.Plo" scheme. | |
261 | echo "#dummy" > "$depfile" | |
262 | fi | |
263 | rm -f "$tmpdepfile" | |
264 | ;; | |
265 | ||
266 | icc) | |
267 | # Intel's C compiler understands `-MD -MF file'. However on | |
268 | # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
269 | # ICC 7.0 will fill foo.d with something like | |
270 | # foo.o: sub/foo.c | |
271 | # foo.o: sub/foo.h | |
272 | # which is wrong. We want: | |
273 | # sub/foo.o: sub/foo.c | |
274 | # sub/foo.o: sub/foo.h | |
275 | # sub/foo.c: | |
276 | # sub/foo.h: | |
277 | # ICC 7.1 will output | |
278 | # foo.o: sub/foo.c sub/foo.h | |
279 | # and will wrap long lines using \ : | |
280 | # foo.o: sub/foo.c ... \ | |
281 | # sub/foo.h ... \ | |
282 | # ... | |
283 | ||
284 | "$@" -MD -MF "$tmpdepfile" | |
285 | stat=$? | |
286 | if test $stat -eq 0; then : | |
287 | else | |
288 | rm -f "$tmpdepfile" | |
289 | exit $stat | |
290 | fi | |
291 | rm -f "$depfile" | |
292 | # Each line is of the form `foo.o: dependent.h', | |
293 | # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. | |
294 | # Do two passes, one to just change these to | |
295 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
296 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" | |
297 | # Some versions of the HPUX 10.20 sed can't process this invocation | |
298 | # correctly. Breaking it into two sed invocations is a workaround. | |
299 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | | |
300 | sed -e 's/$/ :/' >> "$depfile" | |
301 | rm -f "$tmpdepfile" | |
302 | ;; | |
303 | ||
304 | hp2) | |
305 | # The "hp" stanza above does not work with aCC (C++) and HP's ia64 | |
306 | # compilers, which have integrated preprocessors. The correct option | |
307 | # to use with these is +Maked; it writes dependencies to a file named | |
308 | # 'foo.d', which lands next to the object file, wherever that | |
309 | # happens to be. | |
310 | # Much of this is similar to the tru64 case; see comments there. | |
311 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
312 | test "x$dir" = "x$object" && dir= | |
313 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
314 | if test "$libtool" = yes; then | |
315 | tmpdepfile1=$dir$base.d | |
316 | tmpdepfile2=$dir.libs/$base.d | |
317 | "$@" -Wc,+Maked | |
318 | else | |
319 | tmpdepfile1=$dir$base.d | |
320 | tmpdepfile2=$dir$base.d | |
321 | "$@" +Maked | |
322 | fi | |
323 | stat=$? | |
324 | if test $stat -eq 0; then : | |
325 | else | |
326 | rm -f "$tmpdepfile1" "$tmpdepfile2" | |
327 | exit $stat | |
328 | fi | |
329 | ||
330 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" | |
331 | do | |
332 | test -f "$tmpdepfile" && break | |
333 | done | |
334 | if test -f "$tmpdepfile"; then | |
335 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | |
336 | # Add `dependent.h:' lines. | |
337 | sed -ne '2,${ | |
338 | s/^ *// | |
339 | s/ \\*$// | |
340 | s/$/:/ | |
341 | p | |
342 | }' "$tmpdepfile" >> "$depfile" | |
343 | else | |
344 | echo "#dummy" > "$depfile" | |
345 | fi | |
346 | rm -f "$tmpdepfile" "$tmpdepfile2" | |
347 | ;; | |
348 | ||
349 | tru64) | |
350 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
351 | # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. | |
352 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
353 | # dependencies in `foo.d' instead, so we check for that too. | |
354 | # Subdirectories are respected. | |
355 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
356 | test "x$dir" = "x$object" && dir= | |
357 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
358 | ||
359 | if test "$libtool" = yes; then | |
360 | # With Tru64 cc, shared objects can also be used to make a | |
361 | # static library. This mechanism is used in libtool 1.4 series to | |
362 | # handle both shared and static libraries in a single compilation. | |
363 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. | |
364 | # | |
365 | # With libtool 1.5 this exception was removed, and libtool now | |
366 | # generates 2 separate objects for the 2 libraries. These two | |
367 | # compilations output dependencies in $dir.libs/$base.o.d and | |
368 | # in $dir$base.o.d. We have to check for both files, because | |
369 | # one of the two compilations can be disabled. We should prefer | |
370 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
371 | # automatically cleaned when .libs/ is deleted, while ignoring | |
372 | # the former would cause a distcleancheck panic. | |
373 | tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 | |
374 | tmpdepfile2=$dir$base.o.d # libtool 1.5 | |
375 | tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 | |
376 | tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
377 | "$@" -Wc,-MD | |
378 | else | |
379 | tmpdepfile1=$dir$base.o.d | |
380 | tmpdepfile2=$dir$base.d | |
381 | tmpdepfile3=$dir$base.d | |
382 | tmpdepfile4=$dir$base.d | |
383 | "$@" -MD | |
384 | fi | |
385 | ||
386 | stat=$? | |
387 | if test $stat -eq 0; then : | |
388 | else | |
389 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
390 | exit $stat | |
391 | fi | |
392 | ||
393 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
394 | do | |
395 | test -f "$tmpdepfile" && break | |
396 | done | |
397 | if test -f "$tmpdepfile"; then | |
398 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
399 | # That's a tab and a space in the []. | |
400 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
401 | else | |
402 | echo "#dummy" > "$depfile" | |
403 | fi | |
404 | rm -f "$tmpdepfile" | |
405 | ;; | |
406 | ||
407 | #nosideeffect) | |
408 | # This comment above is used by automake to tell side-effect | |
409 | # dependency tracking mechanisms from slower ones. | |
410 | ||
411 | dashmstdout) | |
412 | # Important note: in order to support this mode, a compiler *must* | |
413 | # always write the preprocessed file to stdout, regardless of -o. | |
414 | "$@" || exit $? | |
415 | ||
416 | # Remove the call to Libtool. | |
417 | if test "$libtool" = yes; then | |
418 | while test "X$1" != 'X--mode=compile'; do | |
419 | shift | |
420 | done | |
421 | shift | |
422 | fi | |
423 | ||
424 | # Remove `-o $object'. | |
425 | IFS=" " | |
426 | for arg | |
427 | do | |
428 | case $arg in | |
429 | -o) | |
430 | shift | |
431 | ;; | |
432 | $object) | |
433 | shift | |
434 | ;; | |
435 | *) | |
436 | set fnord "$@" "$arg" | |
437 | shift # fnord | |
438 | shift # $arg | |
439 | ;; | |
440 | esac | |
441 | done | |
442 | ||
443 | test -z "$dashmflag" && dashmflag=-M | |
444 | # Require at least two characters before searching for `:' | |
445 | # in the target name. This is to cope with DOS-style filenames: | |
446 | # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. | |
447 | "$@" $dashmflag | | |
448 | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" | |
449 | rm -f "$depfile" | |
450 | cat < "$tmpdepfile" > "$depfile" | |
451 | tr ' ' ' | |
452 | ' < "$tmpdepfile" | \ | |
453 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
454 | ## correctly. Breaking it into two sed invocations is a workaround. | |
455 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
456 | rm -f "$tmpdepfile" | |
457 | ;; | |
458 | ||
459 | dashXmstdout) | |
460 | # This case only exists to satisfy depend.m4. It is never actually | |
461 | # run, as this mode is specially recognized in the preamble. | |
462 | exit 1 | |
463 | ;; | |
464 | ||
465 | makedepend) | |
466 | "$@" || exit $? | |
467 | # Remove any Libtool call | |
468 | if test "$libtool" = yes; then | |
469 | while test "X$1" != 'X--mode=compile'; do | |
470 | shift | |
471 | done | |
472 | shift | |
473 | fi | |
474 | # X makedepend | |
475 | shift | |
476 | cleared=no eat=no | |
477 | for arg | |
478 | do | |
479 | case $cleared in | |
480 | no) | |
481 | set ""; shift | |
482 | cleared=yes ;; | |
483 | esac | |
484 | if test $eat = yes; then | |
485 | eat=no | |
486 | continue | |
487 | fi | |
488 | case "$arg" in | |
489 | -D*|-I*) | |
490 | set fnord "$@" "$arg"; shift ;; | |
491 | # Strip any option that makedepend may not understand. Remove | |
492 | # the object too, otherwise makedepend will parse it as a source file. | |
493 | -arch) | |
494 | eat=yes ;; | |
495 | -*|$object) | |
496 | ;; | |
497 | *) | |
498 | set fnord "$@" "$arg"; shift ;; | |
499 | esac | |
500 | done | |
501 | obj_suffix=`echo "$object" | sed 's/^.*\././'` | |
502 | touch "$tmpdepfile" | |
503 | ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" | |
504 | rm -f "$depfile" | |
505 | cat < "$tmpdepfile" > "$depfile" | |
506 | sed '1,2d' "$tmpdepfile" | tr ' ' ' | |
507 | ' | \ | |
508 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
509 | ## correctly. Breaking it into two sed invocations is a workaround. | |
510 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
511 | rm -f "$tmpdepfile" "$tmpdepfile".bak | |
512 | ;; | |
513 | ||
514 | cpp) | |
515 | # Important note: in order to support this mode, a compiler *must* | |
516 | # always write the preprocessed file to stdout. | |
517 | "$@" || exit $? | |
518 | ||
519 | # Remove the call to Libtool. | |
520 | if test "$libtool" = yes; then | |
521 | while test "X$1" != 'X--mode=compile'; do | |
522 | shift | |
523 | done | |
524 | shift | |
525 | fi | |
526 | ||
527 | # Remove `-o $object'. | |
528 | IFS=" " | |
529 | for arg | |
530 | do | |
531 | case $arg in | |
532 | -o) | |
533 | shift | |
534 | ;; | |
535 | $object) | |
536 | shift | |
537 | ;; | |
538 | *) | |
539 | set fnord "$@" "$arg" | |
540 | shift # fnord | |
541 | shift # $arg | |
542 | ;; | |
543 | esac | |
544 | done | |
545 | ||
546 | "$@" -E | | |
547 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
548 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | | |
549 | sed '$ s: \\$::' > "$tmpdepfile" | |
550 | rm -f "$depfile" | |
551 | echo "$object : \\" > "$depfile" | |
552 | cat < "$tmpdepfile" >> "$depfile" | |
553 | sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" | |
554 | rm -f "$tmpdepfile" | |
555 | ;; | |
556 | ||
557 | msvisualcpp) | |
558 | # Important note: in order to support this mode, a compiler *must* | |
559 | # always write the preprocessed file to stdout. | |
560 | "$@" || exit $? | |
561 | ||
562 | # Remove the call to Libtool. | |
563 | if test "$libtool" = yes; then | |
564 | while test "X$1" != 'X--mode=compile'; do | |
565 | shift | |
566 | done | |
567 | shift | |
568 | fi | |
569 | ||
570 | IFS=" " | |
571 | for arg | |
572 | do | |
573 | case "$arg" in | |
574 | -o) | |
575 | shift | |
576 | ;; | |
577 | $object) | |
578 | shift | |
579 | ;; | |
580 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") | |
581 | set fnord "$@" | |
582 | shift | |
583 | shift | |
584 | ;; | |
585 | *) | |
586 | set fnord "$@" "$arg" | |
587 | shift | |
588 | shift | |
589 | ;; | |
590 | esac | |
591 | done | |
592 | "$@" -E 2>/dev/null | | |
593 | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" | |
594 | rm -f "$depfile" | |
595 | echo "$object : \\" > "$depfile" | |
596 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" | |
597 | echo " " >> "$depfile" | |
598 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" | |
599 | rm -f "$tmpdepfile" | |
600 | ;; | |
601 | ||
602 | msvcmsys) | |
603 | # This case exists only to let depend.m4 do its work. It works by | |
604 | # looking at the text of this script. This case will never be run, | |
605 | # since it is checked for above. | |
606 | exit 1 | |
607 | ;; | |
608 | ||
609 | none) | |
610 | exec "$@" | |
611 | ;; | |
612 | ||
613 | *) | |
614 | echo "Unknown depmode $depmode" 1>&2 | |
615 | exit 1 | |
616 | ;; | |
617 | esac | |
618 | ||
619 | exit 0 | |
620 | ||
621 | # Local Variables: | |
622 | # mode: shell-script | |
623 | # sh-indentation: 2 | |
624 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
625 | # time-stamp-start: "scriptversion=" | |
626 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
627 | # time-stamp-time-zone: "UTC" | |
628 | # time-stamp-end: "; # UTC" | |
629 | # End: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = dlib | |
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | LIBRARIES = $(noinst_LIBRARIES) | |
48 | AR = ar | |
49 | ARFLAGS = cru | |
50 | libDlib_a_AR = $(AR) $(ARFLAGS) | |
51 | libDlib_a_LIBADD = | |
52 | am_libDlib_a_OBJECTS = dlib.$(OBJEXT) | |
53 | libDlib_a_OBJECTS = $(am_libDlib_a_OBJECTS) | |
54 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
55 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
56 | am__depfiles_maybe = depfiles | |
57 | am__mv = mv -f | |
58 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
59 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
60 | CCLD = $(CC) | |
61 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
62 | SOURCES = $(libDlib_a_SOURCES) | |
63 | DIST_SOURCES = $(libDlib_a_SOURCES) | |
64 | ETAGS = etags | |
65 | CTAGS = ctags | |
66 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
67 | ACLOCAL = @ACLOCAL@ | |
68 | AMTAR = @AMTAR@ | |
69 | AUTOCONF = @AUTOCONF@ | |
70 | AUTOHEADER = @AUTOHEADER@ | |
71 | AUTOMAKE = @AUTOMAKE@ | |
72 | AWK = @AWK@ | |
73 | CC = @CC@ | |
74 | CCDEPMODE = @CCDEPMODE@ | |
75 | CFLAGS = @CFLAGS@ | |
76 | CPP = @CPP@ | |
77 | CPPFLAGS = @CPPFLAGS@ | |
78 | CXX = @CXX@ | |
79 | CXXDEPMODE = @CXXDEPMODE@ | |
80 | CXXFLAGS = @CXXFLAGS@ | |
81 | CYGPATH_W = @CYGPATH_W@ | |
82 | DEFS = @DEFS@ | |
83 | DEPDIR = @DEPDIR@ | |
84 | ECHO_C = @ECHO_C@ | |
85 | ECHO_N = @ECHO_N@ | |
86 | ECHO_T = @ECHO_T@ | |
87 | EGREP = @EGREP@ | |
88 | EXEEXT = @EXEEXT@ | |
89 | GREP = @GREP@ | |
90 | INSTALL = @INSTALL@ | |
91 | INSTALL_DATA = @INSTALL_DATA@ | |
92 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
93 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
94 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
95 | LDFLAGS = @LDFLAGS@ | |
96 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
97 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
98 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
99 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
100 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
101 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
102 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
103 | LIBOBJS = @LIBOBJS@ | |
104 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
105 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
106 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
107 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
108 | LIBS = @LIBS@ | |
109 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
110 | LIBZ_LIBS = @LIBZ_LIBS@ | |
111 | LTLIBOBJS = @LTLIBOBJS@ | |
112 | MAKEINFO = @MAKEINFO@ | |
113 | MKDIR_P = @MKDIR_P@ | |
114 | OBJEXT = @OBJEXT@ | |
115 | PACKAGE = @PACKAGE@ | |
116 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
117 | PACKAGE_NAME = @PACKAGE_NAME@ | |
118 | PACKAGE_STRING = @PACKAGE_STRING@ | |
119 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
120 | PACKAGE_URL = @PACKAGE_URL@ | |
121 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
122 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
123 | RANLIB = @RANLIB@ | |
124 | SET_MAKE = @SET_MAKE@ | |
125 | SHELL = @SHELL@ | |
126 | STRIP = @STRIP@ | |
127 | VERSION = @VERSION@ | |
128 | abs_builddir = @abs_builddir@ | |
129 | abs_srcdir = @abs_srcdir@ | |
130 | abs_top_builddir = @abs_top_builddir@ | |
131 | abs_top_srcdir = @abs_top_srcdir@ | |
132 | ac_ct_CC = @ac_ct_CC@ | |
133 | ac_ct_CXX = @ac_ct_CXX@ | |
134 | am__include = @am__include@ | |
135 | am__leading_dot = @am__leading_dot@ | |
136 | am__quote = @am__quote@ | |
137 | am__tar = @am__tar@ | |
138 | am__untar = @am__untar@ | |
139 | bindir = @bindir@ | |
140 | build = @build@ | |
141 | build_alias = @build_alias@ | |
142 | build_cpu = @build_cpu@ | |
143 | build_os = @build_os@ | |
144 | build_vendor = @build_vendor@ | |
145 | builddir = @builddir@ | |
146 | datadir = @datadir@ | |
147 | datarootdir = @datarootdir@ | |
148 | docdir = @docdir@ | |
149 | dvidir = @dvidir@ | |
150 | exec_prefix = @exec_prefix@ | |
151 | host = @host@ | |
152 | host_alias = @host_alias@ | |
153 | host_cpu = @host_cpu@ | |
154 | host_os = @host_os@ | |
155 | host_vendor = @host_vendor@ | |
156 | htmldir = @htmldir@ | |
157 | includedir = @includedir@ | |
158 | infodir = @infodir@ | |
159 | install_sh = @install_sh@ | |
160 | libdir = @libdir@ | |
161 | libexecdir = @libexecdir@ | |
162 | localedir = @localedir@ | |
163 | localstatedir = @localstatedir@ | |
164 | mandir = @mandir@ | |
165 | mkdir_p = @mkdir_p@ | |
166 | oldincludedir = @oldincludedir@ | |
167 | pdfdir = @pdfdir@ | |
168 | prefix = @prefix@ | |
169 | program_transform_name = @program_transform_name@ | |
170 | psdir = @psdir@ | |
171 | sbindir = @sbindir@ | |
172 | sharedstatedir = @sharedstatedir@ | |
173 | srcdir = @srcdir@ | |
174 | sysconfdir = @sysconfdir@ | |
175 | target = @target@ | |
176 | target_alias = @target_alias@ | |
177 | target_cpu = @target_cpu@ | |
178 | target_os = @target_os@ | |
179 | target_vendor = @target_vendor@ | |
180 | top_build_prefix = @top_build_prefix@ | |
181 | top_builddir = @top_builddir@ | |
182 | top_srcdir = @top_srcdir@ | |
183 | AM_CPPFLAGS = \ | |
184 | -I$(top_srcdir) | |
185 | ||
186 | noinst_LIBRARIES = libDlib.a | |
187 | libDlib_a_SOURCES = \ | |
188 | dlib.h \ | |
189 | dlib.c | |
190 | ||
191 | all: all-am | |
192 | ||
193 | .SUFFIXES: | |
194 | .SUFFIXES: .c .o .obj | |
195 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
196 | @for dep in $?; do \ | |
197 | case '$(am__configure_deps)' in \ | |
198 | *$$dep*) \ | |
199 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
200 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
201 | exit 1;; \ | |
202 | esac; \ | |
203 | done; \ | |
204 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dlib/Makefile'; \ | |
205 | $(am__cd) $(top_srcdir) && \ | |
206 | $(AUTOMAKE) --gnu dlib/Makefile | |
207 | .PRECIOUS: Makefile | |
208 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
209 | @case '$?' in \ | |
210 | *config.status*) \ | |
211 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
212 | *) \ | |
213 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
214 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
215 | esac; | |
216 | ||
217 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
218 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
219 | ||
220 | $(top_srcdir)/configure: $(am__configure_deps) | |
221 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
222 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
223 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
224 | $(am__aclocal_m4_deps): | |
225 | ||
226 | clean-noinstLIBRARIES: | |
227 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
228 | libDlib.a: $(libDlib_a_OBJECTS) $(libDlib_a_DEPENDENCIES) | |
229 | -rm -f libDlib.a | |
230 | $(libDlib_a_AR) libDlib.a $(libDlib_a_OBJECTS) $(libDlib_a_LIBADD) | |
231 | $(RANLIB) libDlib.a | |
232 | ||
233 | mostlyclean-compile: | |
234 | -rm -f *.$(OBJEXT) | |
235 | ||
236 | distclean-compile: | |
237 | -rm -f *.tab.c | |
238 | ||
239 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlib.Po@am__quote@ | |
240 | ||
241 | .c.o: | |
242 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
243 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
244 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
245 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
246 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
247 | ||
248 | .c.obj: | |
249 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
250 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
251 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
252 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
253 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
254 | ||
255 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
256 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
257 | unique=`for i in $$list; do \ | |
258 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
259 | done | \ | |
260 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
261 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
262 | mkid -fID $$unique | |
263 | tags: TAGS | |
264 | ||
265 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
266 | $(TAGS_FILES) $(LISP) | |
267 | set x; \ | |
268 | here=`pwd`; \ | |
269 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
270 | unique=`for i in $$list; do \ | |
271 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
272 | done | \ | |
273 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
274 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
275 | shift; \ | |
276 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
277 | test -n "$$unique" || unique=$$empty_fix; \ | |
278 | if test $$# -gt 0; then \ | |
279 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
280 | "$$@" $$unique; \ | |
281 | else \ | |
282 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
283 | $$unique; \ | |
284 | fi; \ | |
285 | fi | |
286 | ctags: CTAGS | |
287 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
288 | $(TAGS_FILES) $(LISP) | |
289 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
290 | unique=`for i in $$list; do \ | |
291 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
292 | done | \ | |
293 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
294 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
295 | test -z "$(CTAGS_ARGS)$$unique" \ | |
296 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
297 | $$unique | |
298 | ||
299 | GTAGS: | |
300 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
301 | && $(am__cd) $(top_srcdir) \ | |
302 | && gtags -i $(GTAGS_ARGS) "$$here" | |
303 | ||
304 | distclean-tags: | |
305 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
306 | ||
307 | distdir: $(DISTFILES) | |
308 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
309 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
310 | list='$(DISTFILES)'; \ | |
311 | dist_files=`for file in $$list; do echo $$file; done | \ | |
312 | sed -e "s|^$$srcdirstrip/||;t" \ | |
313 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
314 | case $$dist_files in \ | |
315 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
316 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
317 | sort -u` ;; \ | |
318 | esac; \ | |
319 | for file in $$dist_files; do \ | |
320 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
321 | if test -d $$d/$$file; then \ | |
322 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
323 | if test -d "$(distdir)/$$file"; then \ | |
324 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
325 | fi; \ | |
326 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
327 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
328 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
329 | fi; \ | |
330 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
331 | else \ | |
332 | test -f "$(distdir)/$$file" \ | |
333 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
334 | || exit 1; \ | |
335 | fi; \ | |
336 | done | |
337 | check-am: all-am | |
338 | check: check-am | |
339 | all-am: Makefile $(LIBRARIES) | |
340 | installdirs: | |
341 | install: install-am | |
342 | install-exec: install-exec-am | |
343 | install-data: install-data-am | |
344 | uninstall: uninstall-am | |
345 | ||
346 | install-am: all-am | |
347 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
348 | ||
349 | installcheck: installcheck-am | |
350 | install-strip: | |
351 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
352 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
353 | `test -z '$(STRIP)' || \ | |
354 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
355 | mostlyclean-generic: | |
356 | ||
357 | clean-generic: | |
358 | ||
359 | distclean-generic: | |
360 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
361 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
362 | ||
363 | maintainer-clean-generic: | |
364 | @echo "This command is intended for maintainers to use" | |
365 | @echo "it deletes files that may require special tools to rebuild." | |
366 | clean: clean-am | |
367 | ||
368 | clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am | |
369 | ||
370 | distclean: distclean-am | |
371 | -rm -rf ./$(DEPDIR) | |
372 | -rm -f Makefile | |
373 | distclean-am: clean-am distclean-compile distclean-generic \ | |
374 | distclean-tags | |
375 | ||
376 | dvi: dvi-am | |
377 | ||
378 | dvi-am: | |
379 | ||
380 | html: html-am | |
381 | ||
382 | html-am: | |
383 | ||
384 | info: info-am | |
385 | ||
386 | info-am: | |
387 | ||
388 | install-data-am: | |
389 | ||
390 | install-dvi: install-dvi-am | |
391 | ||
392 | install-dvi-am: | |
393 | ||
394 | install-exec-am: | |
395 | ||
396 | install-html: install-html-am | |
397 | ||
398 | install-html-am: | |
399 | ||
400 | install-info: install-info-am | |
401 | ||
402 | install-info-am: | |
403 | ||
404 | install-man: | |
405 | ||
406 | install-pdf: install-pdf-am | |
407 | ||
408 | install-pdf-am: | |
409 | ||
410 | install-ps: install-ps-am | |
411 | ||
412 | install-ps-am: | |
413 | ||
414 | installcheck-am: | |
415 | ||
416 | maintainer-clean: maintainer-clean-am | |
417 | -rm -rf ./$(DEPDIR) | |
418 | -rm -f Makefile | |
419 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
420 | ||
421 | mostlyclean: mostlyclean-am | |
422 | ||
423 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
424 | ||
425 | pdf: pdf-am | |
426 | ||
427 | pdf-am: | |
428 | ||
429 | ps: ps-am | |
430 | ||
431 | ps-am: | |
432 | ||
433 | uninstall-am: | |
434 | ||
435 | .MAKE: install-am install-strip | |
436 | ||
437 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
438 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
439 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
440 | html-am info info-am install install-am install-data \ | |
441 | install-data-am install-dvi install-dvi-am install-exec \ | |
442 | install-exec-am install-html install-html-am install-info \ | |
443 | install-info-am install-man install-pdf install-pdf-am \ | |
444 | install-ps install-ps-am install-strip installcheck \ | |
445 | installcheck-am installdirs maintainer-clean \ | |
446 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
447 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
448 | uninstall-am | |
449 | ||
450 | ||
451 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
452 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
453 | .NOEXPORT: |
0 | Last review: August 04, 2009 --jcid | |
1 | ||
2 | ||
3 | ---------------------------- | |
4 | Internal working for the CCC | |
5 | ---------------------------- | |
6 | ||
7 | ||
8 | HTTP protocol | |
9 | ------------- | |
10 | ||
11 | ||
12 | Query: | | |
13 | . | |
14 | 1B --> 1B 1B --> 1B --> | -------------. | |
15 | .----. .----. .----. . | | |
16 | I |Capi| |http| | IO | | | | |
17 | '----' '----' '----' . | | |
18 | 1F <-- 1F 1F <-- 1F | V | |
19 | . | |
20 | | [Server] | |
21 | Answer: . | |
22 | ||
23 | 2B --> 2B 2B --> 2B | | | |
24 | .----. .----. .----. . | | |
25 | II |Capi| |Dpi | | IO | | | | |
26 | '----' '----' '----' . | | |
27 | 2F <-- 2F 2F <-- 2F <-- | <------------' | |
28 | . | |
29 | | | |
30 | ||
31 | * a_Capi_open_url() builds both the Answer and Query chains at | |
32 | once (Answer first then Query), to ensure a uniform structure | |
33 | that avoids complexity (e.g. race conditions). | |
34 | ||
35 | * Http_get() sets a callback for the DNS hostname resolve. | |
36 | Normally it comes later, but may also by issued immediately if | |
37 | the hostname is cached. | |
38 | ||
39 | * The socket FD is passed by means of OpSend by the http module | |
40 | once the remote IP is known and the socket is connected. | |
41 | ||
42 | ||
43 | ||
44 | Function calls for HTTP CCC | |
45 | --------------------------- | |
46 | ||
47 | a_Capi_open_url | |
48 | if (reload) | |
49 | Capi OpStart 2B (answer) [Capi] --> [dpi] --> [IO] | |
50 | Capi OpStart 1B (query) [Capi] --> [http] --> [IO] | |
51 | Http_get | |
52 | a_Cache_open_url | |
53 | if URL_E2EReload -> prepare reload | |
54 | if cached | |
55 | client enqueue | |
56 | delayed process queue | |
57 | else | |
58 | Cache_entry_add | |
59 | client enqueue | |
60 | ||
61 | -//-> | |
62 | a_Http_dns_cb | |
63 | Http_connect_socket | |
64 | OpSend FD, BCK | |
65 | OpSend FD, FWD | |
66 | Http_send_query | |
67 | a_Http_make_query_str | |
68 | OpSend, BCK | |
69 | IO_submit | |
70 | a_IOwatch_add_fd (DIO_WRITE, ...) | |
71 | ||
72 | ||
73 | Note about 'web' structures. They're created using a_Web_new(). | |
74 | The web.c module keeps a list of valid webs, so anytime you're | |
75 | unsure of a weak reference to 'web', it can be checked with | |
76 | a_Web_valid(web). | |
77 | ||
78 | ||
79 | ||
80 | ------------ | |
81 | Dpi protocol | |
82 | ------------ | |
83 | ||
84 | ||
85 | Query: | | |
86 | . | |
87 | 1B --> 1B 1B --> 1B --> | -------------. | |
88 | .----. .----. .----. . | | |
89 | I |Capi| |Dpi | | IO | | | | |
90 | '----' '----' '----' . | | |
91 | 1F <-- 1F 1F <-- 1F | V | |
92 | . | |
93 | | [Server] | |
94 | . | |
95 | Answer (same as HTTP): | | | |
96 | . | | |
97 | 2B --> 2B 2B --> 2B | | | |
98 | .----. .----. .----. . | | |
99 | II |Capi| |Dpi | | IO | | | | |
100 | '----' '----' '----' . | | |
101 | 2F <-- 2F 2F <-- 2F <-- | <------------' | |
102 | . | |
103 | | | |
104 | ||
105 | ||
106 | CCC Construction: | |
107 | ||
108 | a_Capi_open_url() calls a_Capi_dpi_send_cmd() when the URL | |
109 | belongs to a dpi and it is not cached. | |
110 | ||
111 | a_Capi_dpi_send_cmd() builds both the Answer and Query chains | |
112 | at once (Answer first then Query), in the same way as HTTP does. | |
113 | Note that the answer chain is the same for both, and the query | |
114 | chain only differs in the module in the middle ([http] or [dpi]). | |
115 | ||
116 | ||
117 | Function calls for DPI CCC | |
118 | -------------------------- | |
119 | ||
120 | a_Capi_open_url | |
121 | a_Capi_dpi_send_cmd | |
122 | Capi OpStart 2B (answer) [Capi] --> [dpi] --> [IO] | |
123 | Capi OpStart 1B (query) [Capi] --> [http] --> [IO] | |
124 | a_Cache_open_url | |
125 | [...] | |
126 | ||
127 | ||
128 | Normal termination: | |
129 | ||
130 | When the dpi server is done, it closes the FD, and OpEnd flows | |
131 | from IO to Capi (answer branch). When in Capi, capi propagates | |
132 | OpEnd to the query branch. | |
133 | ||
134 | Abnormal termination: | |
135 | ||
136 | The transfer may be aborted by a_Capi_conn_abort_by_url(). The | |
137 | OpAbort is not yet standardized and has an ad-hoc implementation. | |
138 | One idea is to have OpAbort always propagate BCK and then FWD and | |
139 | to jump into the other chain when it gets to [Capi]. | |
140 | ||
141 | ||
142 | Debugging CCC | |
143 | ------------- | |
144 | ||
145 | A simple way to "look" inside it, is to "#define VERBOSE 1" in | |
146 | chain.c, and then to follow its work with a printed copy of the | |
147 | diagrams in this document. | |
148 | ||
149 | Each new data request generates a CCC, so if you want to debug, | |
150 | it's good to refine the testcase to the minimum possible number | |
151 | of connections. | |
152 |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = doc | |
38 | DIST_COMMON = README $(dist_doc_DATA) $(srcdir)/Makefile.am \ | |
39 | $(srcdir)/Makefile.in | |
40 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
41 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
42 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
43 | $(ACLOCAL_M4) | |
44 | mkinstalldirs = $(install_sh) -d | |
45 | CONFIG_HEADER = $(top_builddir)/config.h | |
46 | CONFIG_CLEAN_FILES = | |
47 | CONFIG_CLEAN_VPATH_FILES = | |
48 | SOURCES = | |
49 | DIST_SOURCES = | |
50 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
51 | am__vpath_adj = case $$p in \ | |
52 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
53 | *) f=$$p;; \ | |
54 | esac; | |
55 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
56 | am__install_max = 40 | |
57 | am__nobase_strip_setup = \ | |
58 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
59 | am__nobase_strip = \ | |
60 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
61 | am__nobase_list = $(am__nobase_strip_setup); \ | |
62 | for p in $$list; do echo "$$p $$p"; done | \ | |
63 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
64 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
65 | if (++n[$$2] == $(am__install_max)) \ | |
66 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
67 | END { for (dir in files) print dir, files[dir] }' | |
68 | am__base_list = \ | |
69 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
70 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
71 | man1dir = $(mandir)/man1 | |
72 | am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" | |
73 | NROFF = nroff | |
74 | MANS = $(man_MANS) | |
75 | DATA = $(dist_doc_DATA) | |
76 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
77 | ACLOCAL = @ACLOCAL@ | |
78 | AMTAR = @AMTAR@ | |
79 | AUTOCONF = @AUTOCONF@ | |
80 | AUTOHEADER = @AUTOHEADER@ | |
81 | AUTOMAKE = @AUTOMAKE@ | |
82 | AWK = @AWK@ | |
83 | CC = @CC@ | |
84 | CCDEPMODE = @CCDEPMODE@ | |
85 | CFLAGS = @CFLAGS@ | |
86 | CPP = @CPP@ | |
87 | CPPFLAGS = @CPPFLAGS@ | |
88 | CXX = @CXX@ | |
89 | CXXDEPMODE = @CXXDEPMODE@ | |
90 | CXXFLAGS = @CXXFLAGS@ | |
91 | CYGPATH_W = @CYGPATH_W@ | |
92 | DEFS = @DEFS@ | |
93 | DEPDIR = @DEPDIR@ | |
94 | ECHO_C = @ECHO_C@ | |
95 | ECHO_N = @ECHO_N@ | |
96 | ECHO_T = @ECHO_T@ | |
97 | EGREP = @EGREP@ | |
98 | EXEEXT = @EXEEXT@ | |
99 | GREP = @GREP@ | |
100 | INSTALL = @INSTALL@ | |
101 | INSTALL_DATA = @INSTALL_DATA@ | |
102 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
103 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
104 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
105 | LDFLAGS = @LDFLAGS@ | |
106 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
107 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
108 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
109 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
110 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
111 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
112 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
113 | LIBOBJS = @LIBOBJS@ | |
114 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
115 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
116 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
117 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
118 | LIBS = @LIBS@ | |
119 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
120 | LIBZ_LIBS = @LIBZ_LIBS@ | |
121 | LTLIBOBJS = @LTLIBOBJS@ | |
122 | MAKEINFO = @MAKEINFO@ | |
123 | MKDIR_P = @MKDIR_P@ | |
124 | OBJEXT = @OBJEXT@ | |
125 | PACKAGE = @PACKAGE@ | |
126 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
127 | PACKAGE_NAME = @PACKAGE_NAME@ | |
128 | PACKAGE_STRING = @PACKAGE_STRING@ | |
129 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
130 | PACKAGE_URL = @PACKAGE_URL@ | |
131 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
132 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
133 | RANLIB = @RANLIB@ | |
134 | SET_MAKE = @SET_MAKE@ | |
135 | SHELL = @SHELL@ | |
136 | STRIP = @STRIP@ | |
137 | VERSION = @VERSION@ | |
138 | abs_builddir = @abs_builddir@ | |
139 | abs_srcdir = @abs_srcdir@ | |
140 | abs_top_builddir = @abs_top_builddir@ | |
141 | abs_top_srcdir = @abs_top_srcdir@ | |
142 | ac_ct_CC = @ac_ct_CC@ | |
143 | ac_ct_CXX = @ac_ct_CXX@ | |
144 | am__include = @am__include@ | |
145 | am__leading_dot = @am__leading_dot@ | |
146 | am__quote = @am__quote@ | |
147 | am__tar = @am__tar@ | |
148 | am__untar = @am__untar@ | |
149 | bindir = @bindir@ | |
150 | build = @build@ | |
151 | build_alias = @build_alias@ | |
152 | build_cpu = @build_cpu@ | |
153 | build_os = @build_os@ | |
154 | build_vendor = @build_vendor@ | |
155 | builddir = @builddir@ | |
156 | datadir = @datadir@ | |
157 | datarootdir = @datarootdir@ | |
158 | docdir = @docdir@ | |
159 | dvidir = @dvidir@ | |
160 | exec_prefix = @exec_prefix@ | |
161 | host = @host@ | |
162 | host_alias = @host_alias@ | |
163 | host_cpu = @host_cpu@ | |
164 | host_os = @host_os@ | |
165 | host_vendor = @host_vendor@ | |
166 | htmldir = @htmldir@ | |
167 | includedir = @includedir@ | |
168 | infodir = @infodir@ | |
169 | install_sh = @install_sh@ | |
170 | libdir = @libdir@ | |
171 | libexecdir = @libexecdir@ | |
172 | localedir = @localedir@ | |
173 | localstatedir = @localstatedir@ | |
174 | mandir = @mandir@ | |
175 | mkdir_p = @mkdir_p@ | |
176 | oldincludedir = @oldincludedir@ | |
177 | pdfdir = @pdfdir@ | |
178 | prefix = @prefix@ | |
179 | program_transform_name = @program_transform_name@ | |
180 | psdir = @psdir@ | |
181 | sbindir = @sbindir@ | |
182 | sharedstatedir = @sharedstatedir@ | |
183 | srcdir = @srcdir@ | |
184 | sysconfdir = @sysconfdir@ | |
185 | target = @target@ | |
186 | target_alias = @target_alias@ | |
187 | target_cpu = @target_cpu@ | |
188 | target_os = @target_os@ | |
189 | target_vendor = @target_vendor@ | |
190 | top_build_prefix = @top_build_prefix@ | |
191 | top_builddir = @top_builddir@ | |
192 | top_srcdir = @top_srcdir@ | |
193 | dist_doc_DATA = user_help.html | |
194 | man_MANS = dillo.1 | |
195 | EXTRA_DIST = \ | |
196 | $(man_MANS) \ | |
197 | index.doc \ | |
198 | lout.doc \ | |
199 | dw-map.doc \ | |
200 | dw-overview.doc \ | |
201 | dw-usage.doc \ | |
202 | dw-layout-views.doc \ | |
203 | dw-layout-widgets.doc \ | |
204 | dw-widget-sizes.doc \ | |
205 | dw-changes.doc \ | |
206 | dw-images-and-backgrounds.doc \ | |
207 | fltk-problems.doc \ | |
208 | rounding-errors.doc \ | |
209 | uml-legend.doc \ | |
210 | dw-example-screenshot.png \ | |
211 | dw-viewport-without-scrollbar.png \ | |
212 | dw-viewport-with-scrollbar.png \ | |
213 | dw-size-of-widget.png \ | |
214 | dw-style-box-model.png \ | |
215 | dw-style-length-absolute.png \ | |
216 | dw-style-length-percentage.png \ | |
217 | dw-style-length-relative.png \ | |
218 | dw-textblock-collapsing-spaces-1-1.png \ | |
219 | dw-textblock-collapsing-spaces-1-2.png \ | |
220 | dw-textblock-collapsing-spaces-2-1.png \ | |
221 | dw-textblock-collapsing-spaces-2-2.png \ | |
222 | Cache.txt \ | |
223 | Cookies.txt \ | |
224 | Dillo.txt \ | |
225 | Dw.txt \ | |
226 | HtmlParser.txt \ | |
227 | IO.txt \ | |
228 | Images.txt \ | |
229 | Imgbuf.txt \ | |
230 | NC_design.txt \ | |
231 | Selection.txt \ | |
232 | Dpid.txt \ | |
233 | README | |
234 | ||
235 | all: all-am | |
236 | ||
237 | .SUFFIXES: | |
238 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
239 | @for dep in $?; do \ | |
240 | case '$(am__configure_deps)' in \ | |
241 | *$$dep*) \ | |
242 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
243 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
244 | exit 1;; \ | |
245 | esac; \ | |
246 | done; \ | |
247 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ | |
248 | $(am__cd) $(top_srcdir) && \ | |
249 | $(AUTOMAKE) --gnu doc/Makefile | |
250 | .PRECIOUS: Makefile | |
251 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
252 | @case '$?' in \ | |
253 | *config.status*) \ | |
254 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
255 | *) \ | |
256 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
257 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
258 | esac; | |
259 | ||
260 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
261 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
262 | ||
263 | $(top_srcdir)/configure: $(am__configure_deps) | |
264 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
265 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
266 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
267 | $(am__aclocal_m4_deps): | |
268 | install-man1: $(man_MANS) | |
269 | @$(NORMAL_INSTALL) | |
270 | test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" | |
271 | @list=''; test -n "$(man1dir)" || exit 0; \ | |
272 | { for i in $$list; do echo "$$i"; done; \ | |
273 | l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ | |
274 | sed -n '/\.1[a-z]*$$/p'; \ | |
275 | } | while read p; do \ | |
276 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ | |
277 | echo "$$d$$p"; echo "$$p"; \ | |
278 | done | \ | |
279 | sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ | |
280 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ | |
281 | sed 'N;N;s,\n, ,g' | { \ | |
282 | list=; while read file base inst; do \ | |
283 | if test "$$base" = "$$inst"; then list="$$list $$file"; else \ | |
284 | echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ | |
285 | $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ | |
286 | fi; \ | |
287 | done; \ | |
288 | for i in $$list; do echo "$$i"; done | $(am__base_list) | \ | |
289 | while read files; do \ | |
290 | test -z "$$files" || { \ | |
291 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ | |
292 | $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ | |
293 | done; } | |
294 | ||
295 | uninstall-man1: | |
296 | @$(NORMAL_UNINSTALL) | |
297 | @list=''; test -n "$(man1dir)" || exit 0; \ | |
298 | files=`{ for i in $$list; do echo "$$i"; done; \ | |
299 | l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ | |
300 | sed -n '/\.1[a-z]*$$/p'; \ | |
301 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ | |
302 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ | |
303 | test -z "$$files" || { \ | |
304 | echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ | |
305 | cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } | |
306 | install-dist_docDATA: $(dist_doc_DATA) | |
307 | @$(NORMAL_INSTALL) | |
308 | test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" | |
309 | @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ | |
310 | for p in $$list; do \ | |
311 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
312 | echo "$$d$$p"; \ | |
313 | done | $(am__base_list) | \ | |
314 | while read files; do \ | |
315 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ | |
316 | $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ | |
317 | done | |
318 | ||
319 | uninstall-dist_docDATA: | |
320 | @$(NORMAL_UNINSTALL) | |
321 | @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ | |
322 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
323 | test -n "$$files" || exit 0; \ | |
324 | echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ | |
325 | cd "$(DESTDIR)$(docdir)" && rm -f $$files | |
326 | tags: TAGS | |
327 | TAGS: | |
328 | ||
329 | ctags: CTAGS | |
330 | CTAGS: | |
331 | ||
332 | ||
333 | distdir: $(DISTFILES) | |
334 | @list='$(MANS)'; if test -n "$$list"; then \ | |
335 | list=`for p in $$list; do \ | |
336 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ | |
337 | if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ | |
338 | if test -n "$$list" && \ | |
339 | grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ | |
340 | echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ | |
341 | grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ | |
342 | echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ | |
343 | echo " typically \`make maintainer-clean' will remove them" >&2; \ | |
344 | exit 1; \ | |
345 | else :; fi; \ | |
346 | else :; fi | |
347 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
348 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
349 | list='$(DISTFILES)'; \ | |
350 | dist_files=`for file in $$list; do echo $$file; done | \ | |
351 | sed -e "s|^$$srcdirstrip/||;t" \ | |
352 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
353 | case $$dist_files in \ | |
354 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
355 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
356 | sort -u` ;; \ | |
357 | esac; \ | |
358 | for file in $$dist_files; do \ | |
359 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
360 | if test -d $$d/$$file; then \ | |
361 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
362 | if test -d "$(distdir)/$$file"; then \ | |
363 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
364 | fi; \ | |
365 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
366 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
367 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
368 | fi; \ | |
369 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
370 | else \ | |
371 | test -f "$(distdir)/$$file" \ | |
372 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
373 | || exit 1; \ | |
374 | fi; \ | |
375 | done | |
376 | check-am: all-am | |
377 | check: check-am | |
378 | all-am: Makefile $(MANS) $(DATA) | |
379 | installdirs: | |
380 | for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \ | |
381 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
382 | done | |
383 | install: install-am | |
384 | install-exec: install-exec-am | |
385 | install-data: install-data-am | |
386 | uninstall: uninstall-am | |
387 | ||
388 | install-am: all-am | |
389 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
390 | ||
391 | installcheck: installcheck-am | |
392 | install-strip: | |
393 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
394 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
395 | `test -z '$(STRIP)' || \ | |
396 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
397 | mostlyclean-generic: | |
398 | ||
399 | clean-generic: | |
400 | ||
401 | distclean-generic: | |
402 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
403 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
404 | ||
405 | maintainer-clean-generic: | |
406 | @echo "This command is intended for maintainers to use" | |
407 | @echo "it deletes files that may require special tools to rebuild." | |
408 | clean: clean-am | |
409 | ||
410 | clean-am: clean-generic mostlyclean-am | |
411 | ||
412 | distclean: distclean-am | |
413 | -rm -f Makefile | |
414 | distclean-am: clean-am distclean-generic | |
415 | ||
416 | dvi: dvi-am | |
417 | ||
418 | dvi-am: | |
419 | ||
420 | html: html-am | |
421 | ||
422 | html-am: | |
423 | ||
424 | info: info-am | |
425 | ||
426 | info-am: | |
427 | ||
428 | install-data-am: install-dist_docDATA install-man | |
429 | ||
430 | install-dvi: install-dvi-am | |
431 | ||
432 | install-dvi-am: | |
433 | ||
434 | install-exec-am: | |
435 | ||
436 | install-html: install-html-am | |
437 | ||
438 | install-html-am: | |
439 | ||
440 | install-info: install-info-am | |
441 | ||
442 | install-info-am: | |
443 | ||
444 | install-man: install-man1 | |
445 | ||
446 | install-pdf: install-pdf-am | |
447 | ||
448 | install-pdf-am: | |
449 | ||
450 | install-ps: install-ps-am | |
451 | ||
452 | install-ps-am: | |
453 | ||
454 | installcheck-am: | |
455 | ||
456 | maintainer-clean: maintainer-clean-am | |
457 | -rm -f Makefile | |
458 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
459 | ||
460 | mostlyclean: mostlyclean-am | |
461 | ||
462 | mostlyclean-am: mostlyclean-generic | |
463 | ||
464 | pdf: pdf-am | |
465 | ||
466 | pdf-am: | |
467 | ||
468 | ps: ps-am | |
469 | ||
470 | ps-am: | |
471 | ||
472 | uninstall-am: uninstall-dist_docDATA uninstall-man | |
473 | ||
474 | uninstall-man: uninstall-man1 | |
475 | ||
476 | .MAKE: install-am install-strip | |
477 | ||
478 | .PHONY: all all-am check check-am clean clean-generic distclean \ | |
479 | distclean-generic distdir dvi dvi-am html html-am info info-am \ | |
480 | install install-am install-data install-data-am \ | |
481 | install-dist_docDATA install-dvi install-dvi-am install-exec \ | |
482 | install-exec-am install-html install-html-am install-info \ | |
483 | install-info-am install-man install-man1 install-pdf \ | |
484 | install-pdf-am install-ps install-ps-am install-strip \ | |
485 | installcheck installcheck-am installdirs maintainer-clean \ | |
486 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
487 | pdf-am ps ps-am uninstall uninstall-am uninstall-dist_docDATA \ | |
488 | uninstall-man uninstall-man1 | |
489 | ||
490 | ||
491 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
492 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
493 | .NOEXPORT: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | bookmarks_PROGRAMS = bookmarks.dpi$(EXEEXT) | |
38 | downloads_PROGRAMS = downloads.dpi$(EXEEXT) | |
39 | ftp_PROGRAMS = ftp.filter.dpi$(EXEEXT) | |
40 | https_PROGRAMS = https.filter.dpi$(EXEEXT) | |
41 | hello_PROGRAMS = hello.filter.dpi$(EXEEXT) | |
42 | vsource_PROGRAMS = vsource.filter.dpi$(EXEEXT) | |
43 | file_PROGRAMS = file.dpi$(EXEEXT) | |
44 | cookies_PROGRAMS = cookies.dpi$(EXEEXT) | |
45 | datauri_PROGRAMS = datauri.filter.dpi$(EXEEXT) | |
46 | subdir = dpi | |
47 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
48 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
49 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
50 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
51 | $(ACLOCAL_M4) | |
52 | mkinstalldirs = $(install_sh) -d | |
53 | CONFIG_HEADER = $(top_builddir)/config.h | |
54 | CONFIG_CLEAN_FILES = | |
55 | CONFIG_CLEAN_VPATH_FILES = | |
56 | am__installdirs = "$(DESTDIR)$(bookmarksdir)" \ | |
57 | "$(DESTDIR)$(cookiesdir)" "$(DESTDIR)$(datauridir)" \ | |
58 | "$(DESTDIR)$(downloadsdir)" "$(DESTDIR)$(filedir)" \ | |
59 | "$(DESTDIR)$(ftpdir)" "$(DESTDIR)$(hellodir)" \ | |
60 | "$(DESTDIR)$(httpsdir)" "$(DESTDIR)$(vsourcedir)" | |
61 | PROGRAMS = $(bookmarks_PROGRAMS) $(cookies_PROGRAMS) \ | |
62 | $(datauri_PROGRAMS) $(downloads_PROGRAMS) $(file_PROGRAMS) \ | |
63 | $(ftp_PROGRAMS) $(hello_PROGRAMS) $(https_PROGRAMS) \ | |
64 | $(vsource_PROGRAMS) | |
65 | am_bookmarks_dpi_OBJECTS = bookmarks.$(OBJEXT) dpiutil.$(OBJEXT) | |
66 | bookmarks_dpi_OBJECTS = $(am_bookmarks_dpi_OBJECTS) | |
67 | bookmarks_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
68 | $(top_builddir)/dlib/libDlib.a | |
69 | am_cookies_dpi_OBJECTS = cookies.$(OBJEXT) dpiutil.$(OBJEXT) | |
70 | cookies_dpi_OBJECTS = $(am_cookies_dpi_OBJECTS) | |
71 | cookies_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
72 | $(top_builddir)/dlib/libDlib.a | |
73 | am_datauri_filter_dpi_OBJECTS = datauri.$(OBJEXT) dpiutil.$(OBJEXT) | |
74 | datauri_filter_dpi_OBJECTS = $(am_datauri_filter_dpi_OBJECTS) | |
75 | datauri_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
76 | $(top_builddir)/dlib/libDlib.a | |
77 | am_downloads_dpi_OBJECTS = downloads_dpi-downloads.$(OBJEXT) \ | |
78 | dpiutil.$(OBJEXT) | |
79 | downloads_dpi_OBJECTS = $(am_downloads_dpi_OBJECTS) | |
80 | downloads_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
81 | $(top_builddir)/dlib/libDlib.a | |
82 | downloads_dpi_LINK = $(CXXLD) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) \ | |
83 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
84 | am_file_dpi_OBJECTS = file.$(OBJEXT) dpiutil.$(OBJEXT) | |
85 | file_dpi_OBJECTS = $(am_file_dpi_OBJECTS) | |
86 | file_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
87 | $(top_builddir)/dlib/libDlib.a | |
88 | am_ftp_filter_dpi_OBJECTS = ftp.$(OBJEXT) dpiutil.$(OBJEXT) | |
89 | ftp_filter_dpi_OBJECTS = $(am_ftp_filter_dpi_OBJECTS) | |
90 | ftp_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
91 | $(top_builddir)/dlib/libDlib.a | |
92 | am_hello_filter_dpi_OBJECTS = hello.$(OBJEXT) dpiutil.$(OBJEXT) | |
93 | hello_filter_dpi_OBJECTS = $(am_hello_filter_dpi_OBJECTS) | |
94 | hello_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
95 | $(top_builddir)/dlib/libDlib.a | |
96 | am_https_filter_dpi_OBJECTS = https.$(OBJEXT) dpiutil.$(OBJEXT) | |
97 | https_filter_dpi_OBJECTS = $(am_https_filter_dpi_OBJECTS) | |
98 | https_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
99 | $(top_builddir)/dlib/libDlib.a | |
100 | am_vsource_filter_dpi_OBJECTS = vsource.$(OBJEXT) dpiutil.$(OBJEXT) | |
101 | vsource_filter_dpi_OBJECTS = $(am_vsource_filter_dpi_OBJECTS) | |
102 | vsource_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
103 | $(top_builddir)/dlib/libDlib.a | |
104 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
105 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
106 | am__depfiles_maybe = depfiles | |
107 | am__mv = mv -f | |
108 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
109 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
110 | CCLD = $(CC) | |
111 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
112 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
113 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
114 | CXXLD = $(CXX) | |
115 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
116 | -o $@ | |
117 | SOURCES = $(bookmarks_dpi_SOURCES) $(cookies_dpi_SOURCES) \ | |
118 | $(datauri_filter_dpi_SOURCES) $(downloads_dpi_SOURCES) \ | |
119 | $(file_dpi_SOURCES) $(ftp_filter_dpi_SOURCES) \ | |
120 | $(hello_filter_dpi_SOURCES) $(https_filter_dpi_SOURCES) \ | |
121 | $(vsource_filter_dpi_SOURCES) | |
122 | DIST_SOURCES = $(bookmarks_dpi_SOURCES) $(cookies_dpi_SOURCES) \ | |
123 | $(datauri_filter_dpi_SOURCES) $(downloads_dpi_SOURCES) \ | |
124 | $(file_dpi_SOURCES) $(ftp_filter_dpi_SOURCES) \ | |
125 | $(hello_filter_dpi_SOURCES) $(https_filter_dpi_SOURCES) \ | |
126 | $(vsource_filter_dpi_SOURCES) | |
127 | ETAGS = etags | |
128 | CTAGS = ctags | |
129 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
130 | ACLOCAL = @ACLOCAL@ | |
131 | AMTAR = @AMTAR@ | |
132 | AUTOCONF = @AUTOCONF@ | |
133 | AUTOHEADER = @AUTOHEADER@ | |
134 | AUTOMAKE = @AUTOMAKE@ | |
135 | AWK = @AWK@ | |
136 | CC = @CC@ | |
137 | CCDEPMODE = @CCDEPMODE@ | |
138 | CFLAGS = @CFLAGS@ | |
139 | CPP = @CPP@ | |
140 | CPPFLAGS = @CPPFLAGS@ | |
141 | CXX = @CXX@ | |
142 | CXXDEPMODE = @CXXDEPMODE@ | |
143 | CXXFLAGS = @CXXFLAGS@ | |
144 | CYGPATH_W = @CYGPATH_W@ | |
145 | DEFS = @DEFS@ | |
146 | DEPDIR = @DEPDIR@ | |
147 | ECHO_C = @ECHO_C@ | |
148 | ECHO_N = @ECHO_N@ | |
149 | ECHO_T = @ECHO_T@ | |
150 | EGREP = @EGREP@ | |
151 | EXEEXT = @EXEEXT@ | |
152 | GREP = @GREP@ | |
153 | INSTALL = @INSTALL@ | |
154 | INSTALL_DATA = @INSTALL_DATA@ | |
155 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
156 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
157 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
158 | LDFLAGS = @LDFLAGS@ | |
159 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
160 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
161 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
162 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
163 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
164 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
165 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
166 | LIBOBJS = @LIBOBJS@ | |
167 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
168 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
169 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
170 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
171 | LIBS = @LIBS@ | |
172 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
173 | LIBZ_LIBS = @LIBZ_LIBS@ | |
174 | LTLIBOBJS = @LTLIBOBJS@ | |
175 | MAKEINFO = @MAKEINFO@ | |
176 | MKDIR_P = @MKDIR_P@ | |
177 | OBJEXT = @OBJEXT@ | |
178 | PACKAGE = @PACKAGE@ | |
179 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
180 | PACKAGE_NAME = @PACKAGE_NAME@ | |
181 | PACKAGE_STRING = @PACKAGE_STRING@ | |
182 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
183 | PACKAGE_URL = @PACKAGE_URL@ | |
184 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
185 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
186 | RANLIB = @RANLIB@ | |
187 | SET_MAKE = @SET_MAKE@ | |
188 | SHELL = @SHELL@ | |
189 | STRIP = @STRIP@ | |
190 | VERSION = @VERSION@ | |
191 | abs_builddir = @abs_builddir@ | |
192 | abs_srcdir = @abs_srcdir@ | |
193 | abs_top_builddir = @abs_top_builddir@ | |
194 | abs_top_srcdir = @abs_top_srcdir@ | |
195 | ac_ct_CC = @ac_ct_CC@ | |
196 | ac_ct_CXX = @ac_ct_CXX@ | |
197 | am__include = @am__include@ | |
198 | am__leading_dot = @am__leading_dot@ | |
199 | am__quote = @am__quote@ | |
200 | am__tar = @am__tar@ | |
201 | am__untar = @am__untar@ | |
202 | bindir = @bindir@ | |
203 | build = @build@ | |
204 | build_alias = @build_alias@ | |
205 | build_cpu = @build_cpu@ | |
206 | build_os = @build_os@ | |
207 | build_vendor = @build_vendor@ | |
208 | builddir = @builddir@ | |
209 | datadir = @datadir@ | |
210 | datarootdir = @datarootdir@ | |
211 | docdir = @docdir@ | |
212 | dvidir = @dvidir@ | |
213 | exec_prefix = @exec_prefix@ | |
214 | host = @host@ | |
215 | host_alias = @host_alias@ | |
216 | host_cpu = @host_cpu@ | |
217 | host_os = @host_os@ | |
218 | host_vendor = @host_vendor@ | |
219 | htmldir = @htmldir@ | |
220 | includedir = @includedir@ | |
221 | infodir = @infodir@ | |
222 | install_sh = @install_sh@ | |
223 | libdir = @libdir@ | |
224 | libexecdir = @libexecdir@ | |
225 | localedir = @localedir@ | |
226 | localstatedir = @localstatedir@ | |
227 | mandir = @mandir@ | |
228 | mkdir_p = @mkdir_p@ | |
229 | oldincludedir = @oldincludedir@ | |
230 | pdfdir = @pdfdir@ | |
231 | prefix = @prefix@ | |
232 | program_transform_name = @program_transform_name@ | |
233 | psdir = @psdir@ | |
234 | sbindir = @sbindir@ | |
235 | sharedstatedir = @sharedstatedir@ | |
236 | srcdir = @srcdir@ | |
237 | sysconfdir = @sysconfdir@ | |
238 | target = @target@ | |
239 | target_alias = @target_alias@ | |
240 | target_cpu = @target_cpu@ | |
241 | target_os = @target_os@ | |
242 | target_vendor = @target_vendor@ | |
243 | top_build_prefix = @top_build_prefix@ | |
244 | top_builddir = @top_builddir@ | |
245 | top_srcdir = @top_srcdir@ | |
246 | AM_CPPFLAGS = \ | |
247 | -I$(top_srcdir) | |
248 | ||
249 | bookmarksdir = $(libdir)/dillo/dpi/bookmarks | |
250 | downloadsdir = $(libdir)/dillo/dpi/downloads | |
251 | ftpdir = $(libdir)/dillo/dpi/ftp | |
252 | httpsdir = $(libdir)/dillo/dpi/https | |
253 | hellodir = $(libdir)/dillo/dpi/hello | |
254 | vsourcedir = $(libdir)/dillo/dpi/vsource | |
255 | filedir = $(libdir)/dillo/dpi/file | |
256 | cookiesdir = $(libdir)/dillo/dpi/cookies | |
257 | datauridir = $(libdir)/dillo/dpi/datauri | |
258 | bookmarks_dpi_LDADD = \ | |
259 | $(top_builddir)/dpip/libDpip.a \ | |
260 | $(top_builddir)/dlib/libDlib.a | |
261 | ||
262 | downloads_dpi_LDADD = @LIBFLTK_LIBS@ \ | |
263 | $(top_builddir)/dpip/libDpip.a \ | |
264 | $(top_builddir)/dlib/libDlib.a | |
265 | ||
266 | ftp_filter_dpi_LDADD = \ | |
267 | $(top_builddir)/dpip/libDpip.a \ | |
268 | $(top_builddir)/dlib/libDlib.a | |
269 | ||
270 | https_filter_dpi_LDADD = @LIBSSL_LIBS@ \ | |
271 | $(top_builddir)/dpip/libDpip.a \ | |
272 | $(top_builddir)/dlib/libDlib.a | |
273 | ||
274 | hello_filter_dpi_LDADD = \ | |
275 | $(top_builddir)/dpip/libDpip.a \ | |
276 | $(top_builddir)/dlib/libDlib.a | |
277 | ||
278 | vsource_filter_dpi_LDADD = \ | |
279 | $(top_builddir)/dpip/libDpip.a \ | |
280 | $(top_builddir)/dlib/libDlib.a | |
281 | ||
282 | file_dpi_LDADD = \ | |
283 | $(top_builddir)/dpip/libDpip.a \ | |
284 | $(top_builddir)/dlib/libDlib.a | |
285 | ||
286 | cookies_dpi_LDADD = \ | |
287 | $(top_builddir)/dpip/libDpip.a \ | |
288 | $(top_builddir)/dlib/libDlib.a | |
289 | ||
290 | datauri_filter_dpi_LDADD = \ | |
291 | $(top_builddir)/dpip/libDpip.a \ | |
292 | $(top_builddir)/dlib/libDlib.a | |
293 | ||
294 | downloads_dpi_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
295 | bookmarks_dpi_SOURCES = bookmarks.c dpiutil.c dpiutil.h | |
296 | downloads_dpi_SOURCES = downloads.cc dpiutil.c dpiutil.h | |
297 | ftp_filter_dpi_SOURCES = ftp.c dpiutil.c dpiutil.h | |
298 | https_filter_dpi_SOURCES = https.c dpiutil.c dpiutil.h | |
299 | hello_filter_dpi_SOURCES = hello.c dpiutil.c dpiutil.h | |
300 | vsource_filter_dpi_SOURCES = vsource.c dpiutil.c dpiutil.h | |
301 | file_dpi_SOURCES = file.c dpiutil.c dpiutil.h | |
302 | cookies_dpi_SOURCES = cookies.c dpiutil.c dpiutil.h | |
303 | datauri_filter_dpi_SOURCES = datauri.c dpiutil.c dpiutil.h | |
304 | all: all-am | |
305 | ||
306 | .SUFFIXES: | |
307 | .SUFFIXES: .c .cc .o .obj | |
308 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
309 | @for dep in $?; do \ | |
310 | case '$(am__configure_deps)' in \ | |
311 | *$$dep*) \ | |
312 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
313 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
314 | exit 1;; \ | |
315 | esac; \ | |
316 | done; \ | |
317 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dpi/Makefile'; \ | |
318 | $(am__cd) $(top_srcdir) && \ | |
319 | $(AUTOMAKE) --gnu dpi/Makefile | |
320 | .PRECIOUS: Makefile | |
321 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
322 | @case '$?' in \ | |
323 | *config.status*) \ | |
324 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
325 | *) \ | |
326 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
327 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
328 | esac; | |
329 | ||
330 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
331 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
332 | ||
333 | $(top_srcdir)/configure: $(am__configure_deps) | |
334 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
335 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
336 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
337 | $(am__aclocal_m4_deps): | |
338 | install-bookmarksPROGRAMS: $(bookmarks_PROGRAMS) | |
339 | @$(NORMAL_INSTALL) | |
340 | test -z "$(bookmarksdir)" || $(MKDIR_P) "$(DESTDIR)$(bookmarksdir)" | |
341 | @list='$(bookmarks_PROGRAMS)'; test -n "$(bookmarksdir)" || list=; \ | |
342 | for p in $$list; do echo "$$p $$p"; done | \ | |
343 | sed 's/$(EXEEXT)$$//' | \ | |
344 | while read p p1; do if test -f $$p; \ | |
345 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
346 | done | \ | |
347 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
348 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
349 | sed 'N;N;N;s,\n, ,g' | \ | |
350 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
351 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
352 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
353 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
354 | END { for (d in files) print "f", d, files[d] }' | \ | |
355 | while read type dir files; do \ | |
356 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
357 | test -z "$$files" || { \ | |
358 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bookmarksdir)$$dir'"; \ | |
359 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bookmarksdir)$$dir" || exit $$?; \ | |
360 | } \ | |
361 | ; done | |
362 | ||
363 | uninstall-bookmarksPROGRAMS: | |
364 | @$(NORMAL_UNINSTALL) | |
365 | @list='$(bookmarks_PROGRAMS)'; test -n "$(bookmarksdir)" || list=; \ | |
366 | files=`for p in $$list; do echo "$$p"; done | \ | |
367 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
368 | -e 's/$$/$(EXEEXT)/' `; \ | |
369 | test -n "$$list" || exit 0; \ | |
370 | echo " ( cd '$(DESTDIR)$(bookmarksdir)' && rm -f" $$files ")"; \ | |
371 | cd "$(DESTDIR)$(bookmarksdir)" && rm -f $$files | |
372 | ||
373 | clean-bookmarksPROGRAMS: | |
374 | -test -z "$(bookmarks_PROGRAMS)" || rm -f $(bookmarks_PROGRAMS) | |
375 | install-cookiesPROGRAMS: $(cookies_PROGRAMS) | |
376 | @$(NORMAL_INSTALL) | |
377 | test -z "$(cookiesdir)" || $(MKDIR_P) "$(DESTDIR)$(cookiesdir)" | |
378 | @list='$(cookies_PROGRAMS)'; test -n "$(cookiesdir)" || list=; \ | |
379 | for p in $$list; do echo "$$p $$p"; done | \ | |
380 | sed 's/$(EXEEXT)$$//' | \ | |
381 | while read p p1; do if test -f $$p; \ | |
382 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
383 | done | \ | |
384 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
385 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
386 | sed 'N;N;N;s,\n, ,g' | \ | |
387 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
388 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
389 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
390 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
391 | END { for (d in files) print "f", d, files[d] }' | \ | |
392 | while read type dir files; do \ | |
393 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
394 | test -z "$$files" || { \ | |
395 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(cookiesdir)$$dir'"; \ | |
396 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(cookiesdir)$$dir" || exit $$?; \ | |
397 | } \ | |
398 | ; done | |
399 | ||
400 | uninstall-cookiesPROGRAMS: | |
401 | @$(NORMAL_UNINSTALL) | |
402 | @list='$(cookies_PROGRAMS)'; test -n "$(cookiesdir)" || list=; \ | |
403 | files=`for p in $$list; do echo "$$p"; done | \ | |
404 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
405 | -e 's/$$/$(EXEEXT)/' `; \ | |
406 | test -n "$$list" || exit 0; \ | |
407 | echo " ( cd '$(DESTDIR)$(cookiesdir)' && rm -f" $$files ")"; \ | |
408 | cd "$(DESTDIR)$(cookiesdir)" && rm -f $$files | |
409 | ||
410 | clean-cookiesPROGRAMS: | |
411 | -test -z "$(cookies_PROGRAMS)" || rm -f $(cookies_PROGRAMS) | |
412 | install-datauriPROGRAMS: $(datauri_PROGRAMS) | |
413 | @$(NORMAL_INSTALL) | |
414 | test -z "$(datauridir)" || $(MKDIR_P) "$(DESTDIR)$(datauridir)" | |
415 | @list='$(datauri_PROGRAMS)'; test -n "$(datauridir)" || list=; \ | |
416 | for p in $$list; do echo "$$p $$p"; done | \ | |
417 | sed 's/$(EXEEXT)$$//' | \ | |
418 | while read p p1; do if test -f $$p; \ | |
419 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
420 | done | \ | |
421 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
422 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
423 | sed 'N;N;N;s,\n, ,g' | \ | |
424 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
425 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
426 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
427 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
428 | END { for (d in files) print "f", d, files[d] }' | \ | |
429 | while read type dir files; do \ | |
430 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
431 | test -z "$$files" || { \ | |
432 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(datauridir)$$dir'"; \ | |
433 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(datauridir)$$dir" || exit $$?; \ | |
434 | } \ | |
435 | ; done | |
436 | ||
437 | uninstall-datauriPROGRAMS: | |
438 | @$(NORMAL_UNINSTALL) | |
439 | @list='$(datauri_PROGRAMS)'; test -n "$(datauridir)" || list=; \ | |
440 | files=`for p in $$list; do echo "$$p"; done | \ | |
441 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
442 | -e 's/$$/$(EXEEXT)/' `; \ | |
443 | test -n "$$list" || exit 0; \ | |
444 | echo " ( cd '$(DESTDIR)$(datauridir)' && rm -f" $$files ")"; \ | |
445 | cd "$(DESTDIR)$(datauridir)" && rm -f $$files | |
446 | ||
447 | clean-datauriPROGRAMS: | |
448 | -test -z "$(datauri_PROGRAMS)" || rm -f $(datauri_PROGRAMS) | |
449 | install-downloadsPROGRAMS: $(downloads_PROGRAMS) | |
450 | @$(NORMAL_INSTALL) | |
451 | test -z "$(downloadsdir)" || $(MKDIR_P) "$(DESTDIR)$(downloadsdir)" | |
452 | @list='$(downloads_PROGRAMS)'; test -n "$(downloadsdir)" || list=; \ | |
453 | for p in $$list; do echo "$$p $$p"; done | \ | |
454 | sed 's/$(EXEEXT)$$//' | \ | |
455 | while read p p1; do if test -f $$p; \ | |
456 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
457 | done | \ | |
458 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
459 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
460 | sed 'N;N;N;s,\n, ,g' | \ | |
461 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
462 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
463 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
464 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
465 | END { for (d in files) print "f", d, files[d] }' | \ | |
466 | while read type dir files; do \ | |
467 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
468 | test -z "$$files" || { \ | |
469 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(downloadsdir)$$dir'"; \ | |
470 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(downloadsdir)$$dir" || exit $$?; \ | |
471 | } \ | |
472 | ; done | |
473 | ||
474 | uninstall-downloadsPROGRAMS: | |
475 | @$(NORMAL_UNINSTALL) | |
476 | @list='$(downloads_PROGRAMS)'; test -n "$(downloadsdir)" || list=; \ | |
477 | files=`for p in $$list; do echo "$$p"; done | \ | |
478 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
479 | -e 's/$$/$(EXEEXT)/' `; \ | |
480 | test -n "$$list" || exit 0; \ | |
481 | echo " ( cd '$(DESTDIR)$(downloadsdir)' && rm -f" $$files ")"; \ | |
482 | cd "$(DESTDIR)$(downloadsdir)" && rm -f $$files | |
483 | ||
484 | clean-downloadsPROGRAMS: | |
485 | -test -z "$(downloads_PROGRAMS)" || rm -f $(downloads_PROGRAMS) | |
486 | install-filePROGRAMS: $(file_PROGRAMS) | |
487 | @$(NORMAL_INSTALL) | |
488 | test -z "$(filedir)" || $(MKDIR_P) "$(DESTDIR)$(filedir)" | |
489 | @list='$(file_PROGRAMS)'; test -n "$(filedir)" || list=; \ | |
490 | for p in $$list; do echo "$$p $$p"; done | \ | |
491 | sed 's/$(EXEEXT)$$//' | \ | |
492 | while read p p1; do if test -f $$p; \ | |
493 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
494 | done | \ | |
495 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
496 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
497 | sed 'N;N;N;s,\n, ,g' | \ | |
498 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
499 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
500 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
501 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
502 | END { for (d in files) print "f", d, files[d] }' | \ | |
503 | while read type dir files; do \ | |
504 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
505 | test -z "$$files" || { \ | |
506 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(filedir)$$dir'"; \ | |
507 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(filedir)$$dir" || exit $$?; \ | |
508 | } \ | |
509 | ; done | |
510 | ||
511 | uninstall-filePROGRAMS: | |
512 | @$(NORMAL_UNINSTALL) | |
513 | @list='$(file_PROGRAMS)'; test -n "$(filedir)" || list=; \ | |
514 | files=`for p in $$list; do echo "$$p"; done | \ | |
515 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
516 | -e 's/$$/$(EXEEXT)/' `; \ | |
517 | test -n "$$list" || exit 0; \ | |
518 | echo " ( cd '$(DESTDIR)$(filedir)' && rm -f" $$files ")"; \ | |
519 | cd "$(DESTDIR)$(filedir)" && rm -f $$files | |
520 | ||
521 | clean-filePROGRAMS: | |
522 | -test -z "$(file_PROGRAMS)" || rm -f $(file_PROGRAMS) | |
523 | install-ftpPROGRAMS: $(ftp_PROGRAMS) | |
524 | @$(NORMAL_INSTALL) | |
525 | test -z "$(ftpdir)" || $(MKDIR_P) "$(DESTDIR)$(ftpdir)" | |
526 | @list='$(ftp_PROGRAMS)'; test -n "$(ftpdir)" || list=; \ | |
527 | for p in $$list; do echo "$$p $$p"; done | \ | |
528 | sed 's/$(EXEEXT)$$//' | \ | |
529 | while read p p1; do if test -f $$p; \ | |
530 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
531 | done | \ | |
532 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
533 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
534 | sed 'N;N;N;s,\n, ,g' | \ | |
535 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
536 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
537 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
538 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
539 | END { for (d in files) print "f", d, files[d] }' | \ | |
540 | while read type dir files; do \ | |
541 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
542 | test -z "$$files" || { \ | |
543 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(ftpdir)$$dir'"; \ | |
544 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(ftpdir)$$dir" || exit $$?; \ | |
545 | } \ | |
546 | ; done | |
547 | ||
548 | uninstall-ftpPROGRAMS: | |
549 | @$(NORMAL_UNINSTALL) | |
550 | @list='$(ftp_PROGRAMS)'; test -n "$(ftpdir)" || list=; \ | |
551 | files=`for p in $$list; do echo "$$p"; done | \ | |
552 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
553 | -e 's/$$/$(EXEEXT)/' `; \ | |
554 | test -n "$$list" || exit 0; \ | |
555 | echo " ( cd '$(DESTDIR)$(ftpdir)' && rm -f" $$files ")"; \ | |
556 | cd "$(DESTDIR)$(ftpdir)" && rm -f $$files | |
557 | ||
558 | clean-ftpPROGRAMS: | |
559 | -test -z "$(ftp_PROGRAMS)" || rm -f $(ftp_PROGRAMS) | |
560 | install-helloPROGRAMS: $(hello_PROGRAMS) | |
561 | @$(NORMAL_INSTALL) | |
562 | test -z "$(hellodir)" || $(MKDIR_P) "$(DESTDIR)$(hellodir)" | |
563 | @list='$(hello_PROGRAMS)'; test -n "$(hellodir)" || list=; \ | |
564 | for p in $$list; do echo "$$p $$p"; done | \ | |
565 | sed 's/$(EXEEXT)$$//' | \ | |
566 | while read p p1; do if test -f $$p; \ | |
567 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
568 | done | \ | |
569 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
570 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
571 | sed 'N;N;N;s,\n, ,g' | \ | |
572 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
573 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
574 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
575 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
576 | END { for (d in files) print "f", d, files[d] }' | \ | |
577 | while read type dir files; do \ | |
578 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
579 | test -z "$$files" || { \ | |
580 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(hellodir)$$dir'"; \ | |
581 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(hellodir)$$dir" || exit $$?; \ | |
582 | } \ | |
583 | ; done | |
584 | ||
585 | uninstall-helloPROGRAMS: | |
586 | @$(NORMAL_UNINSTALL) | |
587 | @list='$(hello_PROGRAMS)'; test -n "$(hellodir)" || list=; \ | |
588 | files=`for p in $$list; do echo "$$p"; done | \ | |
589 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
590 | -e 's/$$/$(EXEEXT)/' `; \ | |
591 | test -n "$$list" || exit 0; \ | |
592 | echo " ( cd '$(DESTDIR)$(hellodir)' && rm -f" $$files ")"; \ | |
593 | cd "$(DESTDIR)$(hellodir)" && rm -f $$files | |
594 | ||
595 | clean-helloPROGRAMS: | |
596 | -test -z "$(hello_PROGRAMS)" || rm -f $(hello_PROGRAMS) | |
597 | install-httpsPROGRAMS: $(https_PROGRAMS) | |
598 | @$(NORMAL_INSTALL) | |
599 | test -z "$(httpsdir)" || $(MKDIR_P) "$(DESTDIR)$(httpsdir)" | |
600 | @list='$(https_PROGRAMS)'; test -n "$(httpsdir)" || list=; \ | |
601 | for p in $$list; do echo "$$p $$p"; done | \ | |
602 | sed 's/$(EXEEXT)$$//' | \ | |
603 | while read p p1; do if test -f $$p; \ | |
604 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
605 | done | \ | |
606 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
607 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
608 | sed 'N;N;N;s,\n, ,g' | \ | |
609 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
610 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
611 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
612 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
613 | END { for (d in files) print "f", d, files[d] }' | \ | |
614 | while read type dir files; do \ | |
615 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
616 | test -z "$$files" || { \ | |
617 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(httpsdir)$$dir'"; \ | |
618 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(httpsdir)$$dir" || exit $$?; \ | |
619 | } \ | |
620 | ; done | |
621 | ||
622 | uninstall-httpsPROGRAMS: | |
623 | @$(NORMAL_UNINSTALL) | |
624 | @list='$(https_PROGRAMS)'; test -n "$(httpsdir)" || list=; \ | |
625 | files=`for p in $$list; do echo "$$p"; done | \ | |
626 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
627 | -e 's/$$/$(EXEEXT)/' `; \ | |
628 | test -n "$$list" || exit 0; \ | |
629 | echo " ( cd '$(DESTDIR)$(httpsdir)' && rm -f" $$files ")"; \ | |
630 | cd "$(DESTDIR)$(httpsdir)" && rm -f $$files | |
631 | ||
632 | clean-httpsPROGRAMS: | |
633 | -test -z "$(https_PROGRAMS)" || rm -f $(https_PROGRAMS) | |
634 | install-vsourcePROGRAMS: $(vsource_PROGRAMS) | |
635 | @$(NORMAL_INSTALL) | |
636 | test -z "$(vsourcedir)" || $(MKDIR_P) "$(DESTDIR)$(vsourcedir)" | |
637 | @list='$(vsource_PROGRAMS)'; test -n "$(vsourcedir)" || list=; \ | |
638 | for p in $$list; do echo "$$p $$p"; done | \ | |
639 | sed 's/$(EXEEXT)$$//' | \ | |
640 | while read p p1; do if test -f $$p; \ | |
641 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
642 | done | \ | |
643 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
644 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
645 | sed 'N;N;N;s,\n, ,g' | \ | |
646 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
647 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
648 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
649 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
650 | END { for (d in files) print "f", d, files[d] }' | \ | |
651 | while read type dir files; do \ | |
652 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
653 | test -z "$$files" || { \ | |
654 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(vsourcedir)$$dir'"; \ | |
655 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(vsourcedir)$$dir" || exit $$?; \ | |
656 | } \ | |
657 | ; done | |
658 | ||
659 | uninstall-vsourcePROGRAMS: | |
660 | @$(NORMAL_UNINSTALL) | |
661 | @list='$(vsource_PROGRAMS)'; test -n "$(vsourcedir)" || list=; \ | |
662 | files=`for p in $$list; do echo "$$p"; done | \ | |
663 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
664 | -e 's/$$/$(EXEEXT)/' `; \ | |
665 | test -n "$$list" || exit 0; \ | |
666 | echo " ( cd '$(DESTDIR)$(vsourcedir)' && rm -f" $$files ")"; \ | |
667 | cd "$(DESTDIR)$(vsourcedir)" && rm -f $$files | |
668 | ||
669 | clean-vsourcePROGRAMS: | |
670 | -test -z "$(vsource_PROGRAMS)" || rm -f $(vsource_PROGRAMS) | |
671 | bookmarks.dpi$(EXEEXT): $(bookmarks_dpi_OBJECTS) $(bookmarks_dpi_DEPENDENCIES) | |
672 | @rm -f bookmarks.dpi$(EXEEXT) | |
673 | $(LINK) $(bookmarks_dpi_OBJECTS) $(bookmarks_dpi_LDADD) $(LIBS) | |
674 | cookies.dpi$(EXEEXT): $(cookies_dpi_OBJECTS) $(cookies_dpi_DEPENDENCIES) | |
675 | @rm -f cookies.dpi$(EXEEXT) | |
676 | $(LINK) $(cookies_dpi_OBJECTS) $(cookies_dpi_LDADD) $(LIBS) | |
677 | datauri.filter.dpi$(EXEEXT): $(datauri_filter_dpi_OBJECTS) $(datauri_filter_dpi_DEPENDENCIES) | |
678 | @rm -f datauri.filter.dpi$(EXEEXT) | |
679 | $(LINK) $(datauri_filter_dpi_OBJECTS) $(datauri_filter_dpi_LDADD) $(LIBS) | |
680 | downloads.dpi$(EXEEXT): $(downloads_dpi_OBJECTS) $(downloads_dpi_DEPENDENCIES) | |
681 | @rm -f downloads.dpi$(EXEEXT) | |
682 | $(downloads_dpi_LINK) $(downloads_dpi_OBJECTS) $(downloads_dpi_LDADD) $(LIBS) | |
683 | file.dpi$(EXEEXT): $(file_dpi_OBJECTS) $(file_dpi_DEPENDENCIES) | |
684 | @rm -f file.dpi$(EXEEXT) | |
685 | $(LINK) $(file_dpi_OBJECTS) $(file_dpi_LDADD) $(LIBS) | |
686 | ftp.filter.dpi$(EXEEXT): $(ftp_filter_dpi_OBJECTS) $(ftp_filter_dpi_DEPENDENCIES) | |
687 | @rm -f ftp.filter.dpi$(EXEEXT) | |
688 | $(LINK) $(ftp_filter_dpi_OBJECTS) $(ftp_filter_dpi_LDADD) $(LIBS) | |
689 | hello.filter.dpi$(EXEEXT): $(hello_filter_dpi_OBJECTS) $(hello_filter_dpi_DEPENDENCIES) | |
690 | @rm -f hello.filter.dpi$(EXEEXT) | |
691 | $(LINK) $(hello_filter_dpi_OBJECTS) $(hello_filter_dpi_LDADD) $(LIBS) | |
692 | https.filter.dpi$(EXEEXT): $(https_filter_dpi_OBJECTS) $(https_filter_dpi_DEPENDENCIES) | |
693 | @rm -f https.filter.dpi$(EXEEXT) | |
694 | $(LINK) $(https_filter_dpi_OBJECTS) $(https_filter_dpi_LDADD) $(LIBS) | |
695 | vsource.filter.dpi$(EXEEXT): $(vsource_filter_dpi_OBJECTS) $(vsource_filter_dpi_DEPENDENCIES) | |
696 | @rm -f vsource.filter.dpi$(EXEEXT) | |
697 | $(LINK) $(vsource_filter_dpi_OBJECTS) $(vsource_filter_dpi_LDADD) $(LIBS) | |
698 | ||
699 | mostlyclean-compile: | |
700 | -rm -f *.$(OBJEXT) | |
701 | ||
702 | distclean-compile: | |
703 | -rm -f *.tab.c | |
704 | ||
705 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bookmarks.Po@am__quote@ | |
706 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cookies.Po@am__quote@ | |
707 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/datauri.Po@am__quote@ | |
708 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/downloads_dpi-downloads.Po@am__quote@ | |
709 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpiutil.Po@am__quote@ | |
710 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file.Po@am__quote@ | |
711 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftp.Po@am__quote@ | |
712 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello.Po@am__quote@ | |
713 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/https.Po@am__quote@ | |
714 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsource.Po@am__quote@ | |
715 | ||
716 | .c.o: | |
717 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
718 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
719 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
720 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
721 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
722 | ||
723 | .c.obj: | |
724 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
725 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
726 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
727 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
728 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
729 | ||
730 | .cc.o: | |
731 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
732 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
733 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
734 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
735 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
736 | ||
737 | .cc.obj: | |
738 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
739 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
740 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
741 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
742 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
743 | ||
744 | downloads_dpi-downloads.o: downloads.cc | |
745 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.o -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
746 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
747 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='downloads.cc' object='downloads_dpi-downloads.o' libtool=no @AMDEPBACKSLASH@ | |
748 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
749 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
750 | ||
751 | downloads_dpi-downloads.obj: downloads.cc | |
752 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.obj -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
753 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
754 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='downloads.cc' object='downloads_dpi-downloads.obj' libtool=no @AMDEPBACKSLASH@ | |
755 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
756 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
757 | ||
758 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
759 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
760 | unique=`for i in $$list; do \ | |
761 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
762 | done | \ | |
763 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
764 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
765 | mkid -fID $$unique | |
766 | tags: TAGS | |
767 | ||
768 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
769 | $(TAGS_FILES) $(LISP) | |
770 | set x; \ | |
771 | here=`pwd`; \ | |
772 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
773 | unique=`for i in $$list; do \ | |
774 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
775 | done | \ | |
776 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
777 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
778 | shift; \ | |
779 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
780 | test -n "$$unique" || unique=$$empty_fix; \ | |
781 | if test $$# -gt 0; then \ | |
782 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
783 | "$$@" $$unique; \ | |
784 | else \ | |
785 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
786 | $$unique; \ | |
787 | fi; \ | |
788 | fi | |
789 | ctags: CTAGS | |
790 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
791 | $(TAGS_FILES) $(LISP) | |
792 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
793 | unique=`for i in $$list; do \ | |
794 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
795 | done | \ | |
796 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
797 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
798 | test -z "$(CTAGS_ARGS)$$unique" \ | |
799 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
800 | $$unique | |
801 | ||
802 | GTAGS: | |
803 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
804 | && $(am__cd) $(top_srcdir) \ | |
805 | && gtags -i $(GTAGS_ARGS) "$$here" | |
806 | ||
807 | distclean-tags: | |
808 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
809 | ||
810 | distdir: $(DISTFILES) | |
811 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
812 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
813 | list='$(DISTFILES)'; \ | |
814 | dist_files=`for file in $$list; do echo $$file; done | \ | |
815 | sed -e "s|^$$srcdirstrip/||;t" \ | |
816 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
817 | case $$dist_files in \ | |
818 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
819 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
820 | sort -u` ;; \ | |
821 | esac; \ | |
822 | for file in $$dist_files; do \ | |
823 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
824 | if test -d $$d/$$file; then \ | |
825 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
826 | if test -d "$(distdir)/$$file"; then \ | |
827 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
828 | fi; \ | |
829 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
830 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
831 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
832 | fi; \ | |
833 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
834 | else \ | |
835 | test -f "$(distdir)/$$file" \ | |
836 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
837 | || exit 1; \ | |
838 | fi; \ | |
839 | done | |
840 | check-am: all-am | |
841 | check: check-am | |
842 | all-am: Makefile $(PROGRAMS) | |
843 | installdirs: | |
844 | for dir in "$(DESTDIR)$(bookmarksdir)" "$(DESTDIR)$(cookiesdir)" "$(DESTDIR)$(datauridir)" "$(DESTDIR)$(downloadsdir)" "$(DESTDIR)$(filedir)" "$(DESTDIR)$(ftpdir)" "$(DESTDIR)$(hellodir)" "$(DESTDIR)$(httpsdir)" "$(DESTDIR)$(vsourcedir)"; do \ | |
845 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
846 | done | |
847 | install: install-am | |
848 | install-exec: install-exec-am | |
849 | install-data: install-data-am | |
850 | uninstall: uninstall-am | |
851 | ||
852 | install-am: all-am | |
853 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
854 | ||
855 | installcheck: installcheck-am | |
856 | install-strip: | |
857 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
858 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
859 | `test -z '$(STRIP)' || \ | |
860 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
861 | mostlyclean-generic: | |
862 | ||
863 | clean-generic: | |
864 | ||
865 | distclean-generic: | |
866 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
867 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
868 | ||
869 | maintainer-clean-generic: | |
870 | @echo "This command is intended for maintainers to use" | |
871 | @echo "it deletes files that may require special tools to rebuild." | |
872 | clean: clean-am | |
873 | ||
874 | clean-am: clean-bookmarksPROGRAMS clean-cookiesPROGRAMS \ | |
875 | clean-datauriPROGRAMS clean-downloadsPROGRAMS \ | |
876 | clean-filePROGRAMS clean-ftpPROGRAMS clean-generic \ | |
877 | clean-helloPROGRAMS clean-httpsPROGRAMS clean-vsourcePROGRAMS \ | |
878 | mostlyclean-am | |
879 | ||
880 | distclean: distclean-am | |
881 | -rm -rf ./$(DEPDIR) | |
882 | -rm -f Makefile | |
883 | distclean-am: clean-am distclean-compile distclean-generic \ | |
884 | distclean-tags | |
885 | ||
886 | dvi: dvi-am | |
887 | ||
888 | dvi-am: | |
889 | ||
890 | html: html-am | |
891 | ||
892 | html-am: | |
893 | ||
894 | info: info-am | |
895 | ||
896 | info-am: | |
897 | ||
898 | install-data-am: install-bookmarksPROGRAMS install-cookiesPROGRAMS \ | |
899 | install-datauriPROGRAMS install-downloadsPROGRAMS \ | |
900 | install-filePROGRAMS install-ftpPROGRAMS install-helloPROGRAMS \ | |
901 | install-httpsPROGRAMS install-vsourcePROGRAMS | |
902 | ||
903 | install-dvi: install-dvi-am | |
904 | ||
905 | install-dvi-am: | |
906 | ||
907 | install-exec-am: | |
908 | ||
909 | install-html: install-html-am | |
910 | ||
911 | install-html-am: | |
912 | ||
913 | install-info: install-info-am | |
914 | ||
915 | install-info-am: | |
916 | ||
917 | install-man: | |
918 | ||
919 | install-pdf: install-pdf-am | |
920 | ||
921 | install-pdf-am: | |
922 | ||
923 | install-ps: install-ps-am | |
924 | ||
925 | install-ps-am: | |
926 | ||
927 | installcheck-am: | |
928 | ||
929 | maintainer-clean: maintainer-clean-am | |
930 | -rm -rf ./$(DEPDIR) | |
931 | -rm -f Makefile | |
932 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
933 | ||
934 | mostlyclean: mostlyclean-am | |
935 | ||
936 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
937 | ||
938 | pdf: pdf-am | |
939 | ||
940 | pdf-am: | |
941 | ||
942 | ps: ps-am | |
943 | ||
944 | ps-am: | |
945 | ||
946 | uninstall-am: uninstall-bookmarksPROGRAMS uninstall-cookiesPROGRAMS \ | |
947 | uninstall-datauriPROGRAMS uninstall-downloadsPROGRAMS \ | |
948 | uninstall-filePROGRAMS uninstall-ftpPROGRAMS \ | |
949 | uninstall-helloPROGRAMS uninstall-httpsPROGRAMS \ | |
950 | uninstall-vsourcePROGRAMS | |
951 | ||
952 | .MAKE: install-am install-strip | |
953 | ||
954 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | |
955 | clean-bookmarksPROGRAMS clean-cookiesPROGRAMS \ | |
956 | clean-datauriPROGRAMS clean-downloadsPROGRAMS \ | |
957 | clean-filePROGRAMS clean-ftpPROGRAMS clean-generic \ | |
958 | clean-helloPROGRAMS clean-httpsPROGRAMS clean-vsourcePROGRAMS \ | |
959 | ctags distclean distclean-compile distclean-generic \ | |
960 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | |
961 | install install-am install-bookmarksPROGRAMS \ | |
962 | install-cookiesPROGRAMS install-data install-data-am \ | |
963 | install-datauriPROGRAMS install-downloadsPROGRAMS install-dvi \ | |
964 | install-dvi-am install-exec install-exec-am \ | |
965 | install-filePROGRAMS install-ftpPROGRAMS install-helloPROGRAMS \ | |
966 | install-html install-html-am install-httpsPROGRAMS \ | |
967 | install-info install-info-am install-man install-pdf \ | |
968 | install-pdf-am install-ps install-ps-am install-strip \ | |
969 | install-vsourcePROGRAMS installcheck installcheck-am \ | |
970 | installdirs maintainer-clean maintainer-clean-generic \ | |
971 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ | |
972 | ps ps-am tags uninstall uninstall-am \ | |
973 | uninstall-bookmarksPROGRAMS uninstall-cookiesPROGRAMS \ | |
974 | uninstall-datauriPROGRAMS uninstall-downloadsPROGRAMS \ | |
975 | uninstall-filePROGRAMS uninstall-ftpPROGRAMS \ | |
976 | uninstall-helloPROGRAMS uninstall-httpsPROGRAMS \ | |
977 | uninstall-vsourcePROGRAMS | |
978 | ||
979 | ||
980 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
981 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
982 | .NOEXPORT: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | ||
18 | VPATH = @srcdir@ | |
19 | pkgdatadir = $(datadir)/@PACKAGE@ | |
20 | pkgincludedir = $(includedir)/@PACKAGE@ | |
21 | pkglibdir = $(libdir)/@PACKAGE@ | |
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
24 | install_sh_DATA = $(install_sh) -c -m 644 | |
25 | install_sh_PROGRAM = $(install_sh) -c | |
26 | install_sh_SCRIPT = $(install_sh) -c | |
27 | INSTALL_HEADER = $(INSTALL_DATA) | |
28 | transform = $(program_transform_name) | |
29 | NORMAL_INSTALL = : | |
30 | PRE_INSTALL = : | |
31 | POST_INSTALL = : | |
32 | NORMAL_UNINSTALL = : | |
33 | PRE_UNINSTALL = : | |
34 | POST_UNINSTALL = : | |
35 | build_triplet = @build@ | |
36 | host_triplet = @host@ | |
37 | target_triplet = @target@ | |
38 | bin_PROGRAMS = dpid$(EXEEXT) dpidc$(EXEEXT) | |
39 | subdir = dpid | |
40 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO | |
41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
42 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
43 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
44 | $(ACLOCAL_M4) | |
45 | mkinstalldirs = $(install_sh) -d | |
46 | CONFIG_HEADER = $(top_builddir)/config.h | |
47 | CONFIG_CLEAN_FILES = | |
48 | CONFIG_CLEAN_VPATH_FILES = | |
49 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" | |
50 | PROGRAMS = $(bin_PROGRAMS) | |
51 | am_dpid_OBJECTS = dpi.$(OBJEXT) dpi_socket_dir.$(OBJEXT) \ | |
52 | dpid.$(OBJEXT) dpid_common.$(OBJEXT) main.$(OBJEXT) \ | |
53 | misc_new.$(OBJEXT) | |
54 | dpid_OBJECTS = $(am_dpid_OBJECTS) | |
55 | dpid_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
56 | $(top_builddir)/dlib/libDlib.a | |
57 | am_dpidc_OBJECTS = dpidc.$(OBJEXT) | |
58 | dpidc_OBJECTS = $(am_dpidc_OBJECTS) | |
59 | dpidc_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
60 | $(top_builddir)/dlib/libDlib.a | |
61 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
62 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
63 | am__depfiles_maybe = depfiles | |
64 | am__mv = mv -f | |
65 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
66 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
67 | CCLD = $(CC) | |
68 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
69 | SOURCES = $(dpid_SOURCES) $(dpidc_SOURCES) | |
70 | DIST_SOURCES = $(dpid_SOURCES) $(dpidc_SOURCES) | |
71 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
72 | am__vpath_adj = case $$p in \ | |
73 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
74 | *) f=$$p;; \ | |
75 | esac; | |
76 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
77 | am__install_max = 40 | |
78 | am__nobase_strip_setup = \ | |
79 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
80 | am__nobase_strip = \ | |
81 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
82 | am__nobase_list = $(am__nobase_strip_setup); \ | |
83 | for p in $$list; do echo "$$p $$p"; done | \ | |
84 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
85 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
86 | if (++n[$$2] == $(am__install_max)) \ | |
87 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
88 | END { for (dir in files) print dir, files[dir] }' | |
89 | am__base_list = \ | |
90 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
91 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
92 | DATA = $(sysconf_DATA) | |
93 | ETAGS = etags | |
94 | CTAGS = ctags | |
95 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
96 | ACLOCAL = @ACLOCAL@ | |
97 | AMTAR = @AMTAR@ | |
98 | AUTOCONF = @AUTOCONF@ | |
99 | AUTOHEADER = @AUTOHEADER@ | |
100 | AUTOMAKE = @AUTOMAKE@ | |
101 | AWK = @AWK@ | |
102 | CC = @CC@ | |
103 | CCDEPMODE = @CCDEPMODE@ | |
104 | CFLAGS = @CFLAGS@ | |
105 | CPP = @CPP@ | |
106 | CPPFLAGS = @CPPFLAGS@ | |
107 | CXX = @CXX@ | |
108 | CXXDEPMODE = @CXXDEPMODE@ | |
109 | CXXFLAGS = @CXXFLAGS@ | |
110 | CYGPATH_W = @CYGPATH_W@ | |
111 | DEFS = @DEFS@ | |
112 | DEPDIR = @DEPDIR@ | |
113 | ECHO_C = @ECHO_C@ | |
114 | ECHO_N = @ECHO_N@ | |
115 | ECHO_T = @ECHO_T@ | |
116 | EGREP = @EGREP@ | |
117 | EXEEXT = @EXEEXT@ | |
118 | GREP = @GREP@ | |
119 | INSTALL = @INSTALL@ | |
120 | INSTALL_DATA = @INSTALL_DATA@ | |
121 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
122 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
123 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
124 | LDFLAGS = @LDFLAGS@ | |
125 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
126 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
127 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
128 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
129 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
130 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
131 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
132 | LIBOBJS = @LIBOBJS@ | |
133 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
134 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
135 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
136 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
137 | LIBS = @LIBS@ | |
138 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
139 | LIBZ_LIBS = @LIBZ_LIBS@ | |
140 | LTLIBOBJS = @LTLIBOBJS@ | |
141 | MAKEINFO = @MAKEINFO@ | |
142 | MKDIR_P = @MKDIR_P@ | |
143 | OBJEXT = @OBJEXT@ | |
144 | PACKAGE = @PACKAGE@ | |
145 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
146 | PACKAGE_NAME = @PACKAGE_NAME@ | |
147 | PACKAGE_STRING = @PACKAGE_STRING@ | |
148 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
149 | PACKAGE_URL = @PACKAGE_URL@ | |
150 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
151 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
152 | RANLIB = @RANLIB@ | |
153 | SET_MAKE = @SET_MAKE@ | |
154 | SHELL = @SHELL@ | |
155 | STRIP = @STRIP@ | |
156 | VERSION = @VERSION@ | |
157 | abs_builddir = @abs_builddir@ | |
158 | abs_srcdir = @abs_srcdir@ | |
159 | abs_top_builddir = @abs_top_builddir@ | |
160 | abs_top_srcdir = @abs_top_srcdir@ | |
161 | ac_ct_CC = @ac_ct_CC@ | |
162 | ac_ct_CXX = @ac_ct_CXX@ | |
163 | am__include = @am__include@ | |
164 | am__leading_dot = @am__leading_dot@ | |
165 | am__quote = @am__quote@ | |
166 | am__tar = @am__tar@ | |
167 | am__untar = @am__untar@ | |
168 | bindir = @bindir@ | |
169 | build = @build@ | |
170 | build_alias = @build_alias@ | |
171 | build_cpu = @build_cpu@ | |
172 | build_os = @build_os@ | |
173 | build_vendor = @build_vendor@ | |
174 | builddir = @builddir@ | |
175 | datadir = @datadir@ | |
176 | datarootdir = @datarootdir@ | |
177 | docdir = @docdir@ | |
178 | dvidir = @dvidir@ | |
179 | exec_prefix = @exec_prefix@ | |
180 | host = @host@ | |
181 | host_alias = @host_alias@ | |
182 | host_cpu = @host_cpu@ | |
183 | host_os = @host_os@ | |
184 | host_vendor = @host_vendor@ | |
185 | htmldir = @htmldir@ | |
186 | includedir = @includedir@ | |
187 | infodir = @infodir@ | |
188 | install_sh = @install_sh@ | |
189 | libdir = @libdir@ | |
190 | libexecdir = @libexecdir@ | |
191 | localedir = @localedir@ | |
192 | localstatedir = @localstatedir@ | |
193 | mandir = @mandir@ | |
194 | mkdir_p = @mkdir_p@ | |
195 | oldincludedir = @oldincludedir@ | |
196 | pdfdir = @pdfdir@ | |
197 | prefix = @prefix@ | |
198 | program_transform_name = @program_transform_name@ | |
199 | psdir = @psdir@ | |
200 | sbindir = @sbindir@ | |
201 | sharedstatedir = @sharedstatedir@ | |
202 | srcdir = @srcdir@ | |
203 | sysconfdir = @sysconfdir@ | |
204 | target = @target@ | |
205 | target_alias = @target_alias@ | |
206 | target_cpu = @target_cpu@ | |
207 | target_os = @target_os@ | |
208 | target_vendor = @target_vendor@ | |
209 | top_build_prefix = @top_build_prefix@ | |
210 | top_builddir = @top_builddir@ | |
211 | top_srcdir = @top_srcdir@ | |
212 | AM_CPPFLAGS = \ | |
213 | -I$(top_srcdir) \ | |
214 | -DDPIDRC_SYS='"$(sysconfdir)/dpidrc"' | |
215 | ||
216 | dpid_LDADD = \ | |
217 | $(top_builddir)/dpip/libDpip.a \ | |
218 | $(top_builddir)/dlib/libDlib.a | |
219 | ||
220 | dpidc_LDADD = \ | |
221 | $(top_builddir)/dpip/libDpip.a \ | |
222 | $(top_builddir)/dlib/libDlib.a | |
223 | ||
224 | EXTRA_DIST = dpidrc.in | |
225 | dpid_SOURCES = \ | |
226 | dpi.h \ | |
227 | dpi_socket_dir.h \ | |
228 | dpid.h \ | |
229 | dpid_common.h \ | |
230 | misc_new.h \ | |
231 | dpi.c \ | |
232 | dpi_socket_dir.c \ | |
233 | dpid.c \ | |
234 | dpid_common.c \ | |
235 | main.c \ | |
236 | misc_new.c | |
237 | ||
238 | dpidc_SOURCES = dpidc.c | |
239 | sysconf_DATA = dpidrc | |
240 | CLEANFILES = $(sysconf_DATA) | |
241 | all: all-am | |
242 | ||
243 | .SUFFIXES: | |
244 | .SUFFIXES: .c .o .obj | |
245 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
246 | @for dep in $?; do \ | |
247 | case '$(am__configure_deps)' in \ | |
248 | *$$dep*) \ | |
249 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
250 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
251 | exit 1;; \ | |
252 | esac; \ | |
253 | done; \ | |
254 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dpid/Makefile'; \ | |
255 | $(am__cd) $(top_srcdir) && \ | |
256 | $(AUTOMAKE) --gnu dpid/Makefile | |
257 | .PRECIOUS: Makefile | |
258 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
259 | @case '$?' in \ | |
260 | *config.status*) \ | |
261 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
262 | *) \ | |
263 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
264 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
265 | esac; | |
266 | ||
267 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
268 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
269 | ||
270 | $(top_srcdir)/configure: $(am__configure_deps) | |
271 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
272 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
273 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
274 | $(am__aclocal_m4_deps): | |
275 | install-binPROGRAMS: $(bin_PROGRAMS) | |
276 | @$(NORMAL_INSTALL) | |
277 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | |
278 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
279 | for p in $$list; do echo "$$p $$p"; done | \ | |
280 | sed 's/$(EXEEXT)$$//' | \ | |
281 | while read p p1; do if test -f $$p; \ | |
282 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
283 | done | \ | |
284 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
285 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
286 | sed 'N;N;N;s,\n, ,g' | \ | |
287 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
288 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
289 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
290 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
291 | END { for (d in files) print "f", d, files[d] }' | \ | |
292 | while read type dir files; do \ | |
293 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
294 | test -z "$$files" || { \ | |
295 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
296 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
297 | } \ | |
298 | ; done | |
299 | ||
300 | uninstall-binPROGRAMS: | |
301 | @$(NORMAL_UNINSTALL) | |
302 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
303 | files=`for p in $$list; do echo "$$p"; done | \ | |
304 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
305 | -e 's/$$/$(EXEEXT)/' `; \ | |
306 | test -n "$$list" || exit 0; \ | |
307 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | |
308 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |
309 | ||
310 | clean-binPROGRAMS: | |
311 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) | |
312 | dpid$(EXEEXT): $(dpid_OBJECTS) $(dpid_DEPENDENCIES) | |
313 | @rm -f dpid$(EXEEXT) | |
314 | $(LINK) $(dpid_OBJECTS) $(dpid_LDADD) $(LIBS) | |
315 | dpidc$(EXEEXT): $(dpidc_OBJECTS) $(dpidc_DEPENDENCIES) | |
316 | @rm -f dpidc$(EXEEXT) | |
317 | $(LINK) $(dpidc_OBJECTS) $(dpidc_LDADD) $(LIBS) | |
318 | ||
319 | mostlyclean-compile: | |
320 | -rm -f *.$(OBJEXT) | |
321 | ||
322 | distclean-compile: | |
323 | -rm -f *.tab.c | |
324 | ||
325 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpi.Po@am__quote@ | |
326 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpi_socket_dir.Po@am__quote@ | |
327 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpid.Po@am__quote@ | |
328 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpid_common.Po@am__quote@ | |
329 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpidc.Po@am__quote@ | |
330 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ | |
331 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc_new.Po@am__quote@ | |
332 | ||
333 | .c.o: | |
334 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
335 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
336 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
337 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
338 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
339 | ||
340 | .c.obj: | |
341 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
342 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
343 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
344 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
345 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
346 | install-sysconfDATA: $(sysconf_DATA) | |
347 | @$(NORMAL_INSTALL) | |
348 | test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | |
349 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
350 | for p in $$list; do \ | |
351 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
352 | echo "$$d$$p"; \ | |
353 | done | $(am__base_list) | \ | |
354 | while read files; do \ | |
355 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \ | |
356 | $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \ | |
357 | done | |
358 | ||
359 | uninstall-sysconfDATA: | |
360 | @$(NORMAL_UNINSTALL) | |
361 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
362 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
363 | test -n "$$files" || exit 0; \ | |
364 | echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \ | |
365 | cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files | |
366 | ||
367 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
368 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
369 | unique=`for i in $$list; do \ | |
370 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
371 | done | \ | |
372 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
373 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
374 | mkid -fID $$unique | |
375 | tags: TAGS | |
376 | ||
377 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
378 | $(TAGS_FILES) $(LISP) | |
379 | set x; \ | |
380 | here=`pwd`; \ | |
381 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
382 | unique=`for i in $$list; do \ | |
383 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
384 | done | \ | |
385 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
386 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
387 | shift; \ | |
388 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
389 | test -n "$$unique" || unique=$$empty_fix; \ | |
390 | if test $$# -gt 0; then \ | |
391 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
392 | "$$@" $$unique; \ | |
393 | else \ | |
394 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
395 | $$unique; \ | |
396 | fi; \ | |
397 | fi | |
398 | ctags: CTAGS | |
399 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
400 | $(TAGS_FILES) $(LISP) | |
401 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
402 | unique=`for i in $$list; do \ | |
403 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
404 | done | \ | |
405 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
406 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
407 | test -z "$(CTAGS_ARGS)$$unique" \ | |
408 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
409 | $$unique | |
410 | ||
411 | GTAGS: | |
412 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
413 | && $(am__cd) $(top_srcdir) \ | |
414 | && gtags -i $(GTAGS_ARGS) "$$here" | |
415 | ||
416 | distclean-tags: | |
417 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
418 | ||
419 | distdir: $(DISTFILES) | |
420 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
421 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
422 | list='$(DISTFILES)'; \ | |
423 | dist_files=`for file in $$list; do echo $$file; done | \ | |
424 | sed -e "s|^$$srcdirstrip/||;t" \ | |
425 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
426 | case $$dist_files in \ | |
427 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
428 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
429 | sort -u` ;; \ | |
430 | esac; \ | |
431 | for file in $$dist_files; do \ | |
432 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
433 | if test -d $$d/$$file; then \ | |
434 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
435 | if test -d "$(distdir)/$$file"; then \ | |
436 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
437 | fi; \ | |
438 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
439 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
440 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
441 | fi; \ | |
442 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
443 | else \ | |
444 | test -f "$(distdir)/$$file" \ | |
445 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
446 | || exit 1; \ | |
447 | fi; \ | |
448 | done | |
449 | check-am: all-am | |
450 | check: check-am | |
451 | all-am: Makefile $(PROGRAMS) $(DATA) | |
452 | installdirs: | |
453 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)"; do \ | |
454 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
455 | done | |
456 | install: install-am | |
457 | install-exec: install-exec-am | |
458 | install-data: install-data-am | |
459 | uninstall: uninstall-am | |
460 | ||
461 | install-am: all-am | |
462 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
463 | ||
464 | installcheck: installcheck-am | |
465 | install-strip: | |
466 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
467 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
468 | `test -z '$(STRIP)' || \ | |
469 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
470 | mostlyclean-generic: | |
471 | ||
472 | clean-generic: | |
473 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
474 | ||
475 | distclean-generic: | |
476 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
477 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
478 | ||
479 | maintainer-clean-generic: | |
480 | @echo "This command is intended for maintainers to use" | |
481 | @echo "it deletes files that may require special tools to rebuild." | |
482 | clean: clean-am | |
483 | ||
484 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am | |
485 | ||
486 | distclean: distclean-am | |
487 | -rm -rf ./$(DEPDIR) | |
488 | -rm -f Makefile | |
489 | distclean-am: clean-am distclean-compile distclean-generic \ | |
490 | distclean-tags | |
491 | ||
492 | dvi: dvi-am | |
493 | ||
494 | dvi-am: | |
495 | ||
496 | html: html-am | |
497 | ||
498 | html-am: | |
499 | ||
500 | info: info-am | |
501 | ||
502 | info-am: | |
503 | ||
504 | install-data-am: | |
505 | ||
506 | install-dvi: install-dvi-am | |
507 | ||
508 | install-dvi-am: | |
509 | ||
510 | install-exec-am: install-binPROGRAMS install-sysconfDATA | |
511 | ||
512 | install-html: install-html-am | |
513 | ||
514 | install-html-am: | |
515 | ||
516 | install-info: install-info-am | |
517 | ||
518 | install-info-am: | |
519 | ||
520 | install-man: | |
521 | ||
522 | install-pdf: install-pdf-am | |
523 | ||
524 | install-pdf-am: | |
525 | ||
526 | install-ps: install-ps-am | |
527 | ||
528 | install-ps-am: | |
529 | ||
530 | installcheck-am: | |
531 | ||
532 | maintainer-clean: maintainer-clean-am | |
533 | -rm -rf ./$(DEPDIR) | |
534 | -rm -f Makefile | |
535 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
536 | ||
537 | mostlyclean: mostlyclean-am | |
538 | ||
539 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
540 | ||
541 | pdf: pdf-am | |
542 | ||
543 | pdf-am: | |
544 | ||
545 | ps: ps-am | |
546 | ||
547 | ps-am: | |
548 | ||
549 | uninstall-am: uninstall-binPROGRAMS uninstall-sysconfDATA | |
550 | ||
551 | .MAKE: install-am install-strip | |
552 | ||
553 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ | |
554 | clean-generic ctags distclean distclean-compile \ | |
555 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
556 | html-am info info-am install install-am install-binPROGRAMS \ | |
557 | install-data install-data-am install-dvi install-dvi-am \ | |
558 | install-exec install-exec-am install-html install-html-am \ | |
559 | install-info install-info-am install-man install-pdf \ | |
560 | install-pdf-am install-ps install-ps-am install-strip \ | |
561 | install-sysconfDATA installcheck installcheck-am installdirs \ | |
562 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
563 | mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ | |
564 | tags uninstall uninstall-am uninstall-binPROGRAMS \ | |
565 | uninstall-sysconfDATA | |
566 | ||
567 | ||
568 | dpidrc: $(srcdir)/dpidrc.in Makefile | |
569 | sed -e 's|[@]libdir[@]|$(libdir)|' $(srcdir)/dpidrc.in > dpidrc | |
570 | ||
571 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
572 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
573 | .NOEXPORT: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = dpip | |
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | LIBRARIES = $(noinst_LIBRARIES) | |
48 | AR = ar | |
49 | ARFLAGS = cru | |
50 | libDpip_a_AR = $(AR) $(ARFLAGS) | |
51 | libDpip_a_LIBADD = | |
52 | am_libDpip_a_OBJECTS = dpip.$(OBJEXT) | |
53 | libDpip_a_OBJECTS = $(am_libDpip_a_OBJECTS) | |
54 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
55 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
56 | am__depfiles_maybe = depfiles | |
57 | am__mv = mv -f | |
58 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
59 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
60 | CCLD = $(CC) | |
61 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
62 | SOURCES = $(libDpip_a_SOURCES) | |
63 | DIST_SOURCES = $(libDpip_a_SOURCES) | |
64 | ETAGS = etags | |
65 | CTAGS = ctags | |
66 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
67 | ACLOCAL = @ACLOCAL@ | |
68 | AMTAR = @AMTAR@ | |
69 | AUTOCONF = @AUTOCONF@ | |
70 | AUTOHEADER = @AUTOHEADER@ | |
71 | AUTOMAKE = @AUTOMAKE@ | |
72 | AWK = @AWK@ | |
73 | CC = @CC@ | |
74 | CCDEPMODE = @CCDEPMODE@ | |
75 | CFLAGS = @CFLAGS@ | |
76 | CPP = @CPP@ | |
77 | CPPFLAGS = @CPPFLAGS@ | |
78 | CXX = @CXX@ | |
79 | CXXDEPMODE = @CXXDEPMODE@ | |
80 | CXXFLAGS = @CXXFLAGS@ | |
81 | CYGPATH_W = @CYGPATH_W@ | |
82 | DEFS = @DEFS@ | |
83 | DEPDIR = @DEPDIR@ | |
84 | ECHO_C = @ECHO_C@ | |
85 | ECHO_N = @ECHO_N@ | |
86 | ECHO_T = @ECHO_T@ | |
87 | EGREP = @EGREP@ | |
88 | EXEEXT = @EXEEXT@ | |
89 | GREP = @GREP@ | |
90 | INSTALL = @INSTALL@ | |
91 | INSTALL_DATA = @INSTALL_DATA@ | |
92 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
93 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
94 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
95 | LDFLAGS = @LDFLAGS@ | |
96 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
97 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
98 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
99 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
100 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
101 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
102 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
103 | LIBOBJS = @LIBOBJS@ | |
104 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
105 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
106 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
107 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
108 | LIBS = @LIBS@ | |
109 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
110 | LIBZ_LIBS = @LIBZ_LIBS@ | |
111 | LTLIBOBJS = @LTLIBOBJS@ | |
112 | MAKEINFO = @MAKEINFO@ | |
113 | MKDIR_P = @MKDIR_P@ | |
114 | OBJEXT = @OBJEXT@ | |
115 | PACKAGE = @PACKAGE@ | |
116 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
117 | PACKAGE_NAME = @PACKAGE_NAME@ | |
118 | PACKAGE_STRING = @PACKAGE_STRING@ | |
119 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
120 | PACKAGE_URL = @PACKAGE_URL@ | |
121 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
122 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
123 | RANLIB = @RANLIB@ | |
124 | SET_MAKE = @SET_MAKE@ | |
125 | SHELL = @SHELL@ | |
126 | STRIP = @STRIP@ | |
127 | VERSION = @VERSION@ | |
128 | abs_builddir = @abs_builddir@ | |
129 | abs_srcdir = @abs_srcdir@ | |
130 | abs_top_builddir = @abs_top_builddir@ | |
131 | abs_top_srcdir = @abs_top_srcdir@ | |
132 | ac_ct_CC = @ac_ct_CC@ | |
133 | ac_ct_CXX = @ac_ct_CXX@ | |
134 | am__include = @am__include@ | |
135 | am__leading_dot = @am__leading_dot@ | |
136 | am__quote = @am__quote@ | |
137 | am__tar = @am__tar@ | |
138 | am__untar = @am__untar@ | |
139 | bindir = @bindir@ | |
140 | build = @build@ | |
141 | build_alias = @build_alias@ | |
142 | build_cpu = @build_cpu@ | |
143 | build_os = @build_os@ | |
144 | build_vendor = @build_vendor@ | |
145 | builddir = @builddir@ | |
146 | datadir = @datadir@ | |
147 | datarootdir = @datarootdir@ | |
148 | docdir = @docdir@ | |
149 | dvidir = @dvidir@ | |
150 | exec_prefix = @exec_prefix@ | |
151 | host = @host@ | |
152 | host_alias = @host_alias@ | |
153 | host_cpu = @host_cpu@ | |
154 | host_os = @host_os@ | |
155 | host_vendor = @host_vendor@ | |
156 | htmldir = @htmldir@ | |
157 | includedir = @includedir@ | |
158 | infodir = @infodir@ | |
159 | install_sh = @install_sh@ | |
160 | libdir = @libdir@ | |
161 | libexecdir = @libexecdir@ | |
162 | localedir = @localedir@ | |
163 | localstatedir = @localstatedir@ | |
164 | mandir = @mandir@ | |
165 | mkdir_p = @mkdir_p@ | |
166 | oldincludedir = @oldincludedir@ | |
167 | pdfdir = @pdfdir@ | |
168 | prefix = @prefix@ | |
169 | program_transform_name = @program_transform_name@ | |
170 | psdir = @psdir@ | |
171 | sbindir = @sbindir@ | |
172 | sharedstatedir = @sharedstatedir@ | |
173 | srcdir = @srcdir@ | |
174 | sysconfdir = @sysconfdir@ | |
175 | target = @target@ | |
176 | target_alias = @target_alias@ | |
177 | target_cpu = @target_cpu@ | |
178 | target_os = @target_os@ | |
179 | target_vendor = @target_vendor@ | |
180 | top_build_prefix = @top_build_prefix@ | |
181 | top_builddir = @top_builddir@ | |
182 | top_srcdir = @top_srcdir@ | |
183 | AM_CPPFLAGS = \ | |
184 | -I$(top_srcdir) | |
185 | ||
186 | noinst_LIBRARIES = libDpip.a | |
187 | libDpip_a_SOURCES = \ | |
188 | dpip.h \ | |
189 | dpip.c | |
190 | ||
191 | all: all-am | |
192 | ||
193 | .SUFFIXES: | |
194 | .SUFFIXES: .c .o .obj | |
195 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
196 | @for dep in $?; do \ | |
197 | case '$(am__configure_deps)' in \ | |
198 | *$$dep*) \ | |
199 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
200 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
201 | exit 1;; \ | |
202 | esac; \ | |
203 | done; \ | |
204 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dpip/Makefile'; \ | |
205 | $(am__cd) $(top_srcdir) && \ | |
206 | $(AUTOMAKE) --gnu dpip/Makefile | |
207 | .PRECIOUS: Makefile | |
208 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
209 | @case '$?' in \ | |
210 | *config.status*) \ | |
211 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
212 | *) \ | |
213 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
214 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
215 | esac; | |
216 | ||
217 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
218 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
219 | ||
220 | $(top_srcdir)/configure: $(am__configure_deps) | |
221 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
222 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
223 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
224 | $(am__aclocal_m4_deps): | |
225 | ||
226 | clean-noinstLIBRARIES: | |
227 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
228 | libDpip.a: $(libDpip_a_OBJECTS) $(libDpip_a_DEPENDENCIES) | |
229 | -rm -f libDpip.a | |
230 | $(libDpip_a_AR) libDpip.a $(libDpip_a_OBJECTS) $(libDpip_a_LIBADD) | |
231 | $(RANLIB) libDpip.a | |
232 | ||
233 | mostlyclean-compile: | |
234 | -rm -f *.$(OBJEXT) | |
235 | ||
236 | distclean-compile: | |
237 | -rm -f *.tab.c | |
238 | ||
239 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpip.Po@am__quote@ | |
240 | ||
241 | .c.o: | |
242 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
243 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
244 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
245 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
246 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
247 | ||
248 | .c.obj: | |
249 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
250 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
251 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
252 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
253 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
254 | ||
255 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
256 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
257 | unique=`for i in $$list; do \ | |
258 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
259 | done | \ | |
260 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
261 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
262 | mkid -fID $$unique | |
263 | tags: TAGS | |
264 | ||
265 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
266 | $(TAGS_FILES) $(LISP) | |
267 | set x; \ | |
268 | here=`pwd`; \ | |
269 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
270 | unique=`for i in $$list; do \ | |
271 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
272 | done | \ | |
273 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
274 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
275 | shift; \ | |
276 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
277 | test -n "$$unique" || unique=$$empty_fix; \ | |
278 | if test $$# -gt 0; then \ | |
279 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
280 | "$$@" $$unique; \ | |
281 | else \ | |
282 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
283 | $$unique; \ | |
284 | fi; \ | |
285 | fi | |
286 | ctags: CTAGS | |
287 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
288 | $(TAGS_FILES) $(LISP) | |
289 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
290 | unique=`for i in $$list; do \ | |
291 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
292 | done | \ | |
293 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
294 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
295 | test -z "$(CTAGS_ARGS)$$unique" \ | |
296 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
297 | $$unique | |
298 | ||
299 | GTAGS: | |
300 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
301 | && $(am__cd) $(top_srcdir) \ | |
302 | && gtags -i $(GTAGS_ARGS) "$$here" | |
303 | ||
304 | distclean-tags: | |
305 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
306 | ||
307 | distdir: $(DISTFILES) | |
308 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
309 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
310 | list='$(DISTFILES)'; \ | |
311 | dist_files=`for file in $$list; do echo $$file; done | \ | |
312 | sed -e "s|^$$srcdirstrip/||;t" \ | |
313 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
314 | case $$dist_files in \ | |
315 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
316 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
317 | sort -u` ;; \ | |
318 | esac; \ | |
319 | for file in $$dist_files; do \ | |
320 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
321 | if test -d $$d/$$file; then \ | |
322 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
323 | if test -d "$(distdir)/$$file"; then \ | |
324 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
325 | fi; \ | |
326 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
327 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
328 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
329 | fi; \ | |
330 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
331 | else \ | |
332 | test -f "$(distdir)/$$file" \ | |
333 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
334 | || exit 1; \ | |
335 | fi; \ | |
336 | done | |
337 | check-am: all-am | |
338 | check: check-am | |
339 | all-am: Makefile $(LIBRARIES) | |
340 | installdirs: | |
341 | install: install-am | |
342 | install-exec: install-exec-am | |
343 | install-data: install-data-am | |
344 | uninstall: uninstall-am | |
345 | ||
346 | install-am: all-am | |
347 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
348 | ||
349 | installcheck: installcheck-am | |
350 | install-strip: | |
351 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
352 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
353 | `test -z '$(STRIP)' || \ | |
354 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
355 | mostlyclean-generic: | |
356 | ||
357 | clean-generic: | |
358 | ||
359 | distclean-generic: | |
360 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
361 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
362 | ||
363 | maintainer-clean-generic: | |
364 | @echo "This command is intended for maintainers to use" | |
365 | @echo "it deletes files that may require special tools to rebuild." | |
366 | clean: clean-am | |
367 | ||
368 | clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am | |
369 | ||
370 | distclean: distclean-am | |
371 | -rm -rf ./$(DEPDIR) | |
372 | -rm -f Makefile | |
373 | distclean-am: clean-am distclean-compile distclean-generic \ | |
374 | distclean-tags | |
375 | ||
376 | dvi: dvi-am | |
377 | ||
378 | dvi-am: | |
379 | ||
380 | html: html-am | |
381 | ||
382 | html-am: | |
383 | ||
384 | info: info-am | |
385 | ||
386 | info-am: | |
387 | ||
388 | install-data-am: | |
389 | ||
390 | install-dvi: install-dvi-am | |
391 | ||
392 | install-dvi-am: | |
393 | ||
394 | install-exec-am: | |
395 | ||
396 | install-html: install-html-am | |
397 | ||
398 | install-html-am: | |
399 | ||
400 | install-info: install-info-am | |
401 | ||
402 | install-info-am: | |
403 | ||
404 | install-man: | |
405 | ||
406 | install-pdf: install-pdf-am | |
407 | ||
408 | install-pdf-am: | |
409 | ||
410 | install-ps: install-ps-am | |
411 | ||
412 | install-ps-am: | |
413 | ||
414 | installcheck-am: | |
415 | ||
416 | maintainer-clean: maintainer-clean-am | |
417 | -rm -rf ./$(DEPDIR) | |
418 | -rm -f Makefile | |
419 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
420 | ||
421 | mostlyclean: mostlyclean-am | |
422 | ||
423 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
424 | ||
425 | pdf: pdf-am | |
426 | ||
427 | pdf-am: | |
428 | ||
429 | ps: ps-am | |
430 | ||
431 | ps-am: | |
432 | ||
433 | uninstall-am: | |
434 | ||
435 | .MAKE: install-am install-strip | |
436 | ||
437 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
438 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
439 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
440 | html-am info info-am install install-am install-data \ | |
441 | install-data-am install-dvi install-dvi-am install-exec \ | |
442 | install-exec-am install-html install-html-am install-info \ | |
443 | install-info-am install-man install-pdf install-pdf-am \ | |
444 | install-ps install-ps-am install-strip installcheck \ | |
445 | installcheck-am installdirs maintainer-clean \ | |
446 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
447 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
448 | uninstall-am | |
449 | ||
450 | ||
451 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
452 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
453 | .NOEXPORT: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = dw | |
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | LIBRARIES = $(noinst_LIBRARIES) | |
48 | AR = ar | |
49 | ARFLAGS = cru | |
50 | libDw_core_a_AR = $(AR) $(ARFLAGS) | |
51 | libDw_core_a_LIBADD = | |
52 | am_libDw_core_a_OBJECTS = findtext.$(OBJEXT) iterator.$(OBJEXT) \ | |
53 | layout.$(OBJEXT) selection.$(OBJEXT) style.$(OBJEXT) \ | |
54 | types.$(OBJEXT) ui.$(OBJEXT) widget.$(OBJEXT) | |
55 | libDw_core_a_OBJECTS = $(am_libDw_core_a_OBJECTS) | |
56 | libDw_fltk_a_AR = $(AR) $(ARFLAGS) | |
57 | libDw_fltk_a_LIBADD = | |
58 | am_libDw_fltk_a_OBJECTS = libDw_fltk_a-fltkcomplexbutton.$(OBJEXT) \ | |
59 | libDw_fltk_a-fltkflatview.$(OBJEXT) \ | |
60 | libDw_fltk_a-fltkimgbuf.$(OBJEXT) \ | |
61 | libDw_fltk_a-fltkmisc.$(OBJEXT) \ | |
62 | libDw_fltk_a-fltkplatform.$(OBJEXT) \ | |
63 | libDw_fltk_a-fltkpreview.$(OBJEXT) \ | |
64 | libDw_fltk_a-fltkui.$(OBJEXT) \ | |
65 | libDw_fltk_a-fltkviewbase.$(OBJEXT) \ | |
66 | libDw_fltk_a-fltkviewport.$(OBJEXT) | |
67 | libDw_fltk_a_OBJECTS = $(am_libDw_fltk_a_OBJECTS) | |
68 | libDw_widgets_a_AR = $(AR) $(ARFLAGS) | |
69 | libDw_widgets_a_LIBADD = | |
70 | am_libDw_widgets_a_OBJECTS = alignedtextblock.$(OBJEXT) \ | |
71 | bullet.$(OBJEXT) image.$(OBJEXT) listitem.$(OBJEXT) \ | |
72 | ruler.$(OBJEXT) table.$(OBJEXT) tablecell.$(OBJEXT) \ | |
73 | textblock.$(OBJEXT) | |
74 | libDw_widgets_a_OBJECTS = $(am_libDw_widgets_a_OBJECTS) | |
75 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
76 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
77 | am__depfiles_maybe = depfiles | |
78 | am__mv = mv -f | |
79 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
80 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
81 | CXXLD = $(CXX) | |
82 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
83 | -o $@ | |
84 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
85 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
86 | CCLD = $(CC) | |
87 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
88 | SOURCES = $(libDw_core_a_SOURCES) $(libDw_fltk_a_SOURCES) \ | |
89 | $(libDw_widgets_a_SOURCES) | |
90 | DIST_SOURCES = $(libDw_core_a_SOURCES) $(libDw_fltk_a_SOURCES) \ | |
91 | $(libDw_widgets_a_SOURCES) | |
92 | ETAGS = etags | |
93 | CTAGS = ctags | |
94 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
95 | ACLOCAL = @ACLOCAL@ | |
96 | AMTAR = @AMTAR@ | |
97 | AUTOCONF = @AUTOCONF@ | |
98 | AUTOHEADER = @AUTOHEADER@ | |
99 | AUTOMAKE = @AUTOMAKE@ | |
100 | AWK = @AWK@ | |
101 | CC = @CC@ | |
102 | CCDEPMODE = @CCDEPMODE@ | |
103 | CFLAGS = @CFLAGS@ | |
104 | CPP = @CPP@ | |
105 | CPPFLAGS = @CPPFLAGS@ | |
106 | CXX = @CXX@ | |
107 | CXXDEPMODE = @CXXDEPMODE@ | |
108 | CXXFLAGS = @CXXFLAGS@ | |
109 | CYGPATH_W = @CYGPATH_W@ | |
110 | DEFS = @DEFS@ | |
111 | DEPDIR = @DEPDIR@ | |
112 | ECHO_C = @ECHO_C@ | |
113 | ECHO_N = @ECHO_N@ | |
114 | ECHO_T = @ECHO_T@ | |
115 | EGREP = @EGREP@ | |
116 | EXEEXT = @EXEEXT@ | |
117 | GREP = @GREP@ | |
118 | INSTALL = @INSTALL@ | |
119 | INSTALL_DATA = @INSTALL_DATA@ | |
120 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
121 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
122 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
123 | LDFLAGS = @LDFLAGS@ | |
124 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
125 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
126 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
127 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
128 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
129 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
130 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
131 | LIBOBJS = @LIBOBJS@ | |
132 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
133 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
134 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
135 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
136 | LIBS = @LIBS@ | |
137 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
138 | LIBZ_LIBS = @LIBZ_LIBS@ | |
139 | LTLIBOBJS = @LTLIBOBJS@ | |
140 | MAKEINFO = @MAKEINFO@ | |
141 | MKDIR_P = @MKDIR_P@ | |
142 | OBJEXT = @OBJEXT@ | |
143 | PACKAGE = @PACKAGE@ | |
144 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
145 | PACKAGE_NAME = @PACKAGE_NAME@ | |
146 | PACKAGE_STRING = @PACKAGE_STRING@ | |
147 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
148 | PACKAGE_URL = @PACKAGE_URL@ | |
149 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
150 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
151 | RANLIB = @RANLIB@ | |
152 | SET_MAKE = @SET_MAKE@ | |
153 | SHELL = @SHELL@ | |
154 | STRIP = @STRIP@ | |
155 | VERSION = @VERSION@ | |
156 | abs_builddir = @abs_builddir@ | |
157 | abs_srcdir = @abs_srcdir@ | |
158 | abs_top_builddir = @abs_top_builddir@ | |
159 | abs_top_srcdir = @abs_top_srcdir@ | |
160 | ac_ct_CC = @ac_ct_CC@ | |
161 | ac_ct_CXX = @ac_ct_CXX@ | |
162 | am__include = @am__include@ | |
163 | am__leading_dot = @am__leading_dot@ | |
164 | am__quote = @am__quote@ | |
165 | am__tar = @am__tar@ | |
166 | am__untar = @am__untar@ | |
167 | bindir = @bindir@ | |
168 | build = @build@ | |
169 | build_alias = @build_alias@ | |
170 | build_cpu = @build_cpu@ | |
171 | build_os = @build_os@ | |
172 | build_vendor = @build_vendor@ | |
173 | builddir = @builddir@ | |
174 | datadir = @datadir@ | |
175 | datarootdir = @datarootdir@ | |
176 | docdir = @docdir@ | |
177 | dvidir = @dvidir@ | |
178 | exec_prefix = @exec_prefix@ | |
179 | host = @host@ | |
180 | host_alias = @host_alias@ | |
181 | host_cpu = @host_cpu@ | |
182 | host_os = @host_os@ | |
183 | host_vendor = @host_vendor@ | |
184 | htmldir = @htmldir@ | |
185 | includedir = @includedir@ | |
186 | infodir = @infodir@ | |
187 | install_sh = @install_sh@ | |
188 | libdir = @libdir@ | |
189 | libexecdir = @libexecdir@ | |
190 | localedir = @localedir@ | |
191 | localstatedir = @localstatedir@ | |
192 | mandir = @mandir@ | |
193 | mkdir_p = @mkdir_p@ | |
194 | oldincludedir = @oldincludedir@ | |
195 | pdfdir = @pdfdir@ | |
196 | prefix = @prefix@ | |
197 | program_transform_name = @program_transform_name@ | |
198 | psdir = @psdir@ | |
199 | sbindir = @sbindir@ | |
200 | sharedstatedir = @sharedstatedir@ | |
201 | srcdir = @srcdir@ | |
202 | sysconfdir = @sysconfdir@ | |
203 | target = @target@ | |
204 | target_alias = @target_alias@ | |
205 | target_cpu = @target_cpu@ | |
206 | target_os = @target_os@ | |
207 | target_vendor = @target_vendor@ | |
208 | top_build_prefix = @top_build_prefix@ | |
209 | top_builddir = @top_builddir@ | |
210 | top_srcdir = @top_srcdir@ | |
211 | AM_CPPFLAGS = \ | |
212 | -I$(top_srcdir) | |
213 | ||
214 | noinst_LIBRARIES = \ | |
215 | libDw-core.a \ | |
216 | libDw-fltk.a \ | |
217 | libDw-widgets.a | |
218 | ||
219 | libDw_core_a_SOURCES = \ | |
220 | core.hh \ | |
221 | events.hh \ | |
222 | findtext.cc \ | |
223 | findtext.hh \ | |
224 | imgbuf.hh \ | |
225 | iterator.cc \ | |
226 | iterator.hh \ | |
227 | layout.cc \ | |
228 | layout.hh \ | |
229 | platform.hh \ | |
230 | selection.hh \ | |
231 | selection.cc \ | |
232 | style.cc \ | |
233 | style.hh \ | |
234 | types.cc \ | |
235 | types.hh \ | |
236 | ui.cc \ | |
237 | ui.hh \ | |
238 | view.hh \ | |
239 | widget.cc \ | |
240 | widget.hh | |
241 | ||
242 | libDw_fltk_a_SOURCES = \ | |
243 | fltkcomplexbutton.cc \ | |
244 | fltkcomplexbutton.hh \ | |
245 | fltkcore.hh \ | |
246 | fltkflatview.cc \ | |
247 | fltkflatview.hh \ | |
248 | fltkimgbuf.cc \ | |
249 | fltkimgbuf.hh \ | |
250 | fltkmisc.cc \ | |
251 | fltkmisc.hh \ | |
252 | fltkplatform.cc \ | |
253 | fltkplatform.hh \ | |
254 | fltkpreview.hh \ | |
255 | fltkpreview.cc \ | |
256 | fltkui.cc \ | |
257 | fltkui.hh \ | |
258 | fltkviewbase.cc \ | |
259 | fltkviewbase.hh \ | |
260 | fltkviewport.cc \ | |
261 | fltkviewport.hh | |
262 | ||
263 | libDw_fltk_a_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
264 | libDw_widgets_a_SOURCES = \ | |
265 | alignedtextblock.cc \ | |
266 | alignedtextblock.hh \ | |
267 | bullet.cc \ | |
268 | bullet.hh \ | |
269 | image.cc \ | |
270 | image.hh \ | |
271 | listitem.cc \ | |
272 | listitem.hh \ | |
273 | ruler.cc \ | |
274 | ruler.hh \ | |
275 | table.cc \ | |
276 | table.hh \ | |
277 | tablecell.cc \ | |
278 | tablecell.hh \ | |
279 | textblock.cc \ | |
280 | textblock.hh | |
281 | ||
282 | EXTRA_DIST = preview.xbm | |
283 | all: all-am | |
284 | ||
285 | .SUFFIXES: | |
286 | .SUFFIXES: .cc .o .obj | |
287 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
288 | @for dep in $?; do \ | |
289 | case '$(am__configure_deps)' in \ | |
290 | *$$dep*) \ | |
291 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
292 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
293 | exit 1;; \ | |
294 | esac; \ | |
295 | done; \ | |
296 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dw/Makefile'; \ | |
297 | $(am__cd) $(top_srcdir) && \ | |
298 | $(AUTOMAKE) --gnu dw/Makefile | |
299 | .PRECIOUS: Makefile | |
300 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
301 | @case '$?' in \ | |
302 | *config.status*) \ | |
303 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
304 | *) \ | |
305 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
306 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
307 | esac; | |
308 | ||
309 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
310 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
311 | ||
312 | $(top_srcdir)/configure: $(am__configure_deps) | |
313 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
314 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
315 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
316 | $(am__aclocal_m4_deps): | |
317 | ||
318 | clean-noinstLIBRARIES: | |
319 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
320 | libDw-core.a: $(libDw_core_a_OBJECTS) $(libDw_core_a_DEPENDENCIES) | |
321 | -rm -f libDw-core.a | |
322 | $(libDw_core_a_AR) libDw-core.a $(libDw_core_a_OBJECTS) $(libDw_core_a_LIBADD) | |
323 | $(RANLIB) libDw-core.a | |
324 | libDw-fltk.a: $(libDw_fltk_a_OBJECTS) $(libDw_fltk_a_DEPENDENCIES) | |
325 | -rm -f libDw-fltk.a | |
326 | $(libDw_fltk_a_AR) libDw-fltk.a $(libDw_fltk_a_OBJECTS) $(libDw_fltk_a_LIBADD) | |
327 | $(RANLIB) libDw-fltk.a | |
328 | libDw-widgets.a: $(libDw_widgets_a_OBJECTS) $(libDw_widgets_a_DEPENDENCIES) | |
329 | -rm -f libDw-widgets.a | |
330 | $(libDw_widgets_a_AR) libDw-widgets.a $(libDw_widgets_a_OBJECTS) $(libDw_widgets_a_LIBADD) | |
331 | $(RANLIB) libDw-widgets.a | |
332 | ||
333 | mostlyclean-compile: | |
334 | -rm -f *.$(OBJEXT) | |
335 | ||
336 | distclean-compile: | |
337 | -rm -f *.tab.c | |
338 | ||
339 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alignedtextblock.Po@am__quote@ | |
340 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bullet.Po@am__quote@ | |
341 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findtext.Po@am__quote@ | |
342 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Po@am__quote@ | |
343 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iterator.Po@am__quote@ | |
344 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@ | |
345 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po@am__quote@ | |
346 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkflatview.Po@am__quote@ | |
347 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po@am__quote@ | |
348 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkmisc.Po@am__quote@ | |
349 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkplatform.Po@am__quote@ | |
350 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkpreview.Po@am__quote@ | |
351 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkui.Po@am__quote@ | |
352 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkviewbase.Po@am__quote@ | |
353 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libDw_fltk_a-fltkviewport.Po@am__quote@ | |
354 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listitem.Po@am__quote@ | |
355 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ruler.Po@am__quote@ | |
356 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selection.Po@am__quote@ | |
357 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/style.Po@am__quote@ | |
358 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table.Po@am__quote@ | |
359 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tablecell.Po@am__quote@ | |
360 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/textblock.Po@am__quote@ | |
361 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/types.Po@am__quote@ | |
362 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@ | |
363 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/widget.Po@am__quote@ | |
364 | ||
365 | .cc.o: | |
366 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
367 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
368 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
369 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
370 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
371 | ||
372 | .cc.obj: | |
373 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
374 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
375 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
376 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
377 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
378 | ||
379 | libDw_fltk_a-fltkcomplexbutton.o: fltkcomplexbutton.cc | |
380 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
381 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
382 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.o' libtool=no @AMDEPBACKSLASH@ | |
383 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
384 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
385 | ||
386 | libDw_fltk_a-fltkcomplexbutton.obj: fltkcomplexbutton.cc | |
387 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
388 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
389 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.obj' libtool=no @AMDEPBACKSLASH@ | |
390 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
391 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
392 | ||
393 | libDw_fltk_a-fltkflatview.o: fltkflatview.cc | |
394 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
395 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
396 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.o' libtool=no @AMDEPBACKSLASH@ | |
397 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
398 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
399 | ||
400 | libDw_fltk_a-fltkflatview.obj: fltkflatview.cc | |
401 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
402 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
403 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.obj' libtool=no @AMDEPBACKSLASH@ | |
404 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
405 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
406 | ||
407 | libDw_fltk_a-fltkimgbuf.o: fltkimgbuf.cc | |
408 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
409 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
410 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.o' libtool=no @AMDEPBACKSLASH@ | |
411 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
412 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
413 | ||
414 | libDw_fltk_a-fltkimgbuf.obj: fltkimgbuf.cc | |
415 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
416 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
417 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.obj' libtool=no @AMDEPBACKSLASH@ | |
418 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
419 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
420 | ||
421 | libDw_fltk_a-fltkmisc.o: fltkmisc.cc | |
422 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
423 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
424 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.o' libtool=no @AMDEPBACKSLASH@ | |
425 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
426 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
427 | ||
428 | libDw_fltk_a-fltkmisc.obj: fltkmisc.cc | |
429 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
430 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
431 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.obj' libtool=no @AMDEPBACKSLASH@ | |
432 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
433 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
434 | ||
435 | libDw_fltk_a-fltkplatform.o: fltkplatform.cc | |
436 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
437 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
438 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.o' libtool=no @AMDEPBACKSLASH@ | |
439 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
440 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
441 | ||
442 | libDw_fltk_a-fltkplatform.obj: fltkplatform.cc | |
443 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
444 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
445 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.obj' libtool=no @AMDEPBACKSLASH@ | |
446 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
447 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
448 | ||
449 | libDw_fltk_a-fltkpreview.o: fltkpreview.cc | |
450 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
451 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
452 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.o' libtool=no @AMDEPBACKSLASH@ | |
453 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
454 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
455 | ||
456 | libDw_fltk_a-fltkpreview.obj: fltkpreview.cc | |
457 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
458 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
459 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.obj' libtool=no @AMDEPBACKSLASH@ | |
460 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
461 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
462 | ||
463 | libDw_fltk_a-fltkui.o: fltkui.cc | |
464 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
465 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
466 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkui.cc' object='libDw_fltk_a-fltkui.o' libtool=no @AMDEPBACKSLASH@ | |
467 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
468 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
469 | ||
470 | libDw_fltk_a-fltkui.obj: fltkui.cc | |
471 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
472 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
473 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkui.cc' object='libDw_fltk_a-fltkui.obj' libtool=no @AMDEPBACKSLASH@ | |
474 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
475 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
476 | ||
477 | libDw_fltk_a-fltkviewbase.o: fltkviewbase.cc | |
478 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
479 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
480 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.o' libtool=no @AMDEPBACKSLASH@ | |
481 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
482 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
483 | ||
484 | libDw_fltk_a-fltkviewbase.obj: fltkviewbase.cc | |
485 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
486 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
487 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.obj' libtool=no @AMDEPBACKSLASH@ | |
488 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
489 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
490 | ||
491 | libDw_fltk_a-fltkviewport.o: fltkviewport.cc | |
492 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
493 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
494 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.o' libtool=no @AMDEPBACKSLASH@ | |
495 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
496 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
497 | ||
498 | libDw_fltk_a-fltkviewport.obj: fltkviewport.cc | |
499 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
500 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
501 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.obj' libtool=no @AMDEPBACKSLASH@ | |
502 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
503 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
504 | ||
505 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
506 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
507 | unique=`for i in $$list; do \ | |
508 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
509 | done | \ | |
510 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
511 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
512 | mkid -fID $$unique | |
513 | tags: TAGS | |
514 | ||
515 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
516 | $(TAGS_FILES) $(LISP) | |
517 | set x; \ | |
518 | here=`pwd`; \ | |
519 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
520 | unique=`for i in $$list; do \ | |
521 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
522 | done | \ | |
523 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
524 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
525 | shift; \ | |
526 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
527 | test -n "$$unique" || unique=$$empty_fix; \ | |
528 | if test $$# -gt 0; then \ | |
529 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
530 | "$$@" $$unique; \ | |
531 | else \ | |
532 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
533 | $$unique; \ | |
534 | fi; \ | |
535 | fi | |
536 | ctags: CTAGS | |
537 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
538 | $(TAGS_FILES) $(LISP) | |
539 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
540 | unique=`for i in $$list; do \ | |
541 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
542 | done | \ | |
543 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
544 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
545 | test -z "$(CTAGS_ARGS)$$unique" \ | |
546 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
547 | $$unique | |
548 | ||
549 | GTAGS: | |
550 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
551 | && $(am__cd) $(top_srcdir) \ | |
552 | && gtags -i $(GTAGS_ARGS) "$$here" | |
553 | ||
554 | distclean-tags: | |
555 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
556 | ||
557 | distdir: $(DISTFILES) | |
558 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
559 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
560 | list='$(DISTFILES)'; \ | |
561 | dist_files=`for file in $$list; do echo $$file; done | \ | |
562 | sed -e "s|^$$srcdirstrip/||;t" \ | |
563 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
564 | case $$dist_files in \ | |
565 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
566 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
567 | sort -u` ;; \ | |
568 | esac; \ | |
569 | for file in $$dist_files; do \ | |
570 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
571 | if test -d $$d/$$file; then \ | |
572 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
573 | if test -d "$(distdir)/$$file"; then \ | |
574 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
575 | fi; \ | |
576 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
577 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
578 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
579 | fi; \ | |
580 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
581 | else \ | |
582 | test -f "$(distdir)/$$file" \ | |
583 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
584 | || exit 1; \ | |
585 | fi; \ | |
586 | done | |
587 | check-am: all-am | |
588 | check: check-am | |
589 | all-am: Makefile $(LIBRARIES) | |
590 | installdirs: | |
591 | install: install-am | |
592 | install-exec: install-exec-am | |
593 | install-data: install-data-am | |
594 | uninstall: uninstall-am | |
595 | ||
596 | install-am: all-am | |
597 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
598 | ||
599 | installcheck: installcheck-am | |
600 | install-strip: | |
601 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
602 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
603 | `test -z '$(STRIP)' || \ | |
604 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
605 | mostlyclean-generic: | |
606 | ||
607 | clean-generic: | |
608 | ||
609 | distclean-generic: | |
610 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
611 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
612 | ||
613 | maintainer-clean-generic: | |
614 | @echo "This command is intended for maintainers to use" | |
615 | @echo "it deletes files that may require special tools to rebuild." | |
616 | clean: clean-am | |
617 | ||
618 | clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am | |
619 | ||
620 | distclean: distclean-am | |
621 | -rm -rf ./$(DEPDIR) | |
622 | -rm -f Makefile | |
623 | distclean-am: clean-am distclean-compile distclean-generic \ | |
624 | distclean-tags | |
625 | ||
626 | dvi: dvi-am | |
627 | ||
628 | dvi-am: | |
629 | ||
630 | html: html-am | |
631 | ||
632 | html-am: | |
633 | ||
634 | info: info-am | |
635 | ||
636 | info-am: | |
637 | ||
638 | install-data-am: | |
639 | ||
640 | install-dvi: install-dvi-am | |
641 | ||
642 | install-dvi-am: | |
643 | ||
644 | install-exec-am: | |
645 | ||
646 | install-html: install-html-am | |
647 | ||
648 | install-html-am: | |
649 | ||
650 | install-info: install-info-am | |
651 | ||
652 | install-info-am: | |
653 | ||
654 | install-man: | |
655 | ||
656 | install-pdf: install-pdf-am | |
657 | ||
658 | install-pdf-am: | |
659 | ||
660 | install-ps: install-ps-am | |
661 | ||
662 | install-ps-am: | |
663 | ||
664 | installcheck-am: | |
665 | ||
666 | maintainer-clean: maintainer-clean-am | |
667 | -rm -rf ./$(DEPDIR) | |
668 | -rm -f Makefile | |
669 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
670 | ||
671 | mostlyclean: mostlyclean-am | |
672 | ||
673 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
674 | ||
675 | pdf: pdf-am | |
676 | ||
677 | pdf-am: | |
678 | ||
679 | ps: ps-am | |
680 | ||
681 | ps-am: | |
682 | ||
683 | uninstall-am: | |
684 | ||
685 | .MAKE: install-am install-strip | |
686 | ||
687 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
688 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
689 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
690 | html-am info info-am install install-am install-data \ | |
691 | install-data-am install-dvi install-dvi-am install-exec \ | |
692 | install-exec-am install-html install-html-am install-info \ | |
693 | install-info-am install-man install-pdf install-pdf-am \ | |
694 | install-ps install-ps-am install-strip installcheck \ | |
695 | installcheck-am installdirs maintainer-clean \ | |
696 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
697 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
698 | uninstall-am | |
699 | ||
700 | ||
701 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
702 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
703 | .NOEXPORT: |
0 | #!/bin/sh | |
1 | # install - install a program, script, or datafile | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was | |
6 | # later released in X11R6 (xc/config/util/install.sh) with the | |
7 | # following copyright and license. | |
8 | # | |
9 | # Copyright (C) 1994 X Consortium | |
10 | # | |
11 | # Permission is hereby granted, free of charge, to any person obtaining a copy | |
12 | # of this software and associated documentation files (the "Software"), to | |
13 | # deal in the Software without restriction, including without limitation the | |
14 | # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
15 | # sell copies of the Software, and to permit persons to whom the Software is | |
16 | # furnished to do so, subject to the following conditions: | |
17 | # | |
18 | # The above copyright notice and this permission notice shall be included in | |
19 | # all copies or substantial portions of the Software. | |
20 | # | |
21 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
22 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
23 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
24 | # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN | |
25 | # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- | |
26 | # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
27 | # | |
28 | # Except as contained in this notice, the name of the X Consortium shall not | |
29 | # be used in advertising or otherwise to promote the sale, use or other deal- | |
30 | # ings in this Software without prior written authorization from the X Consor- | |
31 | # tium. | |
32 | # | |
33 | # | |
34 | # FSF changes to this file are in the public domain. | |
35 | # | |
36 | # Calling this script install-sh is preferred over install.sh, to prevent | |
37 | # `make' implicit rules from creating a file called install from it | |
38 | # when there is no Makefile. | |
39 | # | |
40 | # This script is compatible with the BSD install script, but was written | |
41 | # from scratch. | |
42 | ||
43 | nl=' | |
44 | ' | |
45 | IFS=" "" $nl" | |
46 | ||
47 | # set DOITPROG to echo to test this script | |
48 | ||
49 | # Don't use :- since 4.3BSD and earlier shells don't like it. | |
50 | doit=${DOITPROG-} | |
51 | if test -z "$doit"; then | |
52 | doit_exec=exec | |
53 | else | |
54 | doit_exec=$doit | |
55 | fi | |
56 | ||
57 | # Put in absolute file names if you don't have them in your path; | |
58 | # or use environment vars. | |
59 | ||
60 | chgrpprog=${CHGRPPROG-chgrp} | |
61 | chmodprog=${CHMODPROG-chmod} | |
62 | chownprog=${CHOWNPROG-chown} | |
63 | cmpprog=${CMPPROG-cmp} | |
64 | cpprog=${CPPROG-cp} | |
65 | mkdirprog=${MKDIRPROG-mkdir} | |
66 | mvprog=${MVPROG-mv} | |
67 | rmprog=${RMPROG-rm} | |
68 | stripprog=${STRIPPROG-strip} | |
69 | ||
70 | posix_glob='?' | |
71 | initialize_posix_glob=' | |
72 | test "$posix_glob" != "?" || { | |
73 | if (set -f) 2>/dev/null; then | |
74 | posix_glob= | |
75 | else | |
76 | posix_glob=: | |
77 | fi | |
78 | } | |
79 | ' | |
80 | ||
81 | posix_mkdir= | |
82 | ||
83 | # Desired mode of installed file. | |
84 | mode=0755 | |
85 | ||
86 | chgrpcmd= | |
87 | chmodcmd=$chmodprog | |
88 | chowncmd= | |
89 | mvcmd=$mvprog | |
90 | rmcmd="$rmprog -f" | |
91 | stripcmd= | |
92 | ||
93 | src= | |
94 | dst= | |
95 | dir_arg= | |
96 | dst_arg= | |
97 | ||
98 | copy_on_change=false | |
99 | no_target_directory= | |
100 | ||
101 | usage="\ | |
102 | Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE | |
103 | or: $0 [OPTION]... SRCFILES... DIRECTORY | |
104 | or: $0 [OPTION]... -t DIRECTORY SRCFILES... | |
105 | or: $0 [OPTION]... -d DIRECTORIES... | |
106 | ||
107 | In the 1st form, copy SRCFILE to DSTFILE. | |
108 | In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. | |
109 | In the 4th, create DIRECTORIES. | |
110 | ||
111 | Options: | |
112 | --help display this help and exit. | |
113 | --version display version info and exit. | |
114 | ||
115 | -c (ignored) | |
116 | -C install only if different (preserve the last data modification time) | |
117 | -d create directories instead of installing files. | |
118 | -g GROUP $chgrpprog installed files to GROUP. | |
119 | -m MODE $chmodprog installed files to MODE. | |
120 | -o USER $chownprog installed files to USER. | |
121 | -s $stripprog installed files. | |
122 | -t DIRECTORY install into DIRECTORY. | |
123 | -T report an error if DSTFILE is a directory. | |
124 | ||
125 | Environment variables override the default commands: | |
126 | CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG | |
127 | RMPROG STRIPPROG | |
128 | " | |
129 | ||
130 | while test $# -ne 0; do | |
131 | case $1 in | |
132 | -c) ;; | |
133 | ||
134 | -C) copy_on_change=true;; | |
135 | ||
136 | -d) dir_arg=true;; | |
137 | ||
138 | -g) chgrpcmd="$chgrpprog $2" | |
139 | shift;; | |
140 | ||
141 | --help) echo "$usage"; exit $?;; | |
142 | ||
143 | -m) mode=$2 | |
144 | case $mode in | |
145 | *' '* | *' '* | *' | |
146 | '* | *'*'* | *'?'* | *'['*) | |
147 | echo "$0: invalid mode: $mode" >&2 | |
148 | exit 1;; | |
149 | esac | |
150 | shift;; | |
151 | ||
152 | -o) chowncmd="$chownprog $2" | |
153 | shift;; | |
154 | ||
155 | -s) stripcmd=$stripprog;; | |
156 | ||
157 | -t) dst_arg=$2 | |
158 | shift;; | |
159 | ||
160 | -T) no_target_directory=true;; | |
161 | ||
162 | --version) echo "$0 $scriptversion"; exit $?;; | |
163 | ||
164 | --) shift | |
165 | break;; | |
166 | ||
167 | -*) echo "$0: invalid option: $1" >&2 | |
168 | exit 1;; | |
169 | ||
170 | *) break;; | |
171 | esac | |
172 | shift | |
173 | done | |
174 | ||
175 | if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then | |
176 | # When -d is used, all remaining arguments are directories to create. | |
177 | # When -t is used, the destination is already specified. | |
178 | # Otherwise, the last argument is the destination. Remove it from $@. | |
179 | for arg | |
180 | do | |
181 | if test -n "$dst_arg"; then | |
182 | # $@ is not empty: it contains at least $arg. | |
183 | set fnord "$@" "$dst_arg" | |
184 | shift # fnord | |
185 | fi | |
186 | shift # arg | |
187 | dst_arg=$arg | |
188 | done | |
189 | fi | |
190 | ||
191 | if test $# -eq 0; then | |
192 | if test -z "$dir_arg"; then | |
193 | echo "$0: no input file specified." >&2 | |
194 | exit 1 | |
195 | fi | |
196 | # It's OK to call `install-sh -d' without argument. | |
197 | # This can happen when creating conditional directories. | |
198 | exit 0 | |
199 | fi | |
200 | ||
201 | if test -z "$dir_arg"; then | |
202 | trap '(exit $?); exit' 1 2 13 15 | |
203 | ||
204 | # Set umask so as not to create temps with too-generous modes. | |
205 | # However, 'strip' requires both read and write access to temps. | |
206 | case $mode in | |
207 | # Optimize common cases. | |
208 | *644) cp_umask=133;; | |
209 | *755) cp_umask=22;; | |
210 | ||
211 | *[0-7]) | |
212 | if test -z "$stripcmd"; then | |
213 | u_plus_rw= | |
214 | else | |
215 | u_plus_rw='% 200' | |
216 | fi | |
217 | cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; | |
218 | *) | |
219 | if test -z "$stripcmd"; then | |
220 | u_plus_rw= | |
221 | else | |
222 | u_plus_rw=,u+rw | |
223 | fi | |
224 | cp_umask=$mode$u_plus_rw;; | |
225 | esac | |
226 | fi | |
227 | ||
228 | for src | |
229 | do | |
230 | # Protect names starting with `-'. | |
231 | case $src in | |
232 | -*) src=./$src;; | |
233 | esac | |
234 | ||
235 | if test -n "$dir_arg"; then | |
236 | dst=$src | |
237 | dstdir=$dst | |
238 | test -d "$dstdir" | |
239 | dstdir_status=$? | |
240 | else | |
241 | ||
242 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command | |
243 | # might cause directories to be created, which would be especially bad | |
244 | # if $src (and thus $dsttmp) contains '*'. | |
245 | if test ! -f "$src" && test ! -d "$src"; then | |
246 | echo "$0: $src does not exist." >&2 | |
247 | exit 1 | |
248 | fi | |
249 | ||
250 | if test -z "$dst_arg"; then | |
251 | echo "$0: no destination specified." >&2 | |
252 | exit 1 | |
253 | fi | |
254 | ||
255 | dst=$dst_arg | |
256 | # Protect names starting with `-'. | |
257 | case $dst in | |
258 | -*) dst=./$dst;; | |
259 | esac | |
260 | ||
261 | # If destination is a directory, append the input filename; won't work | |
262 | # if double slashes aren't ignored. | |
263 | if test -d "$dst"; then | |
264 | if test -n "$no_target_directory"; then | |
265 | echo "$0: $dst_arg: Is a directory" >&2 | |
266 | exit 1 | |
267 | fi | |
268 | dstdir=$dst | |
269 | dst=$dstdir/`basename "$src"` | |
270 | dstdir_status=0 | |
271 | else | |
272 | # Prefer dirname, but fall back on a substitute if dirname fails. | |
273 | dstdir=` | |
274 | (dirname "$dst") 2>/dev/null || | |
275 | expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
276 | X"$dst" : 'X\(//\)[^/]' \| \ | |
277 | X"$dst" : 'X\(//\)$' \| \ | |
278 | X"$dst" : 'X\(/\)' \| . 2>/dev/null || | |
279 | echo X"$dst" | | |
280 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
281 | s//\1/ | |
282 | q | |
283 | } | |
284 | /^X\(\/\/\)[^/].*/{ | |
285 | s//\1/ | |
286 | q | |
287 | } | |
288 | /^X\(\/\/\)$/{ | |
289 | s//\1/ | |
290 | q | |
291 | } | |
292 | /^X\(\/\).*/{ | |
293 | s//\1/ | |
294 | q | |
295 | } | |
296 | s/.*/./; q' | |
297 | ` | |
298 | ||
299 | test -d "$dstdir" | |
300 | dstdir_status=$? | |
301 | fi | |
302 | fi | |
303 | ||
304 | obsolete_mkdir_used=false | |
305 | ||
306 | if test $dstdir_status != 0; then | |
307 | case $posix_mkdir in | |
308 | '') | |
309 | # Create intermediate dirs using mode 755 as modified by the umask. | |
310 | # This is like FreeBSD 'install' as of 1997-10-28. | |
311 | umask=`umask` | |
312 | case $stripcmd.$umask in | |
313 | # Optimize common cases. | |
314 | *[2367][2367]) mkdir_umask=$umask;; | |
315 | .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; | |
316 | ||
317 | *[0-7]) | |
318 | mkdir_umask=`expr $umask + 22 \ | |
319 | - $umask % 100 % 40 + $umask % 20 \ | |
320 | - $umask % 10 % 4 + $umask % 2 | |
321 | `;; | |
322 | *) mkdir_umask=$umask,go-w;; | |
323 | esac | |
324 | ||
325 | # With -d, create the new directory with the user-specified mode. | |
326 | # Otherwise, rely on $mkdir_umask. | |
327 | if test -n "$dir_arg"; then | |
328 | mkdir_mode=-m$mode | |
329 | else | |
330 | mkdir_mode= | |
331 | fi | |
332 | ||
333 | posix_mkdir=false | |
334 | case $umask in | |
335 | *[123567][0-7][0-7]) | |
336 | # POSIX mkdir -p sets u+wx bits regardless of umask, which | |
337 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. | |
338 | ;; | |
339 | *) | |
340 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
341 | trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
342 | ||
343 | if (umask $mkdir_umask && | |
344 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 | |
345 | then | |
346 | if test -z "$dir_arg" || { | |
347 | # Check for POSIX incompatibilities with -m. | |
348 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
349 | # other-writeable bit of parent directory when it shouldn't. | |
350 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
351 | ls_ld_tmpdir=`ls -ld "$tmpdir"` | |
352 | case $ls_ld_tmpdir in | |
353 | d????-?r-*) different_mode=700;; | |
354 | d????-?--*) different_mode=755;; | |
355 | *) false;; | |
356 | esac && | |
357 | $mkdirprog -m$different_mode -p -- "$tmpdir" && { | |
358 | ls_ld_tmpdir_1=`ls -ld "$tmpdir"` | |
359 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
360 | } | |
361 | } | |
362 | then posix_mkdir=: | |
363 | fi | |
364 | rmdir "$tmpdir/d" "$tmpdir" | |
365 | else | |
366 | # Remove any dirs left behind by ancient mkdir implementations. | |
367 | rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null | |
368 | fi | |
369 | trap '' 0;; | |
370 | esac;; | |
371 | esac | |
372 | ||
373 | if | |
374 | $posix_mkdir && ( | |
375 | umask $mkdir_umask && | |
376 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" | |
377 | ) | |
378 | then : | |
379 | else | |
380 | ||
381 | # The umask is ridiculous, or mkdir does not conform to POSIX, | |
382 | # or it failed possibly due to a race condition. Create the | |
383 | # directory the slow way, step by step, checking for races as we go. | |
384 | ||
385 | case $dstdir in | |
386 | /*) prefix='/';; | |
387 | -*) prefix='./';; | |
388 | *) prefix='';; | |
389 | esac | |
390 | ||
391 | eval "$initialize_posix_glob" | |
392 | ||
393 | oIFS=$IFS | |
394 | IFS=/ | |
395 | $posix_glob set -f | |
396 | set fnord $dstdir | |
397 | shift | |
398 | $posix_glob set +f | |
399 | IFS=$oIFS | |
400 | ||
401 | prefixes= | |
402 | ||
403 | for d | |
404 | do | |
405 | test -z "$d" && continue | |
406 | ||
407 | prefix=$prefix$d | |
408 | if test -d "$prefix"; then | |
409 | prefixes= | |
410 | else | |
411 | if $posix_mkdir; then | |
412 | (umask=$mkdir_umask && | |
413 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break | |
414 | # Don't fail if two instances are running concurrently. | |
415 | test -d "$prefix" || exit 1 | |
416 | else | |
417 | case $prefix in | |
418 | *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; | |
419 | *) qprefix=$prefix;; | |
420 | esac | |
421 | prefixes="$prefixes '$qprefix'" | |
422 | fi | |
423 | fi | |
424 | prefix=$prefix/ | |
425 | done | |
426 | ||
427 | if test -n "$prefixes"; then | |
428 | # Don't fail if two instances are running concurrently. | |
429 | (umask $mkdir_umask && | |
430 | eval "\$doit_exec \$mkdirprog $prefixes") || | |
431 | test -d "$dstdir" || exit 1 | |
432 | obsolete_mkdir_used=true | |
433 | fi | |
434 | fi | |
435 | fi | |
436 | ||
437 | if test -n "$dir_arg"; then | |
438 | { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && | |
439 | { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && | |
440 | { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || | |
441 | test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 | |
442 | else | |
443 | ||
444 | # Make a couple of temp file names in the proper directory. | |
445 | dsttmp=$dstdir/_inst.$$_ | |
446 | rmtmp=$dstdir/_rm.$$_ | |
447 | ||
448 | # Trap to clean up those temp files at exit. | |
449 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 | |
450 | ||
451 | # Copy the file name to the temp name. | |
452 | (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && | |
453 | ||
454 | # and set any options; do chmod last to preserve setuid bits. | |
455 | # | |
456 | # If any of these fail, we abort the whole thing. If we want to | |
457 | # ignore errors from any of these, just make sure not to ignore | |
458 | # errors from the above "$doit $cpprog $src $dsttmp" command. | |
459 | # | |
460 | { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && | |
461 | { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && | |
462 | { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && | |
463 | { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && | |
464 | ||
465 | # If -C, don't bother to copy if it wouldn't change the file. | |
466 | if $copy_on_change && | |
467 | old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && | |
468 | new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && | |
469 | ||
470 | eval "$initialize_posix_glob" && | |
471 | $posix_glob set -f && | |
472 | set X $old && old=:$2:$4:$5:$6 && | |
473 | set X $new && new=:$2:$4:$5:$6 && | |
474 | $posix_glob set +f && | |
475 | ||
476 | test "$old" = "$new" && | |
477 | $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 | |
478 | then | |
479 | rm -f "$dsttmp" | |
480 | else | |
481 | # Rename the file to the real destination. | |
482 | $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || | |
483 | ||
484 | # The rename failed, perhaps because mv can't rename something else | |
485 | # to itself, or perhaps because mv is so ancient that it does not | |
486 | # support -f. | |
487 | { | |
488 | # Now remove or move aside any old file at destination location. | |
489 | # We try this two ways since rm can't unlink itself on some | |
490 | # systems and the destination file might be busy for other | |
491 | # reasons. In this case, the final cleanup might fail but the new | |
492 | # file should still install successfully. | |
493 | { | |
494 | test ! -f "$dst" || | |
495 | $doit $rmcmd -f "$dst" 2>/dev/null || | |
496 | { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && | |
497 | { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } | |
498 | } || | |
499 | { echo "$0: cannot unlink or rename $dst" >&2 | |
500 | (exit 1); exit 1 | |
501 | } | |
502 | } && | |
503 | ||
504 | # Now rename the file to the real destination. | |
505 | $doit $mvcmd "$dsttmp" "$dst" | |
506 | } | |
507 | fi || exit 1 | |
508 | ||
509 | trap '' 0 | |
510 | fi | |
511 | done | |
512 | ||
513 | # Local variables: | |
514 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
515 | # time-stamp-start: "scriptversion=" | |
516 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
517 | # time-stamp-time-zone: "UTC" | |
518 | # time-stamp-end: "; # UTC" | |
519 | # End: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = lout | |
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | LIBRARIES = $(noinst_LIBRARIES) | |
48 | AR = ar | |
49 | ARFLAGS = cru | |
50 | liblout_a_AR = $(AR) $(ARFLAGS) | |
51 | liblout_a_LIBADD = | |
52 | am_liblout_a_OBJECTS = container.$(OBJEXT) identity.$(OBJEXT) \ | |
53 | misc.$(OBJEXT) object.$(OBJEXT) signal.$(OBJEXT) | |
54 | liblout_a_OBJECTS = $(am_liblout_a_OBJECTS) | |
55 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
56 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
57 | am__depfiles_maybe = depfiles | |
58 | am__mv = mv -f | |
59 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
60 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
61 | CXXLD = $(CXX) | |
62 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
63 | -o $@ | |
64 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
65 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
66 | CCLD = $(CC) | |
67 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
68 | SOURCES = $(liblout_a_SOURCES) | |
69 | DIST_SOURCES = $(liblout_a_SOURCES) | |
70 | ETAGS = etags | |
71 | CTAGS = ctags | |
72 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
73 | ACLOCAL = @ACLOCAL@ | |
74 | AMTAR = @AMTAR@ | |
75 | AUTOCONF = @AUTOCONF@ | |
76 | AUTOHEADER = @AUTOHEADER@ | |
77 | AUTOMAKE = @AUTOMAKE@ | |
78 | AWK = @AWK@ | |
79 | CC = @CC@ | |
80 | CCDEPMODE = @CCDEPMODE@ | |
81 | CFLAGS = @CFLAGS@ | |
82 | CPP = @CPP@ | |
83 | CPPFLAGS = @CPPFLAGS@ | |
84 | CXX = @CXX@ | |
85 | CXXDEPMODE = @CXXDEPMODE@ | |
86 | CXXFLAGS = @CXXFLAGS@ | |
87 | CYGPATH_W = @CYGPATH_W@ | |
88 | DEFS = @DEFS@ | |
89 | DEPDIR = @DEPDIR@ | |
90 | ECHO_C = @ECHO_C@ | |
91 | ECHO_N = @ECHO_N@ | |
92 | ECHO_T = @ECHO_T@ | |
93 | EGREP = @EGREP@ | |
94 | EXEEXT = @EXEEXT@ | |
95 | GREP = @GREP@ | |
96 | INSTALL = @INSTALL@ | |
97 | INSTALL_DATA = @INSTALL_DATA@ | |
98 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
99 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
100 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
101 | LDFLAGS = @LDFLAGS@ | |
102 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
103 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
104 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
105 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
106 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
107 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
108 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
109 | LIBOBJS = @LIBOBJS@ | |
110 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
111 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
112 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
113 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
114 | LIBS = @LIBS@ | |
115 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
116 | LIBZ_LIBS = @LIBZ_LIBS@ | |
117 | LTLIBOBJS = @LTLIBOBJS@ | |
118 | MAKEINFO = @MAKEINFO@ | |
119 | MKDIR_P = @MKDIR_P@ | |
120 | OBJEXT = @OBJEXT@ | |
121 | PACKAGE = @PACKAGE@ | |
122 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
123 | PACKAGE_NAME = @PACKAGE_NAME@ | |
124 | PACKAGE_STRING = @PACKAGE_STRING@ | |
125 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
126 | PACKAGE_URL = @PACKAGE_URL@ | |
127 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
128 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
129 | RANLIB = @RANLIB@ | |
130 | SET_MAKE = @SET_MAKE@ | |
131 | SHELL = @SHELL@ | |
132 | STRIP = @STRIP@ | |
133 | VERSION = @VERSION@ | |
134 | abs_builddir = @abs_builddir@ | |
135 | abs_srcdir = @abs_srcdir@ | |
136 | abs_top_builddir = @abs_top_builddir@ | |
137 | abs_top_srcdir = @abs_top_srcdir@ | |
138 | ac_ct_CC = @ac_ct_CC@ | |
139 | ac_ct_CXX = @ac_ct_CXX@ | |
140 | am__include = @am__include@ | |
141 | am__leading_dot = @am__leading_dot@ | |
142 | am__quote = @am__quote@ | |
143 | am__tar = @am__tar@ | |
144 | am__untar = @am__untar@ | |
145 | bindir = @bindir@ | |
146 | build = @build@ | |
147 | build_alias = @build_alias@ | |
148 | build_cpu = @build_cpu@ | |
149 | build_os = @build_os@ | |
150 | build_vendor = @build_vendor@ | |
151 | builddir = @builddir@ | |
152 | datadir = @datadir@ | |
153 | datarootdir = @datarootdir@ | |
154 | docdir = @docdir@ | |
155 | dvidir = @dvidir@ | |
156 | exec_prefix = @exec_prefix@ | |
157 | host = @host@ | |
158 | host_alias = @host_alias@ | |
159 | host_cpu = @host_cpu@ | |
160 | host_os = @host_os@ | |
161 | host_vendor = @host_vendor@ | |
162 | htmldir = @htmldir@ | |
163 | includedir = @includedir@ | |
164 | infodir = @infodir@ | |
165 | install_sh = @install_sh@ | |
166 | libdir = @libdir@ | |
167 | libexecdir = @libexecdir@ | |
168 | localedir = @localedir@ | |
169 | localstatedir = @localstatedir@ | |
170 | mandir = @mandir@ | |
171 | mkdir_p = @mkdir_p@ | |
172 | oldincludedir = @oldincludedir@ | |
173 | pdfdir = @pdfdir@ | |
174 | prefix = @prefix@ | |
175 | program_transform_name = @program_transform_name@ | |
176 | psdir = @psdir@ | |
177 | sbindir = @sbindir@ | |
178 | sharedstatedir = @sharedstatedir@ | |
179 | srcdir = @srcdir@ | |
180 | sysconfdir = @sysconfdir@ | |
181 | target = @target@ | |
182 | target_alias = @target_alias@ | |
183 | target_cpu = @target_cpu@ | |
184 | target_os = @target_os@ | |
185 | target_vendor = @target_vendor@ | |
186 | top_build_prefix = @top_build_prefix@ | |
187 | top_builddir = @top_builddir@ | |
188 | top_srcdir = @top_srcdir@ | |
189 | AM_CPPFLAGS = \ | |
190 | -I$(top_srcdir) | |
191 | ||
192 | noinst_LIBRARIES = liblout.a | |
193 | liblout_a_SOURCES = \ | |
194 | container.cc \ | |
195 | container.hh \ | |
196 | debug.hh \ | |
197 | identity.cc \ | |
198 | identity.hh \ | |
199 | misc.cc \ | |
200 | misc.hh \ | |
201 | object.cc \ | |
202 | object.hh \ | |
203 | signal.cc \ | |
204 | signal.hh \ | |
205 | msg.h | |
206 | ||
207 | all: all-am | |
208 | ||
209 | .SUFFIXES: | |
210 | .SUFFIXES: .cc .o .obj | |
211 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
212 | @for dep in $?; do \ | |
213 | case '$(am__configure_deps)' in \ | |
214 | *$$dep*) \ | |
215 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
216 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
217 | exit 1;; \ | |
218 | esac; \ | |
219 | done; \ | |
220 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lout/Makefile'; \ | |
221 | $(am__cd) $(top_srcdir) && \ | |
222 | $(AUTOMAKE) --gnu lout/Makefile | |
223 | .PRECIOUS: Makefile | |
224 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
225 | @case '$?' in \ | |
226 | *config.status*) \ | |
227 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
228 | *) \ | |
229 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
230 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
231 | esac; | |
232 | ||
233 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
234 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
235 | ||
236 | $(top_srcdir)/configure: $(am__configure_deps) | |
237 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
238 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
239 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
240 | $(am__aclocal_m4_deps): | |
241 | ||
242 | clean-noinstLIBRARIES: | |
243 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
244 | liblout.a: $(liblout_a_OBJECTS) $(liblout_a_DEPENDENCIES) | |
245 | -rm -f liblout.a | |
246 | $(liblout_a_AR) liblout.a $(liblout_a_OBJECTS) $(liblout_a_LIBADD) | |
247 | $(RANLIB) liblout.a | |
248 | ||
249 | mostlyclean-compile: | |
250 | -rm -f *.$(OBJEXT) | |
251 | ||
252 | distclean-compile: | |
253 | -rm -f *.tab.c | |
254 | ||
255 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/container.Po@am__quote@ | |
256 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/identity.Po@am__quote@ | |
257 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ | |
258 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ | |
259 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal.Po@am__quote@ | |
260 | ||
261 | .cc.o: | |
262 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
263 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
264 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
265 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
266 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
267 | ||
268 | .cc.obj: | |
269 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
270 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
271 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
272 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
273 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
274 | ||
275 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
276 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
277 | unique=`for i in $$list; do \ | |
278 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
279 | done | \ | |
280 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
281 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
282 | mkid -fID $$unique | |
283 | tags: TAGS | |
284 | ||
285 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
286 | $(TAGS_FILES) $(LISP) | |
287 | set x; \ | |
288 | here=`pwd`; \ | |
289 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
290 | unique=`for i in $$list; do \ | |
291 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
292 | done | \ | |
293 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
294 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
295 | shift; \ | |
296 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
297 | test -n "$$unique" || unique=$$empty_fix; \ | |
298 | if test $$# -gt 0; then \ | |
299 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
300 | "$$@" $$unique; \ | |
301 | else \ | |
302 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
303 | $$unique; \ | |
304 | fi; \ | |
305 | fi | |
306 | ctags: CTAGS | |
307 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
308 | $(TAGS_FILES) $(LISP) | |
309 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
310 | unique=`for i in $$list; do \ | |
311 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
312 | done | \ | |
313 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
314 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
315 | test -z "$(CTAGS_ARGS)$$unique" \ | |
316 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
317 | $$unique | |
318 | ||
319 | GTAGS: | |
320 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
321 | && $(am__cd) $(top_srcdir) \ | |
322 | && gtags -i $(GTAGS_ARGS) "$$here" | |
323 | ||
324 | distclean-tags: | |
325 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
326 | ||
327 | distdir: $(DISTFILES) | |
328 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
329 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
330 | list='$(DISTFILES)'; \ | |
331 | dist_files=`for file in $$list; do echo $$file; done | \ | |
332 | sed -e "s|^$$srcdirstrip/||;t" \ | |
333 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
334 | case $$dist_files in \ | |
335 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
336 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
337 | sort -u` ;; \ | |
338 | esac; \ | |
339 | for file in $$dist_files; do \ | |
340 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
341 | if test -d $$d/$$file; then \ | |
342 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
343 | if test -d "$(distdir)/$$file"; then \ | |
344 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
345 | fi; \ | |
346 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
347 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
348 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
349 | fi; \ | |
350 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
351 | else \ | |
352 | test -f "$(distdir)/$$file" \ | |
353 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
354 | || exit 1; \ | |
355 | fi; \ | |
356 | done | |
357 | check-am: all-am | |
358 | check: check-am | |
359 | all-am: Makefile $(LIBRARIES) | |
360 | installdirs: | |
361 | install: install-am | |
362 | install-exec: install-exec-am | |
363 | install-data: install-data-am | |
364 | uninstall: uninstall-am | |
365 | ||
366 | install-am: all-am | |
367 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
368 | ||
369 | installcheck: installcheck-am | |
370 | install-strip: | |
371 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
372 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
373 | `test -z '$(STRIP)' || \ | |
374 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
375 | mostlyclean-generic: | |
376 | ||
377 | clean-generic: | |
378 | ||
379 | distclean-generic: | |
380 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
381 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
382 | ||
383 | maintainer-clean-generic: | |
384 | @echo "This command is intended for maintainers to use" | |
385 | @echo "it deletes files that may require special tools to rebuild." | |
386 | clean: clean-am | |
387 | ||
388 | clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am | |
389 | ||
390 | distclean: distclean-am | |
391 | -rm -rf ./$(DEPDIR) | |
392 | -rm -f Makefile | |
393 | distclean-am: clean-am distclean-compile distclean-generic \ | |
394 | distclean-tags | |
395 | ||
396 | dvi: dvi-am | |
397 | ||
398 | dvi-am: | |
399 | ||
400 | html: html-am | |
401 | ||
402 | html-am: | |
403 | ||
404 | info: info-am | |
405 | ||
406 | info-am: | |
407 | ||
408 | install-data-am: | |
409 | ||
410 | install-dvi: install-dvi-am | |
411 | ||
412 | install-dvi-am: | |
413 | ||
414 | install-exec-am: | |
415 | ||
416 | install-html: install-html-am | |
417 | ||
418 | install-html-am: | |
419 | ||
420 | install-info: install-info-am | |
421 | ||
422 | install-info-am: | |
423 | ||
424 | install-man: | |
425 | ||
426 | install-pdf: install-pdf-am | |
427 | ||
428 | install-pdf-am: | |
429 | ||
430 | install-ps: install-ps-am | |
431 | ||
432 | install-ps-am: | |
433 | ||
434 | installcheck-am: | |
435 | ||
436 | maintainer-clean: maintainer-clean-am | |
437 | -rm -rf ./$(DEPDIR) | |
438 | -rm -f Makefile | |
439 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
440 | ||
441 | mostlyclean: mostlyclean-am | |
442 | ||
443 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
444 | ||
445 | pdf: pdf-am | |
446 | ||
447 | pdf-am: | |
448 | ||
449 | ps: ps-am | |
450 | ||
451 | ps-am: | |
452 | ||
453 | uninstall-am: | |
454 | ||
455 | .MAKE: install-am install-strip | |
456 | ||
457 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
458 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
459 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
460 | html-am info info-am install install-am install-data \ | |
461 | install-data-am install-dvi install-dvi-am install-exec \ | |
462 | install-exec-am install-html install-html-am install-info \ | |
463 | install-info-am install-man install-pdf install-pdf-am \ | |
464 | install-ps install-ps-am install-strip installcheck \ | |
465 | installcheck-am installdirs maintainer-clean \ | |
466 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
467 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
468 | uninstall-am | |
469 | ||
470 | ||
471 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
472 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
473 | .NOEXPORT: |
0 | #! /bin/sh | |
1 | # Common stub for a few missing GNU programs while installing. | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | |
6 | # 2008, 2009 Free Software Foundation, Inc. | |
7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
8 | ||
9 | # This program is free software; you can redistribute it and/or modify | |
10 | # it under the terms of the GNU General Public License as published by | |
11 | # the Free Software Foundation; either version 2, or (at your option) | |
12 | # any later version. | |
13 | ||
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | ||
19 | # You should have received a copy of the GNU General Public License | |
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | # As a special exception to the GNU General Public License, if you | |
23 | # distribute this file as part of a program that contains a | |
24 | # configuration script generated by Autoconf, you may include it under | |
25 | # the same distribution terms that you use for the rest of that program. | |
26 | ||
27 | if test $# -eq 0; then | |
28 | echo 1>&2 "Try \`$0 --help' for more information" | |
29 | exit 1 | |
30 | fi | |
31 | ||
32 | run=: | |
33 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
34 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
35 | ||
36 | # In the cases where this matters, `missing' is being run in the | |
37 | # srcdir already. | |
38 | if test -f configure.ac; then | |
39 | configure_ac=configure.ac | |
40 | else | |
41 | configure_ac=configure.in | |
42 | fi | |
43 | ||
44 | msg="missing on your system" | |
45 | ||
46 | case $1 in | |
47 | --run) | |
48 | # Try to run requested program, and just exit if it succeeds. | |
49 | run= | |
50 | shift | |
51 | "$@" && exit 0 | |
52 | # Exit code 63 means version mismatch. This often happens | |
53 | # when the user try to use an ancient version of a tool on | |
54 | # a file that requires a minimum version. In this case we | |
55 | # we should proceed has if the program had been absent, or | |
56 | # if --run hadn't been passed. | |
57 | if test $? = 63; then | |
58 | run=: | |
59 | msg="probably too old" | |
60 | fi | |
61 | ;; | |
62 | ||
63 | -h|--h|--he|--hel|--help) | |
64 | echo "\ | |
65 | $0 [OPTION]... PROGRAM [ARGUMENT]... | |
66 | ||
67 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
68 | error status if there is no known handling for PROGRAM. | |
69 | ||
70 | Options: | |
71 | -h, --help display this help and exit | |
72 | -v, --version output version information and exit | |
73 | --run try to run the given command, and emulate it if it fails | |
74 | ||
75 | Supported PROGRAM values: | |
76 | aclocal touch file \`aclocal.m4' | |
77 | autoconf touch file \`configure' | |
78 | autoheader touch file \`config.h.in' | |
79 | autom4te touch the output file, or create a stub one | |
80 | automake touch all \`Makefile.in' files | |
81 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
82 | flex create \`lex.yy.c', if possible, from existing .c | |
83 | help2man touch the output file | |
84 | lex create \`lex.yy.c', if possible, from existing .c | |
85 | makeinfo touch the output file | |
86 | tar try tar, gnutar, gtar, then tar without non-portable flags | |
87 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
88 | ||
89 | Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | |
90 | \`g' are ignored when checking the name. | |
91 | ||
92 | Send bug reports to <bug-automake@gnu.org>." | |
93 | exit $? | |
94 | ;; | |
95 | ||
96 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) | |
97 | echo "missing $scriptversion (GNU Automake)" | |
98 | exit $? | |
99 | ;; | |
100 | ||
101 | -*) | |
102 | echo 1>&2 "$0: Unknown \`$1' option" | |
103 | echo 1>&2 "Try \`$0 --help' for more information" | |
104 | exit 1 | |
105 | ;; | |
106 | ||
107 | esac | |
108 | ||
109 | # normalize program name to check for. | |
110 | program=`echo "$1" | sed ' | |
111 | s/^gnu-//; t | |
112 | s/^gnu//; t | |
113 | s/^g//; t'` | |
114 | ||
115 | # Now exit if we have it, but it failed. Also exit now if we | |
116 | # don't have it and --version was passed (most likely to detect | |
117 | # the program). This is about non-GNU programs, so use $1 not | |
118 | # $program. | |
119 | case $1 in | |
120 | lex*|yacc*) | |
121 | # Not GNU programs, they don't have --version. | |
122 | ;; | |
123 | ||
124 | tar*) | |
125 | if test -n "$run"; then | |
126 | echo 1>&2 "ERROR: \`tar' requires --run" | |
127 | exit 1 | |
128 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
129 | exit 1 | |
130 | fi | |
131 | ;; | |
132 | ||
133 | *) | |
134 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
135 | # We have it, but it failed. | |
136 | exit 1 | |
137 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
138 | # Could not run --version or --help. This is probably someone | |
139 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
140 | # $TOOL exists and not knowing $TOOL uses missing. | |
141 | exit 1 | |
142 | fi | |
143 | ;; | |
144 | esac | |
145 | ||
146 | # If it does not exist, or fails to run (possibly an outdated version), | |
147 | # try to emulate it. | |
148 | case $program in | |
149 | aclocal*) | |
150 | echo 1>&2 "\ | |
151 | WARNING: \`$1' is $msg. You should only need it if | |
152 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
153 | to install the \`Automake' and \`Perl' packages. Grab them from | |
154 | any GNU archive site." | |
155 | touch aclocal.m4 | |
156 | ;; | |
157 | ||
158 | autoconf*) | |
159 | echo 1>&2 "\ | |
160 | WARNING: \`$1' is $msg. You should only need it if | |
161 | you modified \`${configure_ac}'. You might want to install the | |
162 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
163 | archive site." | |
164 | touch configure | |
165 | ;; | |
166 | ||
167 | autoheader*) | |
168 | echo 1>&2 "\ | |
169 | WARNING: \`$1' is $msg. You should only need it if | |
170 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
171 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
172 | from any GNU archive site." | |
173 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` | |
174 | test -z "$files" && files="config.h" | |
175 | touch_files= | |
176 | for f in $files; do | |
177 | case $f in | |
178 | *:*) touch_files="$touch_files "`echo "$f" | | |
179 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; | |
180 | *) touch_files="$touch_files $f.in";; | |
181 | esac | |
182 | done | |
183 | touch $touch_files | |
184 | ;; | |
185 | ||
186 | automake*) | |
187 | echo 1>&2 "\ | |
188 | WARNING: \`$1' is $msg. You should only need it if | |
189 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
190 | You might want to install the \`Automake' and \`Perl' packages. | |
191 | Grab them from any GNU archive site." | |
192 | find . -type f -name Makefile.am -print | | |
193 | sed 's/\.am$/.in/' | | |
194 | while read f; do touch "$f"; done | |
195 | ;; | |
196 | ||
197 | autom4te*) | |
198 | echo 1>&2 "\ | |
199 | WARNING: \`$1' is needed, but is $msg. | |
200 | You might have modified some files without having the | |
201 | proper tools for further handling them. | |
202 | You can get \`$1' as part of \`Autoconf' from any GNU | |
203 | archive site." | |
204 | ||
205 | file=`echo "$*" | sed -n "$sed_output"` | |
206 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
207 | if test -f "$file"; then | |
208 | touch $file | |
209 | else | |
210 | test -z "$file" || exec >$file | |
211 | echo "#! /bin/sh" | |
212 | echo "# Created by GNU Automake missing as a replacement of" | |
213 | echo "# $ $@" | |
214 | echo "exit 0" | |
215 | chmod +x $file | |
216 | exit 1 | |
217 | fi | |
218 | ;; | |
219 | ||
220 | bison*|yacc*) | |
221 | echo 1>&2 "\ | |
222 | WARNING: \`$1' $msg. You should only need it if | |
223 | you modified a \`.y' file. You may need the \`Bison' package | |
224 | in order for those modifications to take effect. You can get | |
225 | \`Bison' from any GNU archive site." | |
226 | rm -f y.tab.c y.tab.h | |
227 | if test $# -ne 1; then | |
228 | eval LASTARG="\${$#}" | |
229 | case $LASTARG in | |
230 | *.y) | |
231 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` | |
232 | if test -f "$SRCFILE"; then | |
233 | cp "$SRCFILE" y.tab.c | |
234 | fi | |
235 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` | |
236 | if test -f "$SRCFILE"; then | |
237 | cp "$SRCFILE" y.tab.h | |
238 | fi | |
239 | ;; | |
240 | esac | |
241 | fi | |
242 | if test ! -f y.tab.h; then | |
243 | echo >y.tab.h | |
244 | fi | |
245 | if test ! -f y.tab.c; then | |
246 | echo 'main() { return 0; }' >y.tab.c | |
247 | fi | |
248 | ;; | |
249 | ||
250 | lex*|flex*) | |
251 | echo 1>&2 "\ | |
252 | WARNING: \`$1' is $msg. You should only need it if | |
253 | you modified a \`.l' file. You may need the \`Flex' package | |
254 | in order for those modifications to take effect. You can get | |
255 | \`Flex' from any GNU archive site." | |
256 | rm -f lex.yy.c | |
257 | if test $# -ne 1; then | |
258 | eval LASTARG="\${$#}" | |
259 | case $LASTARG in | |
260 | *.l) | |
261 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` | |
262 | if test -f "$SRCFILE"; then | |
263 | cp "$SRCFILE" lex.yy.c | |
264 | fi | |
265 | ;; | |
266 | esac | |
267 | fi | |
268 | if test ! -f lex.yy.c; then | |
269 | echo 'main() { return 0; }' >lex.yy.c | |
270 | fi | |
271 | ;; | |
272 | ||
273 | help2man*) | |
274 | echo 1>&2 "\ | |
275 | WARNING: \`$1' is $msg. You should only need it if | |
276 | you modified a dependency of a manual page. You may need the | |
277 | \`Help2man' package in order for those modifications to take | |
278 | effect. You can get \`Help2man' from any GNU archive site." | |
279 | ||
280 | file=`echo "$*" | sed -n "$sed_output"` | |
281 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
282 | if test -f "$file"; then | |
283 | touch $file | |
284 | else | |
285 | test -z "$file" || exec >$file | |
286 | echo ".ab help2man is required to generate this page" | |
287 | exit $? | |
288 | fi | |
289 | ;; | |
290 | ||
291 | makeinfo*) | |
292 | echo 1>&2 "\ | |
293 | WARNING: \`$1' is $msg. You should only need it if | |
294 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
295 | indirectly affecting the aspect of the manual. The spurious | |
296 | call might also be the consequence of using a buggy \`make' (AIX, | |
297 | DU, IRIX). You might want to install the \`Texinfo' package or | |
298 | the \`GNU make' package. Grab either from any GNU archive site." | |
299 | # The file to touch is that specified with -o ... | |
300 | file=`echo "$*" | sed -n "$sed_output"` | |
301 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
302 | if test -z "$file"; then | |
303 | # ... or it is the one specified with @setfilename ... | |
304 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
305 | file=`sed -n ' | |
306 | /^@setfilename/{ | |
307 | s/.* \([^ ]*\) *$/\1/ | |
308 | p | |
309 | q | |
310 | }' $infile` | |
311 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
312 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
313 | fi | |
314 | # If the file does not exist, the user really needs makeinfo; | |
315 | # let's fail without touching anything. | |
316 | test -f $file || exit 1 | |
317 | touch $file | |
318 | ;; | |
319 | ||
320 | tar*) | |
321 | shift | |
322 | ||
323 | # We have already tried tar in the generic part. | |
324 | # Look for gnutar/gtar before invocation to avoid ugly error | |
325 | # messages. | |
326 | if (gnutar --version > /dev/null 2>&1); then | |
327 | gnutar "$@" && exit 0 | |
328 | fi | |
329 | if (gtar --version > /dev/null 2>&1); then | |
330 | gtar "$@" && exit 0 | |
331 | fi | |
332 | firstarg="$1" | |
333 | if shift; then | |
334 | case $firstarg in | |
335 | *o*) | |
336 | firstarg=`echo "$firstarg" | sed s/o//` | |
337 | tar "$firstarg" "$@" && exit 0 | |
338 | ;; | |
339 | esac | |
340 | case $firstarg in | |
341 | *h*) | |
342 | firstarg=`echo "$firstarg" | sed s/h//` | |
343 | tar "$firstarg" "$@" && exit 0 | |
344 | ;; | |
345 | esac | |
346 | fi | |
347 | ||
348 | echo 1>&2 "\ | |
349 | WARNING: I can't seem to be able to run \`tar' with the given arguments. | |
350 | You may want to install GNU tar or Free paxutils, or check the | |
351 | command line arguments." | |
352 | exit 1 | |
353 | ;; | |
354 | ||
355 | *) | |
356 | echo 1>&2 "\ | |
357 | WARNING: \`$1' is needed, and is $msg. | |
358 | You might have modified some files without having the | |
359 | proper tools for further handling them. Check the \`README' file, | |
360 | it often tells you about the needed prerequisites for installing | |
361 | this package. You may also peek at any GNU archive site, in case | |
362 | some other package would contain this missing \`$1' program." | |
363 | exit 1 | |
364 | ;; | |
365 | esac | |
366 | ||
367 | exit 0 | |
368 | ||
369 | # Local variables: | |
370 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
371 | # time-stamp-start: "scriptversion=" | |
372 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
373 | # time-stamp-time-zone: "UTC" | |
374 | # time-stamp-end: "; # UTC" | |
375 | # End: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | subdir = src/IO | |
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | LIBRARIES = $(noinst_LIBRARIES) | |
48 | AR = ar | |
49 | ARFLAGS = cru | |
50 | libDiof_a_AR = $(AR) $(ARFLAGS) | |
51 | libDiof_a_LIBADD = | |
52 | am_libDiof_a_OBJECTS = mime.$(OBJEXT) about.$(OBJEXT) http.$(OBJEXT) \ | |
53 | dpi.$(OBJEXT) IO.$(OBJEXT) iowatch.$(OBJEXT) | |
54 | libDiof_a_OBJECTS = $(am_libDiof_a_OBJECTS) | |
55 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
56 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
57 | am__depfiles_maybe = depfiles | |
58 | am__mv = mv -f | |
59 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
60 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
61 | CCLD = $(CC) | |
62 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
63 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
64 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
65 | CXXLD = $(CXX) | |
66 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
67 | -o $@ | |
68 | SOURCES = $(libDiof_a_SOURCES) | |
69 | DIST_SOURCES = $(libDiof_a_SOURCES) | |
70 | ETAGS = etags | |
71 | CTAGS = ctags | |
72 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
73 | ACLOCAL = @ACLOCAL@ | |
74 | AMTAR = @AMTAR@ | |
75 | AUTOCONF = @AUTOCONF@ | |
76 | AUTOHEADER = @AUTOHEADER@ | |
77 | AUTOMAKE = @AUTOMAKE@ | |
78 | AWK = @AWK@ | |
79 | CC = @CC@ | |
80 | CCDEPMODE = @CCDEPMODE@ | |
81 | CFLAGS = @CFLAGS@ | |
82 | CPP = @CPP@ | |
83 | CPPFLAGS = @CPPFLAGS@ | |
84 | CXX = @CXX@ | |
85 | CXXDEPMODE = @CXXDEPMODE@ | |
86 | CXXFLAGS = @CXXFLAGS@ | |
87 | CYGPATH_W = @CYGPATH_W@ | |
88 | DEFS = @DEFS@ | |
89 | DEPDIR = @DEPDIR@ | |
90 | ECHO_C = @ECHO_C@ | |
91 | ECHO_N = @ECHO_N@ | |
92 | ECHO_T = @ECHO_T@ | |
93 | EGREP = @EGREP@ | |
94 | EXEEXT = @EXEEXT@ | |
95 | GREP = @GREP@ | |
96 | INSTALL = @INSTALL@ | |
97 | INSTALL_DATA = @INSTALL_DATA@ | |
98 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
99 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
100 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
101 | LDFLAGS = @LDFLAGS@ | |
102 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
103 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
104 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
105 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
106 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
107 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
108 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
109 | LIBOBJS = @LIBOBJS@ | |
110 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
111 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
112 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
113 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
114 | LIBS = @LIBS@ | |
115 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
116 | LIBZ_LIBS = @LIBZ_LIBS@ | |
117 | LTLIBOBJS = @LTLIBOBJS@ | |
118 | MAKEINFO = @MAKEINFO@ | |
119 | MKDIR_P = @MKDIR_P@ | |
120 | OBJEXT = @OBJEXT@ | |
121 | PACKAGE = @PACKAGE@ | |
122 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
123 | PACKAGE_NAME = @PACKAGE_NAME@ | |
124 | PACKAGE_STRING = @PACKAGE_STRING@ | |
125 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
126 | PACKAGE_URL = @PACKAGE_URL@ | |
127 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
128 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
129 | RANLIB = @RANLIB@ | |
130 | SET_MAKE = @SET_MAKE@ | |
131 | SHELL = @SHELL@ | |
132 | STRIP = @STRIP@ | |
133 | VERSION = @VERSION@ | |
134 | abs_builddir = @abs_builddir@ | |
135 | abs_srcdir = @abs_srcdir@ | |
136 | abs_top_builddir = @abs_top_builddir@ | |
137 | abs_top_srcdir = @abs_top_srcdir@ | |
138 | ac_ct_CC = @ac_ct_CC@ | |
139 | ac_ct_CXX = @ac_ct_CXX@ | |
140 | am__include = @am__include@ | |
141 | am__leading_dot = @am__leading_dot@ | |
142 | am__quote = @am__quote@ | |
143 | am__tar = @am__tar@ | |
144 | am__untar = @am__untar@ | |
145 | bindir = @bindir@ | |
146 | build = @build@ | |
147 | build_alias = @build_alias@ | |
148 | build_cpu = @build_cpu@ | |
149 | build_os = @build_os@ | |
150 | build_vendor = @build_vendor@ | |
151 | builddir = @builddir@ | |
152 | datadir = @datadir@ | |
153 | datarootdir = @datarootdir@ | |
154 | docdir = @docdir@ | |
155 | dvidir = @dvidir@ | |
156 | exec_prefix = @exec_prefix@ | |
157 | host = @host@ | |
158 | host_alias = @host_alias@ | |
159 | host_cpu = @host_cpu@ | |
160 | host_os = @host_os@ | |
161 | host_vendor = @host_vendor@ | |
162 | htmldir = @htmldir@ | |
163 | includedir = @includedir@ | |
164 | infodir = @infodir@ | |
165 | install_sh = @install_sh@ | |
166 | libdir = @libdir@ | |
167 | libexecdir = @libexecdir@ | |
168 | localedir = @localedir@ | |
169 | localstatedir = @localstatedir@ | |
170 | mandir = @mandir@ | |
171 | mkdir_p = @mkdir_p@ | |
172 | oldincludedir = @oldincludedir@ | |
173 | pdfdir = @pdfdir@ | |
174 | prefix = @prefix@ | |
175 | program_transform_name = @program_transform_name@ | |
176 | psdir = @psdir@ | |
177 | sbindir = @sbindir@ | |
178 | sharedstatedir = @sharedstatedir@ | |
179 | srcdir = @srcdir@ | |
180 | sysconfdir = @sysconfdir@ | |
181 | target = @target@ | |
182 | target_alias = @target_alias@ | |
183 | target_cpu = @target_cpu@ | |
184 | target_os = @target_os@ | |
185 | target_vendor = @target_vendor@ | |
186 | top_build_prefix = @top_build_prefix@ | |
187 | top_builddir = @top_builddir@ | |
188 | top_srcdir = @top_srcdir@ | |
189 | AM_CPPFLAGS = \ | |
190 | -I$(top_srcdir) \ | |
191 | -DDILLO_BINDIR='"$(bindir)/"' | |
192 | ||
193 | AM_CFLAGS = @LIBFLTK_CFLAGS@ | |
194 | AM_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
195 | noinst_LIBRARIES = libDiof.a | |
196 | libDiof_a_SOURCES = \ | |
197 | mime.c \ | |
198 | mime.h \ | |
199 | about.c \ | |
200 | Url.h \ | |
201 | http.c \ | |
202 | dpi.c \ | |
203 | IO.c \ | |
204 | iowatch.cc \ | |
205 | iowatch.hh \ | |
206 | IO.h | |
207 | ||
208 | all: all-am | |
209 | ||
210 | .SUFFIXES: | |
211 | .SUFFIXES: .c .cc .o .obj | |
212 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
213 | @for dep in $?; do \ | |
214 | case '$(am__configure_deps)' in \ | |
215 | *$$dep*) \ | |
216 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
217 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
218 | exit 1;; \ | |
219 | esac; \ | |
220 | done; \ | |
221 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/IO/Makefile'; \ | |
222 | $(am__cd) $(top_srcdir) && \ | |
223 | $(AUTOMAKE) --gnu src/IO/Makefile | |
224 | .PRECIOUS: Makefile | |
225 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
226 | @case '$?' in \ | |
227 | *config.status*) \ | |
228 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
229 | *) \ | |
230 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
231 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
232 | esac; | |
233 | ||
234 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
235 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
236 | ||
237 | $(top_srcdir)/configure: $(am__configure_deps) | |
238 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
239 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
240 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
241 | $(am__aclocal_m4_deps): | |
242 | ||
243 | clean-noinstLIBRARIES: | |
244 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
245 | libDiof.a: $(libDiof_a_OBJECTS) $(libDiof_a_DEPENDENCIES) | |
246 | -rm -f libDiof.a | |
247 | $(libDiof_a_AR) libDiof.a $(libDiof_a_OBJECTS) $(libDiof_a_LIBADD) | |
248 | $(RANLIB) libDiof.a | |
249 | ||
250 | mostlyclean-compile: | |
251 | -rm -f *.$(OBJEXT) | |
252 | ||
253 | distclean-compile: | |
254 | -rm -f *.tab.c | |
255 | ||
256 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IO.Po@am__quote@ | |
257 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/about.Po@am__quote@ | |
258 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpi.Po@am__quote@ | |
259 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http.Po@am__quote@ | |
260 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iowatch.Po@am__quote@ | |
261 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mime.Po@am__quote@ | |
262 | ||
263 | .c.o: | |
264 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
265 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
266 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
267 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
268 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
269 | ||
270 | .c.obj: | |
271 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
272 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
273 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
274 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
275 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
276 | ||
277 | .cc.o: | |
278 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
279 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
280 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
281 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
282 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
283 | ||
284 | .cc.obj: | |
285 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
286 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
287 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
288 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
289 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
290 | ||
291 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
292 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
293 | unique=`for i in $$list; do \ | |
294 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
295 | done | \ | |
296 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
297 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
298 | mkid -fID $$unique | |
299 | tags: TAGS | |
300 | ||
301 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
302 | $(TAGS_FILES) $(LISP) | |
303 | set x; \ | |
304 | here=`pwd`; \ | |
305 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
306 | unique=`for i in $$list; do \ | |
307 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
308 | done | \ | |
309 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
310 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
311 | shift; \ | |
312 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
313 | test -n "$$unique" || unique=$$empty_fix; \ | |
314 | if test $$# -gt 0; then \ | |
315 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
316 | "$$@" $$unique; \ | |
317 | else \ | |
318 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
319 | $$unique; \ | |
320 | fi; \ | |
321 | fi | |
322 | ctags: CTAGS | |
323 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
324 | $(TAGS_FILES) $(LISP) | |
325 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
326 | unique=`for i in $$list; do \ | |
327 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
328 | done | \ | |
329 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
330 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
331 | test -z "$(CTAGS_ARGS)$$unique" \ | |
332 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
333 | $$unique | |
334 | ||
335 | GTAGS: | |
336 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
337 | && $(am__cd) $(top_srcdir) \ | |
338 | && gtags -i $(GTAGS_ARGS) "$$here" | |
339 | ||
340 | distclean-tags: | |
341 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
342 | ||
343 | distdir: $(DISTFILES) | |
344 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
345 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
346 | list='$(DISTFILES)'; \ | |
347 | dist_files=`for file in $$list; do echo $$file; done | \ | |
348 | sed -e "s|^$$srcdirstrip/||;t" \ | |
349 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
350 | case $$dist_files in \ | |
351 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
352 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
353 | sort -u` ;; \ | |
354 | esac; \ | |
355 | for file in $$dist_files; do \ | |
356 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
357 | if test -d $$d/$$file; then \ | |
358 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
359 | if test -d "$(distdir)/$$file"; then \ | |
360 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
361 | fi; \ | |
362 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
363 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
364 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
365 | fi; \ | |
366 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
367 | else \ | |
368 | test -f "$(distdir)/$$file" \ | |
369 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
370 | || exit 1; \ | |
371 | fi; \ | |
372 | done | |
373 | check-am: all-am | |
374 | check: check-am | |
375 | all-am: Makefile $(LIBRARIES) | |
376 | installdirs: | |
377 | install: install-am | |
378 | install-exec: install-exec-am | |
379 | install-data: install-data-am | |
380 | uninstall: uninstall-am | |
381 | ||
382 | install-am: all-am | |
383 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
384 | ||
385 | installcheck: installcheck-am | |
386 | install-strip: | |
387 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
388 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
389 | `test -z '$(STRIP)' || \ | |
390 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
391 | mostlyclean-generic: | |
392 | ||
393 | clean-generic: | |
394 | ||
395 | distclean-generic: | |
396 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
397 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
398 | ||
399 | maintainer-clean-generic: | |
400 | @echo "This command is intended for maintainers to use" | |
401 | @echo "it deletes files that may require special tools to rebuild." | |
402 | clean: clean-am | |
403 | ||
404 | clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am | |
405 | ||
406 | distclean: distclean-am | |
407 | -rm -rf ./$(DEPDIR) | |
408 | -rm -f Makefile | |
409 | distclean-am: clean-am distclean-compile distclean-generic \ | |
410 | distclean-tags | |
411 | ||
412 | dvi: dvi-am | |
413 | ||
414 | dvi-am: | |
415 | ||
416 | html: html-am | |
417 | ||
418 | html-am: | |
419 | ||
420 | info: info-am | |
421 | ||
422 | info-am: | |
423 | ||
424 | install-data-am: | |
425 | ||
426 | install-dvi: install-dvi-am | |
427 | ||
428 | install-dvi-am: | |
429 | ||
430 | install-exec-am: | |
431 | ||
432 | install-html: install-html-am | |
433 | ||
434 | install-html-am: | |
435 | ||
436 | install-info: install-info-am | |
437 | ||
438 | install-info-am: | |
439 | ||
440 | install-man: | |
441 | ||
442 | install-pdf: install-pdf-am | |
443 | ||
444 | install-pdf-am: | |
445 | ||
446 | install-ps: install-ps-am | |
447 | ||
448 | install-ps-am: | |
449 | ||
450 | installcheck-am: | |
451 | ||
452 | maintainer-clean: maintainer-clean-am | |
453 | -rm -rf ./$(DEPDIR) | |
454 | -rm -f Makefile | |
455 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
456 | ||
457 | mostlyclean: mostlyclean-am | |
458 | ||
459 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
460 | ||
461 | pdf: pdf-am | |
462 | ||
463 | pdf-am: | |
464 | ||
465 | ps: ps-am | |
466 | ||
467 | ps-am: | |
468 | ||
469 | uninstall-am: | |
470 | ||
471 | .MAKE: install-am install-strip | |
472 | ||
473 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
474 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
475 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
476 | html-am info info-am install install-am install-data \ | |
477 | install-data-am install-dvi install-dvi-am install-exec \ | |
478 | install-exec-am install-html install-html-am install-info \ | |
479 | install-info-am install-man install-pdf install-pdf-am \ | |
480 | install-ps install-ps-am install-strip installcheck \ | |
481 | installcheck-am installdirs maintainer-clean \ | |
482 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
483 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
484 | uninstall-am | |
485 | ||
486 | ||
487 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
488 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
489 | .NOEXPORT: |
0 | /* | |
1 | * File: proto.c | |
2 | * | |
3 | * Copyright (C) 2003-2007 Jorge Arellano Cid <jcid@dillo.org>, | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 3 of the License, or | |
8 | * (at your option) any later version. | |
9 | */ | |
10 | ||
11 | /* This module may be programmed to manage dpi-programs. */ | |
12 |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | ||
18 | VPATH = @srcdir@ | |
19 | pkgdatadir = $(datadir)/@PACKAGE@ | |
20 | pkgincludedir = $(includedir)/@PACKAGE@ | |
21 | pkglibdir = $(libdir)/@PACKAGE@ | |
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
24 | install_sh_DATA = $(install_sh) -c -m 644 | |
25 | install_sh_PROGRAM = $(install_sh) -c | |
26 | install_sh_SCRIPT = $(install_sh) -c | |
27 | INSTALL_HEADER = $(INSTALL_DATA) | |
28 | transform = $(program_transform_name) | |
29 | NORMAL_INSTALL = : | |
30 | PRE_INSTALL = : | |
31 | POST_INSTALL = : | |
32 | NORMAL_UNINSTALL = : | |
33 | PRE_UNINSTALL = : | |
34 | POST_UNINSTALL = : | |
35 | build_triplet = @build@ | |
36 | host_triplet = @host@ | |
37 | target_triplet = @target@ | |
38 | bin_PROGRAMS = dillo$(EXEEXT) | |
39 | subdir = src | |
40 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
42 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
43 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
44 | $(ACLOCAL_M4) | |
45 | mkinstalldirs = $(install_sh) -d | |
46 | CONFIG_HEADER = $(top_builddir)/config.h | |
47 | CONFIG_CLEAN_FILES = | |
48 | CONFIG_CLEAN_VPATH_FILES = | |
49 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" | |
50 | PROGRAMS = $(bin_PROGRAMS) | |
51 | am_dillo_OBJECTS = dillo.$(OBJEXT) paths.$(OBJEXT) ui.$(OBJEXT) \ | |
52 | uicmd.$(OBJEXT) bw.$(OBJEXT) cookies.$(OBJEXT) auth.$(OBJEXT) \ | |
53 | colors.$(OBJEXT) misc.$(OBJEXT) history.$(OBJEXT) \ | |
54 | prefs.$(OBJEXT) prefsparser.$(OBJEXT) keys.$(OBJEXT) \ | |
55 | url.$(OBJEXT) bitvec.$(OBJEXT) klist.$(OBJEXT) chain.$(OBJEXT) \ | |
56 | utf8.$(OBJEXT) timeout.$(OBJEXT) dialog.$(OBJEXT) \ | |
57 | web.$(OBJEXT) nav.$(OBJEXT) cache.$(OBJEXT) decode.$(OBJEXT) \ | |
58 | dicache.$(OBJEXT) capi.$(OBJEXT) css.$(OBJEXT) \ | |
59 | cssparser.$(OBJEXT) styleengine.$(OBJEXT) plain.$(OBJEXT) \ | |
60 | html.$(OBJEXT) form.$(OBJEXT) table.$(OBJEXT) \ | |
61 | bookmark.$(OBJEXT) dns.$(OBJEXT) gif.$(OBJEXT) jpeg.$(OBJEXT) \ | |
62 | png.$(OBJEXT) imgbuf.$(OBJEXT) image.$(OBJEXT) menu.$(OBJEXT) \ | |
63 | dpiapi.$(OBJEXT) findbar.$(OBJEXT) xembed.$(OBJEXT) | |
64 | dillo_OBJECTS = $(am_dillo_OBJECTS) | |
65 | dillo_DEPENDENCIES = $(top_builddir)/dlib/libDlib.a \ | |
66 | $(top_builddir)/dpip/libDpip.a IO/libDiof.a \ | |
67 | $(top_builddir)/dw/libDw-widgets.a \ | |
68 | $(top_builddir)/dw/libDw-fltk.a \ | |
69 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
70 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
71 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
72 | am__depfiles_maybe = depfiles | |
73 | am__mv = mv -f | |
74 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
75 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
76 | CCLD = $(CC) | |
77 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
78 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
79 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
80 | CXXLD = $(CXX) | |
81 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
82 | -o $@ | |
83 | SOURCES = $(dillo_SOURCES) | |
84 | DIST_SOURCES = $(dillo_SOURCES) | |
85 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
86 | html-recursive info-recursive install-data-recursive \ | |
87 | install-dvi-recursive install-exec-recursive \ | |
88 | install-html-recursive install-info-recursive \ | |
89 | install-pdf-recursive install-ps-recursive install-recursive \ | |
90 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
91 | ps-recursive uninstall-recursive | |
92 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
93 | am__vpath_adj = case $$p in \ | |
94 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
95 | *) f=$$p;; \ | |
96 | esac; | |
97 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
98 | am__install_max = 40 | |
99 | am__nobase_strip_setup = \ | |
100 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
101 | am__nobase_strip = \ | |
102 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
103 | am__nobase_list = $(am__nobase_strip_setup); \ | |
104 | for p in $$list; do echo "$$p $$p"; done | \ | |
105 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
106 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
107 | if (++n[$$2] == $(am__install_max)) \ | |
108 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
109 | END { for (dir in files) print dir, files[dir] }' | |
110 | am__base_list = \ | |
111 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
112 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
113 | DATA = $(sysconf_DATA) | |
114 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | |
115 | distclean-recursive maintainer-clean-recursive | |
116 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
117 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
118 | distdir | |
119 | ETAGS = etags | |
120 | CTAGS = ctags | |
121 | DIST_SUBDIRS = $(SUBDIRS) | |
122 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
123 | am__relativize = \ | |
124 | dir0=`pwd`; \ | |
125 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | |
126 | sed_rest='s,^[^/]*/*,,'; \ | |
127 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | |
128 | sed_butlast='s,/*[^/]*$$,,'; \ | |
129 | while test -n "$$dir1"; do \ | |
130 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | |
131 | if test "$$first" != "."; then \ | |
132 | if test "$$first" = ".."; then \ | |
133 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | |
134 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | |
135 | else \ | |
136 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | |
137 | if test "$$first2" = "$$first"; then \ | |
138 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | |
139 | else \ | |
140 | dir2="../$$dir2"; \ | |
141 | fi; \ | |
142 | dir0="$$dir0"/"$$first"; \ | |
143 | fi; \ | |
144 | fi; \ | |
145 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | |
146 | done; \ | |
147 | reldir="$$dir2" | |
148 | ACLOCAL = @ACLOCAL@ | |
149 | AMTAR = @AMTAR@ | |
150 | AUTOCONF = @AUTOCONF@ | |
151 | AUTOHEADER = @AUTOHEADER@ | |
152 | AUTOMAKE = @AUTOMAKE@ | |
153 | AWK = @AWK@ | |
154 | CC = @CC@ | |
155 | CCDEPMODE = @CCDEPMODE@ | |
156 | CFLAGS = @CFLAGS@ | |
157 | CPP = @CPP@ | |
158 | CPPFLAGS = @CPPFLAGS@ | |
159 | CXX = @CXX@ | |
160 | CXXDEPMODE = @CXXDEPMODE@ | |
161 | CXXFLAGS = @CXXFLAGS@ | |
162 | CYGPATH_W = @CYGPATH_W@ | |
163 | DEFS = @DEFS@ | |
164 | DEPDIR = @DEPDIR@ | |
165 | ECHO_C = @ECHO_C@ | |
166 | ECHO_N = @ECHO_N@ | |
167 | ECHO_T = @ECHO_T@ | |
168 | EGREP = @EGREP@ | |
169 | EXEEXT = @EXEEXT@ | |
170 | GREP = @GREP@ | |
171 | INSTALL = @INSTALL@ | |
172 | INSTALL_DATA = @INSTALL_DATA@ | |
173 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
174 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
175 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
176 | LDFLAGS = @LDFLAGS@ | |
177 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
178 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
179 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
180 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
181 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
182 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
183 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
184 | LIBOBJS = @LIBOBJS@ | |
185 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
186 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
187 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
188 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
189 | LIBS = @LIBS@ | |
190 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
191 | LIBZ_LIBS = @LIBZ_LIBS@ | |
192 | LTLIBOBJS = @LTLIBOBJS@ | |
193 | MAKEINFO = @MAKEINFO@ | |
194 | MKDIR_P = @MKDIR_P@ | |
195 | OBJEXT = @OBJEXT@ | |
196 | PACKAGE = @PACKAGE@ | |
197 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
198 | PACKAGE_NAME = @PACKAGE_NAME@ | |
199 | PACKAGE_STRING = @PACKAGE_STRING@ | |
200 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
201 | PACKAGE_URL = @PACKAGE_URL@ | |
202 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
203 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
204 | RANLIB = @RANLIB@ | |
205 | SET_MAKE = @SET_MAKE@ | |
206 | SHELL = @SHELL@ | |
207 | STRIP = @STRIP@ | |
208 | VERSION = @VERSION@ | |
209 | abs_builddir = @abs_builddir@ | |
210 | abs_srcdir = @abs_srcdir@ | |
211 | abs_top_builddir = @abs_top_builddir@ | |
212 | abs_top_srcdir = @abs_top_srcdir@ | |
213 | ac_ct_CC = @ac_ct_CC@ | |
214 | ac_ct_CXX = @ac_ct_CXX@ | |
215 | am__include = @am__include@ | |
216 | am__leading_dot = @am__leading_dot@ | |
217 | am__quote = @am__quote@ | |
218 | am__tar = @am__tar@ | |
219 | am__untar = @am__untar@ | |
220 | bindir = @bindir@ | |
221 | build = @build@ | |
222 | build_alias = @build_alias@ | |
223 | build_cpu = @build_cpu@ | |
224 | build_os = @build_os@ | |
225 | build_vendor = @build_vendor@ | |
226 | builddir = @builddir@ | |
227 | datadir = @datadir@ | |
228 | datarootdir = @datarootdir@ | |
229 | docdir = @docdir@ | |
230 | dvidir = @dvidir@ | |
231 | exec_prefix = @exec_prefix@ | |
232 | host = @host@ | |
233 | host_alias = @host_alias@ | |
234 | host_cpu = @host_cpu@ | |
235 | host_os = @host_os@ | |
236 | host_vendor = @host_vendor@ | |
237 | htmldir = @htmldir@ | |
238 | includedir = @includedir@ | |
239 | infodir = @infodir@ | |
240 | install_sh = @install_sh@ | |
241 | libdir = @libdir@ | |
242 | libexecdir = @libexecdir@ | |
243 | localedir = @localedir@ | |
244 | localstatedir = @localstatedir@ | |
245 | mandir = @mandir@ | |
246 | mkdir_p = @mkdir_p@ | |
247 | oldincludedir = @oldincludedir@ | |
248 | pdfdir = @pdfdir@ | |
249 | prefix = @prefix@ | |
250 | program_transform_name = @program_transform_name@ | |
251 | psdir = @psdir@ | |
252 | sbindir = @sbindir@ | |
253 | sharedstatedir = @sharedstatedir@ | |
254 | srcdir = @srcdir@ | |
255 | sysconfdir = @sysconfdir@ | |
256 | target = @target@ | |
257 | target_alias = @target_alias@ | |
258 | target_cpu = @target_cpu@ | |
259 | target_os = @target_os@ | |
260 | target_vendor = @target_vendor@ | |
261 | top_build_prefix = @top_build_prefix@ | |
262 | top_builddir = @top_builddir@ | |
263 | top_srcdir = @top_srcdir@ | |
264 | AM_CPPFLAGS = \ | |
265 | -I$(top_srcdir) \ | |
266 | -DDILLO_SYSCONF='"$(sysconfdir)/"' \ | |
267 | -DDILLO_DOCDIR='"$(docdir)/"' \ | |
268 | @LIBJPEG_CPPFLAGS@ | |
269 | ||
270 | AM_CFLAGS = @LIBPNG_CFLAGS@ | |
271 | AM_CXXFLAGS = @LIBPNG_CFLAGS@ @LIBFLTK_CXXFLAGS@ | |
272 | SUBDIRS = IO | |
273 | dillo_LDADD = \ | |
274 | $(top_builddir)/dlib/libDlib.a \ | |
275 | $(top_builddir)/dpip/libDpip.a \ | |
276 | IO/libDiof.a \ | |
277 | $(top_builddir)/dw/libDw-widgets.a \ | |
278 | $(top_builddir)/dw/libDw-fltk.a \ | |
279 | $(top_builddir)/dw/libDw-core.a \ | |
280 | $(top_builddir)/lout/liblout.a \ | |
281 | @LIBJPEG_LIBS@ @LIBPNG_LIBS@ @LIBFLTK_LIBS@ @LIBZ_LIBS@ \ | |
282 | @LIBICONV_LIBS@ @LIBPTHREAD_LIBS@ | |
283 | ||
284 | dillo_SOURCES = \ | |
285 | dillo.cc \ | |
286 | paths.cc \ | |
287 | paths.hh \ | |
288 | ui.cc \ | |
289 | ui.hh \ | |
290 | uicmd.cc \ | |
291 | uicmd.hh \ | |
292 | bw.h \ | |
293 | bw.c \ | |
294 | cookies.c \ | |
295 | cookies.h \ | |
296 | auth.c \ | |
297 | auth.h \ | |
298 | colors.c \ | |
299 | colors.h \ | |
300 | binaryconst.h \ | |
301 | misc.c \ | |
302 | misc.h \ | |
303 | history.h \ | |
304 | history.c \ | |
305 | prefs.c \ | |
306 | prefs.h \ | |
307 | prefsparser.cc \ | |
308 | prefsparser.hh \ | |
309 | keys.cc \ | |
310 | keys.hh \ | |
311 | msg.h \ | |
312 | list.h \ | |
313 | url.c \ | |
314 | url.h \ | |
315 | bitvec.c \ | |
316 | bitvec.h \ | |
317 | klist.c \ | |
318 | klist.h \ | |
319 | chain.c \ | |
320 | chain.h \ | |
321 | utf8.cc \ | |
322 | utf8.hh \ | |
323 | timeout.cc \ | |
324 | timeout.hh \ | |
325 | dialog.cc \ | |
326 | dialog.hh \ | |
327 | \ | |
328 | \ | |
329 | web.cc \ | |
330 | web.hh \ | |
331 | nav.c \ | |
332 | nav.h \ | |
333 | cache.c \ | |
334 | cache.h \ | |
335 | decode.c \ | |
336 | decode.h \ | |
337 | dicache.c \ | |
338 | dicache.h \ | |
339 | capi.c \ | |
340 | capi.h \ | |
341 | css.cc \ | |
342 | css.hh \ | |
343 | cssparser.cc \ | |
344 | cssparser.hh \ | |
345 | doctree.hh \ | |
346 | styleengine.cc \ | |
347 | styleengine.hh \ | |
348 | plain.cc \ | |
349 | html.cc \ | |
350 | html.hh \ | |
351 | html_common.hh \ | |
352 | form.cc \ | |
353 | form.hh \ | |
354 | table.cc \ | |
355 | table.hh \ | |
356 | bookmark.c \ | |
357 | bookmark.h \ | |
358 | dns.c \ | |
359 | dns.h \ | |
360 | gif.c \ | |
361 | dgif.h \ | |
362 | jpeg.c \ | |
363 | djpeg.h \ | |
364 | png.c \ | |
365 | dpng.h \ | |
366 | imgbuf.cc \ | |
367 | imgbuf.hh \ | |
368 | image.cc \ | |
369 | image.hh \ | |
370 | menu.hh \ | |
371 | menu.cc \ | |
372 | dpiapi.c \ | |
373 | dpiapi.h \ | |
374 | pixmaps.h \ | |
375 | findbar.cc \ | |
376 | findbar.hh \ | |
377 | xembed.cc \ | |
378 | xembed.hh | |
379 | ||
380 | EXTRA_DIST = chg srch keysrc | |
381 | sysconf_DATA = keysrc | |
382 | all: all-recursive | |
383 | ||
384 | .SUFFIXES: | |
385 | .SUFFIXES: .c .cc .o .obj | |
386 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
387 | @for dep in $?; do \ | |
388 | case '$(am__configure_deps)' in \ | |
389 | *$$dep*) \ | |
390 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
391 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
392 | exit 1;; \ | |
393 | esac; \ | |
394 | done; \ | |
395 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | |
396 | $(am__cd) $(top_srcdir) && \ | |
397 | $(AUTOMAKE) --gnu src/Makefile | |
398 | .PRECIOUS: Makefile | |
399 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
400 | @case '$?' in \ | |
401 | *config.status*) \ | |
402 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
403 | *) \ | |
404 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
405 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
406 | esac; | |
407 | ||
408 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
409 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
410 | ||
411 | $(top_srcdir)/configure: $(am__configure_deps) | |
412 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
413 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
414 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
415 | $(am__aclocal_m4_deps): | |
416 | install-binPROGRAMS: $(bin_PROGRAMS) | |
417 | @$(NORMAL_INSTALL) | |
418 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | |
419 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
420 | for p in $$list; do echo "$$p $$p"; done | \ | |
421 | sed 's/$(EXEEXT)$$//' | \ | |
422 | while read p p1; do if test -f $$p; \ | |
423 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
424 | done | \ | |
425 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
426 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
427 | sed 'N;N;N;s,\n, ,g' | \ | |
428 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
429 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
430 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
431 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
432 | END { for (d in files) print "f", d, files[d] }' | \ | |
433 | while read type dir files; do \ | |
434 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
435 | test -z "$$files" || { \ | |
436 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
437 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
438 | } \ | |
439 | ; done | |
440 | ||
441 | uninstall-binPROGRAMS: | |
442 | @$(NORMAL_UNINSTALL) | |
443 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
444 | files=`for p in $$list; do echo "$$p"; done | \ | |
445 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
446 | -e 's/$$/$(EXEEXT)/' `; \ | |
447 | test -n "$$list" || exit 0; \ | |
448 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | |
449 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |
450 | ||
451 | clean-binPROGRAMS: | |
452 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) | |
453 | dillo$(EXEEXT): $(dillo_OBJECTS) $(dillo_DEPENDENCIES) | |
454 | @rm -f dillo$(EXEEXT) | |
455 | $(CXXLINK) $(dillo_OBJECTS) $(dillo_LDADD) $(LIBS) | |
456 | ||
457 | mostlyclean-compile: | |
458 | -rm -f *.$(OBJEXT) | |
459 | ||
460 | distclean-compile: | |
461 | -rm -f *.tab.c | |
462 | ||
463 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth.Po@am__quote@ | |
464 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bitvec.Po@am__quote@ | |
465 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bookmark.Po@am__quote@ | |
466 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bw.Po@am__quote@ | |
467 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache.Po@am__quote@ | |
468 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/capi.Po@am__quote@ | |
469 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chain.Po@am__quote@ | |
470 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colors.Po@am__quote@ | |
471 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cookies.Po@am__quote@ | |
472 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/css.Po@am__quote@ | |
473 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cssparser.Po@am__quote@ | |
474 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decode.Po@am__quote@ | |
475 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dialog.Po@am__quote@ | |
476 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dicache.Po@am__quote@ | |
477 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dillo.Po@am__quote@ | |
478 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dns.Po@am__quote@ | |
479 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpiapi.Po@am__quote@ | |
480 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findbar.Po@am__quote@ | |
481 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/form.Po@am__quote@ | |
482 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gif.Po@am__quote@ | |
483 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/history.Po@am__quote@ | |
484 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/html.Po@am__quote@ | |
485 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Po@am__quote@ | |
486 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imgbuf.Po@am__quote@ | |
487 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jpeg.Po@am__quote@ | |
488 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keys.Po@am__quote@ | |
489 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/klist.Po@am__quote@ | |
490 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@ | |
491 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ | |
492 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nav.Po@am__quote@ | |
493 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paths.Po@am__quote@ | |
494 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plain.Po@am__quote@ | |
495 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Po@am__quote@ | |
496 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefs.Po@am__quote@ | |
497 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefsparser.Po@am__quote@ | |
498 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/styleengine.Po@am__quote@ | |
499 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table.Po@am__quote@ | |
500 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeout.Po@am__quote@ | |
501 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@ | |
502 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uicmd.Po@am__quote@ | |
503 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/url.Po@am__quote@ | |
504 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8.Po@am__quote@ | |
505 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/web.Po@am__quote@ | |
506 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xembed.Po@am__quote@ | |
507 | ||
508 | .c.o: | |
509 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
510 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
511 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
512 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
513 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
514 | ||
515 | .c.obj: | |
516 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
517 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
518 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
519 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
520 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
521 | ||
522 | .cc.o: | |
523 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
524 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
525 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
526 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
527 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
528 | ||
529 | .cc.obj: | |
530 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
531 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
532 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
533 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
534 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
535 | install-sysconfDATA: $(sysconf_DATA) | |
536 | @$(NORMAL_INSTALL) | |
537 | test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | |
538 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
539 | for p in $$list; do \ | |
540 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
541 | echo "$$d$$p"; \ | |
542 | done | $(am__base_list) | \ | |
543 | while read files; do \ | |
544 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \ | |
545 | $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \ | |
546 | done | |
547 | ||
548 | uninstall-sysconfDATA: | |
549 | @$(NORMAL_UNINSTALL) | |
550 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ | |
551 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
552 | test -n "$$files" || exit 0; \ | |
553 | echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \ | |
554 | cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files | |
555 | ||
556 | # This directory's subdirectories are mostly independent; you can cd | |
557 | # into them and run `make' without going through this Makefile. | |
558 | # To change the values of `make' variables: instead of editing Makefiles, | |
559 | # (1) if the variable is set in `config.status', edit `config.status' | |
560 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
561 | # (2) otherwise, pass the desired values on the `make' command line. | |
562 | $(RECURSIVE_TARGETS): | |
563 | @fail= failcom='exit 1'; \ | |
564 | for f in x $$MAKEFLAGS; do \ | |
565 | case $$f in \ | |
566 | *=* | --[!k]*);; \ | |
567 | *k*) failcom='fail=yes';; \ | |
568 | esac; \ | |
569 | done; \ | |
570 | dot_seen=no; \ | |
571 | target=`echo $@ | sed s/-recursive//`; \ | |
572 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
573 | echo "Making $$target in $$subdir"; \ | |
574 | if test "$$subdir" = "."; then \ | |
575 | dot_seen=yes; \ | |
576 | local_target="$$target-am"; \ | |
577 | else \ | |
578 | local_target="$$target"; \ | |
579 | fi; \ | |
580 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
581 | || eval $$failcom; \ | |
582 | done; \ | |
583 | if test "$$dot_seen" = "no"; then \ | |
584 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
585 | fi; test -z "$$fail" | |
586 | ||
587 | $(RECURSIVE_CLEAN_TARGETS): | |
588 | @fail= failcom='exit 1'; \ | |
589 | for f in x $$MAKEFLAGS; do \ | |
590 | case $$f in \ | |
591 | *=* | --[!k]*);; \ | |
592 | *k*) failcom='fail=yes';; \ | |
593 | esac; \ | |
594 | done; \ | |
595 | dot_seen=no; \ | |
596 | case "$@" in \ | |
597 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
598 | *) list='$(SUBDIRS)' ;; \ | |
599 | esac; \ | |
600 | rev=''; for subdir in $$list; do \ | |
601 | if test "$$subdir" = "."; then :; else \ | |
602 | rev="$$subdir $$rev"; \ | |
603 | fi; \ | |
604 | done; \ | |
605 | rev="$$rev ."; \ | |
606 | target=`echo $@ | sed s/-recursive//`; \ | |
607 | for subdir in $$rev; do \ | |
608 | echo "Making $$target in $$subdir"; \ | |
609 | if test "$$subdir" = "."; then \ | |
610 | local_target="$$target-am"; \ | |
611 | else \ | |
612 | local_target="$$target"; \ | |
613 | fi; \ | |
614 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
615 | || eval $$failcom; \ | |
616 | done && test -z "$$fail" | |
617 | tags-recursive: | |
618 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
619 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
620 | done | |
621 | ctags-recursive: | |
622 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
623 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
624 | done | |
625 | ||
626 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
627 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
628 | unique=`for i in $$list; do \ | |
629 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
630 | done | \ | |
631 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
632 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
633 | mkid -fID $$unique | |
634 | tags: TAGS | |
635 | ||
636 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
637 | $(TAGS_FILES) $(LISP) | |
638 | set x; \ | |
639 | here=`pwd`; \ | |
640 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | |
641 | include_option=--etags-include; \ | |
642 | empty_fix=.; \ | |
643 | else \ | |
644 | include_option=--include; \ | |
645 | empty_fix=; \ | |
646 | fi; \ | |
647 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
648 | if test "$$subdir" = .; then :; else \ | |
649 | test ! -f $$subdir/TAGS || \ | |
650 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | |
651 | fi; \ | |
652 | done; \ | |
653 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
654 | unique=`for i in $$list; do \ | |
655 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
656 | done | \ | |
657 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
658 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
659 | shift; \ | |
660 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
661 | test -n "$$unique" || unique=$$empty_fix; \ | |
662 | if test $$# -gt 0; then \ | |
663 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
664 | "$$@" $$unique; \ | |
665 | else \ | |
666 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
667 | $$unique; \ | |
668 | fi; \ | |
669 | fi | |
670 | ctags: CTAGS | |
671 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
672 | $(TAGS_FILES) $(LISP) | |
673 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
674 | unique=`for i in $$list; do \ | |
675 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
676 | done | \ | |
677 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
678 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
679 | test -z "$(CTAGS_ARGS)$$unique" \ | |
680 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
681 | $$unique | |
682 | ||
683 | GTAGS: | |
684 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
685 | && $(am__cd) $(top_srcdir) \ | |
686 | && gtags -i $(GTAGS_ARGS) "$$here" | |
687 | ||
688 | distclean-tags: | |
689 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
690 | ||
691 | distdir: $(DISTFILES) | |
692 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
693 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
694 | list='$(DISTFILES)'; \ | |
695 | dist_files=`for file in $$list; do echo $$file; done | \ | |
696 | sed -e "s|^$$srcdirstrip/||;t" \ | |
697 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
698 | case $$dist_files in \ | |
699 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
700 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
701 | sort -u` ;; \ | |
702 | esac; \ | |
703 | for file in $$dist_files; do \ | |
704 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
705 | if test -d $$d/$$file; then \ | |
706 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
707 | if test -d "$(distdir)/$$file"; then \ | |
708 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
709 | fi; \ | |
710 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
711 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
712 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
713 | fi; \ | |
714 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
715 | else \ | |
716 | test -f "$(distdir)/$$file" \ | |
717 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
718 | || exit 1; \ | |
719 | fi; \ | |
720 | done | |
721 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
722 | if test "$$subdir" = .; then :; else \ | |
723 | test -d "$(distdir)/$$subdir" \ | |
724 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
725 | || exit 1; \ | |
726 | fi; \ | |
727 | done | |
728 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
729 | if test "$$subdir" = .; then :; else \ | |
730 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | |
731 | $(am__relativize); \ | |
732 | new_distdir=$$reldir; \ | |
733 | dir1=$$subdir; dir2="$(top_distdir)"; \ | |
734 | $(am__relativize); \ | |
735 | new_top_distdir=$$reldir; \ | |
736 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | |
737 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | |
738 | ($(am__cd) $$subdir && \ | |
739 | $(MAKE) $(AM_MAKEFLAGS) \ | |
740 | top_distdir="$$new_top_distdir" \ | |
741 | distdir="$$new_distdir" \ | |
742 | am__remove_distdir=: \ | |
743 | am__skip_length_check=: \ | |
744 | am__skip_mode_fix=: \ | |
745 | distdir) \ | |
746 | || exit 1; \ | |
747 | fi; \ | |
748 | done | |
749 | check-am: all-am | |
750 | check: check-recursive | |
751 | all-am: Makefile $(PROGRAMS) $(DATA) | |
752 | installdirs: installdirs-recursive | |
753 | installdirs-am: | |
754 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)"; do \ | |
755 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
756 | done | |
757 | install: install-recursive | |
758 | install-exec: install-exec-recursive | |
759 | install-data: install-data-recursive | |
760 | uninstall: uninstall-recursive | |
761 | ||
762 | install-am: all-am | |
763 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
764 | ||
765 | installcheck: installcheck-recursive | |
766 | install-strip: | |
767 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
768 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
769 | `test -z '$(STRIP)' || \ | |
770 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
771 | mostlyclean-generic: | |
772 | ||
773 | clean-generic: | |
774 | ||
775 | distclean-generic: | |
776 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
777 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
778 | ||
779 | maintainer-clean-generic: | |
780 | @echo "This command is intended for maintainers to use" | |
781 | @echo "it deletes files that may require special tools to rebuild." | |
782 | clean: clean-recursive | |
783 | ||
784 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am | |
785 | ||
786 | distclean: distclean-recursive | |
787 | -rm -rf ./$(DEPDIR) | |
788 | -rm -f Makefile | |
789 | distclean-am: clean-am distclean-compile distclean-generic \ | |
790 | distclean-tags | |
791 | ||
792 | dvi: dvi-recursive | |
793 | ||
794 | dvi-am: | |
795 | ||
796 | html: html-recursive | |
797 | ||
798 | html-am: | |
799 | ||
800 | info: info-recursive | |
801 | ||
802 | info-am: | |
803 | ||
804 | install-data-am: | |
805 | ||
806 | install-dvi: install-dvi-recursive | |
807 | ||
808 | install-dvi-am: | |
809 | ||
810 | install-exec-am: install-binPROGRAMS install-sysconfDATA | |
811 | ||
812 | install-html: install-html-recursive | |
813 | ||
814 | install-html-am: | |
815 | ||
816 | install-info: install-info-recursive | |
817 | ||
818 | install-info-am: | |
819 | ||
820 | install-man: | |
821 | ||
822 | install-pdf: install-pdf-recursive | |
823 | ||
824 | install-pdf-am: | |
825 | ||
826 | install-ps: install-ps-recursive | |
827 | ||
828 | install-ps-am: | |
829 | ||
830 | installcheck-am: | |
831 | ||
832 | maintainer-clean: maintainer-clean-recursive | |
833 | -rm -rf ./$(DEPDIR) | |
834 | -rm -f Makefile | |
835 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
836 | ||
837 | mostlyclean: mostlyclean-recursive | |
838 | ||
839 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
840 | ||
841 | pdf: pdf-recursive | |
842 | ||
843 | pdf-am: | |
844 | ||
845 | ps: ps-recursive | |
846 | ||
847 | ps-am: | |
848 | ||
849 | uninstall-am: uninstall-binPROGRAMS uninstall-sysconfDATA | |
850 | ||
851 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | |
852 | install-am install-strip tags-recursive | |
853 | ||
854 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
855 | all all-am check check-am clean clean-binPROGRAMS \ | |
856 | clean-generic ctags ctags-recursive distclean \ | |
857 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
858 | dvi-am html html-am info info-am install install-am \ | |
859 | install-binPROGRAMS install-data install-data-am install-dvi \ | |
860 | install-dvi-am install-exec install-exec-am install-html \ | |
861 | install-html-am install-info install-info-am install-man \ | |
862 | install-pdf install-pdf-am install-ps install-ps-am \ | |
863 | install-strip install-sysconfDATA installcheck installcheck-am \ | |
864 | installdirs installdirs-am maintainer-clean \ | |
865 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
866 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ | |
867 | uninstall uninstall-am uninstall-binPROGRAMS \ | |
868 | uninstall-sysconfDATA | |
869 | ||
870 | ||
871 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
872 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
873 | .NOEXPORT: |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
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 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | target_triplet = @target@ | |
37 | noinst_PROGRAMS = dw-anchors-test$(EXEEXT) dw-example$(EXEEXT) \ | |
38 | dw-find-test$(EXEEXT) dw-links$(EXEEXT) dw-links2$(EXEEXT) \ | |
39 | dw-images-simple$(EXEEXT) dw-images-scaled$(EXEEXT) \ | |
40 | dw-images-scaled2$(EXEEXT) dw-lists$(EXEEXT) \ | |
41 | dw-table-aligned$(EXEEXT) dw-table$(EXEEXT) \ | |
42 | dw-border-test$(EXEEXT) dw-imgbuf-mem-test$(EXEEXT) \ | |
43 | dw-resource-test$(EXEEXT) dw-ui-test$(EXEEXT) \ | |
44 | fltk-browser$(EXEEXT) shapes$(EXEEXT) cookies$(EXEEXT) | |
45 | subdir = test | |
46 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
47 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
48 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
49 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
50 | $(ACLOCAL_M4) | |
51 | mkinstalldirs = $(install_sh) -d | |
52 | CONFIG_HEADER = $(top_builddir)/config.h | |
53 | CONFIG_CLEAN_FILES = | |
54 | CONFIG_CLEAN_VPATH_FILES = | |
55 | PROGRAMS = $(noinst_PROGRAMS) | |
56 | am_cookies_OBJECTS = cookies.$(OBJEXT) | |
57 | cookies_OBJECTS = $(am_cookies_OBJECTS) | |
58 | cookies_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ | |
59 | $(top_builddir)/dlib/libDlib.a | |
60 | am_dw_anchors_test_OBJECTS = dw_anchors_test.$(OBJEXT) | |
61 | dw_anchors_test_OBJECTS = $(am_dw_anchors_test_OBJECTS) | |
62 | dw_anchors_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
63 | $(top_builddir)/dw/libDw-fltk.a \ | |
64 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
65 | am_dw_border_test_OBJECTS = dw_border_test.$(OBJEXT) | |
66 | dw_border_test_OBJECTS = $(am_dw_border_test_OBJECTS) | |
67 | dw_border_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
68 | $(top_builddir)/dw/libDw-fltk.a \ | |
69 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
70 | am_dw_example_OBJECTS = dw_example.$(OBJEXT) | |
71 | dw_example_OBJECTS = $(am_dw_example_OBJECTS) | |
72 | dw_example_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
73 | $(top_builddir)/dw/libDw-fltk.a \ | |
74 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
75 | am_dw_find_test_OBJECTS = dw_find_test.$(OBJEXT) | |
76 | dw_find_test_OBJECTS = $(am_dw_find_test_OBJECTS) | |
77 | dw_find_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
78 | $(top_builddir)/dw/libDw-fltk.a \ | |
79 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
80 | am_dw_images_scaled_OBJECTS = dw_images_scaled.$(OBJEXT) | |
81 | dw_images_scaled_OBJECTS = $(am_dw_images_scaled_OBJECTS) | |
82 | dw_images_scaled_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
83 | $(top_builddir)/dw/libDw-fltk.a \ | |
84 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
85 | am_dw_images_scaled2_OBJECTS = dw_images_scaled2.$(OBJEXT) | |
86 | dw_images_scaled2_OBJECTS = $(am_dw_images_scaled2_OBJECTS) | |
87 | dw_images_scaled2_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
88 | $(top_builddir)/dw/libDw-fltk.a \ | |
89 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
90 | am_dw_images_simple_OBJECTS = dw_images_simple.$(OBJEXT) | |
91 | dw_images_simple_OBJECTS = $(am_dw_images_simple_OBJECTS) | |
92 | dw_images_simple_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
93 | $(top_builddir)/dw/libDw-fltk.a \ | |
94 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
95 | am_dw_imgbuf_mem_test_OBJECTS = dw_imgbuf_mem_test.$(OBJEXT) | |
96 | dw_imgbuf_mem_test_OBJECTS = $(am_dw_imgbuf_mem_test_OBJECTS) | |
97 | dw_imgbuf_mem_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
98 | $(top_builddir)/dw/libDw-fltk.a \ | |
99 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
100 | am_dw_links_OBJECTS = dw_links.$(OBJEXT) | |
101 | dw_links_OBJECTS = $(am_dw_links_OBJECTS) | |
102 | dw_links_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
103 | $(top_builddir)/dw/libDw-fltk.a \ | |
104 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
105 | am_dw_links2_OBJECTS = dw_links2.$(OBJEXT) | |
106 | dw_links2_OBJECTS = $(am_dw_links2_OBJECTS) | |
107 | dw_links2_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
108 | $(top_builddir)/dw/libDw-fltk.a \ | |
109 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
110 | am_dw_lists_OBJECTS = dw_lists.$(OBJEXT) | |
111 | dw_lists_OBJECTS = $(am_dw_lists_OBJECTS) | |
112 | dw_lists_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
113 | $(top_builddir)/dw/libDw-fltk.a \ | |
114 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
115 | am_dw_resource_test_OBJECTS = dw_resource_test.$(OBJEXT) | |
116 | dw_resource_test_OBJECTS = $(am_dw_resource_test_OBJECTS) | |
117 | dw_resource_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
118 | $(top_builddir)/dw/libDw-fltk.a \ | |
119 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
120 | am_dw_table_OBJECTS = dw_table.$(OBJEXT) | |
121 | dw_table_OBJECTS = $(am_dw_table_OBJECTS) | |
122 | dw_table_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
123 | $(top_builddir)/dw/libDw-fltk.a \ | |
124 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
125 | am_dw_table_aligned_OBJECTS = dw_table_aligned.$(OBJEXT) | |
126 | dw_table_aligned_OBJECTS = $(am_dw_table_aligned_OBJECTS) | |
127 | dw_table_aligned_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
128 | $(top_builddir)/dw/libDw-fltk.a \ | |
129 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
130 | am_dw_ui_test_OBJECTS = dw_ui_test.$(OBJEXT) form.$(OBJEXT) | |
131 | dw_ui_test_OBJECTS = $(am_dw_ui_test_OBJECTS) | |
132 | dw_ui_test_DEPENDENCIES = $(top_builddir)/dw/libDw-widgets.a \ | |
133 | $(top_builddir)/dw/libDw-fltk.a \ | |
134 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a | |
135 | am_fltk_browser_OBJECTS = fltk_browser.$(OBJEXT) | |
136 | fltk_browser_OBJECTS = $(am_fltk_browser_OBJECTS) | |
137 | fltk_browser_DEPENDENCIES = | |
138 | am_shapes_OBJECTS = shapes.$(OBJEXT) | |
139 | shapes_OBJECTS = $(am_shapes_OBJECTS) | |
140 | shapes_DEPENDENCIES = $(top_builddir)/dw/libDw-core.a \ | |
141 | $(top_builddir)/lout/liblout.a | |
142 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | |
143 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
144 | am__depfiles_maybe = depfiles | |
145 | am__mv = mv -f | |
146 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
147 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
148 | CCLD = $(CC) | |
149 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
150 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
151 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
152 | CXXLD = $(CXX) | |
153 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
154 | -o $@ | |
155 | SOURCES = $(cookies_SOURCES) $(dw_anchors_test_SOURCES) \ | |
156 | $(dw_border_test_SOURCES) $(dw_example_SOURCES) \ | |
157 | $(dw_find_test_SOURCES) $(dw_images_scaled_SOURCES) \ | |
158 | $(dw_images_scaled2_SOURCES) $(dw_images_simple_SOURCES) \ | |
159 | $(dw_imgbuf_mem_test_SOURCES) $(dw_links_SOURCES) \ | |
160 | $(dw_links2_SOURCES) $(dw_lists_SOURCES) \ | |
161 | $(dw_resource_test_SOURCES) $(dw_table_SOURCES) \ | |
162 | $(dw_table_aligned_SOURCES) $(dw_ui_test_SOURCES) \ | |
163 | $(fltk_browser_SOURCES) $(shapes_SOURCES) | |
164 | DIST_SOURCES = $(cookies_SOURCES) $(dw_anchors_test_SOURCES) \ | |
165 | $(dw_border_test_SOURCES) $(dw_example_SOURCES) \ | |
166 | $(dw_find_test_SOURCES) $(dw_images_scaled_SOURCES) \ | |
167 | $(dw_images_scaled2_SOURCES) $(dw_images_simple_SOURCES) \ | |
168 | $(dw_imgbuf_mem_test_SOURCES) $(dw_links_SOURCES) \ | |
169 | $(dw_links2_SOURCES) $(dw_lists_SOURCES) \ | |
170 | $(dw_resource_test_SOURCES) $(dw_table_SOURCES) \ | |
171 | $(dw_table_aligned_SOURCES) $(dw_ui_test_SOURCES) \ | |
172 | $(fltk_browser_SOURCES) $(shapes_SOURCES) | |
173 | ETAGS = etags | |
174 | CTAGS = ctags | |
175 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
176 | ACLOCAL = @ACLOCAL@ | |
177 | AMTAR = @AMTAR@ | |
178 | AUTOCONF = @AUTOCONF@ | |
179 | AUTOHEADER = @AUTOHEADER@ | |
180 | AUTOMAKE = @AUTOMAKE@ | |
181 | AWK = @AWK@ | |
182 | CC = @CC@ | |
183 | CCDEPMODE = @CCDEPMODE@ | |
184 | CFLAGS = @CFLAGS@ | |
185 | CPP = @CPP@ | |
186 | CPPFLAGS = @CPPFLAGS@ | |
187 | CXX = @CXX@ | |
188 | CXXDEPMODE = @CXXDEPMODE@ | |
189 | CXXFLAGS = @CXXFLAGS@ | |
190 | CYGPATH_W = @CYGPATH_W@ | |
191 | DEFS = @DEFS@ | |
192 | DEPDIR = @DEPDIR@ | |
193 | ECHO_C = @ECHO_C@ | |
194 | ECHO_N = @ECHO_N@ | |
195 | ECHO_T = @ECHO_T@ | |
196 | EGREP = @EGREP@ | |
197 | EXEEXT = @EXEEXT@ | |
198 | GREP = @GREP@ | |
199 | INSTALL = @INSTALL@ | |
200 | INSTALL_DATA = @INSTALL_DATA@ | |
201 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
202 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
203 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
204 | LDFLAGS = @LDFLAGS@ | |
205 | LIBFLTK_CFLAGS = @LIBFLTK_CFLAGS@ | |
206 | LIBFLTK_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
207 | LIBFLTK_LIBS = @LIBFLTK_LIBS@ | |
208 | LIBICONV_LIBS = @LIBICONV_LIBS@ | |
209 | LIBJPEG_CPPFLAGS = @LIBJPEG_CPPFLAGS@ | |
210 | LIBJPEG_LDFLAGS = @LIBJPEG_LDFLAGS@ | |
211 | LIBJPEG_LIBS = @LIBJPEG_LIBS@ | |
212 | LIBOBJS = @LIBOBJS@ | |
213 | LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ | |
214 | LIBPNG_LIBS = @LIBPNG_LIBS@ | |
215 | LIBPTHREAD_LDFLAGS = @LIBPTHREAD_LDFLAGS@ | |
216 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ | |
217 | LIBS = @LIBS@ | |
218 | LIBSSL_LIBS = @LIBSSL_LIBS@ | |
219 | LIBZ_LIBS = @LIBZ_LIBS@ | |
220 | LTLIBOBJS = @LTLIBOBJS@ | |
221 | MAKEINFO = @MAKEINFO@ | |
222 | MKDIR_P = @MKDIR_P@ | |
223 | OBJEXT = @OBJEXT@ | |
224 | PACKAGE = @PACKAGE@ | |
225 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
226 | PACKAGE_NAME = @PACKAGE_NAME@ | |
227 | PACKAGE_STRING = @PACKAGE_STRING@ | |
228 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
229 | PACKAGE_URL = @PACKAGE_URL@ | |
230 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
231 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
232 | RANLIB = @RANLIB@ | |
233 | SET_MAKE = @SET_MAKE@ | |
234 | SHELL = @SHELL@ | |
235 | STRIP = @STRIP@ | |
236 | VERSION = @VERSION@ | |
237 | abs_builddir = @abs_builddir@ | |
238 | abs_srcdir = @abs_srcdir@ | |
239 | abs_top_builddir = @abs_top_builddir@ | |
240 | abs_top_srcdir = @abs_top_srcdir@ | |
241 | ac_ct_CC = @ac_ct_CC@ | |
242 | ac_ct_CXX = @ac_ct_CXX@ | |
243 | am__include = @am__include@ | |
244 | am__leading_dot = @am__leading_dot@ | |
245 | am__quote = @am__quote@ | |
246 | am__tar = @am__tar@ | |
247 | am__untar = @am__untar@ | |
248 | bindir = @bindir@ | |
249 | build = @build@ | |
250 | build_alias = @build_alias@ | |
251 | build_cpu = @build_cpu@ | |
252 | build_os = @build_os@ | |
253 | build_vendor = @build_vendor@ | |
254 | builddir = @builddir@ | |
255 | datadir = @datadir@ | |
256 | datarootdir = @datarootdir@ | |
257 | docdir = @docdir@ | |
258 | dvidir = @dvidir@ | |
259 | exec_prefix = @exec_prefix@ | |
260 | host = @host@ | |
261 | host_alias = @host_alias@ | |
262 | host_cpu = @host_cpu@ | |
263 | host_os = @host_os@ | |
264 | host_vendor = @host_vendor@ | |
265 | htmldir = @htmldir@ | |
266 | includedir = @includedir@ | |
267 | infodir = @infodir@ | |
268 | install_sh = @install_sh@ | |
269 | libdir = @libdir@ | |
270 | libexecdir = @libexecdir@ | |
271 | localedir = @localedir@ | |
272 | localstatedir = @localstatedir@ | |
273 | mandir = @mandir@ | |
274 | mkdir_p = @mkdir_p@ | |
275 | oldincludedir = @oldincludedir@ | |
276 | pdfdir = @pdfdir@ | |
277 | prefix = @prefix@ | |
278 | program_transform_name = @program_transform_name@ | |
279 | psdir = @psdir@ | |
280 | sbindir = @sbindir@ | |
281 | sharedstatedir = @sharedstatedir@ | |
282 | srcdir = @srcdir@ | |
283 | sysconfdir = @sysconfdir@ | |
284 | target = @target@ | |
285 | target_alias = @target_alias@ | |
286 | target_cpu = @target_cpu@ | |
287 | target_os = @target_os@ | |
288 | target_vendor = @target_vendor@ | |
289 | top_build_prefix = @top_build_prefix@ | |
290 | top_builddir = @top_builddir@ | |
291 | top_srcdir = @top_srcdir@ | |
292 | AM_CPPFLAGS = \ | |
293 | -I$(top_srcdir) | |
294 | ||
295 | AM_CFLAGS = @LIBFLTK_CFLAGS@ | |
296 | AM_CXXFLAGS = @LIBFLTK_CXXFLAGS@ | |
297 | dw_anchors_test_SOURCES = dw_anchors_test.cc | |
298 | dw_anchors_test_LDADD = \ | |
299 | $(top_builddir)/dw/libDw-widgets.a \ | |
300 | $(top_builddir)/dw/libDw-fltk.a \ | |
301 | $(top_builddir)/dw/libDw-core.a \ | |
302 | $(top_builddir)/lout/liblout.a \ | |
303 | @LIBFLTK_LIBS@ | |
304 | ||
305 | dw_example_SOURCES = dw_example.cc | |
306 | dw_example_LDADD = \ | |
307 | $(top_builddir)/dw/libDw-widgets.a \ | |
308 | $(top_builddir)/dw/libDw-fltk.a \ | |
309 | $(top_builddir)/dw/libDw-core.a \ | |
310 | $(top_builddir)/lout/liblout.a \ | |
311 | @LIBFLTK_LIBS@ | |
312 | ||
313 | dw_find_test_SOURCES = dw_find_test.cc | |
314 | dw_find_test_LDADD = \ | |
315 | $(top_builddir)/dw/libDw-widgets.a \ | |
316 | $(top_builddir)/dw/libDw-fltk.a \ | |
317 | $(top_builddir)/dw/libDw-core.a \ | |
318 | $(top_builddir)/lout/liblout.a \ | |
319 | @LIBFLTK_LIBS@ | |
320 | ||
321 | dw_links_SOURCES = dw_links.cc | |
322 | dw_links_LDADD = \ | |
323 | $(top_builddir)/dw/libDw-widgets.a \ | |
324 | $(top_builddir)/dw/libDw-fltk.a \ | |
325 | $(top_builddir)/dw/libDw-core.a \ | |
326 | $(top_builddir)/lout/liblout.a \ | |
327 | @LIBFLTK_LIBS@ | |
328 | ||
329 | dw_links2_SOURCES = dw_links2.cc | |
330 | dw_links2_LDADD = \ | |
331 | $(top_builddir)/dw/libDw-widgets.a \ | |
332 | $(top_builddir)/dw/libDw-fltk.a \ | |
333 | $(top_builddir)/dw/libDw-core.a \ | |
334 | $(top_builddir)/lout/liblout.a \ | |
335 | @LIBFLTK_LIBS@ | |
336 | ||
337 | dw_images_simple_SOURCES = dw_images_simple.cc | |
338 | dw_images_simple_LDADD = \ | |
339 | $(top_builddir)/dw/libDw-widgets.a \ | |
340 | $(top_builddir)/dw/libDw-fltk.a \ | |
341 | $(top_builddir)/dw/libDw-core.a \ | |
342 | $(top_builddir)/lout/liblout.a \ | |
343 | @LIBFLTK_LIBS@ | |
344 | ||
345 | dw_images_scaled_SOURCES = dw_images_scaled.cc | |
346 | dw_images_scaled_LDADD = \ | |
347 | $(top_builddir)/dw/libDw-widgets.a \ | |
348 | $(top_builddir)/dw/libDw-fltk.a \ | |
349 | $(top_builddir)/dw/libDw-core.a \ | |
350 | $(top_builddir)/lout/liblout.a \ | |
351 | @LIBFLTK_LIBS@ | |
352 | ||
353 | dw_images_scaled2_SOURCES = dw_images_scaled2.cc | |
354 | dw_images_scaled2_LDADD = \ | |
355 | $(top_builddir)/dw/libDw-widgets.a \ | |
356 | $(top_builddir)/dw/libDw-fltk.a \ | |
357 | $(top_builddir)/dw/libDw-core.a \ | |
358 | $(top_builddir)/lout/liblout.a \ | |
359 | @LIBFLTK_LIBS@ | |
360 | ||
361 | dw_lists_SOURCES = dw_lists.cc | |
362 | dw_lists_LDADD = \ | |
363 | $(top_builddir)/dw/libDw-widgets.a \ | |
364 | $(top_builddir)/dw/libDw-fltk.a \ | |
365 | $(top_builddir)/dw/libDw-core.a \ | |
366 | $(top_builddir)/lout/liblout.a \ | |
367 | @LIBFLTK_LIBS@ | |
368 | ||
369 | dw_table_aligned_SOURCES = dw_table_aligned.cc | |
370 | dw_table_aligned_LDADD = \ | |
371 | $(top_builddir)/dw/libDw-widgets.a \ | |
372 | $(top_builddir)/dw/libDw-fltk.a \ | |
373 | $(top_builddir)/dw/libDw-core.a \ | |
374 | $(top_builddir)/lout/liblout.a \ | |
375 | @LIBFLTK_LIBS@ | |
376 | ||
377 | dw_table_SOURCES = dw_table.cc | |
378 | dw_table_LDADD = \ | |
379 | $(top_builddir)/dw/libDw-widgets.a \ | |
380 | $(top_builddir)/dw/libDw-fltk.a \ | |
381 | $(top_builddir)/dw/libDw-core.a \ | |
382 | $(top_builddir)/lout/liblout.a \ | |
383 | @LIBFLTK_LIBS@ | |
384 | ||
385 | dw_border_test_SOURCES = dw_border_test.cc | |
386 | dw_border_test_LDADD = \ | |
387 | $(top_builddir)/dw/libDw-widgets.a \ | |
388 | $(top_builddir)/dw/libDw-fltk.a \ | |
389 | $(top_builddir)/dw/libDw-core.a \ | |
390 | $(top_builddir)/lout/liblout.a \ | |
391 | @LIBFLTK_LIBS@ | |
392 | ||
393 | dw_imgbuf_mem_test_SOURCES = dw_imgbuf_mem_test.cc | |
394 | dw_imgbuf_mem_test_LDADD = \ | |
395 | $(top_builddir)/dw/libDw-widgets.a \ | |
396 | $(top_builddir)/dw/libDw-fltk.a \ | |
397 | $(top_builddir)/dw/libDw-core.a \ | |
398 | $(top_builddir)/lout/liblout.a \ | |
399 | @LIBFLTK_LIBS@ | |
400 | ||
401 | dw_resource_test_SOURCES = dw_resource_test.cc | |
402 | dw_resource_test_LDADD = \ | |
403 | $(top_builddir)/dw/libDw-widgets.a \ | |
404 | $(top_builddir)/dw/libDw-fltk.a \ | |
405 | $(top_builddir)/dw/libDw-core.a \ | |
406 | $(top_builddir)/lout/liblout.a \ | |
407 | @LIBFLTK_LIBS@ | |
408 | ||
409 | dw_ui_test_SOURCES = \ | |
410 | dw_ui_test.cc \ | |
411 | form.cc \ | |
412 | form.hh | |
413 | ||
414 | dw_ui_test_LDADD = \ | |
415 | $(top_builddir)/dw/libDw-widgets.a \ | |
416 | $(top_builddir)/dw/libDw-fltk.a \ | |
417 | $(top_builddir)/dw/libDw-core.a \ | |
418 | $(top_builddir)/lout/liblout.a \ | |
419 | @LIBFLTK_LIBS@ | |
420 | ||
421 | fltk_browser_SOURCES = fltk_browser.cc | |
422 | fltk_browser_LDADD = @LIBFLTK_LIBS@ | |
423 | shapes_SOURCES = shapes.cc | |
424 | shapes_LDADD = \ | |
425 | $(top_builddir)/dw/libDw-core.a \ | |
426 | $(top_builddir)/lout/liblout.a | |
427 | ||
428 | cookies_SOURCES = cookies.c | |
429 | cookies_LDADD = \ | |
430 | $(top_builddir)/dpip/libDpip.a \ | |
431 | $(top_builddir)/dlib/libDlib.a | |
432 | ||
433 | all: all-am | |
434 | ||
435 | .SUFFIXES: | |
436 | .SUFFIXES: .c .cc .o .obj | |
437 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
438 | @for dep in $?; do \ | |
439 | case '$(am__configure_deps)' in \ | |
440 | *$$dep*) \ | |
441 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
442 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
443 | exit 1;; \ | |
444 | esac; \ | |
445 | done; \ | |
446 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ | |
447 | $(am__cd) $(top_srcdir) && \ | |
448 | $(AUTOMAKE) --gnu test/Makefile | |
449 | .PRECIOUS: Makefile | |
450 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
451 | @case '$?' in \ | |
452 | *config.status*) \ | |
453 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
454 | *) \ | |
455 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
456 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
457 | esac; | |
458 | ||
459 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
460 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
461 | ||
462 | $(top_srcdir)/configure: $(am__configure_deps) | |
463 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
464 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
465 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
466 | $(am__aclocal_m4_deps): | |
467 | ||
468 | clean-noinstPROGRAMS: | |
469 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | |
470 | cookies$(EXEEXT): $(cookies_OBJECTS) $(cookies_DEPENDENCIES) | |
471 | @rm -f cookies$(EXEEXT) | |
472 | $(LINK) $(cookies_OBJECTS) $(cookies_LDADD) $(LIBS) | |
473 | dw-anchors-test$(EXEEXT): $(dw_anchors_test_OBJECTS) $(dw_anchors_test_DEPENDENCIES) | |
474 | @rm -f dw-anchors-test$(EXEEXT) | |
475 | $(CXXLINK) $(dw_anchors_test_OBJECTS) $(dw_anchors_test_LDADD) $(LIBS) | |
476 | dw-border-test$(EXEEXT): $(dw_border_test_OBJECTS) $(dw_border_test_DEPENDENCIES) | |
477 | @rm -f dw-border-test$(EXEEXT) | |
478 | $(CXXLINK) $(dw_border_test_OBJECTS) $(dw_border_test_LDADD) $(LIBS) | |
479 | dw-example$(EXEEXT): $(dw_example_OBJECTS) $(dw_example_DEPENDENCIES) | |
480 | @rm -f dw-example$(EXEEXT) | |
481 | $(CXXLINK) $(dw_example_OBJECTS) $(dw_example_LDADD) $(LIBS) | |
482 | dw-find-test$(EXEEXT): $(dw_find_test_OBJECTS) $(dw_find_test_DEPENDENCIES) | |
483 | @rm -f dw-find-test$(EXEEXT) | |
484 | $(CXXLINK) $(dw_find_test_OBJECTS) $(dw_find_test_LDADD) $(LIBS) | |
485 | dw-images-scaled$(EXEEXT): $(dw_images_scaled_OBJECTS) $(dw_images_scaled_DEPENDENCIES) | |
486 | @rm -f dw-images-scaled$(EXEEXT) | |
487 | $(CXXLINK) $(dw_images_scaled_OBJECTS) $(dw_images_scaled_LDADD) $(LIBS) | |
488 | dw-images-scaled2$(EXEEXT): $(dw_images_scaled2_OBJECTS) $(dw_images_scaled2_DEPENDENCIES) | |
489 | @rm -f dw-images-scaled2$(EXEEXT) | |
490 | $(CXXLINK) $(dw_images_scaled2_OBJECTS) $(dw_images_scaled2_LDADD) $(LIBS) | |
491 | dw-images-simple$(EXEEXT): $(dw_images_simple_OBJECTS) $(dw_images_simple_DEPENDENCIES) | |
492 | @rm -f dw-images-simple$(EXEEXT) | |
493 | $(CXXLINK) $(dw_images_simple_OBJECTS) $(dw_images_simple_LDADD) $(LIBS) | |
494 | dw-imgbuf-mem-test$(EXEEXT): $(dw_imgbuf_mem_test_OBJECTS) $(dw_imgbuf_mem_test_DEPENDENCIES) | |
495 | @rm -f dw-imgbuf-mem-test$(EXEEXT) | |
496 | $(CXXLINK) $(dw_imgbuf_mem_test_OBJECTS) $(dw_imgbuf_mem_test_LDADD) $(LIBS) | |
497 | dw-links$(EXEEXT): $(dw_links_OBJECTS) $(dw_links_DEPENDENCIES) | |
498 | @rm -f dw-links$(EXEEXT) | |
499 | $(CXXLINK) $(dw_links_OBJECTS) $(dw_links_LDADD) $(LIBS) | |
500 | dw-links2$(EXEEXT): $(dw_links2_OBJECTS) $(dw_links2_DEPENDENCIES) | |
501 | @rm -f dw-links2$(EXEEXT) | |
502 | $(CXXLINK) $(dw_links2_OBJECTS) $(dw_links2_LDADD) $(LIBS) | |
503 | dw-lists$(EXEEXT): $(dw_lists_OBJECTS) $(dw_lists_DEPENDENCIES) | |
504 | @rm -f dw-lists$(EXEEXT) | |
505 | $(CXXLINK) $(dw_lists_OBJECTS) $(dw_lists_LDADD) $(LIBS) | |
506 | dw-resource-test$(EXEEXT): $(dw_resource_test_OBJECTS) $(dw_resource_test_DEPENDENCIES) | |
507 | @rm -f dw-resource-test$(EXEEXT) | |
508 | $(CXXLINK) $(dw_resource_test_OBJECTS) $(dw_resource_test_LDADD) $(LIBS) | |
509 | dw-table$(EXEEXT): $(dw_table_OBJECTS) $(dw_table_DEPENDENCIES) | |
510 | @rm -f dw-table$(EXEEXT) | |
511 | $(CXXLINK) $(dw_table_OBJECTS) $(dw_table_LDADD) $(LIBS) | |
512 | dw-table-aligned$(EXEEXT): $(dw_table_aligned_OBJECTS) $(dw_table_aligned_DEPENDENCIES) | |
513 | @rm -f dw-table-aligned$(EXEEXT) | |
514 | $(CXXLINK) $(dw_table_aligned_OBJECTS) $(dw_table_aligned_LDADD) $(LIBS) | |
515 | dw-ui-test$(EXEEXT): $(dw_ui_test_OBJECTS) $(dw_ui_test_DEPENDENCIES) | |
516 | @rm -f dw-ui-test$(EXEEXT) | |
517 | $(CXXLINK) $(dw_ui_test_OBJECTS) $(dw_ui_test_LDADD) $(LIBS) | |
518 | fltk-browser$(EXEEXT): $(fltk_browser_OBJECTS) $(fltk_browser_DEPENDENCIES) | |
519 | @rm -f fltk-browser$(EXEEXT) | |
520 | $(CXXLINK) $(fltk_browser_OBJECTS) $(fltk_browser_LDADD) $(LIBS) | |
521 | shapes$(EXEEXT): $(shapes_OBJECTS) $(shapes_DEPENDENCIES) | |
522 | @rm -f shapes$(EXEEXT) | |
523 | $(CXXLINK) $(shapes_OBJECTS) $(shapes_LDADD) $(LIBS) | |
524 | ||
525 | mostlyclean-compile: | |
526 | -rm -f *.$(OBJEXT) | |
527 | ||
528 | distclean-compile: | |
529 | -rm -f *.tab.c | |
530 | ||
531 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cookies.Po@am__quote@ | |
532 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_anchors_test.Po@am__quote@ | |
533 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_border_test.Po@am__quote@ | |
534 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_example.Po@am__quote@ | |
535 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_find_test.Po@am__quote@ | |
536 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_images_scaled.Po@am__quote@ | |
537 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_images_scaled2.Po@am__quote@ | |
538 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_images_simple.Po@am__quote@ | |
539 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_imgbuf_mem_test.Po@am__quote@ | |
540 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_links.Po@am__quote@ | |
541 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_links2.Po@am__quote@ | |
542 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_lists.Po@am__quote@ | |
543 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_resource_test.Po@am__quote@ | |
544 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_table.Po@am__quote@ | |
545 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_table_aligned.Po@am__quote@ | |
546 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dw_ui_test.Po@am__quote@ | |
547 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fltk_browser.Po@am__quote@ | |
548 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/form.Po@am__quote@ | |
549 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shapes.Po@am__quote@ | |
550 | ||
551 | .c.o: | |
552 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
553 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
554 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
555 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
556 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
557 | ||
558 | .c.obj: | |
559 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
560 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
561 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
562 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
563 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
564 | ||
565 | .cc.o: | |
566 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
567 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
568 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
569 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
570 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
571 | ||
572 | .cc.obj: | |
573 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
574 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
575 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
576 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
577 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
578 | ||
579 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
580 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
581 | unique=`for i in $$list; do \ | |
582 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
583 | done | \ | |
584 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
585 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
586 | mkid -fID $$unique | |
587 | tags: TAGS | |
588 | ||
589 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
590 | $(TAGS_FILES) $(LISP) | |
591 | set x; \ | |
592 | here=`pwd`; \ | |
593 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
594 | unique=`for i in $$list; do \ | |
595 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
596 | done | \ | |
597 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
598 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
599 | shift; \ | |
600 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
601 | test -n "$$unique" || unique=$$empty_fix; \ | |
602 | if test $$# -gt 0; then \ | |
603 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
604 | "$$@" $$unique; \ | |
605 | else \ | |
606 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
607 | $$unique; \ | |
608 | fi; \ | |
609 | fi | |
610 | ctags: CTAGS | |
611 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
612 | $(TAGS_FILES) $(LISP) | |
613 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
614 | unique=`for i in $$list; do \ | |
615 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
616 | done | \ | |
617 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
618 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
619 | test -z "$(CTAGS_ARGS)$$unique" \ | |
620 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
621 | $$unique | |
622 | ||
623 | GTAGS: | |
624 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
625 | && $(am__cd) $(top_srcdir) \ | |
626 | && gtags -i $(GTAGS_ARGS) "$$here" | |
627 | ||
628 | distclean-tags: | |
629 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
630 | ||
631 | distdir: $(DISTFILES) | |
632 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
633 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
634 | list='$(DISTFILES)'; \ | |
635 | dist_files=`for file in $$list; do echo $$file; done | \ | |
636 | sed -e "s|^$$srcdirstrip/||;t" \ | |
637 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
638 | case $$dist_files in \ | |
639 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
640 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
641 | sort -u` ;; \ | |
642 | esac; \ | |
643 | for file in $$dist_files; do \ | |
644 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
645 | if test -d $$d/$$file; then \ | |
646 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
647 | if test -d "$(distdir)/$$file"; then \ | |
648 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
649 | fi; \ | |
650 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
651 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
652 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
653 | fi; \ | |
654 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
655 | else \ | |
656 | test -f "$(distdir)/$$file" \ | |
657 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
658 | || exit 1; \ | |
659 | fi; \ | |
660 | done | |
661 | check-am: all-am | |
662 | check: check-am | |
663 | all-am: Makefile $(PROGRAMS) | |
664 | installdirs: | |
665 | install: install-am | |
666 | install-exec: install-exec-am | |
667 | install-data: install-data-am | |
668 | uninstall: uninstall-am | |
669 | ||
670 | install-am: all-am | |
671 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
672 | ||
673 | installcheck: installcheck-am | |
674 | install-strip: | |
675 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
676 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
677 | `test -z '$(STRIP)' || \ | |
678 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
679 | mostlyclean-generic: | |
680 | ||
681 | clean-generic: | |
682 | ||
683 | distclean-generic: | |
684 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
685 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
686 | ||
687 | maintainer-clean-generic: | |
688 | @echo "This command is intended for maintainers to use" | |
689 | @echo "it deletes files that may require special tools to rebuild." | |
690 | clean: clean-am | |
691 | ||
692 | clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am | |
693 | ||
694 | distclean: distclean-am | |
695 | -rm -rf ./$(DEPDIR) | |
696 | -rm -f Makefile | |
697 | distclean-am: clean-am distclean-compile distclean-generic \ | |
698 | distclean-tags | |
699 | ||
700 | dvi: dvi-am | |
701 | ||
702 | dvi-am: | |
703 | ||
704 | html: html-am | |
705 | ||
706 | html-am: | |
707 | ||
708 | info: info-am | |
709 | ||
710 | info-am: | |
711 | ||
712 | install-data-am: | |
713 | ||
714 | install-dvi: install-dvi-am | |
715 | ||
716 | install-dvi-am: | |
717 | ||
718 | install-exec-am: | |
719 | ||
720 | install-html: install-html-am | |
721 | ||
722 | install-html-am: | |
723 | ||
724 | install-info: install-info-am | |
725 | ||
726 | install-info-am: | |
727 | ||
728 | install-man: | |
729 | ||
730 | install-pdf: install-pdf-am | |
731 | ||
732 | install-pdf-am: | |
733 | ||
734 | install-ps: install-ps-am | |
735 | ||
736 | install-ps-am: | |
737 | ||
738 | installcheck-am: | |
739 | ||
740 | maintainer-clean: maintainer-clean-am | |
741 | -rm -rf ./$(DEPDIR) | |
742 | -rm -f Makefile | |
743 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
744 | ||
745 | mostlyclean: mostlyclean-am | |
746 | ||
747 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
748 | ||
749 | pdf: pdf-am | |
750 | ||
751 | pdf-am: | |
752 | ||
753 | ps: ps-am | |
754 | ||
755 | ps-am: | |
756 | ||
757 | uninstall-am: | |
758 | ||
759 | .MAKE: install-am install-strip | |
760 | ||
761 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
762 | clean-noinstPROGRAMS ctags distclean distclean-compile \ | |
763 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
764 | html-am info info-am install install-am install-data \ | |
765 | install-data-am install-dvi install-dvi-am install-exec \ | |
766 | install-exec-am install-html install-html-am install-info \ | |
767 | install-info-am install-man install-pdf install-pdf-am \ | |
768 | install-ps install-ps-am install-strip installcheck \ | |
769 | installcheck-am installdirs maintainer-clean \ | |
770 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
771 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
772 | uninstall-am | |
773 | ||
774 | ||
775 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
776 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
777 | .NOEXPORT: |