Imported Upstream version 3.0.5~rc1
Axel Beckert
6 years ago
4 | 4 | Here we list changes that are relatively significant and/or visible to the |
5 | 5 | user. For a history of changes in full detail, see our Mercurial repository |
6 | 6 | at http://hg.dillo.org/dillo |
7 | ||
8 | dillo-3.0.5 [not released yet] | |
9 | ||
10 | +- Image buffer/cache improvements. | |
11 | - Fix for segfault when there's no dpid and view source is requested. | |
12 | - Fix view-source dpi to handle null characters correctly. | |
13 | - Made view-source dpi use CSS formatting (it's shorter and cleaner). | |
14 | Patches: Jorge Arellano Cid | |
15 | +- Crosscompile/buildroot-friendly fltk-config test. | |
16 | Patch: Peter Seiderer | |
17 | +- Fix X11 icon name. | |
18 | - In location bar, tend toward showing beginning of URL instead of end. | |
19 | - Handle irix's version of vsnprintf(). | |
20 | - INPUT, TEXTAREA placeholder attribute. | |
21 | - Better notification when user's domainrc settings block page redirection. | |
22 | - Fix bug with font_factor preference and CSS font-size:(larger|smaller). | |
23 | - Recognize Menu key in keysrc. | |
24 | - HTTPS: change cipher list to "ALL:!aNULL:!eNULL:!LOW:!EXPORT40:!RC4", | |
25 | disable SSL3, disable TLS compression. | |
26 | Patches: corvid | |
27 | +- Avoid requesting background images if an ancestor has display:none. | |
28 | - Ignore built-in search url if any are specified in dillorc. | |
29 | Patches: Johannes Hofmann | |
30 | ||
31 | ----------------------------------------------------------------------------- | |
7 | 32 | |
8 | 33 | dillo-3.0.4.1 [December 24, 2014] |
9 | 34 |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
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. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
15 | 16 | |
16 | 17 | |
17 | 18 | VPATH = @srcdir@ |
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 \ | |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
31 | 22 | case $$MAKEFLAGS in \ |
32 | 23 | *\\[\ \ ]*) \ |
33 | bs=\\; \ | |
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
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;; \ | |
36 | 33 | esac; \ |
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)) | |
34 | test $$am__dry = yes; \ | |
35 | } | |
63 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
64 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
65 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
80 | 53 | host_triplet = @host@ |
81 | 54 | target_triplet = @target@ |
82 | 55 | subdir = . |
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 | |
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 | |
88 | 61 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
89 | 62 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
90 | 63 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
124 | 97 | } |
125 | 98 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" |
126 | 99 | 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 = | |
139 | 100 | SOURCES = |
140 | 101 | DIST_SOURCES = |
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 | |
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 | |
149 | 109 | am__can_run_installinfo = \ |
150 | 110 | case $$AM_UPDATE_INFO_DIR in \ |
151 | 111 | n|no|NO) false;; \ |
154 | 114 | DATA = $(sysconf_DATA) |
155 | 115 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
156 | 116 | distclean-recursive maintainer-clean-recursive |
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)` | |
117 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
118 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
119 | distdir dist dist-all distcheck | |
181 | 120 | ETAGS = etags |
182 | 121 | CTAGS = ctags |
183 | CSCOPE = cscope | |
184 | 122 | DIST_SUBDIRS = $(SUBDIRS) |
185 | 123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
186 | 124 | distdir = $(PACKAGE)-$(VERSION) |
191 | 129 | && rm -rf "$(distdir)" \ |
192 | 130 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
193 | 131 | else :; fi |
194 | am__post_remove_distdir = $(am__remove_distdir) | |
195 | 132 | am__relativize = \ |
196 | 133 | dir0=`pwd`; \ |
197 | 134 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
219 | 156 | reldir="$$dir2" |
220 | 157 | DIST_ARCHIVES = $(distdir).tar.gz |
221 | 158 | GZIP_ENV = --best |
222 | DIST_TARGETS = dist-gzip | |
223 | 159 | distuninstallcheck_listfiles = find . -type f -print |
224 | 160 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
225 | 161 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
226 | 162 | distcleancheck_listfiles = find . -type f -print |
227 | 163 | ACLOCAL = @ACLOCAL@ |
228 | 164 | AMTAR = @AMTAR@ |
229 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
230 | 165 | AUTOCONF = @AUTOCONF@ |
231 | 166 | AUTOHEADER = @AUTOHEADER@ |
232 | 167 | AUTOMAKE = @AUTOMAKE@ |
247 | 182 | ECHO_T = @ECHO_T@ |
248 | 183 | EGREP = @EGREP@ |
249 | 184 | EXEEXT = @EXEEXT@ |
185 | FLTK_CONFIG = @FLTK_CONFIG@ | |
250 | 186 | GREP = @GREP@ |
251 | 187 | INSTALL = @INSTALL@ |
252 | 188 | INSTALL_DATA = @INSTALL_DATA@ |
386 | 322 | $(am__aclocal_m4_deps): |
387 | 323 | |
388 | 324 | config.h: stamp-h1 |
389 | @test -f $@ || rm -f stamp-h1 | |
390 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
325 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
326 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
391 | 327 | |
392 | 328 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
393 | 329 | @rm -f stamp-h1 |
457 | 393 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
458 | 394 | |
459 | 395 | # This directory's subdirectories are mostly independent; you can cd |
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; \ | |
396 | # into them and run `make' without going through this Makefile. | |
397 | # To change the values of `make' variables: instead of editing Makefiles, | |
398 | # (1) if the variable is set in `config.status', edit `config.status' | |
399 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
400 | # (2) otherwise, pass the desired values on the `make' command line. | |
401 | $(RECURSIVE_TARGETS): | |
402 | @fail= failcom='exit 1'; \ | |
403 | for f in x $$MAKEFLAGS; do \ | |
404 | case $$f in \ | |
405 | *=* | --[!k]*);; \ | |
406 | *k*) failcom='fail=yes';; \ | |
407 | esac; \ | |
408 | done; \ | |
472 | 409 | dot_seen=no; \ |
473 | 410 | target=`echo $@ | sed s/-recursive//`; \ |
474 | case "$@" in \ | |
475 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
476 | *) list='$(SUBDIRS)' ;; \ | |
477 | esac; \ | |
478 | for subdir in $$list; do \ | |
411 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
479 | 412 | echo "Making $$target in $$subdir"; \ |
480 | 413 | if test "$$subdir" = "."; then \ |
481 | 414 | dot_seen=yes; \ |
490 | 423 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
491 | 424 | fi; test -z "$$fail" |
492 | 425 | |
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) | |
426 | $(RECURSIVE_CLEAN_TARGETS): | |
427 | @fail= failcom='exit 1'; \ | |
428 | for f in x $$MAKEFLAGS; do \ | |
429 | case $$f in \ | |
430 | *=* | --[!k]*);; \ | |
431 | *k*) failcom='fail=yes';; \ | |
432 | esac; \ | |
433 | done; \ | |
434 | dot_seen=no; \ | |
435 | case "$@" in \ | |
436 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
437 | *) list='$(SUBDIRS)' ;; \ | |
438 | esac; \ | |
439 | rev=''; for subdir in $$list; do \ | |
440 | if test "$$subdir" = "."; then :; else \ | |
441 | rev="$$subdir $$rev"; \ | |
442 | fi; \ | |
443 | done; \ | |
444 | rev="$$rev ."; \ | |
445 | target=`echo $@ | sed s/-recursive//`; \ | |
446 | for subdir in $$rev; do \ | |
447 | echo "Making $$target in $$subdir"; \ | |
448 | if test "$$subdir" = "."; then \ | |
449 | local_target="$$target-am"; \ | |
450 | else \ | |
451 | local_target="$$target"; \ | |
452 | fi; \ | |
453 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
454 | || eval $$failcom; \ | |
455 | done && test -z "$$fail" | |
456 | tags-recursive: | |
457 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
458 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
459 | done | |
460 | ctags-recursive: | |
461 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
462 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
463 | done | |
464 | ||
465 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
466 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
467 | unique=`for i in $$list; do \ | |
468 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
469 | done | \ | |
470 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
471 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
472 | mkid -fID $$unique | |
473 | tags: TAGS | |
474 | ||
475 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
476 | $(TAGS_FILES) $(LISP) | |
499 | 477 | set x; \ |
500 | 478 | here=`pwd`; \ |
501 | 479 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
511 | 489 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
512 | 490 | fi; \ |
513 | 491 | done; \ |
514 | $(am__define_uniq_tagged_files); \ | |
492 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
493 | unique=`for i in $$list; do \ | |
494 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
495 | done | \ | |
496 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
497 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
515 | 498 | shift; \ |
516 | 499 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
517 | 500 | test -n "$$unique" || unique=$$empty_fix; \ |
523 | 506 | $$unique; \ |
524 | 507 | fi; \ |
525 | 508 | fi |
526 | ctags: ctags-recursive | |
527 | ||
528 | CTAGS: ctags | |
529 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
530 | $(am__define_uniq_tagged_files); \ | |
509 | ctags: CTAGS | |
510 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
511 | $(TAGS_FILES) $(LISP) | |
512 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
513 | unique=`for i in $$list; do \ | |
514 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
515 | done | \ | |
516 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
517 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
531 | 518 | test -z "$(CTAGS_ARGS)$$unique" \ |
532 | 519 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
533 | 520 | $$unique |
536 | 523 | here=`$(am__cd) $(top_builddir) && pwd` \ |
537 | 524 | && $(am__cd) $(top_srcdir) \ |
538 | 525 | && 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 | |
560 | 526 | |
561 | 527 | distclean-tags: |
562 | 528 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
563 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
564 | 529 | |
565 | 530 | distdir: $(DISTFILES) |
566 | 531 | $(am__remove_distdir) |
628 | 593 | || chmod -R a+r "$(distdir)" |
629 | 594 | dist-gzip: distdir |
630 | 595 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
631 | $(am__post_remove_distdir) | |
596 | $(am__remove_distdir) | |
632 | 597 | |
633 | 598 | dist-bzip2: distdir |
634 | 599 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
635 | $(am__post_remove_distdir) | |
600 | $(am__remove_distdir) | |
636 | 601 | |
637 | 602 | dist-lzip: distdir |
638 | 603 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
639 | $(am__post_remove_distdir) | |
604 | $(am__remove_distdir) | |
605 | ||
606 | dist-lzma: distdir | |
607 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
608 | $(am__remove_distdir) | |
640 | 609 | |
641 | 610 | dist-xz: distdir |
642 | 611 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
643 | $(am__post_remove_distdir) | |
612 | $(am__remove_distdir) | |
644 | 613 | |
645 | 614 | 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 | |
649 | 615 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
650 | $(am__post_remove_distdir) | |
616 | $(am__remove_distdir) | |
651 | 617 | |
652 | 618 | 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 | |
656 | 619 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
657 | $(am__post_remove_distdir) | |
620 | $(am__remove_distdir) | |
658 | 621 | |
659 | 622 | dist-zip: distdir |
660 | 623 | -rm -f $(distdir).zip |
661 | 624 | zip -rq $(distdir).zip $(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) | |
625 | $(am__remove_distdir) | |
626 | ||
627 | dist dist-all: distdir | |
628 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
629 | $(am__remove_distdir) | |
667 | 630 | |
668 | 631 | # This target untars the dist file and tries a VPATH configuration. Then |
669 | 632 | # it guarantees that the distribution is self-contained by making another |
674 | 637 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
675 | 638 | *.tar.bz2*) \ |
676 | 639 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
640 | *.tar.lzma*) \ | |
641 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
677 | 642 | *.tar.lz*) \ |
678 | 643 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
679 | 644 | *.tar.xz*) \ |
685 | 650 | *.zip*) \ |
686 | 651 | unzip $(distdir).zip ;;\ |
687 | 652 | esac |
688 | chmod -R a-w $(distdir) | |
689 | chmod u+w $(distdir) | |
690 | mkdir $(distdir)/_build $(distdir)/_inst | |
653 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
654 | mkdir $(distdir)/_build | |
655 | mkdir $(distdir)/_inst | |
691 | 656 | chmod a-w $(distdir) |
692 | 657 | test -d $(distdir)/_build || exit 0; \ |
693 | 658 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
694 | 659 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
695 | 660 | && am__cwd=`pwd` \ |
696 | 661 | && $(am__cd) $(distdir)/_build \ |
697 | && ../configure \ | |
662 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
698 | 663 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
699 | 664 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
700 | --srcdir=.. --prefix="$$dc_install_base" \ | |
701 | 665 | && $(MAKE) $(AM_MAKEFLAGS) \ |
702 | 666 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
703 | 667 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
720 | 684 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
721 | 685 | && cd "$$am__cwd" \ |
722 | 686 | || exit 1 |
723 | $(am__post_remove_distdir) | |
687 | $(am__remove_distdir) | |
724 | 688 | @(echo "$(distdir) archives ready for distribution: "; \ |
725 | 689 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
726 | 690 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
857 | 821 | |
858 | 822 | uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
859 | 823 | |
860 | .MAKE: $(am__recursive_targets) all install-am install-strip | |
861 | ||
862 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
863 | am--refresh check check-am clean clean-cscope clean-generic \ | |
864 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
865 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
824 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
825 | ctags-recursive install-am install-strip tags-recursive | |
826 | ||
827 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
828 | all all-am am--refresh check check-am clean clean-generic \ | |
829 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
830 | dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
866 | 831 | distcheck distclean distclean-generic distclean-hdr \ |
867 | 832 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
868 | 833 | dvi-am html html-am info info-am install install-am \ |
873 | 838 | install-ps-am install-strip install-sysconfDATA installcheck \ |
874 | 839 | installcheck-am installdirs installdirs-am maintainer-clean \ |
875 | 840 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
876 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ | |
841 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
877 | 842 | uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
878 | 843 | |
879 | 844 |
45 | 45 | |
46 | 46 | dillo-3.0.4, a new release for the new 3.x series is out. |
47 | 47 | |
48 | Dec 2014 | |
49 | ||
50 | dillo-3.0.4.1, a new release for the new 3.x series is out. | |
51 | ||
48 | 52 | |
49 | 53 | Jorge.- |
50 | 54 | jcid@dillo.org |
52 | 52 | Dillo3 |
53 | 53 | ------ |
54 | 54 | |
55 | tar jxvf dillo-3.0.4.1.tar.bz2 | |
56 | cd dillo-3.0.4.1 | |
55 | tar jxvf dillo-3.0.5.tar.bz2 | |
56 | cd dillo-3.0.5 | |
57 | 57 | ./configure; make |
58 | 58 | sudo make install-strip |
59 | 59 |
0 | # generated automatically by aclocal 1.14.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
3 | ||
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. | |
4 | 5 | # This file is free software; the Free Software Foundation |
5 | 6 | # gives unlimited permission to copy and/or distribute it, |
6 | 7 | # with or without modifications, as long as this notice is preserved. |
10 | 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 | 12 | # PARTICULAR PURPOSE. |
12 | 13 | |
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-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. | |
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 | |
27 | 30 | |
28 | 31 | # AM_AUTOMAKE_VERSION(VERSION) |
29 | 32 | # ---------------------------- |
31 | 34 | # generated from the m4 files accompanying Automake X.Y. |
32 | 35 | # (This private macro should not be called outside this file.) |
33 | 36 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.14' | |
37 | [am__api_version='1.11' | |
35 | 38 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 39 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.14.1], [], | |
40 | m4_if([$1], [1.11.6], [], | |
38 | 41 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 42 | ]) |
40 | 43 | |
50 | 53 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 54 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 55 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.14.1])dnl | |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
54 | 57 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 58 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 59 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 60 | |
58 | 61 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 62 | |
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. | |
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 | |
65 | 70 | |
66 | 71 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
67 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
68 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
73 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
69 | 74 | # |
70 | 75 | # Of course, Automake must honor this variable whenever it calls a |
71 | 76 | # tool from the auxiliary directory. The problem is that $srcdir (and |
84 | 89 | # |
85 | 90 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
86 | 91 | # are both prefixed by $srcdir. In an in-source build this is usually |
87 | # harmless because $srcdir is '.', but things will broke when you | |
92 | # harmless because $srcdir is `.', but things will broke when you | |
88 | 93 | # start a VPATH build or use an absolute $srcdir. |
89 | 94 | # |
90 | 95 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
102 | 107 | # configured tree to be moved without reconfiguration. |
103 | 108 | |
104 | 109 | AC_DEFUN([AM_AUX_DIR_EXPAND], |
105 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | |
106 | # Expand $ac_aux_dir to an absolute path. | |
107 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
110 | [dnl Rely on autoconf to set up CDPATH properly. | |
111 | AC_PREREQ([2.50])dnl | |
112 | # expand $ac_aux_dir to an absolute path | |
113 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
108 | 114 | ]) |
109 | 115 | |
110 | 116 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 117 | |
112 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
113 | # | |
114 | # This file is free software; the Free Software Foundation | |
115 | # gives unlimited permission to copy and/or distribute it, | |
116 | # with or without modifications, as long as this notice is preserved. | |
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 | |
117 | 126 | |
118 | 127 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
119 | 128 | # ------------------------------------- |
120 | 129 | # Define a conditional. |
121 | 130 | AC_DEFUN([AM_CONDITIONAL], |
122 | [AC_PREREQ([2.52])dnl | |
123 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
124 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
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 | |
125 | 134 | AC_SUBST([$1_TRUE])dnl |
126 | 135 | AC_SUBST([$1_FALSE])dnl |
127 | 136 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
140 | 149 | Usually this means the macro was only invoked conditionally.]]) |
141 | 150 | fi])]) |
142 | 151 | |
143 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
144 | # | |
145 | # This file is free software; the Free Software Foundation | |
146 | # gives unlimited permission to copy and/or distribute it, | |
147 | # with or without modifications, as long as this notice is preserved. | |
148 | ||
149 | ||
150 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
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 | |
151 | 162 | # written in clear, in which case automake, when reading aclocal.m4, |
152 | 163 | # will think it sees a *use*, and therefore will trigger all it's |
153 | 164 | # C support machinery. Also note that it means that autoscan, seeing |
157 | 168 | # _AM_DEPENDENCIES(NAME) |
158 | 169 | # ---------------------- |
159 | 170 | # See how the compiler implements dependency checking. |
160 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
171 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
161 | 172 | # We try a few techniques and use that to set a single cache variable. |
162 | 173 | # |
163 | 174 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
170 | 181 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
171 | 182 | AC_REQUIRE([AM_DEP_TRACK])dnl |
172 | 183 | |
173 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
174 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
175 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
176 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
177 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
178 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
179 | [depcc="$$1" am_compiler_list=]) | |
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=]) | |
180 | 190 | |
181 | 191 | AC_CACHE_CHECK([dependency style of $depcc], |
182 | 192 | [am_cv_$1_dependencies_compiler_type], |
184 | 194 | # We make a subdir and do the tests there. Otherwise we can end up |
185 | 195 | # making bogus files that we don't know about and never remove. For |
186 | 196 | # instance it was reported that on HP-UX the gcc test will end up |
187 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
188 | # in D". | |
197 | # making a dummy file named `D' -- because `-MD' means `put the output | |
198 | # in D'. | |
189 | 199 | rm -rf conftest.dir |
190 | 200 | mkdir conftest.dir |
191 | 201 | # Copy depcomp to subdir because otherwise we won't find it if we're |
225 | 235 | : > sub/conftest.c |
226 | 236 | for i in 1 2 3 4 5 6; do |
227 | 237 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
228 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
229 | # Solaris 10 /bin/sh. | |
230 | echo '/* dummy */' > sub/conftst$i.h | |
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 | |
231 | 241 | done |
232 | 242 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
233 | 243 | |
234 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
244 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
235 | 245 | # mode. It turns out that the SunPro C++ compiler does not properly |
236 | # handle '-M -o', and we need to detect this. Also, some Intel | |
237 | # versions had trouble with output in subdirs. | |
246 | # handle `-M -o', and we need to detect this. Also, some Intel | |
247 | # versions had trouble with output in subdirs | |
238 | 248 | am__obj=sub/conftest.${OBJEXT-o} |
239 | 249 | am__minus_obj="-o $am__obj" |
240 | 250 | case $depmode in |
243 | 253 | test "$am__universal" = false || continue |
244 | 254 | ;; |
245 | 255 | nosideeffect) |
246 | # After this tag, mechanisms are not by side-effect, so they'll | |
247 | # only be used when explicitly requested. | |
256 | # after this tag, mechanisms are not by side-effect, so they'll | |
257 | # only be used when explicitly requested | |
248 | 258 | if test "x$enable_dependency_tracking" = xyes; then |
249 | 259 | continue |
250 | 260 | else |
252 | 262 | fi |
253 | 263 | ;; |
254 | 264 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
255 | # This compiler won't grok '-c -o', but also, the minuso test has | |
265 | # This compiler won't grok `-c -o', but also, the minuso test has | |
256 | 266 | # not run yet. These depmodes are late enough in the game, and |
257 | 267 | # so weak that their functioning should not be impacted. |
258 | 268 | am__obj=conftest.${OBJEXT-o} |
300 | 310 | # AM_SET_DEPDIR |
301 | 311 | # ------------- |
302 | 312 | # Choose a directory name for dependency files. |
303 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
313 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
304 | 314 | AC_DEFUN([AM_SET_DEPDIR], |
305 | 315 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
306 | 316 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
310 | 320 | # AM_DEP_TRACK |
311 | 321 | # ------------ |
312 | 322 | AC_DEFUN([AM_DEP_TRACK], |
313 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
314 | AS_HELP_STRING( | |
315 | [--enable-dependency-tracking], | |
316 | [do not reject slow dependency extractors]) | |
317 | AS_HELP_STRING( | |
318 | [--disable-dependency-tracking], | |
319 | [speeds up one-time build])]) | |
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]) | |
320 | 326 | if test "x$enable_dependency_tracking" != xno; then |
321 | 327 | am_depcomp="$ac_aux_dir/depcomp" |
322 | 328 | AMDEPBACKSLASH='\' |
331 | 337 | |
332 | 338 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 339 | |
334 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
339 | ||
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 | |
340 | 348 | |
341 | 349 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
342 | 350 | # ------------------------------ |
343 | 351 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
344 | 352 | [{ |
345 | # Older Autoconf quotes --file arguments for eval, but not when files | |
353 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
346 | 354 | # are listed without --file. Let's play safe and only enable the eval |
347 | 355 | # if we detect the quoting. |
348 | 356 | case $CONFIG_FILES in |
355 | 363 | # Strip MF so we end up with the name of the file. |
356 | 364 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
357 | 365 | # Check whether this is an Automake generated Makefile or not. |
358 | # We used to match only the files named 'Makefile.in', but | |
366 | # We used to match only the files named `Makefile.in', but | |
359 | 367 | # some people rename them; so instead we look at the file content. |
360 | 368 | # Grep'ing the first line is not enough: some people post-process |
361 | 369 | # each Makefile.in and add a new line on top of each file to say so. |
367 | 375 | continue |
368 | 376 | fi |
369 | 377 | # Extract the definition of DEPDIR, am__include, and am__quote |
370 | # from the Makefile without running 'make'. | |
378 | # from the Makefile without running `make'. | |
371 | 379 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
372 | 380 | test -z "$DEPDIR" && continue |
373 | 381 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
374 | test -z "$am__include" && continue | |
382 | test -z "am__include" && continue | |
375 | 383 | 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"` | |
376 | 386 | # Find all dependency output files, they are included files with |
377 | 387 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
378 | 388 | # simplest approach to changing $(DEPDIR) to its actual value in the |
379 | 389 | # expansion. |
380 | 390 | for file in `sed -n " |
381 | 391 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
392 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | 393 | # Make sure the directory exists. |
384 | 394 | test -f "$dirpart/$file" && continue |
385 | 395 | fdir=`AS_DIRNAME(["$file"])` |
397 | 407 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 408 | # |
399 | 409 | # This code is only required when automatic dependency tracking |
400 | # is enabled. FIXME. This creates each '.P' file that we will | |
410 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | 411 | # need in order to bootstrap the dependency handling code. |
402 | 412 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 413 | [AC_CONFIG_COMMANDS([depfiles], |
407 | 417 | |
408 | 418 | # Do all the work for Automake. -*- Autoconf -*- |
409 | 419 | |
410 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
411 | # | |
412 | # This file is free software; the Free Software Foundation | |
413 | # gives unlimited permission to copy and/or distribute it, | |
414 | # with or without modifications, as long as this notice is preserved. | |
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 | |
415 | 428 | |
416 | 429 | # This macro actually does too much. Some checks are only needed if |
417 | 430 | # your package does certain things. But this isn't really a big deal. |
418 | ||
419 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | |
420 | m4_define([AC_PROG_CC], | |
421 | m4_defn([AC_PROG_CC]) | |
422 | [_AM_PROG_CC_C_O | |
423 | ]) | |
424 | 431 | |
425 | 432 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
426 | 433 | # AM_INIT_AUTOMAKE([OPTIONS]) |
434 | 441 | # arguments mandatory, and then we can depend on a new Autoconf |
435 | 442 | # release and drop the old call support. |
436 | 443 | AC_DEFUN([AM_INIT_AUTOMAKE], |
437 | [AC_PREREQ([2.65])dnl | |
444 | [AC_PREREQ([2.62])dnl | |
438 | 445 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
439 | 446 | dnl the ones we care about. |
440 | 447 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
463 | 470 | # Define the identity of the package. |
464 | 471 | dnl Distinguish between old-style and new-style calls. |
465 | 472 | m4_ifval([$2], |
466 | [AC_DIAGNOSE([obsolete], | |
467 | [$0: two- and three-arguments forms are deprecated.]) | |
468 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
473 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
469 | 474 | AC_SUBST([PACKAGE], [$1])dnl |
470 | 475 | AC_SUBST([VERSION], [$2])], |
471 | 476 | [_AM_SET_OPTIONS([$1])dnl |
472 | 477 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
473 | m4_if( | |
474 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
475 | [ok:ok],, | |
478 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
476 | 479 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
477 | 480 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
478 | 481 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
479 | 482 | |
480 | 483 | _AM_IF_OPTION([no-define],, |
481 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
482 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
484 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
485 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
483 | 486 | |
484 | 487 | # Some tools Automake needs. |
485 | 488 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
486 | 489 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
487 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
488 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
489 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
490 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
491 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
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) | |
492 | 495 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
493 | 496 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
494 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
495 | # For better backward compatibility. To be removed once Automake 1.9.x | |
496 | # dies out for good. For more background, see: | |
497 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
499 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
497 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
500 | 498 | # We need awk for the "check" target. The system "awk" is bad on |
501 | 499 | # some platforms. |
502 | 500 | AC_REQUIRE([AC_PROG_AWK])dnl |
507 | 505 | [_AM_PROG_TAR([v7])])]) |
508 | 506 | _AM_IF_OPTION([no-dependencies],, |
509 | 507 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
510 | [_AM_DEPENDENCIES([CC])], | |
511 | [m4_define([AC_PROG_CC], | |
512 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
508 | [_AM_DEPENDENCIES(CC)], | |
509 | [define([AC_PROG_CC], | |
510 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
513 | 511 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
514 | [_AM_DEPENDENCIES([CXX])], | |
515 | [m4_define([AC_PROG_CXX], | |
516 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
512 | [_AM_DEPENDENCIES(CXX)], | |
513 | [define([AC_PROG_CXX], | |
514 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
517 | 515 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
518 | [_AM_DEPENDENCIES([OBJC])], | |
519 | [m4_define([AC_PROG_OBJC], | |
520 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
521 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
522 | [_AM_DEPENDENCIES([OBJCXX])], | |
523 | [m4_define([AC_PROG_OBJCXX], | |
524 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | |
525 | ]) | |
526 | AC_REQUIRE([AM_SILENT_RULES])dnl | |
527 | dnl The testsuite driver may need to know about EXEEXT, so add the | |
528 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | |
529 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
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. | |
530 | 524 | AC_CONFIG_COMMANDS_PRE(dnl |
531 | 525 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
532 | 526 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
533 | ||
534 | # POSIX will say in a future version that running "rm -f" with no argument | |
535 | # is OK; and we want to be able to make that assumption in our Makefile | |
536 | # recipes. So use an aggressive probe to check that the usage we want is | |
537 | # actually supported "in the wild" to an acceptable degree. | |
538 | # See automake bug#10828. | |
539 | # To make any issue more visible, cause the running configure to be aborted | |
540 | # by default if the 'rm' program in use doesn't match our expectations; the | |
541 | # user can still override this though. | |
542 | if rm -f && rm -fr && rm -rf; then : OK; else | |
543 | cat >&2 <<'END' | |
544 | Oops! | |
545 | ||
546 | Your 'rm' program seems unable to run without file operands specified | |
547 | on the command line, even when the '-f' option is present. This is contrary | |
548 | to the behaviour of most rm programs out there, and not conforming with | |
549 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
550 | ||
551 | Please tell bug-automake@gnu.org about your system, including the value | |
552 | of your $PATH and any error possibly output before this message. This | |
553 | can help us improve future automake versions. | |
554 | ||
555 | END | |
556 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
557 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
558 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
559 | echo >&2 | |
560 | else | |
561 | cat >&2 <<'END' | |
562 | Aborting the configuration process, to ensure you take notice of the issue. | |
563 | ||
564 | You can download and install GNU coreutils to get an 'rm' implementation | |
565 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
566 | ||
567 | If you want to complete the configuration process using your problematic | |
568 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
569 | to "yes", and re-run configure. | |
570 | ||
571 | END | |
572 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | |
573 | fi | |
574 | fi | |
575 | ]) | |
576 | ||
577 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
527 | ]) | |
528 | ||
529 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
578 | 530 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
579 | 531 | dnl mangled by Autoconf and run in a shell conditional statement. |
580 | 532 | m4_define([_AC_COMPILER_EXEEXT], |
581 | 533 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
534 | ||
582 | 535 | |
583 | 536 | # When config.status generates a header, we must update the stamp-h file. |
584 | 537 | # This file resides in the same directory as the config header |
601 | 554 | done |
602 | 555 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
603 | 556 | |
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. | |
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 | |
609 | 565 | |
610 | 566 | # AM_PROG_INSTALL_SH |
611 | 567 | # ------------------ |
620 | 576 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
621 | 577 | esac |
622 | 578 | fi |
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. | |
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 | |
630 | 588 | |
631 | 589 | # Check whether the underlying file-system supports filenames |
632 | 590 | # with a leading dot. For instance MS-DOS doesn't. |
643 | 601 | |
644 | 602 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
645 | 603 | |
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. | |
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 | |
651 | 611 | |
652 | 612 | # AM_MAKE_INCLUDE() |
653 | 613 | # ----------------- |
666 | 626 | _am_result=none |
667 | 627 | # First try GNU make style include. |
668 | 628 | echo "include confinc" > confmf |
669 | # Ignore all kinds of additional output from 'make'. | |
629 | # Ignore all kinds of additional output from `make'. | |
670 | 630 | case `$am_make -s -f confmf 2> /dev/null` in #( |
671 | 631 | *the\ am__doit\ target*) |
672 | 632 | am__include=include |
693 | 653 | |
694 | 654 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
695 | 655 | |
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. | |
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 | |
701 | 664 | |
702 | 665 | # AM_MISSING_PROG(NAME, PROGRAM) |
703 | 666 | # ------------------------------ |
706 | 669 | $1=${$1-"${am_missing_run}$2"} |
707 | 670 | AC_SUBST($1)]) |
708 | 671 | |
672 | ||
709 | 673 | # AM_MISSING_HAS_RUN |
710 | 674 | # ------------------ |
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. | |
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. | |
713 | 677 | AC_DEFUN([AM_MISSING_HAS_RUN], |
714 | 678 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
715 | 679 | AC_REQUIRE_AUX_FILE([missing])dnl |
722 | 686 | esac |
723 | 687 | fi |
724 | 688 | # Use eval to expand $SHELL |
725 | if eval "$MISSING --is-lightweight"; then | |
726 | am_missing_run="$MISSING " | |
689 | if eval "$MISSING --run true"; then | |
690 | am_missing_run="$MISSING --run " | |
727 | 691 | else |
728 | 692 | am_missing_run= |
729 | AC_MSG_WARN(['missing' script is too old or missing]) | |
730 | fi | |
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 | |
731 | 724 | ]) |
732 | 725 | |
733 | 726 | # Helper functions for option handling. -*- Autoconf -*- |
734 | 727 | |
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. | |
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 | |
740 | 736 | |
741 | 737 | # _AM_MANGLE_OPTION(NAME) |
742 | 738 | # ----------------------- |
747 | 743 | # -------------------- |
748 | 744 | # Set option NAME. Presently that only means defining a flag for this option. |
749 | 745 | AC_DEFUN([_AM_SET_OPTION], |
750 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
746 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
751 | 747 | |
752 | 748 | # _AM_SET_OPTIONS(OPTIONS) |
753 | 749 | # ------------------------ |
761 | 757 | AC_DEFUN([_AM_IF_OPTION], |
762 | 758 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
763 | 759 | |
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 | ||
828 | 760 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
829 | 761 | |
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. | |
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 | |
835 | 770 | |
836 | 771 | # AM_SANITY_CHECK |
837 | 772 | # --------------- |
838 | 773 | AC_DEFUN([AM_SANITY_CHECK], |
839 | 774 | [AC_MSG_CHECKING([whether build environment is sane]) |
775 | # Just in case | |
776 | sleep 1 | |
777 | echo timestamp > conftest.file | |
840 | 778 | # Reject unsafe characters in $srcdir or the absolute working directory |
841 | 779 | # name. Accept space and tab only in the latter. |
842 | 780 | am_lf=' |
847 | 785 | esac |
848 | 786 | case $srcdir in |
849 | 787 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
850 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
788 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
851 | 789 | esac |
852 | 790 | |
853 | # Do 'set' in a subshell so we don't clobber the current shell's | |
791 | # Do `set' in a subshell so we don't clobber the current shell's | |
854 | 792 | # arguments. Must try -L first in case configure is actually a |
855 | 793 | # symlink; some systems play weird games with the mod time of symlinks |
856 | 794 | # (eg FreeBSD returns the mod time of the symlink's containing |
857 | 795 | # directory). |
858 | 796 | if ( |
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 | |
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 | ||
884 | 814 | test "$[2]" = conftest.file |
885 | 815 | ) |
886 | 816 | then |
890 | 820 | AC_MSG_ERROR([newly created file is older than distributed files! |
891 | 821 | Check your system clock]) |
892 | 822 | fi |
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. | |
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 | |
976 | 832 | |
977 | 833 | # AM_PROG_INSTALL_STRIP |
978 | 834 | # --------------------- |
979 | # One issue with vendor 'install' (even GNU) is that you can't | |
835 | # One issue with vendor `install' (even GNU) is that you can't | |
980 | 836 | # specify the program used to strip binaries. This is especially |
981 | 837 | # annoying in cross-compiling environments, where the build's strip |
982 | 838 | # is unlikely to handle the host's binaries. |
983 | 839 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
984 | # always use install-sh in "make install-strip", and initialize | |
840 | # always use install-sh in `make install-strip', and initialize | |
985 | 841 | # STRIPPROG with the value of the STRIP variable (set by the user). |
986 | 842 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
987 | 843 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
988 | # Installed binaries are usually stripped using 'strip' when the user | |
989 | # run "make install-strip". However 'strip' might not be the right | |
844 | # Installed binaries are usually stripped using `strip' when the user | |
845 | # run `make install-strip'. However `strip' might not be the right | |
990 | 846 | # tool to use in cross-compilation environments, therefore Automake |
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'. | |
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'. | |
993 | 849 | if test "$cross_compiling" != no; then |
994 | 850 | AC_CHECK_TOOL([STRIP], [strip], :) |
995 | 851 | fi |
996 | 852 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
997 | 853 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
998 | 854 | |
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. | |
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 | |
1004 | 862 | |
1005 | 863 | # _AM_SUBST_NOTMAKE(VARIABLE) |
1006 | 864 | # --------------------------- |
1015 | 873 | |
1016 | 874 | # Check how to create a tarball. -*- Autoconf -*- |
1017 | 875 | |
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. | |
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 | |
1023 | 883 | |
1024 | 884 | # _AM_PROG_TAR(FORMAT) |
1025 | 885 | # -------------------- |
1026 | 886 | # Check how to create a tarball in format FORMAT. |
1027 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
887 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1028 | 888 | # |
1029 | 889 | # Substitute a variable $(am__tar) that is a command |
1030 | 890 | # writing to stdout a FORMAT-tarball containing the directory |
1034 | 894 | # Substitute a variable $(am__untar) that extract such |
1035 | 895 | # a tarball read from stdin. |
1036 | 896 | # $(am__untar) < result.tar |
1037 | # | |
1038 | 897 | AC_DEFUN([_AM_PROG_TAR], |
1039 | 898 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
1040 | 899 | # in the wild :-( We should find a proper way to deprecate it ... |
1041 | 900 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
1042 | ||
1043 | # We'll loop over all known methods to create a tar archive until one works. | |
901 | 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. | |
1044 | 907 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1045 | ||
1046 | m4_if([$1], [v7], | |
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 | |
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 | |
1140 | 953 | rm -rf conftest.dir |
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 | ||
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])]) | |
1145 | 967 | AC_SUBST([am__tar]) |
1146 | 968 | AC_SUBST([am__untar]) |
1147 | 969 | ]) # _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 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-03-23' | |
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' | |
5 | 7 | |
6 | 8 | # This file is free software; you can redistribute it and/or modify it |
7 | 9 | # under the terms of the GNU General Public License as published by |
8 | # the Free Software Foundation; either version 3 of the License, or | |
10 | # the Free Software Foundation; either version 2 of the License, or | |
9 | 11 | # (at your option) any later version. |
10 | 12 | # |
11 | 13 | # This program is distributed in the hope that it will be useful, but |
19 | 21 | # As a special exception to the GNU General Public License, if you |
20 | 22 | # distribute this file as part of a program that contains a |
21 | 23 | # configuration script generated by Autoconf, you may include it under |
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"). | |
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. | |
25 | 30 | # |
26 | # Originally written by Per Bothner. | |
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. | |
27 | 34 | # |
28 | 35 | # You can get the latest version of this script from: |
29 | 36 | # 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 | ||
33 | 37 | |
34 | 38 | me=`echo "$0" | sed -e 's,.*/,,'` |
35 | 39 | |
49 | 53 | GNU config.guess ($timestamp) |
50 | 54 | |
51 | 55 | Originally written by Per Bothner. |
52 | Copyright 1992-2014 Free Software Foundation, Inc. | |
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. | |
53 | 59 | |
54 | 60 | This is free software; see the source for copying conditions. There is NO |
55 | 61 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
130 | 136 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
131 | 137 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 138 | 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' | sed 's, ,,g'` | |
152 | ;; | |
153 | esac | |
154 | 139 | |
155 | 140 | # Note: order is significant - the case branches are not exclusive. |
156 | 141 | |
213 | 198 | # contains redundant information, the shorter form: |
214 | 199 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
215 | 200 | 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} | |
220 | 201 | exit ;; |
221 | 202 | *:OpenBSD:*:*) |
222 | 203 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
320 | 301 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
321 | 302 | echo arm-acorn-riscix${UNAME_RELEASE} |
322 | 303 | exit ;; |
323 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
304 | arm:riscos:*:*|arm:RISCOS:*:*) | |
324 | 305 | echo arm-unknown-riscos |
325 | 306 | exit ;; |
326 | 307 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
819 | 800 | i*:CYGWIN*:*) |
820 | 801 | echo ${UNAME_MACHINE}-pc-cygwin |
821 | 802 | exit ;; |
822 | *:MINGW64*:*) | |
823 | echo ${UNAME_MACHINE}-pc-mingw64 | |
824 | exit ;; | |
825 | 803 | *:MINGW*:*) |
826 | 804 | echo ${UNAME_MACHINE}-pc-mingw32 |
827 | 805 | exit ;; |
828 | *:MSYS*:*) | |
806 | i*:MSYS*:*) | |
829 | 807 | echo ${UNAME_MACHINE}-pc-msys |
830 | 808 | exit ;; |
831 | 809 | i*:windows32*:*) |
873 | 851 | exit ;; |
874 | 852 | *:GNU:*:*) |
875 | 853 | # the GNU system |
876 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
854 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
877 | 855 | exit ;; |
878 | 856 | *:GNU/*:*:*) |
879 | 857 | # other systems with GNU libc and userland |
880 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
858 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
881 | 859 | exit ;; |
882 | 860 | i*86:Minix:*:*) |
883 | 861 | echo ${UNAME_MACHINE}-pc-minix |
884 | 862 | exit ;; |
885 | 863 | aarch64:Linux:*:*) |
886 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
864 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
887 | 865 | exit ;; |
888 | 866 | aarch64_be:Linux:*:*) |
889 | 867 | UNAME_MACHINE=aarch64_be |
890 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
868 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
891 | 869 | exit ;; |
892 | 870 | alpha:Linux:*:*) |
893 | 871 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
900 | 878 | EV68*) UNAME_MACHINE=alphaev68 ;; |
901 | 879 | esac |
902 | 880 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
903 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | |
904 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
905 | exit ;; | |
906 | arc:Linux:*:* | arceb:Linux:*:*) | |
907 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
881 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
882 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
908 | 883 | exit ;; |
909 | 884 | arm*:Linux:*:*) |
910 | 885 | eval $set_cc_for_build |
911 | 886 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
912 | 887 | | grep -q __ARM_EABI__ |
913 | 888 | then |
914 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
889 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
915 | 890 | else |
916 | 891 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
917 | 892 | | grep -q __ARM_PCS_VFP |
918 | 893 | then |
919 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
894 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
920 | 895 | else |
921 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
896 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
922 | 897 | fi |
923 | 898 | fi |
924 | 899 | exit ;; |
925 | 900 | avr32*:Linux:*:*) |
926 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
901 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
927 | 902 | exit ;; |
928 | 903 | cris:Linux:*:*) |
929 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
904 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
930 | 905 | exit ;; |
931 | 906 | crisv32:Linux:*:*) |
932 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
907 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
933 | 908 | exit ;; |
934 | 909 | frv:Linux:*:*) |
935 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
910 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
936 | 911 | exit ;; |
937 | 912 | hexagon:Linux:*:*) |
938 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
913 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
939 | 914 | exit ;; |
940 | 915 | i*86:Linux:*:*) |
941 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
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}" | |
942 | 925 | exit ;; |
943 | 926 | ia64:Linux:*:*) |
944 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
927 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
945 | 928 | exit ;; |
946 | 929 | m32r*:Linux:*:*) |
947 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
930 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
948 | 931 | exit ;; |
949 | 932 | m68*:Linux:*:*) |
950 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
933 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
951 | 934 | exit ;; |
952 | 935 | mips:Linux:*:* | mips64:Linux:*:*) |
953 | 936 | eval $set_cc_for_build |
966 | 949 | #endif |
967 | 950 | EOF |
968 | 951 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
969 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
952 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
970 | 953 | ;; |
971 | openrisc*:Linux:*:*) | |
972 | echo or1k-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | or32:Linux:*:* | or1k*:Linux:*:*) | |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
954 | or32:Linux:*:*) | |
955 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
976 | 956 | exit ;; |
977 | 957 | padre:Linux:*:*) |
978 | echo sparc-unknown-linux-${LIBC} | |
958 | echo sparc-unknown-linux-gnu | |
979 | 959 | exit ;; |
980 | 960 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
981 | echo hppa64-unknown-linux-${LIBC} | |
961 | echo hppa64-unknown-linux-gnu | |
982 | 962 | exit ;; |
983 | 963 | parisc:Linux:*:* | hppa:Linux:*:*) |
984 | 964 | # Look for CPU level |
985 | 965 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
986 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
987 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
988 | *) echo hppa-unknown-linux-${LIBC} ;; | |
966 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
967 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
968 | *) echo hppa-unknown-linux-gnu ;; | |
989 | 969 | esac |
990 | 970 | exit ;; |
991 | 971 | ppc64:Linux:*:*) |
992 | echo powerpc64-unknown-linux-${LIBC} | |
972 | echo powerpc64-unknown-linux-gnu | |
993 | 973 | exit ;; |
994 | 974 | ppc:Linux:*:*) |
995 | echo powerpc-unknown-linux-${LIBC} | |
996 | exit ;; | |
997 | ppc64le:Linux:*:*) | |
998 | echo powerpc64le-unknown-linux-${LIBC} | |
999 | exit ;; | |
1000 | ppcle:Linux:*:*) | |
1001 | echo powerpcle-unknown-linux-${LIBC} | |
975 | echo powerpc-unknown-linux-gnu | |
1002 | 976 | exit ;; |
1003 | 977 | s390:Linux:*:* | s390x:Linux:*:*) |
1004 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
978 | echo ${UNAME_MACHINE}-ibm-linux | |
1005 | 979 | exit ;; |
1006 | 980 | sh64*:Linux:*:*) |
1007 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
981 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1008 | 982 | exit ;; |
1009 | 983 | sh*:Linux:*:*) |
1010 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
984 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1011 | 985 | exit ;; |
1012 | 986 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1013 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
987 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1014 | 988 | exit ;; |
1015 | 989 | tile*:Linux:*:*) |
1016 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
990 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1017 | 991 | exit ;; |
1018 | 992 | vax:Linux:*:*) |
1019 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
993 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
1020 | 994 | exit ;; |
1021 | 995 | x86_64:Linux:*:*) |
1022 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
996 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1023 | 997 | exit ;; |
1024 | 998 | xtensa*:Linux:*:*) |
1025 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
999 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1026 | 1000 | exit ;; |
1027 | 1001 | i*86:DYNIX/ptx:4*:*) |
1028 | 1002 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1226 | 1200 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1227 | 1201 | echo i586-pc-haiku |
1228 | 1202 | exit ;; |
1229 | x86_64:Haiku:*:*) | |
1230 | echo x86_64-unknown-haiku | |
1231 | exit ;; | |
1232 | 1203 | SX-4:SUPER-UX:*:*) |
1233 | 1204 | echo sx4-nec-superux${UNAME_RELEASE} |
1234 | 1205 | exit ;; |
1255 | 1226 | exit ;; |
1256 | 1227 | *:Darwin:*:*) |
1257 | 1228 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1258 | eval $set_cc_for_build | |
1259 | if test "$UNAME_PROCESSOR" = unknown ; then | |
1260 | UNAME_PROCESSOR=powerpc | |
1261 | fi | |
1262 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1263 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1264 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1265 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1266 | grep IS_64BIT_ARCH >/dev/null | |
1267 | then | |
1268 | case $UNAME_PROCESSOR in | |
1269 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1270 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1271 | esac | |
1272 | fi | |
1273 | fi | |
1274 | elif test "$UNAME_PROCESSOR" = i386 ; then | |
1275 | # Avoid executing cc on OS X 10.9, as it ships with a stub | |
1276 | # that puts up a graphical alert prompting to install | |
1277 | # developer tools. Any system running Mac OS X 10.7 or | |
1278 | # later (Darwin 11 and later) is required to have a 64-bit | |
1279 | # processor. This is not true of the ARM version of Darwin | |
1280 | # that Apple uses in portable devices. | |
1281 | UNAME_PROCESSOR=x86_64 | |
1282 | fi | |
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 | |
1283 | 1242 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1284 | 1243 | exit ;; |
1285 | 1244 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1296 | 1255 | NEO-?:NONSTOP_KERNEL:*:*) |
1297 | 1256 | echo neo-tandem-nsk${UNAME_RELEASE} |
1298 | 1257 | exit ;; |
1299 | NSE-*:NONSTOP_KERNEL:*:*) | |
1258 | NSE-?:NONSTOP_KERNEL:*:*) | |
1300 | 1259 | echo nse-tandem-nsk${UNAME_RELEASE} |
1301 | 1260 | exit ;; |
1302 | 1261 | NSR-?:NONSTOP_KERNEL:*:*) |
1370 | 1329 | exit ;; |
1371 | 1330 | esac |
1372 | 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 | ||
1335 | eval $set_cc_for_build | |
1336 | cat >$dummy.c <<EOF | |
1337 | #ifdef _SEQUENT_ | |
1338 | # include <sys/types.h> | |
1339 | # include <sys/utsname.h> | |
1340 | #endif | |
1341 | main () | |
1342 | { | |
1343 | #if defined (sony) | |
1344 | #if defined (MIPSEB) | |
1345 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | |
1346 | I don't know.... */ | |
1347 | printf ("mips-sony-bsd\n"); exit (0); | |
1348 | #else | |
1349 | #include <sys/param.h> | |
1350 | printf ("m68k-sony-newsos%s\n", | |
1351 | #ifdef NEWSOS4 | |
1352 | "4" | |
1353 | #else | |
1354 | "" | |
1355 | #endif | |
1356 | ); exit (0); | |
1357 | #endif | |
1358 | #endif | |
1359 | ||
1360 | #if defined (__arm) && defined (__acorn) && defined (__unix) | |
1361 | printf ("arm-acorn-riscix\n"); exit (0); | |
1362 | #endif | |
1363 | ||
1364 | #if defined (hp300) && !defined (hpux) | |
1365 | printf ("m68k-hp-bsd\n"); exit (0); | |
1366 | #endif | |
1367 | ||
1368 | #if defined (NeXT) | |
1369 | #if !defined (__ARCHITECTURE__) | |
1370 | #define __ARCHITECTURE__ "m68k" | |
1371 | #endif | |
1372 | int version; | |
1373 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | |
1374 | if (version < 4) | |
1375 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | |
1376 | else | |
1377 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | |
1378 | exit (0); | |
1379 | #endif | |
1380 | ||
1381 | #if defined (MULTIMAX) || defined (n16) | |
1382 | #if defined (UMAXV) | |
1383 | printf ("ns32k-encore-sysv\n"); exit (0); | |
1384 | #else | |
1385 | #if defined (CMU) | |
1386 | printf ("ns32k-encore-mach\n"); exit (0); | |
1387 | #else | |
1388 | printf ("ns32k-encore-bsd\n"); exit (0); | |
1389 | #endif | |
1390 | #endif | |
1391 | #endif | |
1392 | ||
1393 | #if defined (__386BSD__) | |
1394 | printf ("i386-pc-bsd\n"); exit (0); | |
1395 | #endif | |
1396 | ||
1397 | #if defined (sequent) | |
1398 | #if defined (i386) | |
1399 | printf ("i386-sequent-dynix\n"); exit (0); | |
1400 | #endif | |
1401 | #if defined (ns32000) | |
1402 | printf ("ns32k-sequent-dynix\n"); exit (0); | |
1403 | #endif | |
1404 | #endif | |
1405 | ||
1406 | #if defined (_SEQUENT_) | |
1407 | struct utsname un; | |
1408 | ||
1409 | uname(&un); | |
1410 | ||
1411 | if (strncmp(un.version, "V2", 2) == 0) { | |
1412 | printf ("i386-sequent-ptx2\n"); exit (0); | |
1413 | } | |
1414 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | |
1415 | printf ("i386-sequent-ptx1\n"); exit (0); | |
1416 | } | |
1417 | printf ("i386-sequent-ptx\n"); exit (0); | |
1418 | ||
1419 | #endif | |
1420 | ||
1421 | #if defined (vax) | |
1422 | # if !defined (ultrix) | |
1423 | # include <sys/param.h> | |
1424 | # if defined (BSD) | |
1425 | # if BSD == 43 | |
1426 | printf ("vax-dec-bsd4.3\n"); exit (0); | |
1427 | # else | |
1428 | # if BSD == 199006 | |
1429 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | |
1430 | # else | |
1431 | printf ("vax-dec-bsd\n"); exit (0); | |
1432 | # endif | |
1433 | # endif | |
1434 | # else | |
1435 | printf ("vax-dec-bsd\n"); exit (0); | |
1436 | # endif | |
1437 | # else | |
1438 | printf ("vax-dec-ultrix\n"); exit (0); | |
1439 | # endif | |
1440 | #endif | |
1441 | ||
1442 | #if defined (alliant) && defined (i860) | |
1443 | printf ("i860-alliant-bsd\n"); exit (0); | |
1444 | #endif | |
1445 | ||
1446 | exit (1); | |
1447 | } | |
1448 | EOF | |
1449 | ||
1450 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | |
1451 | { echo "$SYSTEM_NAME"; exit; } | |
1452 | ||
1453 | # Apollos put the system type in the environment. | |
1454 | ||
1455 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | |
1456 | ||
1457 | # Convex versions that predate uname can use getsysinfo(1) | |
1458 | ||
1459 | if [ -x /usr/convex/getsysinfo ] | |
1460 | then | |
1461 | case `getsysinfo -f cpu_type` in | |
1462 | c1*) | |
1463 | echo c1-convex-bsd | |
1464 | exit ;; | |
1465 | c2*) | |
1466 | if getsysinfo -f scalar_acc | |
1467 | then echo c32-convex-bsd | |
1468 | else echo c2-convex-bsd | |
1469 | fi | |
1470 | exit ;; | |
1471 | c34*) | |
1472 | echo c34-convex-bsd | |
1473 | exit ;; | |
1474 | c38*) | |
1475 | echo c38-convex-bsd | |
1476 | exit ;; | |
1477 | c4*) | |
1478 | echo c4-convex-bsd | |
1479 | exit ;; | |
1480 | esac | |
1481 | fi | |
1482 | ||
1373 | 1483 | cat >&2 <<EOF |
1374 | 1484 | $0: unable to guess system type |
1375 | 1485 |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-09-11' | |
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 | |
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 | |
9 | 15 | # (at your option) any later version. |
10 | 16 | # |
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. | |
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. | |
15 | 21 | # |
16 | 22 | # You should have received a copy of the GNU General Public License |
17 | 23 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
19 | 25 | # As a special exception to the GNU General Public License, if you |
20 | 26 | # distribute this file as part of a program that contains a |
21 | 27 | # configuration script generated by Autoconf, you may include it under |
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. | |
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. | |
28 | 33 | # |
29 | 34 | # Configuration subroutine to validate and canonicalize a configuration type. |
30 | 35 | # Supply the specified configuration type as an argument. |
67 | 72 | version="\ |
68 | 73 | GNU config.sub ($timestamp) |
69 | 74 | |
70 | Copyright 1992-2014 Free Software Foundation, Inc. | |
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. | |
71 | 78 | |
72 | 79 | This is free software; see the source for copying conditions. There is NO |
73 | 80 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
115 | 122 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
116 | 123 | case $maybe_os in |
117 | 124 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
118 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
125 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
119 | 126 | knetbsd*-gnu* | netbsd*-gnu* | \ |
120 | 127 | kopensolaris*-gnu* | \ |
121 | 128 | storm-chaos* | os2-emx* | rtmk-nova*) |
148 | 155 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
149 | 156 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
150 | 157 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
151 | -apple | -axis | -knuth | -cray | -microblaze*) | |
158 | -apple | -axis | -knuth | -cray | -microblaze) | |
152 | 159 | os= |
153 | 160 | basic_machine=$1 |
154 | 161 | ;; |
251 | 258 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
252 | 259 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
253 | 260 | | am33_2.0 \ |
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 \ | |
261 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
262 | | be32 | be64 \ | |
258 | 263 | | bfin \ |
259 | | c4x | c8051 | clipper \ | |
264 | | c4x | clipper \ | |
260 | 265 | | d10v | d30v | dlx | dsp16xx \ |
261 | 266 | | epiphany \ |
262 | 267 | | fido | fr30 | frv \ |
264 | 269 | | hexagon \ |
265 | 270 | | i370 | i860 | i960 | ia64 \ |
266 | 271 | | ip2k | iq2000 \ |
267 | | k1om \ | |
268 | 272 | | le32 | le64 \ |
269 | 273 | | lm32 \ |
270 | 274 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
271 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
275 | | maxq | mb | microblaze | mcore | mep | metag \ | |
272 | 276 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
273 | 277 | | mips16 \ |
274 | 278 | | mips64 | mips64el \ |
282 | 286 | | mips64vr5900 | mips64vr5900el \ |
283 | 287 | | mipsisa32 | mipsisa32el \ |
284 | 288 | | mipsisa32r2 | mipsisa32r2el \ |
285 | | mipsisa32r6 | mipsisa32r6el \ | |
286 | 289 | | mipsisa64 | mipsisa64el \ |
287 | 290 | | mipsisa64r2 | mipsisa64r2el \ |
288 | | mipsisa64r6 | mipsisa64r6el \ | |
289 | 291 | | mipsisa64sb1 | mipsisa64sb1el \ |
290 | 292 | | mipsisa64sr71k | mipsisa64sr71kel \ |
291 | | mipsr5900 | mipsr5900el \ | |
292 | 293 | | mipstx39 | mipstx39el \ |
293 | 294 | | mn10200 | mn10300 \ |
294 | 295 | | moxie \ |
295 | 296 | | mt \ |
296 | 297 | | msp430 \ |
297 | 298 | | nds32 | nds32le | nds32be \ |
298 | | nios | nios2 | nios2eb | nios2el \ | |
299 | | nios | nios2 \ | |
299 | 300 | | ns16k | ns32k \ |
300 | | open8 | or1k | or1knd | or32 \ | |
301 | | open8 \ | |
302 | | or32 \ | |
301 | 303 | | pdp10 | pdp11 | pj | pjl \ |
302 | 304 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
303 | 305 | | pyramid \ |
304 | | riscv32 | riscv64 \ | |
305 | 306 | | rl78 | rx \ |
306 | 307 | | score \ |
307 | 308 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
326 | 327 | c6x) |
327 | 328 | basic_machine=tic6x-unknown |
328 | 329 | ;; |
329 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
330 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
330 | 331 | basic_machine=$basic_machine-unknown |
331 | 332 | os=-none |
332 | 333 | ;; |
368 | 369 | | aarch64-* | aarch64_be-* \ |
369 | 370 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
370 | 371 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
371 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | |
372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
372 | 373 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
373 | 374 | | avr-* | avr32-* \ |
374 | 375 | | be32-* | be64-* \ |
375 | 376 | | bfin-* | bs2000-* \ |
376 | 377 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
377 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
378 | | clipper-* | craynv-* | cydra-* \ | |
378 | 379 | | d10v-* | d30v-* | dlx-* \ |
379 | 380 | | elxsi-* \ |
380 | 381 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
383 | 384 | | hexagon-* \ |
384 | 385 | | i*86-* | i860-* | i960-* | ia64-* \ |
385 | 386 | | ip2k-* | iq2000-* \ |
386 | | k1om-* \ | |
387 | 387 | | le32-* | le64-* \ |
388 | 388 | | lm32-* \ |
389 | 389 | | m32c-* | m32r-* | m32rle-* \ |
390 | 390 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
392 | | microblaze-* | microblazeel-* \ | |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
393 | 392 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
394 | 393 | | mips16-* \ |
395 | 394 | | mips64-* | mips64el-* \ |
403 | 402 | | mips64vr5900-* | mips64vr5900el-* \ |
404 | 403 | | mipsisa32-* | mipsisa32el-* \ |
405 | 404 | | mipsisa32r2-* | mipsisa32r2el-* \ |
406 | | mipsisa32r6-* | mipsisa32r6el-* \ | |
407 | 405 | | mipsisa64-* | mipsisa64el-* \ |
408 | 406 | | mipsisa64r2-* | mipsisa64r2el-* \ |
409 | | mipsisa64r6-* | mipsisa64r6el-* \ | |
410 | 407 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
411 | 408 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
412 | | mipsr5900-* | mipsr5900el-* \ | |
413 | 409 | | mipstx39-* | mipstx39el-* \ |
414 | 410 | | mmix-* \ |
415 | 411 | | mt-* \ |
416 | 412 | | msp430-* \ |
417 | 413 | | nds32-* | nds32le-* | nds32be-* \ |
418 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
414 | | nios-* | nios2-* \ | |
419 | 415 | | none-* | np1-* | ns16k-* | ns32k-* \ |
420 | 416 | | open8-* \ |
421 | | or1k*-* \ | |
422 | 417 | | orion-* \ |
423 | 418 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
424 | 419 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
792 | 787 | basic_machine=ns32k-utek |
793 | 788 | os=-sysv |
794 | 789 | ;; |
795 | microblaze*) | |
790 | microblaze) | |
796 | 791 | basic_machine=microblaze-xilinx |
797 | 792 | ;; |
798 | mingw64) | |
799 | basic_machine=x86_64-pc | |
800 | os=-mingw64 | |
801 | ;; | |
802 | 793 | mingw32) |
803 | basic_machine=i686-pc | |
794 | basic_machine=i386-pc | |
804 | 795 | os=-mingw32 |
805 | 796 | ;; |
806 | 797 | mingw32ce) |
828 | 819 | basic_machine=powerpc-unknown |
829 | 820 | os=-morphos |
830 | 821 | ;; |
831 | moxiebox) | |
832 | basic_machine=moxie-unknown | |
833 | os=-moxiebox | |
834 | ;; | |
835 | 822 | msdos) |
836 | 823 | basic_machine=i386-pc |
837 | 824 | os=-msdos |
840 | 827 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
841 | 828 | ;; |
842 | 829 | msys) |
843 | basic_machine=i686-pc | |
830 | basic_machine=i386-pc | |
844 | 831 | os=-msys |
845 | 832 | ;; |
846 | 833 | mvs) |
1031 | 1018 | basic_machine=i586-unknown |
1032 | 1019 | os=-pw32 |
1033 | 1020 | ;; |
1034 | rdos | rdos64) | |
1035 | basic_machine=x86_64-pc | |
1036 | os=-rdos | |
1037 | ;; | |
1038 | rdos32) | |
1021 | rdos) | |
1039 | 1022 | basic_machine=i386-pc |
1040 | 1023 | os=-rdos |
1041 | 1024 | ;; |
1362 | 1345 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1363 | 1346 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1364 | 1347 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1365 | | -sym* | -kopensolaris* | -plan9* \ | |
1348 | | -sym* | -kopensolaris* \ | |
1366 | 1349 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1367 | 1350 | | -aos* | -aros* \ |
1368 | 1351 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1369 | 1352 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1370 | 1353 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1371 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1354 | | -openbsd* | -solidbsd* \ | |
1372 | 1355 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1373 | 1356 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1374 | 1357 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1375 | 1358 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1376 | 1359 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1377 | 1360 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1378 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1379 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1380 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | |
1361 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-uclibc* \ | |
1363 | | -uxpv* | -beos* | -mpeix* | -udk* \ | |
1381 | 1364 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1382 | 1365 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1383 | 1366 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1384 | 1367 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1385 | 1368 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1386 | 1369 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1387 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) | |
1370 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | |
1388 | 1371 | # Remember, each alternative MUST END IN *, to match a version number. |
1389 | 1372 | ;; |
1390 | 1373 | -qnx*) |
1508 | 1491 | -aros*) |
1509 | 1492 | os=-aros |
1510 | 1493 | ;; |
1494 | -kaos*) | |
1495 | os=-kaos | |
1496 | ;; | |
1511 | 1497 | -zvmoe) |
1512 | 1498 | os=-zvmoe |
1513 | 1499 | ;; |
1555 | 1541 | ;; |
1556 | 1542 | c4x-* | tic4x-*) |
1557 | 1543 | os=-coff |
1558 | ;; | |
1559 | c8051-*) | |
1560 | os=-elf | |
1561 | 1544 | ;; |
1562 | 1545 | hexagon-*) |
1563 | 1546 | os=-elf |
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.4.1. | |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.5-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.4.1' | |
580 | PACKAGE_STRING='dillo 3.0.4.1' | |
579 | PACKAGE_VERSION='3.0.5-rc1' | |
580 | PACKAGE_STRING='dillo 3.0.5-rc1' | |
581 | 581 | PACKAGE_BUGREPORT='' |
582 | 582 | PACKAGE_URL='' |
583 | 583 | |
636 | 636 | LIBJPEG_CPPFLAGS |
637 | 637 | LIBJPEG_LDFLAGS |
638 | 638 | LIBJPEG_LIBS |
639 | FLTK_CONFIG | |
639 | 640 | EGREP |
640 | 641 | GREP |
641 | 642 | CPP |
663 | 664 | LDFLAGS |
664 | 665 | CFLAGS |
665 | 666 | CC |
666 | AM_BACKSLASH | |
667 | AM_DEFAULT_VERBOSITY | |
668 | AM_DEFAULT_V | |
669 | AM_V | |
670 | 667 | am__untar |
671 | 668 | am__tar |
672 | 669 | AMTAR |
743 | 740 | ac_subst_files='' |
744 | 741 | ac_user_opts=' |
745 | 742 | enable_option_checking |
746 | enable_silent_rules | |
747 | 743 | with_jpeg_lib |
748 | 744 | with_jpeg_inc |
749 | 745 | enable_efence |
1311 | 1307 | # Omit some internal or obsolete options to make the list less imposing. |
1312 | 1308 | # This message is too long to be a string in the A/UX 3.1 sh. |
1313 | 1309 | cat <<_ACEOF |
1314 | \`configure' configures dillo 3.0.4.1 to adapt to many kinds of systems. | |
1310 | \`configure' configures dillo 3.0.5-rc1 to adapt to many kinds of systems. | |
1315 | 1311 | |
1316 | 1312 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1317 | 1313 | |
1382 | 1378 | |
1383 | 1379 | if test -n "$ac_init_help"; then |
1384 | 1380 | case $ac_init_help in |
1385 | short | recursive ) echo "Configuration of dillo 3.0.4.1:";; | |
1381 | short | recursive ) echo "Configuration of dillo 3.0.5-rc1:";; | |
1386 | 1382 | esac |
1387 | 1383 | cat <<\_ACEOF |
1388 | 1384 | |
1390 | 1386 | --disable-option-checking ignore unrecognized --enable/--with options |
1391 | 1387 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1392 | 1388 | --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") | |
1395 | 1389 | --enable-efence Try to compile and run with Electric Fence |
1396 | 1390 | --enable-gprof Try to compile and run with profiling enabled |
1397 | 1391 | --enable-insure Try to compile and run with Insure++ |
1403 | 1397 | --disable-gif Disable support for GIF images |
1404 | 1398 | --disable-threaded-dns Disable the advantage of a reentrant resolver library |
1405 | 1399 | --enable-rtfl Build with rtfl messages (for debugging rendering) |
1406 | --enable-dependency-tracking | |
1407 | do not reject slow dependency extractors | |
1408 | --disable-dependency-tracking | |
1409 | speeds up one-time build | |
1400 | --disable-dependency-tracking speeds up one-time build | |
1401 | --enable-dependency-tracking do not reject slow dependency extractors | |
1410 | 1402 | |
1411 | 1403 | Optional Packages: |
1412 | 1404 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1492 | 1484 | test -n "$ac_init_help" && exit $ac_status |
1493 | 1485 | if $ac_init_version; then |
1494 | 1486 | cat <<\_ACEOF |
1495 | dillo configure 3.0.4.1 | |
1487 | dillo configure 3.0.5-rc1 | |
1496 | 1488 | generated by GNU Autoconf 2.69 |
1497 | 1489 | |
1498 | 1490 | Copyright (C) 2012 Free Software Foundation, Inc. |
2250 | 2242 | This file contains any messages produced by compilers while |
2251 | 2243 | running configure, to aid debugging if configure makes a mistake. |
2252 | 2244 | |
2253 | It was created by dillo $as_me 3.0.4.1, which was | |
2245 | It was created by dillo $as_me 3.0.5-rc1, which was | |
2254 | 2246 | generated by GNU Autoconf 2.69. Invocation command line was |
2255 | 2247 | |
2256 | 2248 | $ $0 $@ |
2739 | 2731 | NONENONEs,x,x, && |
2740 | 2732 | program_prefix=${target_alias}- |
2741 | 2733 | |
2742 | am__api_version='1.14' | |
2734 | am__api_version='1.11' | |
2743 | 2735 | |
2744 | 2736 | # Find a good install program. We prefer a C program (faster), |
2745 | 2737 | # so one script is as good as another. But avoid the broken or |
2836 | 2828 | |
2837 | 2829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2838 | 2830 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2831 | # Just in case | |
2832 | sleep 1 | |
2833 | echo timestamp > conftest.file | |
2839 | 2834 | # Reject unsafe characters in $srcdir or the absolute working directory |
2840 | 2835 | # name. Accept space and tab only in the latter. |
2841 | 2836 | am_lf=' |
2846 | 2841 | esac |
2847 | 2842 | case $srcdir in |
2848 | 2843 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2849 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2844 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2850 | 2845 | esac |
2851 | 2846 | |
2852 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2847 | # Do `set' in a subshell so we don't clobber the current shell's | |
2853 | 2848 | # arguments. Must try -L first in case configure is actually a |
2854 | 2849 | # symlink; some systems play weird games with the mod time of symlinks |
2855 | 2850 | # (eg FreeBSD returns the mod time of the symlink's containing |
2856 | 2851 | # directory). |
2857 | 2852 | if ( |
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 | |
2853 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2854 | if test "$*" = "X"; then | |
2855 | # -L didn't work. | |
2856 | set X `ls -t "$srcdir/configure" conftest.file` | |
2857 | fi | |
2858 | rm -f conftest.file | |
2859 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2860 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2861 | ||
2862 | # If neither matched, then we have a broken ls. This can happen | |
2863 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2864 | # broken ls alias from the environment. This has actually | |
2865 | # happened. Such a system could not be considered "sane". | |
2866 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2867 | alias in your environment" "$LINENO" 5 | |
2868 | fi | |
2869 | ||
2883 | 2870 | test "$2" = conftest.file |
2884 | 2871 | ) |
2885 | 2872 | then |
2891 | 2878 | fi |
2892 | 2879 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2893 | 2880 | $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 | ||
2904 | 2881 | test "$program_prefix" != NONE && |
2905 | 2882 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2906 | 2883 | # Use a double $ so make ignores it. |
2911 | 2888 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2912 | 2889 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2913 | 2890 | |
2914 | # Expand $ac_aux_dir to an absolute path. | |
2915 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
2891 | # expand $ac_aux_dir to an absolute path | |
2892 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2916 | 2893 | |
2917 | 2894 | if test x"${MISSING+set}" != xset; then |
2918 | 2895 | case $am_aux_dir in |
2923 | 2900 | esac |
2924 | 2901 | fi |
2925 | 2902 | # Use eval to expand $SHELL |
2926 | if eval "$MISSING --is-lightweight"; then | |
2927 | am_missing_run="$MISSING " | |
2903 | if eval "$MISSING --run true"; then | |
2904 | am_missing_run="$MISSING --run " | |
2928 | 2905 | else |
2929 | 2906 | am_missing_run= |
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;} | |
2907 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2908 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2932 | 2909 | fi |
2933 | 2910 | |
2934 | 2911 | if test x"${install_sh}" != xset; then |
2940 | 2917 | esac |
2941 | 2918 | fi |
2942 | 2919 | |
2943 | # Installed binaries are usually stripped using 'strip' when the user | |
2944 | # run "make install-strip". However 'strip' might not be the right | |
2920 | # Installed binaries are usually stripped using `strip' when the user | |
2921 | # run `make install-strip'. However `strip' might not be the right | |
2945 | 2922 | # tool to use in cross-compilation environments, therefore Automake |
2946 | # will honor the 'STRIP' environment variable to overrule this program. | |
2923 | # will honor the `STRIP' environment variable to overrule this program. | |
2947 | 2924 | if test "$cross_compiling" != no; then |
2948 | 2925 | if test -n "$ac_tool_prefix"; then |
2949 | 2926 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3082 | 3059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3083 | 3060 | $as_echo "$MKDIR_P" >&6; } |
3084 | 3061 | |
3062 | mkdir_p="$MKDIR_P" | |
3063 | case $mkdir_p in | |
3064 | [\\/$]* | ?:[\\/]*) ;; | |
3065 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
3066 | esac | |
3067 | ||
3085 | 3068 | for ac_prog in gawk mawk nawk awk |
3086 | 3069 | do |
3087 | 3070 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3164 | 3147 | fi |
3165 | 3148 | rmdir .tst 2>/dev/null |
3166 | 3149 | |
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 | ||
3206 | 3150 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3207 | 3151 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3208 | 3152 | # is not polluted with repeated "-I." |
3225 | 3169 | |
3226 | 3170 | # Define the identity of the package. |
3227 | 3171 | PACKAGE='dillo' |
3228 | VERSION='3.0.4.1' | |
3172 | VERSION='3.0.5-rc1' | |
3229 | 3173 | |
3230 | 3174 | |
3231 | 3175 | cat >>confdefs.h <<_ACEOF |
3252 | 3196 | |
3253 | 3197 | |
3254 | 3198 | 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)' | |
3261 | 3199 | |
3262 | 3200 | # We need awk for the "check" target. The system "awk" is bad on |
3263 | 3201 | # some platforms. |
3265 | 3203 | # in the wild :-( We should find a proper way to deprecate it ... |
3266 | 3204 | AMTAR='$${TAR-tar}' |
3267 | 3205 | |
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 | ||
3272 | 3206 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3273 | 3207 | |
3274 | 3208 | |
3275 | 3209 | |
3276 | 3210 | |
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 | |
3320 | 3211 | |
3321 | 3212 | |
3322 | 3213 | ac_config_headers="$ac_config_headers config.h" |
4199 | 4090 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4200 | 4091 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4201 | 4092 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4202 | ||
4203 | ac_ext=c | |
4204 | ac_cpp='$CPP $CPPFLAGS' | |
4205 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4206 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4207 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
4209 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
4210 | if ${am_cv_prog_cc_c_o+:} false; then : | |
4211 | $as_echo_n "(cached) " >&6 | |
4212 | else | |
4213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4214 | /* end confdefs.h. */ | |
4215 | ||
4216 | int | |
4217 | main () | |
4218 | { | |
4219 | ||
4220 | ; | |
4221 | return 0; | |
4222 | } | |
4223 | _ACEOF | |
4224 | # Make sure it works both with $CC and with simple cc. | |
4225 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
4226 | # compilers refuse to overwrite an existing .o file with -o, | |
4227 | # though they will create one. | |
4228 | am_cv_prog_cc_c_o=yes | |
4229 | for am_i in 1 2; do | |
4230 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
4231 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
4232 | ac_status=$? | |
4233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4234 | (exit $ac_status); } \ | |
4235 | && test -f conftest2.$ac_objext; then | |
4236 | : OK | |
4237 | else | |
4238 | am_cv_prog_cc_c_o=no | |
4239 | break | |
4240 | fi | |
4241 | done | |
4242 | rm -f core conftest* | |
4243 | unset am_i | |
4244 | fi | |
4245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
4246 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
4247 | if test "$am_cv_prog_cc_c_o" != yes; then | |
4248 | # Losing compiler, so override with the script. | |
4249 | # FIXME: It is wrong to rewrite CC. | |
4250 | # But if we don't then we get into trouble of one sort or another. | |
4251 | # A longer-term fix would be to have automake use am__CC in this case, | |
4252 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
4253 | CC="$am_aux_dir/compile $CC" | |
4254 | fi | |
4255 | ac_ext=c | |
4256 | ac_cpp='$CPP $CPPFLAGS' | |
4257 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4258 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4259 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4260 | ||
4261 | 4093 | DEPDIR="${am__leading_dot}deps" |
4262 | 4094 | |
4263 | 4095 | ac_config_commands="$ac_config_commands depfiles" |
4277 | 4109 | _am_result=none |
4278 | 4110 | # First try GNU make style include. |
4279 | 4111 | echo "include confinc" > confmf |
4280 | # Ignore all kinds of additional output from 'make'. | |
4112 | # Ignore all kinds of additional output from `make'. | |
4281 | 4113 | case `$am_make -s -f confmf 2> /dev/null` in #( |
4282 | 4114 | *the\ am__doit\ target*) |
4283 | 4115 | am__include=include |
4333 | 4165 | # We make a subdir and do the tests there. Otherwise we can end up |
4334 | 4166 | # making bogus files that we don't know about and never remove. For |
4335 | 4167 | # instance it was reported that on HP-UX the gcc test will end up |
4336 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4337 | # in D". | |
4168 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4169 | # in D'. | |
4338 | 4170 | rm -rf conftest.dir |
4339 | 4171 | mkdir conftest.dir |
4340 | 4172 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4369 | 4201 | : > sub/conftest.c |
4370 | 4202 | for i in 1 2 3 4 5 6; do |
4371 | 4203 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4372 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4373 | # Solaris 10 /bin/sh. | |
4374 | echo '/* dummy */' > sub/conftst$i.h | |
4204 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4205 | # Solaris 8's {/usr,}/bin/sh. | |
4206 | touch sub/conftst$i.h | |
4375 | 4207 | done |
4376 | 4208 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4377 | 4209 | |
4378 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4210 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4379 | 4211 | # mode. It turns out that the SunPro C++ compiler does not properly |
4380 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4381 | # versions had trouble with output in subdirs. | |
4212 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4213 | # versions had trouble with output in subdirs | |
4382 | 4214 | am__obj=sub/conftest.${OBJEXT-o} |
4383 | 4215 | am__minus_obj="-o $am__obj" |
4384 | 4216 | case $depmode in |
4387 | 4219 | test "$am__universal" = false || continue |
4388 | 4220 | ;; |
4389 | 4221 | nosideeffect) |
4390 | # After this tag, mechanisms are not by side-effect, so they'll | |
4391 | # only be used when explicitly requested. | |
4222 | # after this tag, mechanisms are not by side-effect, so they'll | |
4223 | # only be used when explicitly requested | |
4392 | 4224 | if test "x$enable_dependency_tracking" = xyes; then |
4393 | 4225 | continue |
4394 | 4226 | else |
4396 | 4228 | fi |
4397 | 4229 | ;; |
4398 | 4230 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4399 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4231 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4400 | 4232 | # not run yet. These depmodes are late enough in the game, and |
4401 | 4233 | # so weak that their functioning should not be impacted. |
4402 | 4234 | am__obj=conftest.${OBJEXT-o} |
4718 | 4550 | # We make a subdir and do the tests there. Otherwise we can end up |
4719 | 4551 | # making bogus files that we don't know about and never remove. For |
4720 | 4552 | # instance it was reported that on HP-UX the gcc test will end up |
4721 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4722 | # in D". | |
4553 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4554 | # in D'. | |
4723 | 4555 | rm -rf conftest.dir |
4724 | 4556 | mkdir conftest.dir |
4725 | 4557 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4754 | 4586 | : > sub/conftest.c |
4755 | 4587 | for i in 1 2 3 4 5 6; do |
4756 | 4588 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4757 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4758 | # Solaris 10 /bin/sh. | |
4759 | echo '/* dummy */' > sub/conftst$i.h | |
4589 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4590 | # Solaris 8's {/usr,}/bin/sh. | |
4591 | touch sub/conftst$i.h | |
4760 | 4592 | done |
4761 | 4593 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4762 | 4594 | |
4763 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4595 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4764 | 4596 | # mode. It turns out that the SunPro C++ compiler does not properly |
4765 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4766 |