Imported Upstream version 3.0.4~rc1
Axel Beckert
9 years ago
5 | 5 | user. For a history of changes in full detail, see our Mercurial repository |
6 | 6 | at http://hg.dillo.org/dillo |
7 | 7 | |
8 | ||
9 | dillo-3.0.4 [not released yet] | |
10 | ||
11 | +- OPTGROUP and INS elements. | |
12 | - Some HTML5 elements, etc. | |
13 | - Added show_ui_tooltip preference (BUG#1140). | |
14 | Patches: corvid | |
15 | +- Make embedding into other applications more reliable (BUG#1127). | |
16 | - Add search from address bar. | |
17 | - Share CSS user agent stylesheet between pages. | |
18 | Patches: Johannes Hofmann | |
19 | +- Better scaling (down) of images, even with consideration of gamma | |
20 | correction. | |
21 | - Fixed (possibly security) problem of FltkImgBuf caused by integer overflow | |
22 | (BUG#1129). | |
23 | - Some linebreaking fixes, and optimization for non-justified text, including | |
24 | new preference stretchability_factor. | |
25 | - Added white_bg_replacement preference. | |
26 | - Implemented background images (except 'background-attachment'), added | |
27 | load_background_images preference, as well as a new entry in the tools menu. | |
28 | Patches: Sebastian Geerken | |
29 | +- Fix a set of bugs reported by Oulu Univ. Secure Programming Group | |
30 | (HTML parsing, URL resolution, GIF processing, etc.) | |
31 | - Improved/fixed handling of HEAD, TITLE, TEXTAREA and form inputs. | |
32 | - Made show_url dillorc option work again (BUG#1128) | |
33 | Patches: Jorge Arellano Cid | |
34 | +- Fix compiling on Hurd. | |
35 | Patch: Pino Toscano | |
36 | +- Avoid Dpid children becoming zombies. | |
37 | Patch: Jorge Arellano, J. Gaffney | |
38 | +- HTML5 WBR element. | |
39 | - Fix compiling on IRIX with MIPSpro compiler. | |
40 | Patches: corvid, Sebastian Geerken | |
41 | ||
42 | ----------------------------------------------------------------------------- | |
8 | 43 | |
9 | 44 | dillo-3.0.3 [April 17, 2013] |
10 | 45 |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.14 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
16 | 15 | |
17 | 16 | |
18 | 17 | VPATH = @srcdir@ |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
19 | am__make_running_with_option = \ | |
20 | case $${target_option-} in \ | |
21 | ?) ;; \ | |
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
23 | "target option '$${target_option-}' specified" >&2; \ | |
24 | exit 1;; \ | |
25 | esac; \ | |
26 | has_opt=no; \ | |
27 | sane_makeflags=$$MAKEFLAGS; \ | |
28 | if $(am__is_gnu_make); then \ | |
29 | sane_makeflags=$$MFLAGS; \ | |
30 | else \ | |
22 | 31 | case $$MAKEFLAGS in \ |
23 | 32 | *\\[\ \ ]*) \ |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
33 | bs=\\; \ | |
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
33 | 36 | esac; \ |
34 | test $$am__dry = yes; \ | |
35 | } | |
37 | fi; \ | |
38 | skip_next=no; \ | |
39 | strip_trailopt () \ | |
40 | { \ | |
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
42 | }; \ | |
43 | for flg in $$sane_makeflags; do \ | |
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
45 | case $$flg in \ | |
46 | *=*|--*) continue;; \ | |
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
48 | -*I?*) strip_trailopt 'I';; \ | |
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
50 | -*O?*) strip_trailopt 'O';; \ | |
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
52 | -*l?*) strip_trailopt 'l';; \ | |
53 | -[dEDm]) skip_next=yes;; \ | |
54 | -[JT]) skip_next=yes;; \ | |
55 | esac; \ | |
56 | case $$flg in \ | |
57 | *$$target_option*) has_opt=yes; break;; \ | |
58 | esac; \ | |
59 | done; \ | |
60 | test $$has_opt = yes | |
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
36 | 63 | pkgdatadir = $(datadir)/@PACKAGE@ |
37 | 64 | pkgincludedir = $(includedir)/@PACKAGE@ |
38 | 65 | pkglibdir = $(libdir)/@PACKAGE@ |
53 | 80 | host_triplet = @host@ |
54 | 81 | target_triplet = @target@ |
55 | 82 | subdir = . |
56 | DIST_COMMON = README $(am__configure_deps) $(dist_bin_SCRIPTS) \ | |
57 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | |
58 | $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ | |
59 | ChangeLog INSTALL NEWS config.guess config.sub depcomp \ | |
60 | install-sh missing | |
83 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ | |
84 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
85 | $(top_srcdir)/configure $(am__configure_deps) \ | |
86 | $(srcdir)/config.h.in $(dist_bin_SCRIPTS) COPYING compile \ | |
87 | config.guess config.sub depcomp install-sh missing | |
61 | 88 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
62 | 89 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
63 | 90 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
97 | 124 | } |
98 | 125 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" |
99 | 126 | SCRIPTS = $(dist_bin_SCRIPTS) |
127 | AM_V_P = $(am__v_P_@AM_V@) | |
128 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
129 | am__v_P_0 = false | |
130 | am__v_P_1 = : | |
131 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
132 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
133 | am__v_GEN_0 = @echo " GEN " $@; | |
134 | am__v_GEN_1 = | |
135 | AM_V_at = $(am__v_at_@AM_V@) | |
136 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
137 | am__v_at_0 = @ | |
138 | am__v_at_1 = | |
100 | 139 | SOURCES = |
101 | 140 | DIST_SOURCES = |
102 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
103 | html-recursive info-recursive install-data-recursive \ | |
104 | install-dvi-recursive install-exec-recursive \ | |
105 | install-html-recursive install-info-recursive \ | |
106 | install-pdf-recursive install-ps-recursive install-recursive \ | |
107 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
108 | ps-recursive uninstall-recursive | |
141 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
142 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
143 | install-data-recursive install-dvi-recursive \ | |
144 | install-exec-recursive install-html-recursive \ | |
145 | install-info-recursive install-pdf-recursive \ | |
146 | install-ps-recursive install-recursive installcheck-recursive \ | |
147 | installdirs-recursive pdf-recursive ps-recursive \ | |
148 | tags-recursive uninstall-recursive | |
109 | 149 | am__can_run_installinfo = \ |
110 | 150 | case $$AM_UPDATE_INFO_DIR in \ |
111 | 151 | n|no|NO) false;; \ |
114 | 154 | DATA = $(sysconf_DATA) |
115 | 155 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
116 | 156 | distclean-recursive maintainer-clean-recursive |
117 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
118 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
119 | distdir dist dist-all distcheck | |
157 | am__recursive_targets = \ | |
158 | $(RECURSIVE_TARGETS) \ | |
159 | $(RECURSIVE_CLEAN_TARGETS) \ | |
160 | $(am__extra_recursive_targets) | |
161 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
162 | cscope distdir dist dist-all distcheck | |
163 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
164 | $(LISP)config.h.in | |
165 | # Read a list of newline-separated strings from the standard input, | |
166 | # and print each of them once, without duplicates. Input order is | |
167 | # *not* preserved. | |
168 | am__uniquify_input = $(AWK) '\ | |
169 | BEGIN { nonempty = 0; } \ | |
170 | { items[$$0] = 1; nonempty = 1; } \ | |
171 | END { if (nonempty) { for (i in items) print i; }; } \ | |
172 | ' | |
173 | # Make sure the list of sources is unique. This is necessary because, | |
174 | # e.g., the same source file might be shared among _SOURCES variables | |
175 | # for different programs/libraries. | |
176 | am__define_uniq_tagged_files = \ | |
177 | list='$(am__tagged_files)'; \ | |
178 | unique=`for i in $$list; do \ | |
179 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
180 | done | $(am__uniquify_input)` | |
120 | 181 | ETAGS = etags |
121 | 182 | CTAGS = ctags |
183 | CSCOPE = cscope | |
122 | 184 | DIST_SUBDIRS = $(SUBDIRS) |
123 | 185 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
124 | 186 | distdir = $(PACKAGE)-$(VERSION) |
129 | 191 | && rm -rf "$(distdir)" \ |
130 | 192 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
131 | 193 | else :; fi |
194 | am__post_remove_distdir = $(am__remove_distdir) | |
132 | 195 | am__relativize = \ |
133 | 196 | dir0=`pwd`; \ |
134 | 197 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
156 | 219 | reldir="$$dir2" |
157 | 220 | DIST_ARCHIVES = $(distdir).tar.gz |
158 | 221 | GZIP_ENV = --best |
222 | DIST_TARGETS = dist-gzip | |
159 | 223 | distuninstallcheck_listfiles = find . -type f -print |
160 | 224 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
161 | 225 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
162 | 226 | distcleancheck_listfiles = find . -type f -print |
163 | 227 | ACLOCAL = @ACLOCAL@ |
164 | 228 | AMTAR = @AMTAR@ |
229 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
165 | 230 | AUTOCONF = @AUTOCONF@ |
166 | 231 | AUTOHEADER = @AUTOHEADER@ |
167 | 232 | AUTOMAKE = @AUTOMAKE@ |
203 | 268 | LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@ |
204 | 269 | LIBS = @LIBS@ |
205 | 270 | LIBSSL_LIBS = @LIBSSL_LIBS@ |
271 | LIBX11_LIBS = @LIBX11_LIBS@ | |
206 | 272 | LIBZ_LIBS = @LIBZ_LIBS@ |
207 | 273 | LTLIBOBJS = @LTLIBOBJS@ |
208 | 274 | MAKEINFO = @MAKEINFO@ |
320 | 386 | $(am__aclocal_m4_deps): |
321 | 387 | |
322 | 388 | config.h: stamp-h1 |
323 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
324 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
389 | @test -f $@ || rm -f stamp-h1 | |
390 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
325 | 391 | |
326 | 392 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
327 | 393 | @rm -f stamp-h1 |
391 | 457 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
392 | 458 | |
393 | 459 | # This directory's subdirectories are mostly independent; you can cd |
394 | # into them and run `make' without going through this Makefile. | |
395 | # To change the values of `make' variables: instead of editing Makefiles, | |
396 | # (1) if the variable is set in `config.status', edit `config.status' | |
397 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
398 | # (2) otherwise, pass the desired values on the `make' command line. | |
399 | $(RECURSIVE_TARGETS): | |
400 | @fail= failcom='exit 1'; \ | |
401 | for f in x $$MAKEFLAGS; do \ | |
402 | case $$f in \ | |
403 | *=* | --[!k]*);; \ | |
404 | *k*) failcom='fail=yes';; \ | |
405 | esac; \ | |
406 | done; \ | |
460 | # into them and run 'make' without going through this Makefile. | |
461 | # To change the values of 'make' variables: instead of editing Makefiles, | |
462 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
463 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
464 | # (2) otherwise, pass the desired values on the 'make' command line. | |
465 | $(am__recursive_targets): | |
466 | @fail=; \ | |
467 | if $(am__make_keepgoing); then \ | |
468 | failcom='fail=yes'; \ | |
469 | else \ | |
470 | failcom='exit 1'; \ | |
471 | fi; \ | |
407 | 472 | dot_seen=no; \ |
408 | 473 | target=`echo $@ | sed s/-recursive//`; \ |
409 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
474 | case "$@" in \ | |
475 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
476 | *) list='$(SUBDIRS)' ;; \ | |
477 | esac; \ | |
478 | for subdir in $$list; do \ | |
410 | 479 | echo "Making $$target in $$subdir"; \ |
411 | 480 | if test "$$subdir" = "."; then \ |
412 | 481 | dot_seen=yes; \ |
421 | 490 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
422 | 491 | fi; test -z "$$fail" |
423 | 492 | |
424 | $(RECURSIVE_CLEAN_TARGETS): | |
425 | @fail= failcom='exit 1'; \ | |
426 | for f in x $$MAKEFLAGS; do \ | |
427 | case $$f in \ | |
428 | *=* | --[!k]*);; \ | |
429 | *k*) failcom='fail=yes';; \ | |
430 | esac; \ | |
431 | done; \ | |
432 | dot_seen=no; \ | |
433 | case "$@" in \ | |
434 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
435 | *) list='$(SUBDIRS)' ;; \ | |
436 | esac; \ | |
437 | rev=''; for subdir in $$list; do \ | |
438 | if test "$$subdir" = "."; then :; else \ | |
439 | rev="$$subdir $$rev"; \ | |
440 | fi; \ | |
441 | done; \ | |
442 | rev="$$rev ."; \ | |
443 | target=`echo $@ | sed s/-recursive//`; \ | |
444 | for subdir in $$rev; do \ | |
445 | echo "Making $$target in $$subdir"; \ | |
446 | if test "$$subdir" = "."; then \ | |
447 | local_target="$$target-am"; \ | |
448 | else \ | |
449 | local_target="$$target"; \ | |
450 | fi; \ | |
451 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
452 | || eval $$failcom; \ | |
453 | done && test -z "$$fail" | |
454 | tags-recursive: | |
455 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
456 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
457 | done | |
458 | ctags-recursive: | |
459 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
460 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
461 | done | |
462 | ||
463 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
464 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
465 | unique=`for i in $$list; do \ | |
466 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
467 | done | \ | |
468 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
469 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
470 | mkid -fID $$unique | |
471 | tags: TAGS | |
472 | ||
473 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
474 | $(TAGS_FILES) $(LISP) | |
493 | ID: $(am__tagged_files) | |
494 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
495 | tags: tags-recursive | |
496 | TAGS: tags | |
497 | ||
498 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
475 | 499 | set x; \ |
476 | 500 | here=`pwd`; \ |
477 | 501 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
487 | 511 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
488 | 512 | fi; \ |
489 | 513 | done; \ |
490 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
491 | unique=`for i in $$list; do \ | |
492 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
493 | done | \ | |
494 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
495 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
514 | $(am__define_uniq_tagged_files); \ | |
496 | 515 | shift; \ |
497 | 516 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
498 | 517 | test -n "$$unique" || unique=$$empty_fix; \ |
504 | 523 | $$unique; \ |
505 | 524 | fi; \ |
506 | 525 | fi |
507 | ctags: CTAGS | |
508 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
509 | $(TAGS_FILES) $(LISP) | |
510 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
511 | unique=`for i in $$list; do \ | |
512 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
513 | done | \ | |
514 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
515 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
526 | ctags: ctags-recursive | |
527 | ||
528 | CTAGS: ctags | |
529 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
530 | $(am__define_uniq_tagged_files); \ | |
516 | 531 | test -z "$(CTAGS_ARGS)$$unique" \ |
517 | 532 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
518 | 533 | $$unique |
521 | 536 | here=`$(am__cd) $(top_builddir) && pwd` \ |
522 | 537 | && $(am__cd) $(top_srcdir) \ |
523 | 538 | && gtags -i $(GTAGS_ARGS) "$$here" |
539 | cscope: cscope.files | |
540 | test ! -s cscope.files \ | |
541 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
542 | clean-cscope: | |
543 | -rm -f cscope.files | |
544 | cscope.files: clean-cscope cscopelist | |
545 | cscopelist: cscopelist-recursive | |
546 | ||
547 | cscopelist-am: $(am__tagged_files) | |
548 | list='$(am__tagged_files)'; \ | |
549 | case "$(srcdir)" in \ | |
550 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
551 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
552 | esac; \ | |
553 | for i in $$list; do \ | |
554 | if test -f "$$i"; then \ | |
555 | echo "$(subdir)/$$i"; \ | |
556 | else \ | |
557 | echo "$$sdir/$$i"; \ | |
558 | fi; \ | |
559 | done >> $(top_builddir)/cscope.files | |
524 | 560 | |
525 | 561 | distclean-tags: |
526 | 562 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
563 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
527 | 564 | |
528 | 565 | distdir: $(DISTFILES) |
529 | 566 | $(am__remove_distdir) |
591 | 628 | || chmod -R a+r "$(distdir)" |
592 | 629 | dist-gzip: distdir |
593 | 630 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
594 | $(am__remove_distdir) | |
631 | $(am__post_remove_distdir) | |
595 | 632 | |
596 | 633 | dist-bzip2: distdir |
597 | 634 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
598 | $(am__remove_distdir) | |
635 | $(am__post_remove_distdir) | |
599 | 636 | |
600 | 637 | dist-lzip: distdir |
601 | 638 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
602 | $(am__remove_distdir) | |
603 | ||
604 | dist-lzma: distdir | |
605 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
606 | $(am__remove_distdir) | |
639 | $(am__post_remove_distdir) | |
607 | 640 | |
608 | 641 | dist-xz: distdir |
609 | 642 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
610 | $(am__remove_distdir) | |
643 | $(am__post_remove_distdir) | |
611 | 644 | |
612 | 645 | dist-tarZ: distdir |
646 | @echo WARNING: "Support for shar distribution archives is" \ | |
647 | "deprecated." >&2 | |
648 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
613 | 649 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
614 | $(am__remove_distdir) | |
650 | $(am__post_remove_distdir) | |
615 | 651 | |
616 | 652 | dist-shar: distdir |
653 | @echo WARNING: "Support for distribution archives compressed with" \ | |
654 | "legacy program 'compress' is deprecated." >&2 | |
655 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
617 | 656 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
618 | $(am__remove_distdir) | |
657 | $(am__post_remove_distdir) | |
619 | 658 | |
620 | 659 | dist-zip: distdir |
621 | 660 | -rm -f $(distdir).zip |
622 | 661 | zip -rq $(distdir).zip $(distdir) |
623 | $(am__remove_distdir) | |
624 | ||
625 | dist dist-all: distdir | |
626 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
627 | $(am__remove_distdir) | |
662 | $(am__post_remove_distdir) | |
663 | ||
664 | dist dist-all: | |
665 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
666 | $(am__post_remove_distdir) | |
628 | 667 | |
629 | 668 | # This target untars the dist file and tries a VPATH configuration. Then |
630 | 669 | # it guarantees that the distribution is self-contained by making another |
635 | 674 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
636 | 675 | *.tar.bz2*) \ |
637 | 676 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
638 | *.tar.lzma*) \ | |
639 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
640 | 677 | *.tar.lz*) \ |
641 | 678 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
642 | 679 | *.tar.xz*) \ |
648 | 685 | *.zip*) \ |
649 | 686 | unzip $(distdir).zip ;;\ |
650 | 687 | esac |
651 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
652 | mkdir $(distdir)/_build | |
653 | mkdir $(distdir)/_inst | |
688 | chmod -R a-w $(distdir) | |
689 | chmod u+w $(distdir) | |
690 | mkdir $(distdir)/_build $(distdir)/_inst | |
654 | 691 | chmod a-w $(distdir) |
655 | 692 | test -d $(distdir)/_build || exit 0; \ |
656 | 693 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
682 | 719 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
683 | 720 | && cd "$$am__cwd" \ |
684 | 721 | || exit 1 |
685 | $(am__remove_distdir) | |
722 | $(am__post_remove_distdir) | |
686 | 723 | @(echo "$(distdir) archives ready for distribution: "; \ |
687 | 724 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
688 | 725 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
819 | 856 | |
820 | 857 | uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
821 | 858 | |
822 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
823 | ctags-recursive install-am install-strip tags-recursive | |
824 | ||
825 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
826 | all all-am am--refresh check check-am clean clean-generic \ | |
827 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
828 | dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
859 | .MAKE: $(am__recursive_targets) all install-am install-strip | |
860 | ||
861 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
862 | am--refresh check check-am clean clean-cscope clean-generic \ | |
863 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
864 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
829 | 865 | distcheck distclean distclean-generic distclean-hdr \ |
830 | 866 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
831 | 867 | dvi-am html html-am info info-am install install-am \ |
836 | 872 | install-ps-am install-strip install-sysconfDATA installcheck \ |
837 | 873 | installcheck-am installdirs installdirs-am maintainer-clean \ |
838 | 874 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
839 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
875 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ | |
840 | 876 | uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
841 | 877 | |
842 | 878 |
0 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
0 | # generated automatically by aclocal 1.14 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
3 | ||
5 | 4 | # This file is free software; the Free Software Foundation |
6 | 5 | # gives unlimited permission to copy and/or distribute it, |
7 | 6 | # with or without modifications, as long as this notice is preserved. |
11 | 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 | 11 | # PARTICULAR PURPOSE. |
13 | 12 | |
13 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | |
14 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
15 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
16 | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
17 | 17 | [m4_warning([this file was generated for autoconf 2.69. |
18 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
23 | # Foundation, Inc. | |
24 | # | |
25 | # This file is free software; the Free Software Foundation | |
26 | # gives unlimited permission to copy and/or distribute it, | |
27 | # with or without modifications, as long as this notice is preserved. | |
28 | ||
29 | # serial 1 | |
20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | |
23 | # | |
24 | # This file is free software; the Free Software Foundation | |
25 | # gives unlimited permission to copy and/or distribute it, | |
26 | # with or without modifications, as long as this notice is preserved. | |
30 | 27 | |
31 | 28 | # AM_AUTOMAKE_VERSION(VERSION) |
32 | 29 | # ---------------------------- |
34 | 31 | # generated from the m4 files accompanying Automake X.Y. |
35 | 32 | # (This private macro should not be called outside this file.) |
36 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
37 | [am__api_version='1.11' | |
34 | [am__api_version='1.14' | |
38 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
39 | 36 | dnl require some minimum version. Point them to the right macro. |
40 | m4_if([$1], [1.11.6], [], | |
37 | m4_if([$1], [1.14], [], | |
41 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
42 | 39 | ]) |
43 | 40 | |
53 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
54 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
55 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.14])dnl | |
57 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
58 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
59 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
60 | 57 | |
61 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
62 | 59 | |
63 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
64 | # | |
65 | # This file is free software; the Free Software Foundation | |
66 | # gives unlimited permission to copy and/or distribute it, | |
67 | # with or without modifications, as long as this notice is preserved. | |
68 | ||
69 | # serial 1 | |
60 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
61 | # | |
62 | # This file is free software; the Free Software Foundation | |
63 | # gives unlimited permission to copy and/or distribute it, | |
64 | # with or without modifications, as long as this notice is preserved. | |
70 | 65 | |
71 | 66 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
73 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
67 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
68 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
74 | 69 | # |
75 | 70 | # Of course, Automake must honor this variable whenever it calls a |
76 | 71 | # tool from the auxiliary directory. The problem is that $srcdir (and |
89 | 84 | # |
90 | 85 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
91 | 86 | # are both prefixed by $srcdir. In an in-source build this is usually |
92 | # harmless because $srcdir is `.', but things will broke when you | |
87 | # harmless because $srcdir is '.', but things will broke when you | |
93 | 88 | # start a VPATH build or use an absolute $srcdir. |
94 | 89 | # |
95 | 90 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
115 | 110 | |
116 | 111 | # AM_CONDITIONAL -*- Autoconf -*- |
117 | 112 | |
118 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
119 | # Free Software Foundation, Inc. | |
120 | # | |
121 | # This file is free software; the Free Software Foundation | |
122 | # gives unlimited permission to copy and/or distribute it, | |
123 | # with or without modifications, as long as this notice is preserved. | |
124 | ||
125 | # serial 9 | |
113 | # Copyright (C) 1997-2013 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. | |
126 | 118 | |
127 | 119 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
128 | 120 | # ------------------------------------- |
129 | 121 | # Define a conditional. |
130 | 122 | AC_DEFUN([AM_CONDITIONAL], |
131 | [AC_PREREQ(2.52)dnl | |
132 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
133 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
123 | [AC_PREREQ([2.52])dnl | |
124 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
125 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
134 | 126 | AC_SUBST([$1_TRUE])dnl |
135 | 127 | AC_SUBST([$1_FALSE])dnl |
136 | 128 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
149 | 141 | Usually this means the macro was only invoked conditionally.]]) |
150 | 142 | fi])]) |
151 | 143 | |
152 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
153 | # 2010, 2011 Free Software Foundation, Inc. | |
154 | # | |
155 | # This file is free software; the Free Software Foundation | |
156 | # gives unlimited permission to copy and/or distribute it, | |
157 | # with or without modifications, as long as this notice is preserved. | |
158 | ||
159 | # serial 12 | |
160 | ||
161 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
144 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
145 | # | |
146 | # This file is free software; the Free Software Foundation | |
147 | # gives unlimited permission to copy and/or distribute it, | |
148 | # with or without modifications, as long as this notice is preserved. | |
149 | ||
150 | ||
151 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
162 | 152 | # written in clear, in which case automake, when reading aclocal.m4, |
163 | 153 | # will think it sees a *use*, and therefore will trigger all it's |
164 | 154 | # C support machinery. Also note that it means that autoscan, seeing |
168 | 158 | # _AM_DEPENDENCIES(NAME) |
169 | 159 | # ---------------------- |
170 | 160 | # See how the compiler implements dependency checking. |
171 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
161 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
172 | 162 | # We try a few techniques and use that to set a single cache variable. |
173 | 163 | # |
174 | 164 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
181 | 171 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
182 | 172 | AC_REQUIRE([AM_DEP_TRACK])dnl |
183 | 173 | |
184 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
185 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
186 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
187 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
188 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
189 | [depcc="$$1" am_compiler_list=]) | |
174 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
175 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
176 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
177 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
178 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
179 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
180 | [depcc="$$1" am_compiler_list=]) | |
190 | 181 | |
191 | 182 | AC_CACHE_CHECK([dependency style of $depcc], |
192 | 183 | [am_cv_$1_dependencies_compiler_type], |
194 | 185 | # We make a subdir and do the tests there. Otherwise we can end up |
195 | 186 | # making bogus files that we don't know about and never remove. For |
196 | 187 | # instance it was reported that on HP-UX the gcc test will end up |
197 | # making a dummy file named `D' -- because `-MD' means `put the output | |
198 | # in D'. | |
188 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
189 | # in D". | |
199 | 190 | rm -rf conftest.dir |
200 | 191 | mkdir conftest.dir |
201 | 192 | # Copy depcomp to subdir because otherwise we won't find it if we're |
235 | 226 | : > sub/conftest.c |
236 | 227 | for i in 1 2 3 4 5 6; do |
237 | 228 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
238 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
239 | # Solaris 8's {/usr,}/bin/sh. | |
240 | touch sub/conftst$i.h | |
229 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
230 | # Solaris 10 /bin/sh. | |
231 | echo '/* dummy */' > sub/conftst$i.h | |
241 | 232 | done |
242 | 233 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
243 | 234 | |
244 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
235 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
245 | 236 | # mode. It turns out that the SunPro C++ compiler does not properly |
246 | # handle `-M -o', and we need to detect this. Also, some Intel | |
247 | # versions had trouble with output in subdirs | |
237 | # handle '-M -o', and we need to detect this. Also, some Intel | |
238 | # versions had trouble with output in subdirs. | |
248 | 239 | am__obj=sub/conftest.${OBJEXT-o} |
249 | 240 | am__minus_obj="-o $am__obj" |
250 | 241 | case $depmode in |
253 | 244 | test "$am__universal" = false || continue |
254 | 245 | ;; |
255 | 246 | nosideeffect) |
256 | # after this tag, mechanisms are not by side-effect, so they'll | |
257 | # only be used when explicitly requested | |
247 | # After this tag, mechanisms are not by side-effect, so they'll | |
248 | # only be used when explicitly requested. | |
258 | 249 | if test "x$enable_dependency_tracking" = xyes; then |
259 | 250 | continue |
260 | 251 | else |
262 | 253 | fi |
263 | 254 | ;; |
264 | 255 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
265 | # This compiler won't grok `-c -o', but also, the minuso test has | |
256 | # This compiler won't grok '-c -o', but also, the minuso test has | |
266 | 257 | # not run yet. These depmodes are late enough in the game, and |
267 | 258 | # so weak that their functioning should not be impacted. |
268 | 259 | am__obj=conftest.${OBJEXT-o} |
310 | 301 | # AM_SET_DEPDIR |
311 | 302 | # ------------- |
312 | 303 | # Choose a directory name for dependency files. |
313 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
304 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
314 | 305 | AC_DEFUN([AM_SET_DEPDIR], |
315 | 306 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
316 | 307 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
320 | 311 | # AM_DEP_TRACK |
321 | 312 | # ------------ |
322 | 313 | AC_DEFUN([AM_DEP_TRACK], |
323 | [AC_ARG_ENABLE(dependency-tracking, | |
324 | [ --disable-dependency-tracking speeds up one-time build | |
325 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
314 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
315 | AS_HELP_STRING( | |
316 | [--enable-dependency-tracking], | |
317 | [do not reject slow dependency extractors]) | |
318 | AS_HELP_STRING( | |
319 | [--disable-dependency-tracking], | |
320 | [speeds up one-time build])]) | |
326 | 321 | if test "x$enable_dependency_tracking" != xno; then |
327 | 322 | am_depcomp="$ac_aux_dir/depcomp" |
328 | 323 | AMDEPBACKSLASH='\' |
337 | 332 | |
338 | 333 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
339 | 334 | |
340 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
341 | # Free Software Foundation, Inc. | |
342 | # | |
343 | # This file is free software; the Free Software Foundation | |
344 | # gives unlimited permission to copy and/or distribute it, | |
345 | # with or without modifications, as long as this notice is preserved. | |
346 | ||
347 | #serial 5 | |
335 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
336 | # | |
337 | # This file is free software; the Free Software Foundation | |
338 | # gives unlimited permission to copy and/or distribute it, | |
339 | # with or without modifications, as long as this notice is preserved. | |
340 | ||
348 | 341 | |
349 | 342 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
350 | 343 | # ------------------------------ |
351 | 344 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
352 | 345 | [{ |
353 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
346 | # Older Autoconf quotes --file arguments for eval, but not when files | |
354 | 347 | # are listed without --file. Let's play safe and only enable the eval |
355 | 348 | # if we detect the quoting. |
356 | 349 | case $CONFIG_FILES in |
363 | 356 | # Strip MF so we end up with the name of the file. |
364 | 357 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
365 | 358 | # Check whether this is an Automake generated Makefile or not. |
366 | # We used to match only the files named `Makefile.in', but | |
359 | # We used to match only the files named 'Makefile.in', but | |
367 | 360 | # some people rename them; so instead we look at the file content. |
368 | 361 | # Grep'ing the first line is not enough: some people post-process |
369 | 362 | # each Makefile.in and add a new line on top of each file to say so. |
375 | 368 | continue |
376 | 369 | fi |
377 | 370 | # Extract the definition of DEPDIR, am__include, and am__quote |
378 | # from the Makefile without running `make'. | |
371 | # from the Makefile without running 'make'. | |
379 | 372 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
380 | 373 | test -z "$DEPDIR" && continue |
381 | 374 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
382 | test -z "am__include" && continue | |
375 | test -z "$am__include" && continue | |
383 | 376 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
384 | # When using ansi2knr, U may be empty or an underscore; expand it | |
385 | U=`sed -n 's/^U = //p' < "$mf"` | |
386 | 377 | # Find all dependency output files, they are included files with |
387 | 378 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
388 | 379 | # simplest approach to changing $(DEPDIR) to its actual value in the |
389 | 380 | # expansion. |
390 | 381 | for file in `sed -n " |
391 | 382 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
392 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
393 | 384 | # Make sure the directory exists. |
394 | 385 | test -f "$dirpart/$file" && continue |
395 | 386 | fdir=`AS_DIRNAME(["$file"])` |
407 | 398 | # This macro should only be invoked once -- use via AC_REQUIRE. |
408 | 399 | # |
409 | 400 | # This code is only required when automatic dependency tracking |
410 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | # is enabled. FIXME. This creates each '.P' file that we will | |
411 | 402 | # need in order to bootstrap the dependency handling code. |
412 | 403 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
413 | 404 | [AC_CONFIG_COMMANDS([depfiles], |
417 | 408 | |
418 | 409 | # Do all the work for Automake. -*- Autoconf -*- |
419 | 410 | |
420 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
421 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
422 | # | |
423 | # This file is free software; the Free Software Foundation | |
424 | # gives unlimited permission to copy and/or distribute it, | |
425 | # with or without modifications, as long as this notice is preserved. | |
426 | ||
427 | # serial 16 | |
411 | # Copyright (C) 1996-2013 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. | |
428 | 416 | |
429 | 417 | # This macro actually does too much. Some checks are only needed if |
430 | 418 | # your package does certain things. But this isn't really a big deal. |
419 | ||
420 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | |
421 | m4_define([AC_PROG_CC], | |
422 | m4_defn([AC_PROG_CC]) | |
423 | [_AM_PROG_CC_C_O | |
424 | ]) | |
431 | 425 | |
432 | 426 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
433 | 427 | # AM_INIT_AUTOMAKE([OPTIONS]) |
441 | 435 | # arguments mandatory, and then we can depend on a new Autoconf |
442 | 436 | # release and drop the old call support. |
443 | 437 | AC_DEFUN([AM_INIT_AUTOMAKE], |
444 | [AC_PREREQ([2.62])dnl | |
438 | [AC_PREREQ([2.65])dnl | |
445 | 439 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
446 | 440 | dnl the ones we care about. |
447 | 441 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
470 | 464 | # Define the identity of the package. |
471 | 465 | dnl Distinguish between old-style and new-style calls. |
472 | 466 | m4_ifval([$2], |
473 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
467 | [AC_DIAGNOSE([obsolete], | |
468 | [$0: two- and three-arguments forms are deprecated.]) | |
469 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
474 | 470 | AC_SUBST([PACKAGE], [$1])dnl |
475 | 471 | AC_SUBST([VERSION], [$2])], |
476 | 472 | [_AM_SET_OPTIONS([$1])dnl |
477 | 473 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
478 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
474 | m4_if( | |
475 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
476 | [ok:ok],, | |
479 | 477 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
480 | 478 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
481 | 479 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
482 | 480 | |
483 | 481 | _AM_IF_OPTION([no-define],, |
484 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
485 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
482 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
483 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
486 | 484 | |
487 | 485 | # Some tools Automake needs. |
488 | 486 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
489 | 487 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
490 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
491 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
492 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
493 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
494 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
488 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
489 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
490 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
491 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
492 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
495 | 493 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
496 | 494 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
497 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
495 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
496 | # For better backward compatibility. To be removed once Automake 1.9.x | |
497 | # dies out for good. For more background, see: | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
499 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
500 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
498 | 501 | # We need awk for the "check" target. The system "awk" is bad on |
499 | 502 | # some platforms. |
500 | 503 | AC_REQUIRE([AC_PROG_AWK])dnl |
505 | 508 | [_AM_PROG_TAR([v7])])]) |
506 | 509 | _AM_IF_OPTION([no-dependencies],, |
507 | 510 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
508 | [_AM_DEPENDENCIES(CC)], | |
509 | [define([AC_PROG_CC], | |
510 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
511 | [_AM_DEPENDENCIES([CC])], | |
512 | [m4_define([AC_PROG_CC], | |
513 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
511 | 514 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
512 | [_AM_DEPENDENCIES(CXX)], | |
513 | [define([AC_PROG_CXX], | |
514 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
515 | [_AM_DEPENDENCIES([CXX])], | |
516 | [m4_define([AC_PROG_CXX], | |
517 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
515 | 518 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
516 | [_AM_DEPENDENCIES(OBJC)], | |
517 | [define([AC_PROG_OBJC], | |
518 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
519 | ]) | |
520 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
521 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
522 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
523 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
519 | [_AM_DEPENDENCIES([OBJC])], | |
520 | [m4_define([AC_PROG_OBJC], | |
521 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
522 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
523 | [_AM_DEPENDENCIES([OBJCXX])], | |
524 | [m4_define([AC_PROG_OBJCXX], | |
525 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | |
526 | ]) | |
527 | AC_REQUIRE([AM_SILENT_RULES])dnl | |
528 | dnl The testsuite driver may need to know about EXEEXT, so add the | |
529 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | |
530 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
524 | 531 | AC_CONFIG_COMMANDS_PRE(dnl |
525 | 532 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
526 | 533 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
527 | ]) | |
528 | ||
529 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
534 | ||
535 | # POSIX will say in a future version that running "rm -f" with no argument | |
536 | # is OK; and we want to be able to make that assumption in our Makefile | |
537 | # recipes. So use an aggressive probe to check that the usage we want is | |
538 | # actually supported "in the wild" to an acceptable degree. | |
539 | # See automake bug#10828. | |
540 | # To make any issue more visible, cause the running configure to be aborted | |
541 | # by default if the 'rm' program in use doesn't match our expectations; the | |
542 | # user can still override this though. | |
543 | if rm -f && rm -fr && rm -rf; then : OK; else | |
544 | cat >&2 <<'END' | |
545 | Oops! | |
546 | ||
547 | Your 'rm' program seems unable to run without file operands specified | |
548 | on the command line, even when the '-f' option is present. This is contrary | |
549 | to the behaviour of most rm programs out there, and not conforming with | |
550 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
551 | ||
552 | Please tell bug-automake@gnu.org about your system, including the value | |
553 | of your $PATH and any error possibly output before this message. This | |
554 | can help us improve future automake versions. | |
555 | ||
556 | END | |
557 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
558 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
559 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
560 | echo >&2 | |
561 | else | |
562 | cat >&2 <<'END' | |
563 | Aborting the configuration process, to ensure you take notice of the issue. | |
564 | ||
565 | You can download and install GNU coreutils to get an 'rm' implementation | |
566 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
567 | ||
568 | If you want to complete the configuration process using your problematic | |
569 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
570 | to "yes", and re-run configure. | |
571 | ||
572 | END | |
573 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | |
574 | fi | |
575 | fi]) | |
576 | ||
577 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
530 | 578 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
531 | 579 | dnl mangled by Autoconf and run in a shell conditional statement. |
532 | 580 | m4_define([_AC_COMPILER_EXEEXT], |
533 | 581 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
534 | ||
535 | 582 | |
536 | 583 | # When config.status generates a header, we must update the stamp-h file. |
537 | 584 | # This file resides in the same directory as the config header |
554 | 601 | done |
555 | 602 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
556 | 603 | |
557 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
558 | # Inc. | |
559 | # | |
560 | # This file is free software; the Free Software Foundation | |
561 | # gives unlimited permission to copy and/or distribute it, | |
562 | # with or without modifications, as long as this notice is preserved. | |
563 | ||
564 | # serial 1 | |
604 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
605 | # | |
606 | # This file is free software; the Free Software Foundation | |
607 | # gives unlimited permission to copy and/or distribute it, | |
608 | # with or without modifications, as long as this notice is preserved. | |
565 | 609 | |
566 | 610 | # AM_PROG_INSTALL_SH |
567 | 611 | # ------------------ |
576 | 620 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
577 | 621 | esac |
578 | 622 | fi |
579 | AC_SUBST(install_sh)]) | |
580 | ||
581 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
582 | # | |
583 | # This file is free software; the Free Software Foundation | |
584 | # gives unlimited permission to copy and/or distribute it, | |
585 | # with or without modifications, as long as this notice is preserved. | |
586 | ||
587 | # serial 2 | |
623 | AC_SUBST([install_sh])]) | |
624 | ||
625 | # Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
626 | # | |
627 | # This file is free software; the Free Software Foundation | |
628 | # gives unlimited permission to copy and/or distribute it, | |
629 | # with or without modifications, as long as this notice is preserved. | |
588 | 630 | |
589 | 631 | # Check whether the underlying file-system supports filenames |
590 | 632 | # with a leading dot. For instance MS-DOS doesn't. |
601 | 643 | |
602 | 644 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
603 | 645 | |
604 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
605 | # | |
606 | # This file is free software; the Free Software Foundation | |
607 | # gives unlimited permission to copy and/or distribute it, | |
608 | # with or without modifications, as long as this notice is preserved. | |
609 | ||
610 | # serial 4 | |
646 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
647 | # | |
648 | # This file is free software; the Free Software Foundation | |
649 | # gives unlimited permission to copy and/or distribute it, | |
650 | # with or without modifications, as long as this notice is preserved. | |
611 | 651 | |
612 | 652 | # AM_MAKE_INCLUDE() |
613 | 653 | # ----------------- |
626 | 666 | _am_result=none |
627 | 667 | # First try GNU make style include. |
628 | 668 | echo "include confinc" > confmf |
629 | # Ignore all kinds of additional output from `make'. | |
669 | # Ignore all kinds of additional output from 'make'. | |
630 | 670 | case `$am_make -s -f confmf 2> /dev/null` in #( |
631 | 671 | *the\ am__doit\ target*) |
632 | 672 | am__include=include |
653 | 693 | |
654 | 694 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
655 | 695 | |
656 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
657 | # Free Software Foundation, Inc. | |
658 | # | |
659 | # This file is free software; the Free Software Foundation | |
660 | # gives unlimited permission to copy and/or distribute it, | |
661 | # with or without modifications, as long as this notice is preserved. | |
662 | ||
663 | # serial 6 | |
696 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
697 | # | |
698 | # This file is free software; the Free Software Foundation | |
699 | # gives unlimited permission to copy and/or distribute it, | |
700 | # with or without modifications, as long as this notice is preserved. | |
664 | 701 | |
665 | 702 | # AM_MISSING_PROG(NAME, PROGRAM) |
666 | 703 | # ------------------------------ |
669 | 706 | $1=${$1-"${am_missing_run}$2"} |
670 | 707 | AC_SUBST($1)]) |
671 | 708 | |
672 | ||
673 | 709 | # AM_MISSING_HAS_RUN |
674 | 710 | # ------------------ |
675 | # Define MISSING if not defined so far and test if it supports --run. | |
676 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
711 | # Define MISSING if not defined so far and test if it is modern enough. | |
712 | # If it is, set am_missing_run to use it, otherwise, to nothing. | |
677 | 713 | AC_DEFUN([AM_MISSING_HAS_RUN], |
678 | 714 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
679 | 715 | AC_REQUIRE_AUX_FILE([missing])dnl |
686 | 722 | esac |
687 | 723 | fi |
688 | 724 | # Use eval to expand $SHELL |
689 | if eval "$MISSING --run true"; then | |
690 | am_missing_run="$MISSING --run " | |
725 | if eval "$MISSING --is-lightweight"; then | |
726 | am_missing_run="$MISSING " | |
691 | 727 | else |
692 | 728 | am_missing_run= |
693 | AC_MSG_WARN([`missing' script is too old or missing]) | |
694 | fi | |
695 | ]) | |
696 | ||
697 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
698 | # Inc. | |
699 | # | |
700 | # This file is free software; the Free Software Foundation | |
701 | # gives unlimited permission to copy and/or distribute it, | |
702 | # with or without modifications, as long as this notice is preserved. | |
703 | ||
704 | # serial 1 | |
705 | ||
706 | # AM_PROG_MKDIR_P | |
707 | # --------------- | |
708 | # Check for `mkdir -p'. | |
709 | AC_DEFUN([AM_PROG_MKDIR_P], | |
710 | [AC_PREREQ([2.60])dnl | |
711 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
712 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
713 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
714 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
715 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
716 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
717 | dnl adjustment using top_builddir (which is defined more often than | |
718 | dnl MKDIR_P). | |
719 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
720 | case $mkdir_p in | |
721 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
722 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
723 | esac | |
729 | AC_MSG_WARN(['missing' script is too old or missing]) | |
730 | fi | |
724 | 731 | ]) |
725 | 732 | |
726 | 733 | # Helper functions for option handling. -*- Autoconf -*- |
727 | 734 | |
728 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
729 | # Foundation, Inc. | |
730 | # | |
731 | # This file is free software; the Free Software Foundation | |
732 | # gives unlimited permission to copy and/or distribute it, | |
733 | # with or without modifications, as long as this notice is preserved. | |
734 | ||
735 | # serial 5 | |
735 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
736 | # | |
737 | # This file is free software; the Free Software Foundation | |
738 | # gives unlimited permission to copy and/or distribute it, | |
739 | # with or without modifications, as long as this notice is preserved. | |
736 | 740 | |
737 | 741 | # _AM_MANGLE_OPTION(NAME) |
738 | 742 | # ----------------------- |
743 | 747 | # -------------------- |
744 | 748 | # Set option NAME. Presently that only means defining a flag for this option. |
745 | 749 | AC_DEFUN([_AM_SET_OPTION], |
746 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
750 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
747 | 751 | |
748 | 752 | # _AM_SET_OPTIONS(OPTIONS) |
749 | 753 | # ------------------------ |
757 | 761 | AC_DEFUN([_AM_IF_OPTION], |
758 | 762 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
759 | 763 | |
764 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
765 | # | |
766 | # This file is free software; the Free Software Foundation | |
767 | # gives unlimited permission to copy and/or distribute it, | |
768 | # with or without modifications, as long as this notice is preserved. | |
769 | ||
770 | # _AM_PROG_CC_C_O | |
771 | # --------------- | |
772 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
773 | # to automatically call this. | |
774 | AC_DEFUN([_AM_PROG_CC_C_O], | |
775 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
776 | AC_REQUIRE_AUX_FILE([compile])dnl | |
777 | AC_LANG_PUSH([C])dnl | |
778 | AC_CACHE_CHECK( | |
779 | [whether $CC understands -c and -o together], | |
780 | [am_cv_prog_cc_c_o], | |
781 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
782 | # Make sure it works both with $CC and with simple cc. | |
783 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
784 | # compilers refuse to overwrite an existing .o file with -o, | |
785 | # though they will create one. | |
786 | am_cv_prog_cc_c_o=yes | |
787 | for am_i in 1 2; do | |
788 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
789 | && test -f conftest2.$ac_objext; then | |
790 | : OK | |
791 | else | |
792 | am_cv_prog_cc_c_o=no | |
793 | break | |
794 | fi | |
795 | done | |
796 | rm -f core conftest* | |
797 | unset am_i]) | |
798 | if test "$am_cv_prog_cc_c_o" != yes; then | |
799 | # Losing compiler, so override with the script. | |
800 | # FIXME: It is wrong to rewrite CC. | |
801 | # But if we don't then we get into trouble of one sort or another. | |
802 | # A longer-term fix would be to have automake use am__CC in this case, | |
803 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
804 | CC="$am_aux_dir/compile $CC" | |
805 | fi | |
806 | AC_LANG_POP([C])]) | |
807 | ||
808 | # For backward compatibility. | |
809 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
810 | ||
811 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
812 | # | |
813 | # This file is free software; the Free Software Foundation | |
814 | # gives unlimited permission to copy and/or distribute it, | |
815 | # with or without modifications, as long as this notice is preserved. | |
816 | ||
817 | # AM_RUN_LOG(COMMAND) | |
818 | # ------------------- | |
819 | # Run COMMAND, save the exit status in ac_status, and log it. | |
820 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | |
821 | AC_DEFUN([AM_RUN_LOG], | |
822 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
823 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
824 | ac_status=$? | |
825 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
826 | (exit $ac_status); }]) | |
827 | ||
760 | 828 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
761 | 829 | |
762 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
763 | # Free Software Foundation, Inc. | |
764 | # | |
765 | # This file is free software; the Free Software Foundation | |
766 | # gives unlimited permission to copy and/or distribute it, | |
767 | # with or without modifications, as long as this notice is preserved. | |
768 | ||
769 | # serial 5 | |
830 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
831 | # | |
832 | # This file is free software; the Free Software Foundation | |
833 | # gives unlimited permission to copy and/or distribute it, | |
834 | # with or without modifications, as long as this notice is preserved. | |
770 | 835 | |
771 | 836 | # AM_SANITY_CHECK |
772 | 837 | # --------------- |
773 | 838 | AC_DEFUN([AM_SANITY_CHECK], |
774 | 839 | [AC_MSG_CHECKING([whether build environment is sane]) |
775 | # Just in case | |
776 | sleep 1 | |
777 | echo timestamp > conftest.file | |
778 | 840 | # Reject unsafe characters in $srcdir or the absolute working directory |
779 | 841 | # name. Accept space and tab only in the latter. |
780 | 842 | am_lf=' |
785 | 847 | esac |
786 | 848 | case $srcdir in |
787 | 849 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
788 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
850 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
789 | 851 | esac |
790 | 852 | |
791 | # Do `set' in a subshell so we don't clobber the current shell's | |
853 | # Do 'set' in a subshell so we don't clobber the current shell's | |
792 | 854 | # arguments. Must try -L first in case configure is actually a |
793 | 855 | # symlink; some systems play weird games with the mod time of symlinks |
794 | 856 | # (eg FreeBSD returns the mod time of the symlink's containing |
795 | 857 | # directory). |
796 | 858 | if ( |
797 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
798 | if test "$[*]" = "X"; then | |
799 | # -L didn't work. | |
800 | set X `ls -t "$srcdir/configure" conftest.file` | |
801 | fi | |
802 | rm -f conftest.file | |
803 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
804 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
805 | ||
806 | # If neither matched, then we have a broken ls. This can happen | |
807 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
808 | # broken ls alias from the environment. This has actually | |
809 | # happened. Such a system could not be considered "sane". | |
810 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
811 | alias in your environment]) | |
812 | fi | |
813 | ||
859 | am_has_slept=no | |
860 | for am_try in 1 2; do | |
861 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
862 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
863 | if test "$[*]" = "X"; then | |
864 | # -L didn't work. | |
865 | set X `ls -t "$srcdir/configure" conftest.file` | |
866 | fi | |
867 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
868 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
869 | ||
870 | # If neither matched, then we have a broken ls. This can happen | |
871 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
872 | # broken ls alias from the environment. This has actually | |
873 | # happened. Such a system could not be considered "sane". | |
874 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
875 | alias in your environment]) | |
876 | fi | |
877 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
878 | break | |
879 | fi | |
880 | # Just in case. | |
881 | sleep 1 | |
882 | am_has_slept=yes | |
883 | done | |
814 | 884 | test "$[2]" = conftest.file |
815 | 885 | ) |
816 | 886 | then |
820 | 890 | AC_MSG_ERROR([newly created file is older than distributed files! |
821 | 891 | Check your system clock]) |
822 | 892 | fi |
823 | AC_MSG_RESULT(yes)]) | |
824 | ||
825 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
826 | # | |
827 | # This file is free software; the Free Software Foundation | |
828 | # gives unlimited permission to copy and/or distribute it, | |
829 | # with or without modifications, as long as this notice is preserved. | |
830 | ||
831 | # serial 1 | |
893 | AC_MSG_RESULT([yes]) | |
894 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
895 | # generated files are strictly newer. | |
896 | am_sleep_pid= | |
897 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
898 | ( sleep 1 ) & | |
899 | am_sleep_pid=$! | |
900 | fi | |
901 | AC_CONFIG_COMMANDS_PRE( | |
902 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
903 | if test -n "$am_sleep_pid"; then | |
904 | # Hide warnings about reused PIDs. | |
905 | wait $am_sleep_pid 2>/dev/null | |
906 | fi | |
907 | AC_MSG_RESULT([done])]) | |
908 | rm -f conftest.file | |
909 | ]) | |
910 | ||
911 | # Copyright (C) 2009-2013 Free Software Foundation, Inc. | |
912 | # | |
913 | # This file is free software; the Free Software Foundation | |
914 | # gives unlimited permission to copy and/or distribute it, | |
915 | # with or without modifications, as long as this notice is preserved. | |
916 | ||
917 | # AM_SILENT_RULES([DEFAULT]) | |
918 | # -------------------------- | |
919 | # Enable less verbose build rules; with the default set to DEFAULT | |
920 | # ("yes" being less verbose, "no" or empty being verbose). | |
921 | AC_DEFUN([AM_SILENT_RULES], | |
922 | [AC_ARG_ENABLE([silent-rules], [dnl | |
923 | AS_HELP_STRING( | |
924 | [--enable-silent-rules], | |
925 | [less verbose build output (undo: "make V=1")]) | |
926 | AS_HELP_STRING( | |
927 | [--disable-silent-rules], | |
928 | [verbose build output (undo: "make V=0")])dnl | |
929 | ]) | |
930 | case $enable_silent_rules in @%:@ ((( | |
931 | yes) AM_DEFAULT_VERBOSITY=0;; | |
932 | no) AM_DEFAULT_VERBOSITY=1;; | |
933 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
934 | esac | |
935 | dnl | |
936 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | |
937 | dnl do not support nested variable expansions. | |
938 | dnl See automake bug#9928 and bug#10237. | |
939 | am_make=${MAKE-make} | |
940 | AC_CACHE_CHECK([whether $am_make supports nested variables], | |
941 | [am_cv_make_support_nested_variables], | |
942 | [if AS_ECHO([['TRUE=$(BAR$(V)) | |
943 | BAR0=false | |
944 | BAR1=true | |
945 | V=1 | |
946 | am__doit: | |
947 | @$(TRUE) | |
948 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | |
949 | am_cv_make_support_nested_variables=yes | |
950 | else | |
951 | am_cv_make_support_nested_variables=no | |
952 | fi]) | |
953 | if test $am_cv_make_support_nested_variables = yes; then | |
954 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | |
955 | AM_V='$(V)' | |
956 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
957 | else | |
958 | AM_V=$AM_DEFAULT_VERBOSITY | |
959 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
960 | fi | |
961 | AC_SUBST([AM_V])dnl | |
962 | AM_SUBST_NOTMAKE([AM_V])dnl | |
963 | AC_SUBST([AM_DEFAULT_V])dnl | |
964 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | |
965 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
966 | AM_BACKSLASH='\' | |
967 | AC_SUBST([AM_BACKSLASH])dnl | |
968 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
969 | ]) | |
970 | ||
971 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
972 | # | |
973 | # This file is free software; the Free Software Foundation | |
974 | # gives unlimited permission to copy and/or distribute it, | |
975 | # with or without modifications, as long as this notice is preserved. | |
832 | 976 | |
833 | 977 | # AM_PROG_INSTALL_STRIP |
834 | 978 | # --------------------- |
835 | # One issue with vendor `install' (even GNU) is that you can't | |
979 | # One issue with vendor 'install' (even GNU) is that you can't | |
836 | 980 | # specify the program used to strip binaries. This is especially |
837 | 981 | # annoying in cross-compiling environments, where the build's strip |
838 | 982 | # is unlikely to handle the host's binaries. |
839 | 983 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
840 | # always use install-sh in `make install-strip', and initialize | |
984 | # always use install-sh in "make install-strip", and initialize | |
841 | 985 | # STRIPPROG with the value of the STRIP variable (set by the user). |
842 | 986 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
843 | 987 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
844 | # Installed binaries are usually stripped using `strip' when the user | |
845 | # run `make install-strip'. However `strip' might not be the right | |
988 | # Installed binaries are usually stripped using 'strip' when the user | |
989 | # run "make install-strip". However 'strip' might not be the right | |
846 | 990 | # tool to use in cross-compilation environments, therefore Automake |
847 | # will honor the `STRIP' environment variable to overrule this program. | |
848 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
991 | # will honor the 'STRIP' environment variable to overrule this program. | |
992 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
849 | 993 | if test "$cross_compiling" != no; then |
850 | 994 | AC_CHECK_TOOL([STRIP], [strip], :) |
851 | 995 | fi |
852 | 996 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
853 | 997 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
854 | 998 | |
855 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
856 | # | |
857 | # This file is free software; the Free Software Foundation | |
858 | # gives unlimited permission to copy and/or distribute it, | |
859 | # with or without modifications, as long as this notice is preserved. | |
860 | ||
861 | # serial 3 | |
999 | # Copyright (C) 2006-2013 Free Software Foundation, Inc. | |
1000 | # | |
1001 | # This file is free software; the Free Software Foundation | |
1002 | # gives unlimited permission to copy and/or distribute it, | |
1003 | # with or without modifications, as long as this notice is preserved. | |
862 | 1004 | |
863 | 1005 | # _AM_SUBST_NOTMAKE(VARIABLE) |
864 | 1006 | # --------------------------- |
873 | 1015 | |
874 | 1016 | # Check how to create a tarball. -*- Autoconf -*- |
875 | 1017 | |
876 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
877 | # | |
878 | # This file is free software; the Free Software Foundation | |
879 | # gives unlimited permission to copy and/or distribute it, | |
880 | # with or without modifications, as long as this notice is preserved. | |
881 | ||
882 | # serial 2 | |
1018 | # Copyright (C) 2004-2013 Free Software Foundation, Inc. | |
1019 | # | |
1020 | # This file is free software; the Free Software Foundation | |
1021 | # gives unlimited permission to copy and/or distribute it, | |
1022 | # with or without modifications, as long as this notice is preserved. | |
883 | 1023 | |
884 | 1024 | # _AM_PROG_TAR(FORMAT) |
885 | 1025 | # -------------------- |
886 | 1026 | # Check how to create a tarball in format FORMAT. |
887 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1027 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
888 | 1028 | # |
889 | 1029 | # Substitute a variable $(am__tar) that is a command |
890 | 1030 | # writing to stdout a FORMAT-tarball containing the directory |
894 | 1034 | # Substitute a variable $(am__untar) that extract such |
895 | 1035 | # a tarball read from stdin. |
896 | 1036 | # $(am__untar) < result.tar |
1037 | # | |
897 | 1038 | AC_DEFUN([_AM_PROG_TAR], |
898 | 1039 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
899 | 1040 | # in the wild :-( We should find a proper way to deprecate it ... |
900 | 1041 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
1042 | ||
1043 | # We'll loop over all known methods to create a tar archive until one works. | |
1044 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
1045 | ||
901 | 1046 | m4_if([$1], [v7], |
902 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
903 | [m4_case([$1], [ustar],, [pax],, | |
904 | [m4_fatal([Unknown tar format])]) | |
905 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
906 | # Loop over all known methods to create a tar archive until one works. | |
907 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
908 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
909 | # Do not fold the above two line into one, because Tru64 sh and | |
910 | # Solaris sh will not grok spaces in the rhs of `-'. | |
911 | for _am_tool in $_am_tools | |
912 | do | |
913 | case $_am_tool in | |
914 | gnutar) | |
915 | for _am_tar in tar gnutar gtar; | |
916 | do | |
917 | AM_RUN_LOG([$_am_tar --version]) && break | |
918 | done | |
919 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
920 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
921 | am__untar="$_am_tar -xf -" | |
922 | ;; | |
923 | plaintar) | |
924 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
925 | # ustar tarball either. | |
926 | (tar --version) >/dev/null 2>&1 && continue | |
927 | am__tar='tar chf - "$$tardir"' | |
928 | am__tar_='tar chf - "$tardir"' | |
929 | am__untar='tar xf -' | |
930 | ;; | |
931 | pax) | |
932 | am__tar='pax -L -x $1 -w "$$tardir"' | |
933 | am__tar_='pax -L -x $1 -w "$tardir"' | |
934 | am__untar='pax -r' | |
935 | ;; | |
936 | cpio) | |
937 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
938 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
939 | am__untar='cpio -i -H $1 -d' | |
940 | ;; | |
941 | none) | |
942 | am__tar=false | |
943 | am__tar_=false | |
944 | am__untar=false | |
945 | ;; | |
946 | esac | |
947 | ||
948 | # If the value was cached, stop now. We just wanted to have am__tar | |
949 | # and am__untar set. | |
950 | test -n "${am_cv_prog_tar_$1}" && break | |
951 | ||
952 | # tar/untar a dummy directory, and stop if the command works | |
1047 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
1048 | ||
1049 | [m4_case([$1], | |
1050 | [ustar], | |
1051 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | |
1052 | # There is notably a 21 bits limit for the UID and the GID. In fact, | |
1053 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | |
1054 | # and bug#13588). | |
1055 | am_max_uid=2097151 # 2^21 - 1 | |
1056 | am_max_gid=$am_max_uid | |
1057 | # The $UID and $GID variables are not portable, so we need to resort | |
1058 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | |
1059 | # below are definitely unexpected, so allow the users to see them | |
1060 | # (that is, avoid stderr redirection). | |
1061 | am_uid=`id -u || echo unknown` | |
1062 | am_gid=`id -g || echo unknown` | |
1063 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | |
1064 | if test $am_uid -le $am_max_uid; then | |
1065 | AC_MSG_RESULT([yes]) | |
1066 | else | |
1067 | AC_MSG_RESULT([no]) | |
1068 | _am_tools=none | |
1069 | fi | |
1070 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | |
1071 | if test $am_gid -le $am_max_gid; then | |
1072 | AC_MSG_RESULT([yes]) | |
1073 | else | |
1074 | AC_MSG_RESULT([no]) | |
1075 | _am_tools=none | |
1076 | fi], | |
1077 | ||
1078 | [pax], | |
1079 | [], | |
1080 | ||
1081 | [m4_fatal([Unknown tar format])]) | |
1082 | ||
1083 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
1084 | ||
1085 | # Go ahead even if we have the value already cached. We do so because we | |
1086 | # need to set the values for the 'am__tar' and 'am__untar' variables. | |
1087 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
1088 | ||
1089 | for _am_tool in $_am_tools; do | |
1090 | case $_am_tool in | |
1091 | gnutar) | |
1092 | for _am_tar in tar gnutar gtar; do | |
1093 | AM_RUN_LOG([$_am_tar --version]) && break | |
1094 | done | |
1095 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
1096 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
1097 | am__untar="$_am_tar -xf -" | |
1098 | ;; | |
1099 | plaintar) | |
1100 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
1101 | # ustar tarball either. | |
1102 | (tar --version) >/dev/null 2>&1 && continue | |
1103 | am__tar='tar chf - "$$tardir"' | |
1104 | am__tar_='tar chf - "$tardir"' | |
1105 | am__untar='tar xf -' | |
1106 | ;; | |
1107 | pax) | |
1108 | am__tar='pax -L -x $1 -w "$$tardir"' | |
1109 | am__tar_='pax -L -x $1 -w "$tardir"' | |
1110 | am__untar='pax -r' | |
1111 | ;; | |
1112 | cpio) | |
1113 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
1114 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
1115 | am__untar='cpio -i -H $1 -d' | |
1116 | ;; | |
1117 | none) | |
1118 | am__tar=false | |
1119 | am__tar_=false | |
1120 | am__untar=false | |
1121 | ;; | |
1122 | esac | |
1123 | ||
1124 | # If the value was cached, stop now. We just wanted to have am__tar | |
1125 | # and am__untar set. | |
1126 | test -n "${am_cv_prog_tar_$1}" && break | |
1127 | ||
1128 | # tar/untar a dummy directory, and stop if the command works. | |
1129 | rm -rf conftest.dir | |
1130 | mkdir conftest.dir | |
1131 | echo GrepMe > conftest.dir/file | |
1132 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
1133 | rm -rf conftest.dir | |
1134 | if test -s conftest.tar; then | |
1135 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
1136 | AM_RUN_LOG([cat conftest.dir/file]) | |
1137 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
1138 | fi | |
1139 | done | |
953 | 1140 | rm -rf conftest.dir |
954 | mkdir conftest.dir | |
955 | echo GrepMe > conftest.dir/file | |
956 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
957 | rm -rf conftest.dir | |
958 | if test -s conftest.tar; then | |
959 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
960 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
961 | fi | |
962 | done | |
963 | rm -rf conftest.dir | |
964 | ||
965 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
966 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1141 | ||
1142 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
1143 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1144 | ||
967 | 1145 | AC_SUBST([am__tar]) |
968 | 1146 | AC_SUBST([am__untar]) |
969 | 1147 | ]) # _AM_PROG_TAR |
0 | #! /bin/sh | |
1 | # Wrapper for compilers which do not understand '-c -o'. | |
2 | ||
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
6 | # Written by Tom Tromey <tromey@cygnus.com>. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # This file is maintained in Automake, please report | |
27 | # bugs to <bug-automake@gnu.org> or send patches to | |
28 | # <automake-patches@gnu.org>. | |
29 | ||
30 | nl=' | |
31 | ' | |
32 | ||
33 | # We need space, tab and new line, in precisely that order. Quoting is | |
34 | # there to prevent tools from complaining about whitespace usage. | |
35 | IFS=" "" $nl" | |
36 | ||
37 | file_conv= | |
38 | ||
39 | # func_file_conv build_file lazy | |
40 | # Convert a $build file to $host form and store it in $file | |
41 | # Currently only supports Windows hosts. If the determined conversion | |
42 | # type is listed in (the comma separated) LAZY, no conversion will | |
43 | # take place. | |
44 | func_file_conv () | |
45 | { | |
46 | file=$1 | |
47 | case $file in | |
48 | / | /[!/]*) # absolute file, and not a UNC file | |
49 | if test -z "$file_conv"; then | |
50 | # lazily determine how to convert abs files | |
51 | case `uname -s` in | |
52 | MINGW*) | |
53 | file_conv=mingw | |
54 | ;; | |
55 | CYGWIN*) | |
56 | file_conv=cygwin | |
57 | ;; | |
58 | *) | |
59 | file_conv=wine | |
60 | ;; | |
61 | esac | |
62 | fi | |
63 | case $file_conv/,$2, in | |
64 | *,$file_conv,*) | |
65 | ;; | |
66 | mingw/*) | |
67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | |
68 | ;; | |
69 | cygwin/*) | |
70 | file=`cygpath -m "$file" || echo "$file"` | |
71 | ;; | |
72 | wine/*) | |
73 | file=`winepath -w "$file" || echo "$file"` | |
74 | ;; | |
75 | esac | |
76 | ;; | |
77 | esac | |
78 | } | |
79 | ||
80 | # func_cl_dashL linkdir | |
81 | # Make cl look for libraries in LINKDIR | |
82 | func_cl_dashL () | |
83 | { | |
84 | func_file_conv "$1" | |
85 | if test -z "$lib_path"; then | |
86 | lib_path=$file | |
87 | else | |
88 | lib_path="$lib_path;$file" | |
89 | fi | |
90 | linker_opts="$linker_opts -LIBPATH:$file" | |
91 | } | |
92 | ||
93 | # func_cl_dashl library | |
94 | # Do a library search-path lookup for cl | |
95 | func_cl_dashl () | |
96 | { | |
97 | lib=$1 | |
98 | found=no | |
99 | save_IFS=$IFS | |
100 | IFS=';' | |
101 | for dir in $lib_path $LIB | |
102 | do | |
103 | IFS=$save_IFS | |
104 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
105 | found=yes | |
106 | lib=$dir/$lib.dll.lib | |
107 | break | |
108 | fi | |
109 | if test -f "$dir/$lib.lib"; then | |
110 | found=yes | |
111 | lib=$dir/$lib.lib | |
112 | break | |
113 | fi | |
114 | if test -f "$dir/lib$lib.a"; then | |
115 | found=yes | |
116 | lib=$dir/lib$lib.a | |
117 | break | |
118 | fi | |
119 | done | |
120 | IFS=$save_IFS | |
121 | ||
122 | if test "$found" != yes; then | |
123 | lib=$lib.lib | |
124 | fi | |
125 | } | |
126 | ||
127 | # func_cl_wrapper cl arg... | |
128 | # Adjust compile command to suit cl | |
129 | func_cl_wrapper () | |
130 | { | |
131 | # Assume a capable shell | |
132 | lib_path= | |
133 | shared=: | |
134 | linker_opts= | |
135 | for arg | |
136 | do | |
137 | if test -n "$eat"; then | |
138 | eat= | |
139 | else | |
140 | case $1 in | |
141 | -o) | |
142 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
143 | eat=1 | |
144 | case $2 in | |
145 | *.o | *.[oO][bB][jJ]) | |
146 | func_file_conv "$2" | |
147 | set x "$@" -Fo"$file" | |
148 | shift | |
149 | ;; | |
150 | *) | |
151 | func_file_conv "$2" | |
152 | set x "$@" -Fe"$file" | |
153 | shift | |
154 | ;; | |
155 | esac | |
156 | ;; | |
157 | -I) | |
158 | eat=1 | |
159 | func_file_conv "$2" mingw | |
160 | set x "$@" -I"$file" | |
161 | shift | |
162 | ;; | |
163 | -I*) | |
164 | func_file_conv "${1#-I}" mingw | |
165 | set x "$@" -I"$file" | |
166 | shift | |
167 | ;; | |
168 | -l) | |
169 | eat=1 | |
170 | func_cl_dashl "$2" | |
171 | set x "$@" "$lib" | |
172 | shift | |
173 | ;; | |
174 | -l*) | |
175 | func_cl_dashl "${1#-l}" | |
176 | set x "$@" "$lib" | |
177 | shift | |
178 | ;; | |
179 | -L) | |
180 | eat=1 | |
181 | func_cl_dashL "$2" | |
182 | ;; | |
183 | -L*) | |
184 | func_cl_dashL "${1#-L}" | |
185 | ;; | |
186 | -static) | |
187 | shared=false | |
188 | ;; | |
189 | -Wl,*) | |
190 | arg=${1#-Wl,} | |
191 | save_ifs="$IFS"; IFS=',' | |
192 | for flag in $arg; do | |
193 | IFS="$save_ifs" | |
194 | linker_opts="$linker_opts $flag" | |
195 | done | |
196 | IFS="$save_ifs" | |
197 | ;; | |
198 | -Xlinker) | |
199 | eat=1 | |
200 | linker_opts="$linker_opts $2" | |
201 | ;; | |
202 | -*) | |
203 | set x "$@" "$1" | |
204 | shift | |
205 | ;; | |
206 | *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) | |
207 | func_file_conv "$1" | |
208 | set x "$@" -Tp"$file" | |
209 | shift | |
210 | ;; | |
211 | *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) | |
212 | func_file_conv "$1" mingw | |
213 | set x "$@" "$file" | |
214 | shift | |
215 | ;; | |
216 | *) | |
217 | set x "$@" "$1" | |
218 | shift | |
219 | ;; | |
220 | esac | |
221 | fi | |
222 | shift | |
223 | done | |
224 | if test -n "$linker_opts"; then | |
225 | linker_opts="-link$linker_opts" | |
226 | fi | |
227 | exec "$@" $linker_opts | |
228 | exit 1 | |
229 | } | |
230 | ||
231 | eat= | |
232 | ||
233 | case $1 in | |
234 | '') | |
235 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
236 | exit 1; | |
237 | ;; | |
238 | -h | --h*) | |
239 | cat <<\EOF | |
240 | Usage: compile [--help] [--version] PROGRAM [ARGS] | |
241 | ||
242 | Wrapper for compilers which do not understand '-c -o'. | |
243 | Remove '-o dest.o' from ARGS, run PROGRAM with the remaining | |
244 | arguments, and rename the output as expected. | |
245 | ||
246 | If you are trying to build a whole package this is not the | |
247 | right script to run: please start by reading the file 'INSTALL'. | |
248 | ||
249 | Report bugs to <bug-automake@gnu.org>. | |
250 | EOF | |
251 | exit $? | |
252 | ;; | |
253 | -v | --v*) | |
254 | echo "compile $scriptversion" | |
255 | exit $? | |
256 | ;; | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
258 | func_cl_wrapper "$@" # Doesn't return... | |
259 | ;; | |
260 | esac | |
261 | ||
262 | ofile= | |
263 | cfile= | |
264 | ||
265 | for arg | |
266 | do | |
267 | if test -n "$eat"; then | |
268 | eat= | |
269 | else | |
270 | case $1 in | |
271 | -o) | |
272 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
273 | # So we strip '-o arg' only if arg is an object. | |
274 | eat=1 | |
275 | case $2 in | |
276 | *.o | *.obj) | |
277 | ofile=$2 | |
278 | ;; | |
279 | *) | |
280 | set x "$@" -o "$2" | |
281 | shift | |
282 | ;; | |
283 | esac | |
284 | ;; | |
285 | *.c) | |
286 | cfile=$1 | |
287 | set x "$@" "$1" | |
288 | shift | |
289 | ;; | |
290 | *) | |
291 | set x "$@" "$1" | |
292 | shift | |
293 | ;; | |
294 | esac | |
295 | fi | |
296 | shift | |
297 | done | |
298 | ||
299 | if test -z "$ofile" || test -z "$cfile"; then | |
300 | # If no '-o' option was seen then we might have been invoked from a | |
301 | # pattern rule where we don't need one. That is ok -- this is a | |
302 | # normal compilation that the losing compiler can handle. If no | |
303 | # '.c' file was seen then we are probably linking. That is also | |
304 | # ok. | |
305 | exec "$@" | |
306 | fi | |
307 | ||
308 | # Name of file we expect compiler to create. | |
309 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | |
310 | ||
311 | # Create the lock directory. | |
312 | # Note: use '[/\\:.-]' here to ensure that we don't use the same name | |
313 | # that we are using for the .o file. Also, base the name on the expected | |
314 | # object file name, since that is what matters with a parallel build. | |
315 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | |
316 | while true; do | |
317 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
318 | break | |
319 | fi | |
320 | sleep 1 | |
321 | done | |
322 | # FIXME: race condition here if user kills between mkdir and trap. | |
323 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
324 | ||
325 | # Run the compile. | |
326 | "$@" | |
327 | ret=$? | |
328 | ||
329 | if test -f "$cofile"; then | |
330 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | |
331 | elif test -f "${cofile}bj"; then | |
332 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |
333 | fi | |
334 | ||
335 | rmdir "$lockdir" | |
336 | exit $ret | |
337 | ||
338 | # Local Variables: | |
339 | # mode: shell-script | |
340 | # sh-indentation: 2 | |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # time-stamp-start: "scriptversion=" | |
343 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-end: "; # UTC" | |
346 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-02-10' | |
2 | # Copyright 1992-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-05-16' | |
7 | 5 | |
8 | 6 | # This file is free software; you can redistribute it and/or modify it |
9 | 7 | # under the terms of the GNU General Public License as published by |
10 | # the Free Software Foundation; either version 2 of the License, or | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
11 | 9 | # (at your option) any later version. |
12 | 10 | # |
13 | 11 | # This program is distributed in the hope that it will be useful, but |
21 | 19 | # As a special exception to the GNU General Public License, if you |
22 | 20 | # distribute this file as part of a program that contains a |
23 | 21 | # 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 | ||
27 | # Originally written by Per Bothner. Please send patches (context | |
28 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
29 | # entry. | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
30 | 25 | # |
31 | # This script attempts to guess a canonical system name similar to | |
32 | # config.sub. If it succeeds, it prints the system name on stdout, and | |
33 | # exits with 0. Otherwise, it exits with 1. | |
26 | # Originally written by Per Bothner. | |
34 | 27 | # |
35 | 28 | # You can get the latest version of this script from: |
36 | 29 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
30 | # | |
31 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
32 | ||
37 | 33 | |
38 | 34 | me=`echo "$0" | sed -e 's,.*/,,'` |
39 | 35 | |
53 | 49 | GNU config.guess ($timestamp) |
54 | 50 | |
55 | 51 | Originally written by Per Bothner. |
56 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
57 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
58 | Free Software Foundation, Inc. | |
52 | Copyright 1992-2013 Free Software Foundation, Inc. | |
59 | 53 | |
60 | 54 | This is free software; see the source for copying conditions. There is NO |
61 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
136 | 130 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
137 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
138 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | ||
134 | case "${UNAME_SYSTEM}" in | |
135 | Linux|GNU|GNU/*) | |
136 | # If the system lacks a compiler, then just pick glibc. | |
137 | # We could probably try harder. | |
138 | LIBC=gnu | |
139 | ||
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
142 | #include <features.h> | |
143 | #if defined(__UCLIBC__) | |
144 | LIBC=uclibc | |
145 | #elif defined(__dietlibc__) | |
146 | LIBC=dietlibc | |
147 | #else | |
148 | LIBC=gnu | |
149 | #endif | |
150 | EOF | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
152 | ;; | |
153 | esac | |
139 | 154 | |
140 | 155 | # Note: order is significant - the case branches are not exclusive. |
141 | 156 | |
198 | 213 | # contains redundant information, the shorter form: |
199 | 214 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
200 | 215 | echo "${machine}-${os}${release}" |
216 | exit ;; | |
217 | *:Bitrig:*:*) | |
218 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | |
219 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
201 | 220 | exit ;; |
202 | 221 | *:OpenBSD:*:*) |
203 | 222 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
301 | 320 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
302 | 321 | echo arm-acorn-riscix${UNAME_RELEASE} |
303 | 322 | exit ;; |
304 | arm:riscos:*:*|arm:RISCOS:*:*) | |
323 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
305 | 324 | echo arm-unknown-riscos |
306 | 325 | exit ;; |
307 | 326 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
790 | 809 | exit ;; |
791 | 810 | *:FreeBSD:*:*) |
792 | 811 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
793 | case ${UNAME_PROCESSOR} in | |
794 | amd64) | |
795 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
796 | *) | |
797 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
798 | esac | |
812 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
799 | 813 | exit ;; |
800 | 814 | i*:CYGWIN*:*) |
801 | 815 | echo ${UNAME_MACHINE}-pc-cygwin |
816 | exit ;; | |
817 | *:MINGW64*:*) | |
818 | echo ${UNAME_MACHINE}-pc-mingw64 | |
802 | 819 | exit ;; |
803 | 820 | *:MINGW*:*) |
804 | 821 | echo ${UNAME_MACHINE}-pc-mingw32 |
851 | 868 | exit ;; |
852 | 869 | *:GNU:*:*) |
853 | 870 | # the GNU system |
854 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
871 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
855 | 872 | exit ;; |
856 | 873 | *:GNU/*:*:*) |
857 | 874 | # 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 | |
875 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
859 | 876 | exit ;; |
860 | 877 | i*86:Minix:*:*) |
861 | 878 | echo ${UNAME_MACHINE}-pc-minix |
862 | 879 | exit ;; |
863 | 880 | aarch64:Linux:*:*) |
864 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
881 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
865 | 882 | exit ;; |
866 | 883 | aarch64_be:Linux:*:*) |
867 | 884 | UNAME_MACHINE=aarch64_be |
868 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
885 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
869 | 886 | exit ;; |
870 | 887 | alpha:Linux:*:*) |
871 | 888 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
878 | 895 | EV68*) UNAME_MACHINE=alphaev68 ;; |
879 | 896 | esac |
880 | 897 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
881 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
882 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
898 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | |
899 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
900 | exit ;; | |
901 | arc:Linux:*:* | arceb:Linux:*:*) | |
902 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
883 | 903 | exit ;; |
884 | 904 | arm*:Linux:*:*) |
885 | 905 | eval $set_cc_for_build |
886 | 906 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
887 | 907 | | grep -q __ARM_EABI__ |
888 | 908 | then |
889 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
909 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
890 | 910 | else |
891 | 911 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
892 | 912 | | grep -q __ARM_PCS_VFP |
893 | 913 | then |
894 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
914 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
895 | 915 | else |
896 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
916 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
897 | 917 | fi |
898 | 918 | fi |
899 | 919 | exit ;; |
900 | 920 | avr32*:Linux:*:*) |
901 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
921 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
902 | 922 | exit ;; |
903 | 923 | cris:Linux:*:*) |
904 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
924 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
905 | 925 | exit ;; |
906 | 926 | crisv32:Linux:*:*) |
907 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
927 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
908 | 928 | exit ;; |
909 | 929 | frv:Linux:*:*) |
910 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
930 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
911 | 931 | exit ;; |
912 | 932 | hexagon:Linux:*:*) |
913 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
933 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
914 | 934 | exit ;; |
915 | 935 | i*86:Linux:*:*) |
916 | LIBC=gnu | |
917 | eval $set_cc_for_build | |
918 | sed 's/^ //' << EOF >$dummy.c | |
919 | #ifdef __dietlibc__ | |
920 | LIBC=dietlibc | |
921 | #endif | |
922 | EOF | |
923 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
924 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
936 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
925 | 937 | exit ;; |
926 | 938 | ia64:Linux:*:*) |
927 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | 940 | exit ;; |
929 | 941 | m32r*:Linux:*:*) |
930 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
942 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
931 | 943 | exit ;; |
932 | 944 | m68*:Linux:*:*) |
933 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
945 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
934 | 946 | exit ;; |
935 | 947 | mips:Linux:*:* | mips64:Linux:*:*) |
936 | 948 | eval $set_cc_for_build |
949 | 961 | #endif |
950 | 962 | EOF |
951 | 963 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
952 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
964 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
953 | 965 | ;; |
966 | or1k:Linux:*:*) | |
967 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
968 | exit ;; | |
954 | 969 | or32:Linux:*:*) |
955 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
970 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
956 | 971 | exit ;; |
957 | 972 | padre:Linux:*:*) |
958 | echo sparc-unknown-linux-gnu | |
973 | echo sparc-unknown-linux-${LIBC} | |
959 | 974 | exit ;; |
960 | 975 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
961 | echo hppa64-unknown-linux-gnu | |
976 | echo hppa64-unknown-linux-${LIBC} | |
962 | 977 | exit ;; |
963 | 978 | parisc:Linux:*:* | hppa:Linux:*:*) |
964 | 979 | # Look for CPU level |
965 | 980 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
966 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
967 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
968 | *) echo hppa-unknown-linux-gnu ;; | |
981 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
982 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
983 | *) echo hppa-unknown-linux-${LIBC} ;; | |
969 | 984 | esac |
970 | 985 | exit ;; |
971 | 986 | ppc64:Linux:*:*) |
972 | echo powerpc64-unknown-linux-gnu | |
987 | echo powerpc64-unknown-linux-${LIBC} | |
973 | 988 | exit ;; |
974 | 989 | ppc:Linux:*:*) |
975 | echo powerpc-unknown-linux-gnu | |
990 | echo powerpc-unknown-linux-${LIBC} | |
976 | 991 | exit ;; |
977 | 992 | s390:Linux:*:* | s390x:Linux:*:*) |
978 | echo ${UNAME_MACHINE}-ibm-linux | |
993 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
979 | 994 | exit ;; |
980 | 995 | sh64*:Linux:*:*) |
981 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
996 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
982 | 997 | exit ;; |
983 | 998 | sh*:Linux:*:*) |
984 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
999 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
985 | 1000 | exit ;; |
986 | 1001 | sparc:Linux:*:* | sparc64:Linux:*:*) |
987 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1002 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
988 | 1003 | exit ;; |
989 | 1004 | tile*:Linux:*:*) |
990 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1005 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
991 | 1006 | exit ;; |
992 | 1007 | vax:Linux:*:*) |
993 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
1008 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
994 | 1009 | exit ;; |
995 | 1010 | x86_64:Linux:*:*) |
996 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
997 | 1012 | exit ;; |
998 | 1013 | xtensa*:Linux:*:*) |
999 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1000 | 1015 | exit ;; |
1001 | 1016 | i*86:DYNIX/ptx:4*:*) |
1002 | 1017 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1200 | 1215 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1201 | 1216 | echo i586-pc-haiku |
1202 | 1217 | exit ;; |
1218 | x86_64:Haiku:*:*) | |
1219 | echo x86_64-unknown-haiku | |
1220 | exit ;; | |
1203 | 1221 | SX-4:SUPER-UX:*:*) |
1204 | 1222 | echo sx4-nec-superux${UNAME_RELEASE} |
1205 | 1223 | exit ;; |
1226 | 1244 | exit ;; |
1227 | 1245 | *:Darwin:*:*) |
1228 | 1246 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1229 | case $UNAME_PROCESSOR in | |
1230 | i386) | |
1231 | eval $set_cc_for_build | |
1232 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1233 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1234 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1235 | grep IS_64BIT_ARCH >/dev/null | |
1236 | then | |
1237 | UNAME_PROCESSOR="x86_64" | |
1238 | fi | |
1239 | fi ;; | |
1240 | unknown) UNAME_PROCESSOR=powerpc ;; | |
1241 | esac | |
1247 | eval $set_cc_for_build | |
1248 | if test "$UNAME_PROCESSOR" = unknown ; then | |
1249 | UNAME_PROCESSOR=powerpc | |
1250 | fi | |
1251 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1252 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1253 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1254 | grep IS_64BIT_ARCH >/dev/null | |
1255 | then | |
1256 | case $UNAME_PROCESSOR in | |
1257 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1258 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1259 | esac | |
1260 | fi | |
1261 | fi | |
1242 | 1262 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1243 | 1263 | exit ;; |
1244 | 1264 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1255 | 1275 | NEO-?:NONSTOP_KERNEL:*:*) |
1256 | 1276 | echo neo-tandem-nsk${UNAME_RELEASE} |
1257 | 1277 | exit ;; |
1258 | NSE-?:NONSTOP_KERNEL:*:*) | |
1278 | NSE-*:NONSTOP_KERNEL:*:*) | |
1259 | 1279 | echo nse-tandem-nsk${UNAME_RELEASE} |
1260 | 1280 | exit ;; |
1261 | 1281 | NSR-?:NONSTOP_KERNEL:*:*) |
1328 | 1348 | echo ${UNAME_MACHINE}-unknown-esx |
1329 | 1349 | exit ;; |
1330 | 1350 | esac |
1331 | ||
1332 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1333 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1334 | 1351 | |
1335 | 1352 | eval $set_cc_for_build |
1336 | 1353 | cat >$dummy.c <<EOF |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-04-18' | |
7 | ||
8 | # This file is (in principle) common to ALL GNU software. | |
9 | # The presence of a machine in this file suggests that SOME GNU software | |
10 | # can handle that machine. It does not imply ALL GNU software can. | |
11 | # | |
12 | # This file is free software; you can redistribute it and/or modify | |
13 | # it under the terms of the GNU General Public License as published by | |
14 | # the Free Software Foundation; either version 2 of the License, or | |
2 | # Copyright 1992-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-04-24' | |
5 | ||
6 | # This file is free software; you can redistribute it and/or modify it | |
7 | # under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
15 | 9 | # (at your option) any later version. |
16 | 10 | # |
17 | # This program is distributed in the hope that it will be useful, | |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | # GNU General Public License for more details. | |
11 | # This program is distributed in the hope that it will be useful, but | |
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # General Public License for more details. | |
21 | 15 | # |
22 | 16 | # You should have received a copy of the GNU General Public License |
23 | 17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
25 | 19 | # As a special exception to the GNU General Public License, if you |
26 | 20 | # distribute this file as part of a program that contains a |
27 | 21 | # configuration script generated by Autoconf, you may include it under |
28 | # the same distribution terms that you use for the rest of that program. | |
29 | ||
30 | ||
31 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
32 | # diff and a properly formatted GNU ChangeLog entry. | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
25 | ||
26 | ||
27 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
33 | 28 | # |
34 | 29 | # Configuration subroutine to validate and canonicalize a configuration type. |
35 | 30 | # Supply the specified configuration type as an argument. |
72 | 67 | version="\ |
73 | 68 | GNU config.sub ($timestamp) |
74 | 69 | |
75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
76 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
77 | Free Software Foundation, Inc. | |
70 | Copyright 1992-2013 Free Software Foundation, Inc. | |
78 | 71 | |
79 | 72 | This is free software; see the source for copying conditions. There is NO |
80 | 73 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
122 | 115 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
123 | 116 | case $maybe_os in |
124 | 117 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
125 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
118 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
126 | 119 | knetbsd*-gnu* | netbsd*-gnu* | \ |
127 | 120 | kopensolaris*-gnu* | \ |
128 | 121 | storm-chaos* | os2-emx* | rtmk-nova*) |
155 | 148 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
156 | 149 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
157 | 150 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
158 | -apple | -axis | -knuth | -cray | -microblaze) | |
151 | -apple | -axis | -knuth | -cray | -microblaze*) | |
159 | 152 | os= |
160 | 153 | basic_machine=$1 |
161 | 154 | ;; |
258 | 251 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
259 | 252 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
260 | 253 | | am33_2.0 \ |
261 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
262 | | be32 | be64 \ | |
254 | | arc | arceb \ | |
255 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
256 | | avr | avr32 \ | |
257 | | be32 | be64 \ | |
263 | 258 | | bfin \ |
264 | 259 | | c4x | clipper \ |
265 | 260 | | d10v | d30v | dlx | dsp16xx \ |
272 | 267 | | le32 | le64 \ |
273 | 268 | | lm32 \ |
274 | 269 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
275 | | maxq | mb | microblaze | mcore | mep | metag \ | |
270 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
276 | 271 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
277 | 272 | | mips16 \ |
278 | 273 | | mips64 | mips64el \ |
290 | 285 | | mipsisa64r2 | mipsisa64r2el \ |
291 | 286 | | mipsisa64sb1 | mipsisa64sb1el \ |
292 | 287 | | mipsisa64sr71k | mipsisa64sr71kel \ |
288 | | mipsr5900 | mipsr5900el \ | |
293 | 289 | | mipstx39 | mipstx39el \ |
294 | 290 | | mn10200 | mn10300 \ |
295 | 291 | | moxie \ |
296 | 292 | | mt \ |
297 | 293 | | msp430 \ |
298 | 294 | | nds32 | nds32le | nds32be \ |
299 | | nios | nios2 \ | |
295 | | nios | nios2 | nios2eb | nios2el \ | |
300 | 296 | | ns16k | ns32k \ |
301 | 297 | | open8 \ |
302 | | or32 \ | |
298 | | or1k | or32 \ | |
303 | 299 | | pdp10 | pdp11 | pj | pjl \ |
304 | 300 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
305 | 301 | | pyramid \ |
369 | 365 | | aarch64-* | aarch64_be-* \ |
370 | 366 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
371 | 367 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
368 | | alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* | arceb-* \ | |
373 | 369 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
374 | 370 | | avr-* | avr32-* \ |
375 | 371 | | be32-* | be64-* \ |
388 | 384 | | lm32-* \ |
389 | 385 | | m32c-* | m32r-* | m32rle-* \ |
390 | 386 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
387 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
388 | | microblaze-* | microblazeel-* \ | |
392 | 389 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
393 | 390 | | mips16-* \ |
394 | 391 | | mips64-* | mips64el-* \ |
406 | 403 | | mipsisa64r2-* | mipsisa64r2el-* \ |
407 | 404 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
408 | 405 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
406 | | mipsr5900-* | mipsr5900el-* \ | |
409 | 407 | | mipstx39-* | mipstx39el-* \ |
410 | 408 | | mmix-* \ |
411 | 409 | | mt-* \ |
412 | 410 | | msp430-* \ |
413 | 411 | | nds32-* | nds32le-* | nds32be-* \ |
414 | | nios-* | nios2-* \ | |
412 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
415 | 413 | | none-* | np1-* | ns16k-* | ns32k-* \ |
416 | 414 | | open8-* \ |
417 | 415 | | orion-* \ |
474 | 472 | basic_machine=a29k-none |
475 | 473 | os=-bsd |
476 | 474 | ;; |
477 | amd64) | |
478 | basic_machine=x86_64-pc | |
479 | ;; | |
480 | amd64-*) | |
481 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
482 | ;; | |
483 | 475 | amdahl) |
484 | 476 | basic_machine=580-amdahl |
485 | 477 | os=-sysv |
787 | 779 | basic_machine=ns32k-utek |
788 | 780 | os=-sysv |
789 | 781 | ;; |
790 | microblaze) | |
782 | microblaze*) | |
791 | 783 | basic_machine=microblaze-xilinx |
784 | ;; | |
785 | mingw64) | |
786 | basic_machine=x86_64-pc | |
787 | os=-mingw64 | |
792 | 788 | ;; |
793 | 789 | mingw32) |
794 | 790 | basic_machine=i386-pc |
1018 | 1014 | basic_machine=i586-unknown |
1019 | 1015 | os=-pw32 |
1020 | 1016 | ;; |
1021 | rdos) | |
1017 | rdos | rdos64) | |
1018 | basic_machine=x86_64-pc | |
1019 | os=-rdos | |
1020 | ;; | |
1021 | rdos32) | |
1022 | 1022 | basic_machine=i386-pc |
1023 | 1023 | os=-rdos |
1024 | 1024 | ;; |
1345 | 1345 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1346 | 1346 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1347 | 1347 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1348 | | -sym* | -kopensolaris* \ | |
1348 | | -sym* | -kopensolaris* | -plan9* \ | |
1349 | 1349 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1350 | 1350 | | -aos* | -aros* \ |
1351 | 1351 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1352 | 1352 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1353 | 1353 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1354 | | -openbsd* | -solidbsd* \ | |
1354 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1355 | 1355 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1356 | 1356 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1357 | 1357 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1358 | 1358 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1359 | 1359 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1360 | 1360 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1361 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-uclibc* \ | |
1361 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1363 | 1363 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1364 | 1364 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1365 | 1365 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1491 | 1491 | -aros*) |
1492 | 1492 | os=-aros |
1493 | 1493 | ;; |
1494 | -kaos*) | |
1495 | os=-kaos | |
1496 | ;; | |
1497 | 1494 | -zvmoe) |
1498 | 1495 | os=-zvmoe |
1499 | 1496 | ;; |
1583 | 1580 | os=-elf |
1584 | 1581 | ;; |
1585 | 1582 | mips*-*) |
1583 | os=-elf | |
1584 | ;; | |
1585 | or1k-*) | |
1586 | 1586 | os=-elf |
1587 | 1587 | ;; |
1588 | 1588 | or32-*) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.3. | |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.4-rc1. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
576 | 576 | # Identity of this package. |
577 | 577 | PACKAGE_NAME='dillo' |
578 | 578 | PACKAGE_TARNAME='dillo' |
579 | PACKAGE_VERSION='3.0.3' | |
580 | PACKAGE_STRING='dillo 3.0.3' | |
579 | PACKAGE_VERSION='3.0.4-rc1' | |
580 | PACKAGE_STRING='dillo 3.0.4-rc1' | |
581 | 581 | PACKAGE_BUGREPORT='' |
582 | 582 | PACKAGE_URL='' |
583 | 583 | |
622 | 622 | am__EXEEXT_TRUE |
623 | 623 | LTLIBOBJS |
624 | 624 | LIBOBJS |
625 | LIBX11_LIBS | |
625 | 626 | LIBICONV_LIBS |
626 | 627 | LIBFLTK_LIBS |
627 | 628 | LIBFLTK_CFLAGS |
662 | 663 | LDFLAGS |
663 | 664 | CFLAGS |
664 | 665 | CC |
666 | AM_BACKSLASH | |
667 | AM_DEFAULT_VERBOSITY | |
668 | AM_DEFAULT_V | |
669 | AM_V | |
665 | 670 | am__untar |
666 | 671 | am__tar |
667 | 672 | AMTAR |
738 | 743 | ac_subst_files='' |
739 | 744 | ac_user_opts=' |
740 | 745 | enable_option_checking |
746 | enable_silent_rules | |
741 | 747 | with_jpeg_lib |
742 | 748 | with_jpeg_inc |
743 | 749 | enable_efence |
1305 | 1311 | # Omit some internal or obsolete options to make the list less imposing. |
1306 | 1312 | # This message is too long to be a string in the A/UX 3.1 sh. |
1307 | 1313 | cat <<_ACEOF |
1308 | \`configure' configures dillo 3.0.3 to adapt to many kinds of systems. | |
1314 | \`configure' configures dillo 3.0.4-rc1 to adapt to many kinds of systems. | |
1309 | 1315 | |
1310 | 1316 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1311 | 1317 | |
1376 | 1382 | |
1377 | 1383 | if test -n "$ac_init_help"; then |
1378 | 1384 | case $ac_init_help in |
1379 | short | recursive ) echo "Configuration of dillo 3.0.3:";; | |
1385 | short | recursive ) echo "Configuration of dillo 3.0.4-rc1:";; | |
1380 | 1386 | esac |
1381 | 1387 | cat <<\_ACEOF |
1382 | 1388 | |
1384 | 1390 | --disable-option-checking ignore unrecognized --enable/--with options |
1385 | 1391 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1386 | 1392 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1393 | --enable-silent-rules less verbose build output (undo: "make V=1") | |
1394 | --disable-silent-rules verbose build output (undo: "make V=0") | |
1387 | 1395 | --enable-efence Try to compile and run with Electric Fence |
1388 | 1396 | --enable-gprof Try to compile and run with profiling enabled |
1389 | 1397 | --enable-insure Try to compile and run with Insure++ |
1395 | 1403 | --disable-gif Disable support for GIF images |
1396 | 1404 | --disable-threaded-dns Disable the advantage of a reentrant resolver library |
1397 | 1405 | --enable-rtfl Build with rtfl messages (for debugging rendering) |
1398 | --disable-dependency-tracking speeds up one-time build | |
1399 | --enable-dependency-tracking do not reject slow dependency extractors | |
1406 | --enable-dependency-tracking | |
1407 | do not reject slow dependency extractors | |
1408 | --disable-dependency-tracking | |
1409 | speeds up one-time build | |
1400 | 1410 | |
1401 | 1411 | Optional Packages: |
1402 | 1412 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1482 | 1492 | test -n "$ac_init_help" && exit $ac_status |
1483 | 1493 | if $ac_init_version; then |
1484 | 1494 | cat <<\_ACEOF |
1485 | dillo configure 3.0.3 | |
1495 | dillo configure 3.0.4-rc1 | |
1486 | 1496 | generated by GNU Autoconf 2.69 |
1487 | 1497 | |
1488 | 1498 | Copyright (C) 2012 Free Software Foundation, Inc. |
2108 | 2118 | |
2109 | 2119 | } # ac_fn_c_check_func |
2110 | 2120 | |
2121 | # ac_fn_cxx_try_run LINENO | |
2122 | # ------------------------ | |
2123 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
2124 | # that executables *can* be run. | |
2125 | ac_fn_cxx_try_run () | |
2126 | { | |
2127 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2128 | if { { ac_try="$ac_link" | |
2129 | case "(($ac_try" in | |
2130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2131 | *) ac_try_echo=$ac_try;; | |
2132 | esac | |
2133 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2134 | $as_echo "$ac_try_echo"; } >&5 | |
2135 | (eval "$ac_link") 2>&5 | |
2136 | ac_status=$? | |
2137 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2138 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
2139 | { { case "(($ac_try" in | |
2140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2141 | *) ac_try_echo=$ac_try;; | |
2142 | esac | |
2143 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2144 | $as_echo "$ac_try_echo"; } >&5 | |
2145 | (eval "$ac_try") 2>&5 | |
2146 | ac_status=$? | |
2147 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2148 | test $ac_status = 0; }; }; then : | |
2149 | ac_retval=0 | |
2150 | else | |
2151 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
2152 | $as_echo "$as_me: failed program was:" >&5 | |
2153 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2154 | ||
2155 | ac_retval=$ac_status | |
2156 | fi | |
2157 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
2158 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2159 | as_fn_set_status $ac_retval | |
2160 | ||
2161 | } # ac_fn_cxx_try_run | |
2162 | ||
2111 | 2163 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2112 | 2164 | # ------------------------------------------------------- |
2113 | 2165 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2198 | 2250 | This file contains any messages produced by compilers while |
2199 | 2251 | running configure, to aid debugging if configure makes a mistake. |
2200 | 2252 | |
2201 | It was created by dillo $as_me 3.0.3, which was | |
2253 | It was created by dillo $as_me 3.0.4-rc1, which was | |
2202 | 2254 | generated by GNU Autoconf 2.69. Invocation command line was |
2203 | 2255 | |
2204 | 2256 | $ $0 $@ |
2687 | 2739 | NONENONEs,x,x, && |
2688 | 2740 | program_prefix=${target_alias}- |
2689 | 2741 | |
2690 | am__api_version='1.11' | |
2742 | am__api_version='1.14' | |
2691 | 2743 | |
2692 | 2744 | # Find a good install program. We prefer a C program (faster), |
2693 | 2745 | # so one script is as good as another. But avoid the broken or |
2784 | 2836 | |
2785 | 2837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2786 | 2838 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2787 | # Just in case | |
2788 | sleep 1 | |
2789 | echo timestamp > conftest.file | |
2790 | 2839 | # Reject unsafe characters in $srcdir or the absolute working directory |
2791 | 2840 | # name. Accept space and tab only in the latter. |
2792 | 2841 | am_lf=' |
2797 | 2846 | esac |
2798 | 2847 | case $srcdir in |
2799 | 2848 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2800 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2849 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2801 | 2850 | esac |
2802 | 2851 | |
2803 | # Do `set' in a subshell so we don't clobber the current shell's | |
2852 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2804 | 2853 | # arguments. Must try -L first in case configure is actually a |
2805 | 2854 | # symlink; some systems play weird games with the mod time of symlinks |
2806 | 2855 | # (eg FreeBSD returns the mod time of the symlink's containing |
2807 | 2856 | # directory). |
2808 | 2857 | if ( |
2809 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2810 | if test "$*" = "X"; then | |
2811 | # -L didn't work. | |
2812 | set X `ls -t "$srcdir/configure" conftest.file` | |
2813 | fi | |
2814 | rm -f conftest.file | |
2815 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2816 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2817 | ||
2818 | # If neither matched, then we have a broken ls. This can happen | |
2819 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2820 | # broken ls alias from the environment. This has actually | |
2821 | # happened. Such a system could not be considered "sane". | |
2822 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2823 | alias in your environment" "$LINENO" 5 | |
2824 | fi | |
2825 | ||
2858 | am_has_slept=no | |
2859 | for am_try in 1 2; do | |
2860 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
2861 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2862 | if test "$*" = "X"; then | |
2863 | # -L didn't work. | |
2864 | set X `ls -t "$srcdir/configure" conftest.file` | |
2865 | fi | |
2866 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2867 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2868 | ||
2869 | # If neither matched, then we have a broken ls. This can happen | |
2870 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2871 | # broken ls alias from the environment. This has actually | |
2872 | # happened. Such a system could not be considered "sane". | |
2873 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2874 | alias in your environment" "$LINENO" 5 | |
2875 | fi | |
2876 | if test "$2" = conftest.file || test $am_try -eq 2; then | |
2877 | break | |
2878 | fi | |
2879 | # Just in case. | |
2880 | sleep 1 | |
2881 | am_has_slept=yes | |
2882 | done | |
2826 | 2883 | test "$2" = conftest.file |
2827 | 2884 | ) |
2828 | 2885 | then |
2834 | 2891 | fi |
2835 | 2892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2836 | 2893 | $as_echo "yes" >&6; } |
2894 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2895 | # generated files are strictly newer. | |
2896 | am_sleep_pid= | |
2897 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2898 | ( sleep 1 ) & | |
2899 | am_sleep_pid=$! | |
2900 | fi | |
2901 | ||
2902 | rm -f conftest.file | |
2903 | ||
2837 | 2904 | test "$program_prefix" != NONE && |
2838 | 2905 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2839 | 2906 | # Use a double $ so make ignores it. |
2856 | 2923 | esac |
2857 | 2924 | fi |
2858 | 2925 | # Use eval to expand $SHELL |
2859 | if eval "$MISSING --run true"; then | |
2860 | am_missing_run="$MISSING --run " | |
2926 | if eval "$MISSING --is-lightweight"; then | |
2927 | am_missing_run="$MISSING " | |
2861 | 2928 | else |
2862 | 2929 | am_missing_run= |
2863 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2864 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2930 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2931 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2865 | 2932 | fi |
2866 | 2933 | |
2867 | 2934 | if test x"${install_sh}" != xset; then |
2873 | 2940 | esac |
2874 | 2941 | fi |
2875 | 2942 | |
2876 | # Installed binaries are usually stripped using `strip' when the user | |
2877 | # run `make install-strip'. However `strip' might not be the right | |
2943 | # Installed binaries are usually stripped using 'strip' when the user | |
2944 | # run "make install-strip". However 'strip' might not be the right | |
2878 | 2945 | # tool to use in cross-compilation environments, therefore Automake |
2879 | # will honor the `STRIP' environment variable to overrule this program. | |
2946 | # will honor the 'STRIP' environment variable to overrule this program. | |
2880 | 2947 | if test "$cross_compiling" != no; then |
2881 | 2948 | if test -n "$ac_tool_prefix"; then |
2882 | 2949 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3015 | 3082 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3016 | 3083 | $as_echo "$MKDIR_P" >&6; } |
3017 | 3084 | |
3018 | mkdir_p="$MKDIR_P" | |
3019 | case $mkdir_p in | |
3020 | [\\/$]* | ?:[\\/]*) ;; | |
3021 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
3022 | esac | |
3023 | ||
3024 | 3085 | for ac_prog in gawk mawk nawk awk |
3025 | 3086 | do |
3026 | 3087 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3103 | 3164 | fi |
3104 | 3165 | rmdir .tst 2>/dev/null |
3105 | 3166 | |
3167 | # Check whether --enable-silent-rules was given. | |
3168 | if test "${enable_silent_rules+set}" = set; then : | |
3169 | enableval=$enable_silent_rules; | |
3170 | fi | |
3171 | ||
3172 | case $enable_silent_rules in # ((( | |
3173 | yes) AM_DEFAULT_VERBOSITY=0;; | |
3174 | no) AM_DEFAULT_VERBOSITY=1;; | |
3175 | *) AM_DEFAULT_VERBOSITY=1;; | |
3176 | esac | |
3177 | am_make=${MAKE-make} | |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
3179 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
3180 | if ${am_cv_make_support_nested_variables+:} false; then : | |
3181 | $as_echo_n "(cached) " >&6 | |
3182 | else | |
3183 | if $as_echo 'TRUE=$(BAR$(V)) | |
3184 | BAR0=false | |
3185 | BAR1=true | |
3186 | V=1 | |
3187 | am__doit: | |
3188 | @$(TRUE) | |
3189 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
3190 | am_cv_make_support_nested_variables=yes | |
3191 | else | |
3192 | am_cv_make_support_nested_variables=no | |
3193 | fi | |
3194 | fi | |
3195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
3196 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
3197 | if test $am_cv_make_support_nested_variables = yes; then | |
3198 | AM_V='$(V)' | |
3199 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
3200 | else | |
3201 | AM_V=$AM_DEFAULT_VERBOSITY | |
3202 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
3203 | fi | |
3204 | AM_BACKSLASH='\' | |
3205 | ||
3106 | 3206 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3107 | 3207 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3108 | 3208 | # is not polluted with repeated "-I." |
3125 | 3225 | |
3126 | 3226 | # Define the identity of the package. |
3127 | 3227 | PACKAGE='dillo' |
3128 | VERSION='3.0.3' | |
3228 | VERSION='3.0.4-rc1' | |
3129 | 3229 | |
3130 | 3230 | |
3131 | 3231 | cat >>confdefs.h <<_ACEOF |
3152 | 3252 | |
3153 | 3253 | |
3154 | 3254 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3255 | ||
3256 | # For better backward compatibility. To be removed once Automake 1.9.x | |
3257 | # dies out for good. For more background, see: | |
3258 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
3259 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
3260 | mkdir_p='$(MKDIR_P)' | |
3155 | 3261 | |
3156 | 3262 | # We need awk for the "check" target. The system "awk" is bad on |
3157 | 3263 | # some platforms. |
3159 | 3265 | # in the wild :-( We should find a proper way to deprecate it ... |
3160 | 3266 | AMTAR='$${TAR-tar}' |
3161 | 3267 | |
3268 | ||
3269 | # We'll loop over all known methods to create a tar archive until one works. | |
3270 | _am_tools='gnutar pax cpio none' | |
3271 | ||
3162 | 3272 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3163 | 3273 | |
3164 | 3274 | |
3165 | 3275 | |
3166 | 3276 | |
3167 | 3277 | |
3278 | ||
3279 | # POSIX will say in a future version that running "rm -f" with no argument | |
3280 | # is OK; and we want to be able to make that assumption in our Makefile | |
3281 | # recipes. So use an aggressive probe to check that the usage we want is | |
3282 | # actually supported "in the wild" to an acceptable degree. | |
3283 | # See automake bug#10828. | |
3284 | # To make any issue more visible, cause the running configure to be aborted | |
3285 | # by default if the 'rm' program in use doesn't match our expectations; the | |
3286 | # user can still override this though. | |
3287 | if rm -f && rm -fr && rm -rf; then : OK; else | |
3288 | cat >&2 <<'END' | |
3289 | Oops! | |
3290 | ||
3291 | Your 'rm' program seems unable to run without file operands specified | |
3292 | on the command line, even when the '-f' option is present. This is contrary | |
3293 | to the behaviour of most rm programs out there, and not conforming with | |
3294 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
3295 | ||
3296 | Please tell bug-automake@gnu.org about your system, including the value | |
3297 | of your $PATH and any error possibly output before this message. This | |
3298 | can help us improve future automake versions. | |
3299 | ||
3300 | END | |
3301 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
3302 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
3303 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
3304 | echo >&2 | |
3305 | else | |
3306 | cat >&2 <<'END' | |
3307 | Aborting the configuration process, to ensure you take notice of the issue. | |
3308 | ||
3309 | You can download and install GNU coreutils to get an 'rm' implementation | |
3310 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
3311 | ||
3312 | If you want to complete the configuration process using your problematic | |
3313 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
3314 | to "yes", and re-run configure. | |
3315 | ||
3316 | END | |
3317 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
3318 | fi | |
3319 | fi | |
3168 | 3320 | |
3169 | 3321 | ac_config_headers="$ac_config_headers config.h" |
3170 | 3322 | |
4046 | 4198 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4047 | 4199 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4048 | 4200 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4201 | ||
4202 | ac_ext=c | |
4203 | ac_cpp='$CPP $CPPFLAGS' | |
4204 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4205 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4206 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4207 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
4208 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
4209 | if ${am_cv_prog_cc_c_o+:} false; then : | |
4210 | $as_echo_n "(cached) " >&6 | |
4211 | else | |
4212 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4213 | /* end confdefs.h. */ | |
4214 | ||
4215 | int | |
4216 | main () | |
4217 | { | |
4218 | ||
4219 | ; | |
4220 | return 0; | |
4221 | } | |
4222 | _ACEOF | |
4223 | # Make sure it works both with $CC and with simple cc. | |
4224 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
4225 | # compilers refuse to overwrite an existing .o file with -o, | |
4226 | # though they will create one. | |
4227 | am_cv_prog_cc_c_o=yes | |
4228 | for am_i in 1 2; do | |
4229 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
4230 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
4231 | ac_status=$? | |
4232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4233 | (exit $ac_status); } \ | |
4234 | && test -f conftest2.$ac_objext; then | |
4235 | : OK | |
4236 | else | |
4237 | am_cv_prog_cc_c_o=no | |
4238 | break | |
4239 | fi | |
4240 | done | |
4241 | rm -f core conftest* | |
4242 | unset am_i | |
4243 | fi | |
4244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
4245 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
4246 | if test "$am_cv_prog_cc_c_o" != yes; then | |
4247 | # Losing compiler, so override with the script. | |
4248 | # FIXME: It is wrong to rewrite CC. | |
4249 | # But if we don't then we get into trouble of one sort or another. | |
4250 | # A longer-term fix would be to have automake use am__CC in this case, | |
4251 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
4252 | CC="$am_aux_dir/compile $CC" | |
4253 | fi | |
4254 | ac_ext=c | |
4255 | ac_cpp='$CPP $CPPFLAGS' | |
4256 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4257 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4258 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4259 | ||
4049 | 4260 | DEPDIR="${am__leading_dot}deps" |
4050 | 4261 | |
4051 | 4262 | ac_config_commands="$ac_config_commands depfiles" |
4065 | 4276 | _am_result=none |
4066 | 4277 | # First try GNU make style include. |
4067 | 4278 | echo "include confinc" > confmf |
4068 | # Ignore all kinds of additional output from `make'. | |
4279 | # Ignore all kinds of additional output from 'make'. | |
4069 | 4280 | case `$am_make -s -f confmf 2> /dev/null` in #( |
4070 | 4281 | *the\ am__doit\ target*) |
4071 | 4282 | am__include=include |
4121 | 4332 | # We make a subdir and do the tests there. Otherwise we can end up |
4122 | 4333 | # making bogus files that we don't know about and never remove. For |
4123 | 4334 | # instance it was reported that on HP-UX the gcc test will end up |
4124 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4125 | # in D'. | |
4335 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4336 | # in D". | |
4126 | 4337 | rm -rf conftest.dir |
4127 | 4338 | mkdir conftest.dir |
4128 | 4339 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4157 | 4368 | : > sub/conftest.c |
4158 | 4369 | for i in 1 2 3 4 5 6; do |
4159 | 4370 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4160 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4161 | # Solaris 8's {/usr,}/bin/sh. | |
4162 | touch sub/conftst$i.h | |
4371 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4372 | # Solaris 10 /bin/sh. | |
4373 | echo '/* dummy */' > sub/conftst$i.h | |
4163 | 4374 | done |
4164 | 4375 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4165 | 4376 | |
4166 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4377 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4167 | 4378 | # mode. It turns out that the SunPro C++ compiler does not properly |
4168 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4169 | # versions had trouble with output in subdirs | |
4379 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4380 | # versions had trouble with output in subdirs. | |
4170 | 4381 | am__obj=sub/conftest.${OBJEXT-o} |
4171 | 4382 | am__minus_obj="-o $am__obj" |
4172 | 4383 | case $depmode in |
4175 | 4386 | test "$am__universal" = false || continue |
4176 | 4387 | ;; |
4177 | 4388 | nosideeffect) |
4178 | # after this tag, mechanisms are not by side-effect, so they'll | |
4179 | # only be used when explicitly requested | |
4389 | # After this tag, mechanisms are not by side-effect, so they'll | |
4390 | # only be used when explicitly requested. | |
4180 | 4391 | if test "x$enable_dependency_tracking" = xyes; then |
4181 | 4392 | continue |
4182 | 4393 | else |
4184 | 4395 | fi |
4185 | 4396 | ;; |
4186 | 4397 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4187 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4398 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4188 | 4399 | # not run yet. These depmodes are late enough in the game, and |
4189 | 4400 | # so weak that their functioning should not be impacted. |
4190 | 4401 | am__obj=conftest.${OBJEXT-o} |
4506 | 4717 | # We make a subdir and do the tests there. Otherwise we can end up |
4507 | 4718 | # making bogus files that we don't know about and never remove. For |
4508 | 4719 | # instance it was reported that on HP-UX the gcc test will end up |
4509 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4510 | # in D'. | |
4720 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4721 | # in D". | |
4511 | 4722 | rm -rf conftest.dir |
4512 | 4723 | mkdir conftest.dir |
4513 | 4724 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4542 | 4753 | : > sub/conftest.c |
4543 | 4754 | for i in 1 2 3 4 5 6; do |
4544 | 4755 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4545 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4546 | # Solaris 8's {/usr,}/bin/sh. | |
4547 | touch sub/conftst$i.h | |
4756 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4757 | # Solaris 10 /bin/sh. | |
4758 | echo '/* dummy */' > sub/conftst$i.h | |
4548 | 4759 | done |
4549 | 4760 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4550 | 4761 | |
4551 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4762 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4552 | 4763 | # mode. It turns out that the SunPro C++ compiler does not properly |
4553 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4554 | # versions had trouble with output in subdirs | |
4764 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4765 | # versions had trouble with output in subdirs. | |
4555 | 4766 | am__obj=sub/conftest.${OBJEXT-o} |
4556 | 4767 | am__minus_obj="-o $am__obj" |
4557 | 4768 | case $depmode in |
4560 | 4771 | test "$am__universal" = false || continue |
4561 | 4772 | ;; |
4562 | 4773 | nosideeffect) |
4563 | # after this tag, mechanisms are not by side-effect, so they'll | |
4564 | # only be used when explicitly requested | |
4774 | # After this tag, mechanisms are not by side-effect, so they'll | |
4775 | # only be used when explicitly requested. | |
4565 | 4776 | if test "x$enable_dependency_tracking" = xyes; then |
4566 | 4777 | continue |
4567 | 4778 | else |
4569 | 4780 | fi |
4570 | 4781 | ;; |
4571 | 4782 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4572 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4783 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4573 | 4784 | # not run yet. These depmodes are late enough in the game, and |
4574 | 4785 | # so weak that their functioning should not be impacted. |
4575 | 4786 | am__obj=conftest.${OBJEXT-o} |
5573 | 5784 | as_fn_error $? "FLTK 1.3 required; fltk-config not found" "$LINENO" 5 |
5574 | 5785 | esac |
5575 | 5786 | |
5787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link to X11" >&5 | |
5788 | $as_echo_n "checking whether to link to X11... " >&6; } | |
5789 | ac_ext=cpp | |
5790 | ac_cpp='$CXXCPP $CPPFLAGS' | |
5791 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
5792 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
5793 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
5794 | ||
5795 | old_libs=$LIBS | |
5796 | old_cxxflags=$CXXFLAGS | |
5797 | LIBS=$LIBFLTK_LIBS | |
5798 | CXXFLAGS=$LIBFLTK_CXXFLAGS | |
5799 | ||
5800 | if test "$cross_compiling" = yes; then : | |
5801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5802 | $as_echo "no" >&6; } | |
5803 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Test for X11 not possible when cross-compiling. ***" >&5 | |
5804 | $as_echo "$as_me: WARNING: *** Test for X11 not possible when cross-compiling. ***" >&2;} | |
5805 | else | |
5806 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5807 | /* end confdefs.h. */ | |
5808 | ||
5809 | #define FL_INTERNALS | |
5810 | #include <FL/x.H> | |
5811 | ||
5812 | int | |
5813 | main () | |
5814 | { | |
5815 | ||
5816 | #ifdef X_PROTOCOL | |
5817 | return 0; | |
5818 | #else | |
5819 | return 1; | |
5820 | #endif | |
5821 | ||
5822 | ; | |
5823 | return 0; | |
5824 | } | |
5825 | _ACEOF | |
5826 | if ac_fn_cxx_try_run "$LINENO"; then : | |
5827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5828 | $as_echo "yes" >&6; } | |
5829 | LIBX11_LIBS="-lX11" | |
5830 | else | |
5831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5832 | $as_echo "no" >&6; } | |
5833 | fi | |
5834 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
5835 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
5836 | fi | |
5837 | ||
5838 | CXXFLAGS=$old_cxxflags | |
5839 | LIBS=$old_libs | |
5840 | ac_ext=c | |
5841 | ac_cpp='$CPP $CPPFLAGS' | |
5842 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
5843 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
5844 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
5845 | ||
5576 | 5846 |