Imported Upstream version 3.0.4.1~rc1
Axel Beckert
8 years ago
5 | 5 | user. For a history of changes in full detail, see our Mercurial repository |
6 | 6 | at http://hg.dillo.org/dillo |
7 | 7 | |
8 | dillo-3.0.4.1 [not released yet] | |
9 | ||
10 | +- Fix linking problem with fltk-1.3.3 and fl_oldfocus. | |
11 | Patch: Jorge Arellano Cid | |
12 | +- Don't load background images in --local mode. | |
13 | Patch: Johannes Hofmann | |
14 | +- Remove Fl_Printer stub that always gave problems compiling under OSX. | |
15 | Patch: corvid | |
16 | ||
17 | ----------------------------------------------------------------------------- | |
8 | 18 | |
9 | 19 | dillo-3.0.4 [April 09, 2014] |
10 | 20 |
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@ |
386 | 321 | $(am__aclocal_m4_deps): |
387 | 322 | |
388 | 323 | config.h: stamp-h1 |
389 | @test -f $@ || rm -f stamp-h1 | |
390 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
324 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
325 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
391 | 326 | |
392 | 327 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
393 | 328 | @rm -f stamp-h1 |
457 | 392 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
458 | 393 | |
459 | 394 | # 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; \ | |
395 | # into them and run `make' without going through this Makefile. | |
396 | # To change the values of `make' variables: instead of editing Makefiles, | |
397 | # (1) if the variable is set in `config.status', edit `config.status' | |
398 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
399 | # (2) otherwise, pass the desired values on the `make' command line. | |
400 | $(RECURSIVE_TARGETS): | |
401 | @fail= failcom='exit 1'; \ | |
402 | for f in x $$MAKEFLAGS; do \ | |
403 | case $$f in \ | |
404 | *=* | --[!k]*);; \ | |
405 | *k*) failcom='fail=yes';; \ | |
406 | esac; \ | |
407 | done; \ | |
472 | 408 | dot_seen=no; \ |
473 | 409 | 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 \ | |
410 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
479 | 411 | echo "Making $$target in $$subdir"; \ |
480 | 412 | if test "$$subdir" = "."; then \ |
481 | 413 | dot_seen=yes; \ |
490 | 422 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
491 | 423 | fi; test -z "$$fail" |
492 | 424 | |
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) | |
425 | $(RECURSIVE_CLEAN_TARGETS): | |
426 | @fail= failcom='exit 1'; \ | |
427 | for f in x $$MAKEFLAGS; do \ | |
428 | case $$f in \ | |
429 | *=* | --[!k]*);; \ | |
430 | *k*) failcom='fail=yes';; \ | |
431 | esac; \ | |
432 | done; \ | |
433 | dot_seen=no; \ | |
434 | case "$@" in \ | |
435 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
436 | *) list='$(SUBDIRS)' ;; \ | |
437 | esac; \ | |
438 | rev=''; for subdir in $$list; do \ | |
439 | if test "$$subdir" = "."; then :; else \ | |
440 | rev="$$subdir $$rev"; \ | |
441 | fi; \ | |
442 | done; \ | |
443 | rev="$$rev ."; \ | |
444 | target=`echo $@ | sed s/-recursive//`; \ | |
445 | for subdir in $$rev; do \ | |
446 | echo "Making $$target in $$subdir"; \ | |
447 | if test "$$subdir" = "."; then \ | |
448 | local_target="$$target-am"; \ | |
449 | else \ | |
450 | local_target="$$target"; \ | |
451 | fi; \ | |
452 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
453 | || eval $$failcom; \ | |
454 | done && test -z "$$fail" | |
455 | tags-recursive: | |
456 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
457 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
458 | done | |
459 | ctags-recursive: | |
460 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
461 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
462 | done | |
463 | ||
464 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
465 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
466 | unique=`for i in $$list; do \ | |
467 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
468 | done | \ | |
469 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
470 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
471 | mkid -fID $$unique | |
472 | tags: TAGS | |
473 | ||
474 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
475 | $(TAGS_FILES) $(LISP) | |
499 | 476 | set x; \ |
500 | 477 | here=`pwd`; \ |
501 | 478 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
511 | 488 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
512 | 489 | fi; \ |
513 | 490 | done; \ |
514 | $(am__define_uniq_tagged_files); \ | |
491 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
492 | unique=`for i in $$list; do \ | |
493 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
494 | done | \ | |
495 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
496 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
515 | 497 | shift; \ |
516 | 498 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
517 | 499 | test -n "$$unique" || unique=$$empty_fix; \ |
523 | 505 | $$unique; \ |
524 | 506 | fi; \ |
525 | 507 | fi |
526 | ctags: ctags-recursive | |
527 | ||
528 | CTAGS: ctags | |
529 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
530 | $(am__define_uniq_tagged_files); \ | |
508 | ctags: CTAGS | |
509 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
510 | $(TAGS_FILES) $(LISP) | |
511 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
512 | unique=`for i in $$list; do \ | |
513 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
514 | done | \ | |
515 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
516 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
531 | 517 | test -z "$(CTAGS_ARGS)$$unique" \ |
532 | 518 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
533 | 519 | $$unique |
536 | 522 | here=`$(am__cd) $(top_builddir) && pwd` \ |
537 | 523 | && $(am__cd) $(top_srcdir) \ |
538 | 524 | && 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 | 525 | |
561 | 526 | distclean-tags: |
562 | 527 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
563 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
564 | 528 | |
565 | 529 | distdir: $(DISTFILES) |
566 | 530 | $(am__remove_distdir) |
628 | 592 | || chmod -R a+r "$(distdir)" |
629 | 593 | dist-gzip: distdir |
630 | 594 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
631 | $(am__post_remove_distdir) | |
595 | $(am__remove_distdir) | |
632 | 596 | |
633 | 597 | dist-bzip2: distdir |
634 | 598 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
635 | $(am__post_remove_distdir) | |
599 | $(am__remove_distdir) | |
636 | 600 | |
637 | 601 | dist-lzip: distdir |
638 | 602 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
639 | $(am__post_remove_distdir) | |
603 | $(am__remove_distdir) | |
604 | ||
605 | dist-lzma: distdir | |
606 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
607 | $(am__remove_distdir) | |
640 | 608 | |
641 | 609 | dist-xz: distdir |
642 | 610 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
643 | $(am__post_remove_distdir) | |
611 | $(am__remove_distdir) | |
644 | 612 | |
645 | 613 | 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 | 614 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
650 | $(am__post_remove_distdir) | |
615 | $(am__remove_distdir) | |
651 | 616 | |
652 | 617 | 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 | 618 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
657 | $(am__post_remove_distdir) | |
619 | $(am__remove_distdir) | |
658 | 620 | |
659 | 621 | dist-zip: distdir |
660 | 622 | -rm -f $(distdir).zip |
661 | 623 | 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) | |
624 | $(am__remove_distdir) | |
625 | ||
626 | dist dist-all: distdir | |
627 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
628 | $(am__remove_distdir) | |
667 | 629 | |
668 | 630 | # This target untars the dist file and tries a VPATH configuration. Then |
669 | 631 | # it guarantees that the distribution is self-contained by making another |
674 | 636 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
675 | 637 | *.tar.bz2*) \ |
676 | 638 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
639 | *.tar.lzma*) \ | |
640 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
677 | 641 | *.tar.lz*) \ |
678 | 642 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
679 | 643 | *.tar.xz*) \ |
685 | 649 | *.zip*) \ |
686 | 650 | unzip $(distdir).zip ;;\ |
687 | 651 | esac |
688 | chmod -R a-w $(distdir) | |
689 | chmod u+w $(distdir) | |
690 | mkdir $(distdir)/_build $(distdir)/_inst | |
652 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
653 | mkdir $(distdir)/_build | |
654 | mkdir $(distdir)/_inst | |
691 | 655 | chmod a-w $(distdir) |
692 | 656 | test -d $(distdir)/_build || exit 0; \ |
693 | 657 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
694 | 658 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
695 | 659 | && am__cwd=`pwd` \ |
696 | 660 | && $(am__cd) $(distdir)/_build \ |
697 | && ../configure \ | |
661 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
698 | 662 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
699 | 663 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
700 | --srcdir=.. --prefix="$$dc_install_base" \ | |
701 | 664 | && $(MAKE) $(AM_MAKEFLAGS) \ |
702 | 665 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
703 | 666 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
720 | 683 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
721 | 684 | && cd "$$am__cwd" \ |
722 | 685 | || exit 1 |
723 | $(am__post_remove_distdir) | |
686 | $(am__remove_distdir) | |
724 | 687 | @(echo "$(distdir) archives ready for distribution: "; \ |
725 | 688 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
726 | 689 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
857 | 820 | |
858 | 821 | uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
859 | 822 | |
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 \ | |
823 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
824 | ctags-recursive install-am install-strip tags-recursive | |
825 | ||
826 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
827 | all all-am am--refresh check check-am clean clean-generic \ | |
828 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
829 | dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
866 | 830 | distcheck distclean distclean-generic distclean-hdr \ |
867 | 831 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
868 | 832 | dvi-am html html-am info info-am install install-am \ |
873 | 837 | install-ps-am install-strip install-sysconfDATA installcheck \ |
874 | 838 | installcheck-am installdirs installdirs-am maintainer-clean \ |
875 | 839 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
876 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ | |
840 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
877 | 841 | uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
878 | 842 | |
879 | 843 |
41 | 41 | |
42 | 42 | and build it like: |
43 | 43 | |
44 | tar zxvf fltk-1.3.2-source.tar.gz [or latest 1.3.x version] | |
45 | cd fltk-1.3.2 | |
44 | tar zxvf fltk-1.3.3-source.tar.gz [or latest 1.3.x version] | |
45 | cd fltk-1.3.3 | |
46 | 46 | less README.Unix.txt |
47 | 47 | make |
48 | 48 | sudo make install |
52 | 52 | Dillo3 |
53 | 53 | ------ |
54 | 54 | |
55 | tar jxvf dillo-3.0.4.tar.bz2 | |
56 | cd dillo-3.0.4 | |
55 | tar jxvf dillo-3.0.4.1.tar.bz2 | |
56 | cd dillo-3.0.4.1 | |
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, |
110 | 115 | |
111 | 116 | # AM_CONDITIONAL -*- Autoconf -*- |
112 | 117 | |
113 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
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 | |
118 | 126 | |
119 | 127 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
120 | 128 | # ------------------------------------- |
121 | 129 | # Define a conditional. |
122 | 130 | AC_DEFUN([AM_CONDITIONAL], |
123 | [AC_PREREQ([2.52])dnl | |
124 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
125 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
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 | |
126 | 134 | AC_SUBST([$1_TRUE])dnl |
127 | 135 | AC_SUBST([$1_FALSE])dnl |
128 | 136 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
141 | 149 | Usually this means the macro was only invoked conditionally.]]) |
142 | 150 | fi])]) |
143 | 151 | |
144 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
145 | # | |
146 | # This file is free software; the Free Software Foundation | |
147 | # gives unlimited permission to copy and/or distribute it, | |
148 | # with or without modifications, as long as this notice is preserved. | |
149 | ||
150 | ||
151 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
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 | |
152 | 162 | # written in clear, in which case automake, when reading aclocal.m4, |
153 | 163 | # will think it sees a *use*, and therefore will trigger all it's |
154 | 164 | # C support machinery. Also note that it means that autoscan, seeing |
158 | 168 | # _AM_DEPENDENCIES(NAME) |
159 | 169 | # ---------------------- |
160 | 170 | # See how the compiler implements dependency checking. |
161 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
171 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
162 | 172 | # We try a few techniques and use that to set a single cache variable. |
163 | 173 | # |
164 | 174 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
171 | 181 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
172 | 182 | AC_REQUIRE([AM_DEP_TRACK])dnl |
173 | 183 | |
174 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
175 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
176 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
177 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
178 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
179 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
180 | [depcc="$$1" am_compiler_list=]) | |
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=]) | |
181 | 190 | |
182 | 191 | AC_CACHE_CHECK([dependency style of $depcc], |
183 | 192 | [am_cv_$1_dependencies_compiler_type], |
185 | 194 | # We make a subdir and do the tests there. Otherwise we can end up |
186 | 195 | # making bogus files that we don't know about and never remove. For |
187 | 196 | # instance it was reported that on HP-UX the gcc test will end up |
188 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
189 | # in D". | |
197 | # making a dummy file named `D' -- because `-MD' means `put the output | |
198 | # in D'. | |
190 | 199 | rm -rf conftest.dir |
191 | 200 | mkdir conftest.dir |
192 | 201 | # Copy depcomp to subdir because otherwise we won't find it if we're |
226 | 235 | : > sub/conftest.c |
227 | 236 | for i in 1 2 3 4 5 6; do |
228 | 237 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
229 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
230 | # Solaris 10 /bin/sh. | |
231 | echo '/* dummy */' > sub/conftst$i.h | |
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 | |
232 | 241 | done |
233 | 242 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
234 | 243 | |
235 | # 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" | |
236 | 245 | # mode. It turns out that the SunPro C++ compiler does not properly |
237 | # handle '-M -o', and we need to detect this. Also, some Intel | |
238 | # versions had trouble with output in subdirs. | |
246 | # handle `-M -o', and we need to detect this. Also, some Intel | |
247 | # versions had trouble with output in subdirs | |
239 | 248 | am__obj=sub/conftest.${OBJEXT-o} |
240 | 249 | am__minus_obj="-o $am__obj" |
241 | 250 | case $depmode in |
244 | 253 | test "$am__universal" = false || continue |
245 | 254 | ;; |
246 | 255 | nosideeffect) |
247 | # After this tag, mechanisms are not by side-effect, so they'll | |
248 | # 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 | |
249 | 258 | if test "x$enable_dependency_tracking" = xyes; then |
250 | 259 | continue |
251 | 260 | else |
253 | 262 | fi |
254 | 263 | ;; |
255 | 264 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
256 | # 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 | |
257 | 266 | # not run yet. These depmodes are late enough in the game, and |
258 | 267 | # so weak that their functioning should not be impacted. |
259 | 268 | am__obj=conftest.${OBJEXT-o} |
301 | 310 | # AM_SET_DEPDIR |
302 | 311 | # ------------- |
303 | 312 | # Choose a directory name for dependency files. |
304 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
313 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
305 | 314 | AC_DEFUN([AM_SET_DEPDIR], |
306 | 315 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
307 | 316 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
311 | 320 | # AM_DEP_TRACK |
312 | 321 | # ------------ |
313 | 322 | AC_DEFUN([AM_DEP_TRACK], |
314 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
315 | AS_HELP_STRING( | |
316 | [--enable-dependency-tracking], | |
317 | [do not reject slow dependency extractors]) | |
318 | AS_HELP_STRING( | |
319 | [--disable-dependency-tracking], | |
320 | [speeds up one-time build])]) | |
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]) | |
321 | 326 | if test "x$enable_dependency_tracking" != xno; then |
322 | 327 | am_depcomp="$ac_aux_dir/depcomp" |
323 | 328 | AMDEPBACKSLASH='\' |
332 | 337 | |
333 | 338 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
334 | 339 | |
335 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
336 | # | |
337 | # This file is free software; the Free Software Foundation | |
338 | # gives unlimited permission to copy and/or distribute it, | |
339 | # with or without modifications, as long as this notice is preserved. | |
340 | ||
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 | |
341 | 348 | |
342 | 349 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
343 | 350 | # ------------------------------ |
344 | 351 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
345 | 352 | [{ |
346 | # Older Autoconf quotes --file arguments for eval, but not when files | |
353 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
347 | 354 | # are listed without --file. Let's play safe and only enable the eval |
348 | 355 | # if we detect the quoting. |
349 | 356 | case $CONFIG_FILES in |
356 | 363 | # Strip MF so we end up with the name of the file. |
357 | 364 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
358 | 365 | # Check whether this is an Automake generated Makefile or not. |
359 | # We used to match only the files named 'Makefile.in', but | |
366 | # We used to match only the files named `Makefile.in', but | |
360 | 367 | # some people rename them; so instead we look at the file content. |
361 | 368 | # Grep'ing the first line is not enough: some people post-process |
362 | 369 | # each Makefile.in and add a new line on top of each file to say so. |
368 | 375 | continue |
369 | 376 | fi |
370 | 377 | # Extract the definition of DEPDIR, am__include, and am__quote |
371 | # from the Makefile without running 'make'. | |
378 | # from the Makefile without running `make'. | |
372 | 379 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
373 | 380 | test -z "$DEPDIR" && continue |
374 | 381 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
375 | test -z "$am__include" && continue | |
382 | test -z "am__include" && continue | |
376 | 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"` | |
377 | 386 | # Find all dependency output files, they are included files with |
378 | 387 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
379 | 388 | # simplest approach to changing $(DEPDIR) to its actual value in the |
380 | 389 | # expansion. |
381 | 390 | for file in `sed -n " |
382 | 391 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
383 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
392 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
384 | 393 | # Make sure the directory exists. |
385 | 394 | test -f "$dirpart/$file" && continue |
386 | 395 | fdir=`AS_DIRNAME(["$file"])` |
398 | 407 | # This macro should only be invoked once -- use via AC_REQUIRE. |
399 | 408 | # |
400 | 409 | # This code is only required when automatic dependency tracking |
401 | # is enabled. FIXME. This creates each '.P' file that we will | |
410 | # is enabled. FIXME. This creates each `.P' file that we will | |
402 | 411 | # need in order to bootstrap the dependency handling code. |
403 | 412 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
404 | 413 | [AC_CONFIG_COMMANDS([depfiles], |
408 | 417 | |
409 | 418 | # Do all the work for Automake. -*- Autoconf -*- |
410 | 419 | |
411 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
412 | # | |
413 | # This file is free software; the Free Software Foundation | |
414 | # gives unlimited permission to copy and/or distribute it, | |
415 | # with or without modifications, as long as this notice is preserved. | |
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 | |
416 | 428 | |
417 | 429 | # This macro actually does too much. Some checks are only needed if |
418 | 430 | # your package does certain things. But this isn't really a big deal. |
419 | ||
420 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | |
421 | m4_define([AC_PROG_CC], | |
422 | m4_defn([AC_PROG_CC]) | |
423 | [_AM_PROG_CC_C_O | |
424 | ]) | |
425 | 431 | |
426 | 432 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
427 | 433 | # AM_INIT_AUTOMAKE([OPTIONS]) |
435 | 441 | # arguments mandatory, and then we can depend on a new Autoconf |
436 | 442 | # release and drop the old call support. |
437 | 443 | AC_DEFUN([AM_INIT_AUTOMAKE], |
438 | [AC_PREREQ([2.65])dnl | |
444 | [AC_PREREQ([2.62])dnl | |
439 | 445 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
440 | 446 | dnl the ones we care about. |
441 | 447 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
464 | 470 | # Define the identity of the package. |
465 | 471 | dnl Distinguish between old-style and new-style calls. |
466 | 472 | m4_ifval([$2], |
467 | [AC_DIAGNOSE([obsolete], | |
468 | [$0: two- and three-arguments forms are deprecated.]) | |
469 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
473 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
470 | 474 | AC_SUBST([PACKAGE], [$1])dnl |
471 | 475 | AC_SUBST([VERSION], [$2])], |
472 | 476 | [_AM_SET_OPTIONS([$1])dnl |
473 | 477 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
474 | m4_if( | |
475 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
476 | [ok:ok],, | |
478 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
477 | 479 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
478 | 480 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
479 | 481 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
480 | 482 | |
481 | 483 | _AM_IF_OPTION([no-define],, |
482 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
483 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
484 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
485 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
484 | 486 | |
485 | 487 | # Some tools Automake needs. |
486 | 488 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
487 | 489 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
488 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
489 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
490 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
491 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
492 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
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) | |
493 | 495 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
494 | 496 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
495 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
496 | # For better backward compatibility. To be removed once Automake 1.9.x | |
497 | # dies out for good. For more background, see: | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
499 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
500 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
497 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
501 | 498 | # We need awk for the "check" target. The system "awk" is bad on |
502 | 499 | # some platforms. |
503 | 500 | AC_REQUIRE([AC_PROG_AWK])dnl |
508 | 505 | [_AM_PROG_TAR([v7])])]) |
509 | 506 | _AM_IF_OPTION([no-dependencies],, |
510 | 507 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
511 | [_AM_DEPENDENCIES([CC])], | |
512 | [m4_define([AC_PROG_CC], | |
513 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
508 | [_AM_DEPENDENCIES(CC)], | |
509 | [define([AC_PROG_CC], | |
510 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
514 | 511 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
515 | [_AM_DEPENDENCIES([CXX])], | |
516 | [m4_define([AC_PROG_CXX], | |
517 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
512 | [_AM_DEPENDENCIES(CXX)], | |
513 | [define([AC_PROG_CXX], | |
514 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
518 | 515 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
519 | [_AM_DEPENDENCIES([OBJC])], | |
520 | [m4_define([AC_PROG_OBJC], | |
521 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
522 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
523 | [_AM_DEPENDENCIES([OBJCXX])], | |
524 | [m4_define([AC_PROG_OBJCXX], | |
525 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | |
526 | ]) | |
527 | AC_REQUIRE([AM_SILENT_RULES])dnl | |
528 | dnl The testsuite driver may need to know about EXEEXT, so add the | |
529 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | |
530 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
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. | |
531 | 524 | AC_CONFIG_COMMANDS_PRE(dnl |
532 | 525 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
533 | 526 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
534 | ||
535 | # POSIX will say in a future version that running "rm -f" with no argument | |
536 | # is OK; and we want to be able to make that assumption in our Makefile | |
537 | # recipes. So use an aggressive probe to check that the usage we want is | |
538 | # actually supported "in the wild" to an acceptable degree. | |
539 | # See automake bug#10828. | |
540 | # To make any issue more visible, cause the running configure to be aborted | |
541 | # by default if the 'rm' program in use doesn't match our expectations; the | |
542 | # user can still override this though. | |
543 | if rm -f && rm -fr && rm -rf; then : OK; else | |
544 | cat >&2 <<'END' | |
545 | Oops! | |
546 | ||
547 | Your 'rm' program seems unable to run without file operands specified | |
548 | on the command line, even when the '-f' option is present. This is contrary | |
549 | to the behaviour of most rm programs out there, and not conforming with | |
550 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
551 | ||
552 | Please tell bug-automake@gnu.org about your system, including the value | |
553 | of your $PATH and any error possibly output before this message. This | |
554 | can help us improve future automake versions. | |
555 | ||
556 | END | |
557 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
558 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
559 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
560 | echo >&2 | |
561 | else | |
562 | cat >&2 <<'END' | |
563 | Aborting the configuration process, to ensure you take notice of the issue. | |
564 | ||
565 | You can download and install GNU coreutils to get an 'rm' implementation | |
566 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
567 | ||
568 | If you want to complete the configuration process using your problematic | |
569 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
570 | to "yes", and re-run configure. | |
571 | ||
572 | END | |
573 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | |
574 | fi | |
575 | fi | |
576 | ]) | |
577 | ||
578 | 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 | |
579 | 530 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
580 | 531 | dnl mangled by Autoconf and run in a shell conditional statement. |
581 | 532 | m4_define([_AC_COMPILER_EXEEXT], |
582 | 533 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
534 | ||
583 | 535 | |
584 | 536 | # When config.status generates a header, we must update the stamp-h file. |
585 | 537 | # This file resides in the same directory as the config header |
602 | 554 | done |
603 | 555 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
604 | 556 | |
605 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
606 | # | |
607 | # This file is free software; the Free Software Foundation | |
608 | # gives unlimited permission to copy and/or distribute it, | |
609 | # 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 | |
610 | 565 | |
611 | 566 | # AM_PROG_INSTALL_SH |
612 | 567 | # ------------------ |
621 | 576 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
622 | 577 | esac |
623 | 578 | fi |
624 | AC_SUBST([install_sh])]) | |
625 | ||
626 | # Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
627 | # | |
628 | # This file is free software; the Free Software Foundation | |
629 | # gives unlimited permission to copy and/or distribute it, | |
630 | # 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 | |
631 | 588 | |
632 | 589 | # Check whether the underlying file-system supports filenames |
633 | 590 | # with a leading dot. For instance MS-DOS doesn't. |
644 | 601 | |
645 | 602 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
646 | 603 | |
647 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
648 | # | |
649 | # This file is free software; the Free Software Foundation | |
650 | # gives unlimited permission to copy and/or distribute it, | |
651 | # 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 | |
652 | 611 | |
653 | 612 | # AM_MAKE_INCLUDE() |
654 | 613 | # ----------------- |
667 | 626 | _am_result=none |
668 | 627 | # First try GNU make style include. |
669 | 628 | echo "include confinc" > confmf |
670 | # Ignore all kinds of additional output from 'make'. | |
629 | # Ignore all kinds of additional output from `make'. | |
671 | 630 | case `$am_make -s -f confmf 2> /dev/null` in #( |
672 | 631 | *the\ am__doit\ target*) |
673 | 632 | am__include=include |
694 | 653 | |
695 | 654 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
696 | 655 | |
697 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
698 | # | |
699 | # This file is free software; the Free Software Foundation | |
700 | # gives unlimited permission to copy and/or distribute it, | |
701 | # 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 | |
702 | 664 | |
703 | 665 | # AM_MISSING_PROG(NAME, PROGRAM) |
704 | 666 | # ------------------------------ |
707 | 669 | $1=${$1-"${am_missing_run}$2"} |
708 | 670 | AC_SUBST($1)]) |
709 | 671 | |
672 | ||
710 | 673 | # AM_MISSING_HAS_RUN |
711 | 674 | # ------------------ |
712 | # Define MISSING if not defined so far and test if it is modern enough. | |
713 | # 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. | |
714 | 677 | AC_DEFUN([AM_MISSING_HAS_RUN], |
715 | 678 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
716 | 679 | AC_REQUIRE_AUX_FILE([missing])dnl |
723 | 686 | esac |
724 | 687 | fi |
725 | 688 | # Use eval to expand $SHELL |
726 | if eval "$MISSING --is-lightweight"; then | |
727 | am_missing_run="$MISSING " | |
689 | if eval "$MISSING --run true"; then | |
690 | am_missing_run="$MISSING --run " | |
728 | 691 | else |
729 | 692 | am_missing_run= |
730 | AC_MSG_WARN(['missing' script is too old or missing]) | |
731 | 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 | |
732 | 724 | ]) |
733 | 725 | |
734 | 726 | # Helper functions for option handling. -*- Autoconf -*- |
735 | 727 | |
736 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
737 | # | |
738 | # This file is free software; the Free Software Foundation | |
739 | # gives unlimited permission to copy and/or distribute it, | |
740 | # 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 | |
741 | 736 | |
742 | 737 | # _AM_MANGLE_OPTION(NAME) |
743 | 738 | # ----------------------- |
748 | 743 | # -------------------- |
749 | 744 | # Set option NAME. Presently that only means defining a flag for this option. |
750 | 745 | AC_DEFUN([_AM_SET_OPTION], |
751 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
746 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
752 | 747 | |
753 | 748 | # _AM_SET_OPTIONS(OPTIONS) |
754 | 749 | # ------------------------ |
762 | 757 | AC_DEFUN([_AM_IF_OPTION], |
763 | 758 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
764 | 759 | |
765 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
766 | # | |
767 | # This file is free software; the Free Software Foundation | |
768 | # gives unlimited permission to copy and/or distribute it, | |
769 | # with or without modifications, as long as this notice is preserved. | |
770 | ||
771 | # _AM_PROG_CC_C_O | |
772 | # --------------- | |
773 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
774 | # to automatically call this. | |
775 | AC_DEFUN([_AM_PROG_CC_C_O], | |
776 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
777 | AC_REQUIRE_AUX_FILE([compile])dnl | |
778 | AC_LANG_PUSH([C])dnl | |
779 | AC_CACHE_CHECK( | |
780 | [whether $CC understands -c and -o together], | |
781 | [am_cv_prog_cc_c_o], | |
782 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
783 | # Make sure it works both with $CC and with simple cc. | |
784 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
785 | # compilers refuse to overwrite an existing .o file with -o, | |
786 | # though they will create one. | |
787 | am_cv_prog_cc_c_o=yes | |
788 | for am_i in 1 2; do | |
789 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
790 | && test -f conftest2.$ac_objext; then | |
791 | : OK | |
792 | else | |
793 | am_cv_prog_cc_c_o=no | |
794 | break | |
795 | fi | |
796 | done | |
797 | rm -f core conftest* | |
798 | unset am_i]) | |
799 | if test "$am_cv_prog_cc_c_o" != yes; then | |
800 | # Losing compiler, so override with the script. | |
801 | # FIXME: It is wrong to rewrite CC. | |
802 | # But if we don't then we get into trouble of one sort or another. | |
803 | # A longer-term fix would be to have automake use am__CC in this case, | |
804 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
805 | CC="$am_aux_dir/compile $CC" | |
806 | fi | |
807 | AC_LANG_POP([C])]) | |
808 | ||
809 | # For backward compatibility. | |
810 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
811 | ||
812 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
813 | # | |
814 | # This file is free software; the Free Software Foundation | |
815 | # gives unlimited permission to copy and/or distribute it, | |
816 | # with or without modifications, as long as this notice is preserved. | |
817 | ||
818 | # AM_RUN_LOG(COMMAND) | |
819 | # ------------------- | |
820 | # Run COMMAND, save the exit status in ac_status, and log it. | |
821 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | |
822 | AC_DEFUN([AM_RUN_LOG], | |
823 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
824 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
825 | ac_status=$? | |
826 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
827 | (exit $ac_status); }]) | |
828 | ||
829 | 760 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
830 | 761 | |
831 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
832 | # | |
833 | # This file is free software; the Free Software Foundation | |
834 | # gives unlimited permission to copy and/or distribute it, | |
835 | # 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 | |
836 | 770 | |
837 | 771 | # AM_SANITY_CHECK |
838 | 772 | # --------------- |
839 | 773 | AC_DEFUN([AM_SANITY_CHECK], |
840 | 774 | [AC_MSG_CHECKING([whether build environment is sane]) |
775 | # Just in case | |
776 | sleep 1 | |
777 | echo timestamp > conftest.file | |
841 | 778 | # Reject unsafe characters in $srcdir or the absolute working directory |
842 | 779 | # name. Accept space and tab only in the latter. |
843 | 780 | am_lf=' |
848 | 785 | esac |
849 | 786 | case $srcdir in |
850 | 787 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
851 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
788 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
852 | 789 | esac |
853 | 790 | |
854 | # 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 | |
855 | 792 | # arguments. Must try -L first in case configure is actually a |
856 | 793 | # symlink; some systems play weird games with the mod time of symlinks |
857 | 794 | # (eg FreeBSD returns the mod time of the symlink's containing |
858 | 795 | # directory). |
859 | 796 | if ( |
860 | am_has_slept=no | |
861 | for am_try in 1 2; do | |
862 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
863 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
864 | if test "$[*]" = "X"; then | |
865 | # -L didn't work. | |
866 | set X `ls -t "$srcdir/configure" conftest.file` | |
867 | fi | |
868 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
869 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
870 | ||
871 | # If neither matched, then we have a broken ls. This can happen | |
872 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
873 | # broken ls alias from the environment. This has actually | |
874 | # happened. Such a system could not be considered "sane". | |
875 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
876 | alias in your environment]) | |
877 | fi | |
878 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
879 | break | |
880 | fi | |
881 | # Just in case. | |
882 | sleep 1 | |
883 | am_has_slept=yes | |
884 | 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 | ||
885 | 814 | test "$[2]" = conftest.file |
886 | 815 | ) |
887 | 816 | then |
891 | 820 | AC_MSG_ERROR([newly created file is older than distributed files! |
892 | 821 | Check your system clock]) |
893 | 822 | fi |
894 | AC_MSG_RESULT([yes]) | |
895 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
896 | # generated files are strictly newer. | |
897 | am_sleep_pid= | |
898 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
899 | ( sleep 1 ) & | |
900 | am_sleep_pid=$! | |
901 | fi | |
902 | AC_CONFIG_COMMANDS_PRE( | |
903 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
904 | if test -n "$am_sleep_pid"; then | |
905 | # Hide warnings about reused PIDs. | |
906 | wait $am_sleep_pid 2>/dev/null | |
907 | fi | |
908 | AC_MSG_RESULT([done])]) | |
909 | rm -f conftest.file | |
910 | ]) | |
911 | ||
912 | # Copyright (C) 2009-2013 Free Software Foundation, Inc. | |
913 | # | |
914 | # This file is free software; the Free Software Foundation | |
915 | # gives unlimited permission to copy and/or distribute it, | |
916 | # with or without modifications, as long as this notice is preserved. | |
917 | ||
918 | # AM_SILENT_RULES([DEFAULT]) | |
919 | # -------------------------- | |
920 | # Enable less verbose build rules; with the default set to DEFAULT | |
921 | # ("yes" being less verbose, "no" or empty being verbose). | |
922 | AC_DEFUN([AM_SILENT_RULES], | |
923 | [AC_ARG_ENABLE([silent-rules], [dnl | |
924 | AS_HELP_STRING( | |
925 | [--enable-silent-rules], | |
926 | [less verbose build output (undo: "make V=1")]) | |
927 | AS_HELP_STRING( | |
928 | [--disable-silent-rules], | |
929 | [verbose build output (undo: "make V=0")])dnl | |
930 | ]) | |
931 | case $enable_silent_rules in @%:@ ((( | |
932 | yes) AM_DEFAULT_VERBOSITY=0;; | |
933 | no) AM_DEFAULT_VERBOSITY=1;; | |
934 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
935 | esac | |
936 | dnl | |
937 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | |
938 | dnl do not support nested variable expansions. | |
939 | dnl See automake bug#9928 and bug#10237. | |
940 | am_make=${MAKE-make} | |
941 | AC_CACHE_CHECK([whether $am_make supports nested variables], | |
942 | [am_cv_make_support_nested_variables], | |
943 | [if AS_ECHO([['TRUE=$(BAR$(V)) | |
944 | BAR0=false | |
945 | BAR1=true | |
946 | V=1 | |
947 | am__doit: | |
948 | @$(TRUE) | |
949 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | |
950 | am_cv_make_support_nested_variables=yes | |
951 | else | |
952 | am_cv_make_support_nested_variables=no | |
953 | fi]) | |
954 | if test $am_cv_make_support_nested_variables = yes; then | |
955 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | |
956 | AM_V='$(V)' | |
957 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
958 | else | |
959 | AM_V=$AM_DEFAULT_VERBOSITY | |
960 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
961 | fi | |
962 | AC_SUBST([AM_V])dnl | |
963 | AM_SUBST_NOTMAKE([AM_V])dnl | |
964 | AC_SUBST([AM_DEFAULT_V])dnl | |
965 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | |
966 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
967 | AM_BACKSLASH='\' | |
968 | AC_SUBST([AM_BACKSLASH])dnl | |
969 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
970 | ]) | |
971 | ||
972 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
973 | # | |
974 | # This file is free software; the Free Software Foundation | |
975 | # gives unlimited permission to copy and/or distribute it, | |
976 | # 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 | |
977 | 832 | |
978 | 833 | # AM_PROG_INSTALL_STRIP |
979 | 834 | # --------------------- |
980 | # 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 | |
981 | 836 | # specify the program used to strip binaries. This is especially |
982 | 837 | # annoying in cross-compiling environments, where the build's strip |
983 | 838 | # is unlikely to handle the host's binaries. |
984 | 839 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
985 | # always use install-sh in "make install-strip", and initialize | |
840 | # always use install-sh in `make install-strip', and initialize | |
986 | 841 | # STRIPPROG with the value of the STRIP variable (set by the user). |
987 | 842 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
988 | 843 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
989 | # Installed binaries are usually stripped using 'strip' when the user | |
990 | # 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 | |
991 | 846 | # tool to use in cross-compilation environments, therefore Automake |
992 | # will honor the 'STRIP' environment variable to overrule this program. | |
993 | 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'. | |
994 | 849 | if test "$cross_compiling" != no; then |
995 | 850 | AC_CHECK_TOOL([STRIP], [strip], :) |
996 | 851 | fi |
997 | 852 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
998 | 853 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
999 | 854 | |
1000 | # Copyright (C) 2006-2013 Free Software Foundation, Inc. | |
1001 | # | |
1002 | # This file is free software; the Free Software Foundation | |
1003 | # gives unlimited permission to copy and/or distribute it, | |
1004 | # 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 | |
1005 | 862 | |
1006 | 863 | # _AM_SUBST_NOTMAKE(VARIABLE) |
1007 | 864 | # --------------------------- |
1016 | 873 | |
1017 | 874 | # Check how to create a tarball. -*- Autoconf -*- |
1018 | 875 | |
1019 | # Copyright (C) 2004-2013 Free Software Foundation, Inc. | |
1020 | # | |
1021 | # This file is free software; the Free Software Foundation | |
1022 | # gives unlimited permission to copy and/or distribute it, | |
1023 | # 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 | |
1024 | 883 | |
1025 | 884 | # _AM_PROG_TAR(FORMAT) |
1026 | 885 | # -------------------- |
1027 | 886 | # Check how to create a tarball in format FORMAT. |
1028 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
887 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1029 | 888 | # |
1030 | 889 | # Substitute a variable $(am__tar) that is a command |
1031 | 890 | # writing to stdout a FORMAT-tarball containing the directory |
1035 | 894 | # Substitute a variable $(am__untar) that extract such |
1036 | 895 | # a tarball read from stdin. |
1037 | 896 | # $(am__untar) < result.tar |
1038 | # | |
1039 | 897 | AC_DEFUN([_AM_PROG_TAR], |
1040 | 898 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
1041 | 899 | # in the wild :-( We should find a proper way to deprecate it ... |
1042 | 900 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
1043 | ||
1044 | # 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. | |
1045 | 907 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1046 | ||
1047 | m4_if([$1], [v7], | |
1048 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
1049 | ||
1050 | [m4_case([$1], | |
1051 | [ustar], | |
1052 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | |
1053 | # There is notably a 21 bits limit for the UID and the GID. In fact, | |
1054 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | |
1055 | # and bug#13588). | |
1056 | am_max_uid=2097151 # 2^21 - 1 | |
1057 | am_max_gid=$am_max_uid | |
1058 | # The $UID and $GID variables are not portable, so we need to resort | |
1059 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | |
1060 | # below are definitely unexpected, so allow the users to see them | |
1061 | # (that is, avoid stderr redirection). | |
1062 | am_uid=`id -u || echo unknown` | |
1063 | am_gid=`id -g || echo unknown` | |
1064 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | |
1065 | if test $am_uid -le $am_max_uid; then | |
1066 | AC_MSG_RESULT([yes]) | |
1067 | else | |
1068 | AC_MSG_RESULT([no]) | |
1069 | _am_tools=none | |
1070 | fi | |
1071 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | |
1072 | if test $am_gid -le $am_max_gid; then | |
1073 | AC_MSG_RESULT([yes]) | |
1074 | else | |
1075 | AC_MSG_RESULT([no]) | |
1076 | _am_tools=none | |
1077 | fi], | |
1078 | ||
1079 | [pax], | |
1080 | [], | |
1081 | ||
1082 | [m4_fatal([Unknown tar format])]) | |
1083 | ||
1084 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
1085 | ||
1086 | # Go ahead even if we have the value already cached. We do so because we | |
1087 | # need to set the values for the 'am__tar' and 'am__untar' variables. | |
1088 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
1089 | ||
1090 | for _am_tool in $_am_tools; do | |
1091 | case $_am_tool in | |
1092 | gnutar) | |
1093 | for _am_tar in tar gnutar gtar; do | |
1094 | AM_RUN_LOG([$_am_tar --version]) && break | |
1095 | done | |
1096 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
1097 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
1098 | am__untar="$_am_tar -xf -" | |
1099 | ;; | |
1100 | plaintar) | |
1101 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
1102 | # ustar tarball either. | |
1103 | (tar --version) >/dev/null 2>&1 && continue | |
1104 | am__tar='tar chf - "$$tardir"' | |
1105 | am__tar_='tar chf - "$tardir"' | |
1106 | am__untar='tar xf -' | |
1107 | ;; | |
1108 | pax) | |
1109 | am__tar='pax -L -x $1 -w "$$tardir"' | |
1110 | am__tar_='pax -L -x $1 -w "$tardir"' | |
1111 | am__untar='pax -r' | |
1112 | ;; | |
1113 | cpio) | |
1114 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
1115 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
1116 | am__untar='cpio -i -H $1 -d' | |
1117 | ;; | |
1118 | none) | |
1119 | am__tar=false | |
1120 | am__tar_=false | |
1121 | am__untar=false | |
1122 | ;; | |
1123 | esac | |
1124 | ||
1125 | # If the value was cached, stop now. We just wanted to have am__tar | |
1126 | # and am__untar set. | |
1127 | test -n "${am_cv_prog_tar_$1}" && break | |
1128 | ||
1129 | # tar/untar a dummy directory, and stop if the command works. | |
1130 | rm -rf conftest.dir | |
1131 | mkdir conftest.dir | |
1132 | echo GrepMe > conftest.dir/file | |
1133 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
1134 | rm -rf conftest.dir | |
1135 | if test -s conftest.tar; then | |
1136 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
1137 | AM_RUN_LOG([cat conftest.dir/file]) | |
1138 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
1139 | fi | |
1140 | 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 | |
1141 | 953 | rm -rf conftest.dir |
1142 | ||
1143 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
1144 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1145 | ||
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])]) | |
1146 | 967 | AC_SUBST([am__tar]) |
1147 | 968 | AC_SUBST([am__untar]) |
1148 | 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-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-06-10' | |
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-2013 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'` | |
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 ;; |
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 | or1k:Linux:*:*) | |
972 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | 954 | or32:Linux:*:*) |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
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 [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1263 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1264 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1265 | grep IS_64BIT_ARCH >/dev/null | |
1266 | then | |
1267 | case $UNAME_PROCESSOR in | |
1268 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1269 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1270 | esac | |
1271 | fi | |
1272 | 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 | |
1273 | 1242 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1274 | 1243 | exit ;; |
1275 | 1244 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1286 | 1255 | NEO-?:NONSTOP_KERNEL:*:*) |
1287 | 1256 | echo neo-tandem-nsk${UNAME_RELEASE} |
1288 | 1257 | exit ;; |
1289 | NSE-*:NONSTOP_KERNEL:*:*) | |
1258 | NSE-?:NONSTOP_KERNEL:*:*) | |
1290 | 1259 | echo nse-tandem-nsk${UNAME_RELEASE} |
1291 | 1260 | exit ;; |
1292 | 1261 | NSR-?:NONSTOP_KERNEL:*:*) |
1359 | 1328 | echo ${UNAME_MACHINE}-unknown-esx |
1360 | 1329 | exit ;; |
1361 | 1330 | esac |
1331 | ||
1332 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1333 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1362 | 1334 | |
1363 | 1335 | eval $set_cc_for_build |
1364 | 1336 | cat >$dummy.c <<EOF |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-08-10' | |
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-2013 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 \ |
267 | 272 | | le32 | le64 \ |
268 | 273 | | lm32 \ |
269 | 274 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
270 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
275 | | maxq | mb | microblaze | mcore | mep | metag \ | |
271 | 276 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
272 | 277 | | mips16 \ |
273 | 278 | | mips64 | mips64el \ |
285 | 290 | | mipsisa64r2 | mipsisa64r2el \ |
286 | 291 | | mipsisa64sb1 | mipsisa64sb1el \ |
287 | 292 | | mipsisa64sr71k | mipsisa64sr71kel \ |
288 | | mipsr5900 | mipsr5900el \ | |
289 | 293 | | mipstx39 | mipstx39el \ |
290 | 294 | | mn10200 | mn10300 \ |
291 | 295 | | moxie \ |
292 | 296 | | mt \ |
293 | 297 | | msp430 \ |
294 | 298 | | nds32 | nds32le | nds32be \ |
295 | | nios | nios2 | nios2eb | nios2el \ | |
299 | | nios | nios2 \ | |
296 | 300 | | ns16k | ns32k \ |
297 | 301 | | open8 \ |
298 | | or1k | or32 \ | |
302 | | or32 \ | |
299 | 303 | | pdp10 | pdp11 | pj | pjl \ |
300 | 304 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
301 | 305 | | pyramid \ |
365 | 369 | | aarch64-* | aarch64_be-* \ |
366 | 370 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
367 | 371 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
368 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | |
372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
369 | 373 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
370 | 374 | | avr-* | avr32-* \ |
371 | 375 | | be32-* | be64-* \ |
372 | 376 | | bfin-* | bs2000-* \ |
373 | 377 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
374 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
378 | | clipper-* | craynv-* | cydra-* \ | |
375 | 379 | | d10v-* | d30v-* | dlx-* \ |
376 | 380 | | elxsi-* \ |
377 | 381 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
384 | 388 | | lm32-* \ |
385 | 389 | | m32c-* | m32r-* | m32rle-* \ |
386 | 390 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
387 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
388 | | microblaze-* | microblazeel-* \ | |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
389 | 392 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
390 | 393 | | mips16-* \ |
391 | 394 | | mips64-* | mips64el-* \ |
403 | 406 | | mipsisa64r2-* | mipsisa64r2el-* \ |
404 | 407 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
405 | 408 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
406 | | mipsr5900-* | mipsr5900el-* \ | |
407 | 409 | | mipstx39-* | mipstx39el-* \ |
408 | 410 | | mmix-* \ |
409 | 411 | | mt-* \ |
410 | 412 | | msp430-* \ |
411 | 413 | | nds32-* | nds32le-* | nds32be-* \ |
412 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
414 | | nios-* | nios2-* \ | |
413 | 415 | | none-* | np1-* | ns16k-* | ns32k-* \ |
414 | 416 | | open8-* \ |
415 | 417 | | orion-* \ |
785 | 787 | basic_machine=ns32k-utek |
786 | 788 | os=-sysv |
787 | 789 | ;; |
788 | microblaze*) | |
790 | microblaze) | |
789 | 791 | basic_machine=microblaze-xilinx |
790 | 792 | ;; |
791 | mingw64) | |
792 | basic_machine=x86_64-pc | |
793 | os=-mingw64 | |
794 | ;; | |
795 | 793 | mingw32) |
796 | basic_machine=i686-pc | |
794 | basic_machine=i386-pc | |
797 | 795 | os=-mingw32 |
798 | 796 | ;; |
799 | 797 | mingw32ce) |
829 | 827 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
830 | 828 | ;; |
831 | 829 | msys) |
832 | basic_machine=i686-pc | |
830 | basic_machine=i386-pc | |
833 | 831 | os=-msys |
834 | 832 | ;; |
835 | 833 | mvs) |
1020 | 1018 | basic_machine=i586-unknown |
1021 | 1019 | os=-pw32 |
1022 | 1020 | ;; |
1023 | rdos | rdos64) | |
1024 | basic_machine=x86_64-pc | |
1025 | os=-rdos | |
1026 | ;; | |
1027 | rdos32) | |
1021 | rdos) | |
1028 | 1022 | basic_machine=i386-pc |
1029 | 1023 | os=-rdos |
1030 | 1024 | ;; |
1351 | 1345 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1352 | 1346 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1353 | 1347 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1354 | | -sym* | -kopensolaris* | -plan9* \ | |
1348 | | -sym* | -kopensolaris* \ | |
1355 | 1349 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1356 | 1350 | | -aos* | -aros* \ |
1357 | 1351 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1358 | 1352 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1359 | 1353 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1360 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1354 | | -openbsd* | -solidbsd* \ | |
1361 | 1355 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1362 | 1356 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1363 | 1357 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1364 | 1358 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1365 | 1359 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1366 | 1360 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1367 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1368 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1361 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-uclibc* \ | |
1369 | 1363 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1370 | 1364 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1371 | 1365 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1497 | 1491 | -aros*) |
1498 | 1492 | os=-aros |
1499 | 1493 | ;; |
1494 | -kaos*) | |
1495 | os=-kaos | |
1496 | ;; | |
1500 | 1497 | -zvmoe) |
1501 | 1498 | os=-zvmoe |
1502 | 1499 | ;; |
1545 | 1542 | c4x-* | tic4x-*) |
1546 | 1543 | os=-coff |
1547 | 1544 | ;; |
1548 | c8051-*) | |
1549 | os=-elf | |
1550 | ;; | |
1551 | 1545 | hexagon-*) |
1552 | 1546 | os=-elf |
1553 | 1547 | ;; |
1589 | 1583 | os=-elf |
1590 | 1584 | ;; |
1591 | 1585 | mips*-*) |
1592 | os=-elf | |
1593 | ;; | |
1594 | or1k-*) | |
1595 | 1586 | os=-elf |
1596 | 1587 | ;; |
1597 | 1588 | or32-*) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.4. | |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.4.1. | |
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' | |
580 | PACKAGE_STRING='dillo 3.0.4' | |
579 | PACKAGE_VERSION='3.0.4.1' | |
580 | PACKAGE_STRING='dillo 3.0.4.1' | |
581 | 581 | PACKAGE_BUGREPORT='' |
582 | 582 | PACKAGE_URL='' |
583 | 583 | |
663 | 663 | LDFLAGS |
664 | 664 | CFLAGS |
665 | 665 | CC |
666 | AM_BACKSLASH | |
667 | AM_DEFAULT_VERBOSITY | |
668 | AM_DEFAULT_V | |
669 | AM_V | |
670 | 666 | am__untar |
671 | 667 | am__tar |
672 | 668 | AMTAR |
743 | 739 | ac_subst_files='' |
744 | 740 | ac_user_opts=' |
745 | 741 | enable_option_checking |
746 | enable_silent_rules | |
747 | 742 | with_jpeg_lib |
748 | 743 | with_jpeg_inc |
749 | 744 | enable_efence |
1311 | 1306 | # Omit some internal or obsolete options to make the list less imposing. |
1312 | 1307 | # This message is too long to be a string in the A/UX 3.1 sh. |
1313 | 1308 | cat <<_ACEOF |
1314 | \`configure' configures dillo 3.0.4 to adapt to many kinds of systems. | |
1309 | \`configure' configures dillo 3.0.4.1 to adapt to many kinds of systems. | |
1315 | 1310 | |
1316 | 1311 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1317 | 1312 | |
1382 | 1377 | |
1383 | 1378 | if test -n "$ac_init_help"; then |
1384 | 1379 | case $ac_init_help in |
1385 | short | recursive ) echo "Configuration of dillo 3.0.4:";; | |
1380 | short | recursive ) echo "Configuration of dillo 3.0.4.1:";; | |
1386 | 1381 | esac |
1387 | 1382 | cat <<\_ACEOF |
1388 | 1383 | |
1390 | 1385 | --disable-option-checking ignore unrecognized --enable/--with options |
1391 | 1386 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1392 | 1387 | --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 | 1388 | --enable-efence Try to compile and run with Electric Fence |
1396 | 1389 | --enable-gprof Try to compile and run with profiling enabled |
1397 | 1390 | --enable-insure Try to compile and run with Insure++ |
1403 | 1396 | --disable-gif Disable support for GIF images |
1404 | 1397 | --disable-threaded-dns Disable the advantage of a reentrant resolver library |
1405 | 1398 | --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 | |
1399 | --disable-dependency-tracking speeds up one-time build | |
1400 | --enable-dependency-tracking do not reject slow dependency extractors | |
1410 | 1401 | |
1411 | 1402 | Optional Packages: |
1412 | 1403 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1492 | 1483 | test -n "$ac_init_help" && exit $ac_status |
1493 | 1484 | if $ac_init_version; then |
1494 | 1485 | cat <<\_ACEOF |
1495 | dillo configure 3.0.4 | |
1486 | dillo configure 3.0.4.1 | |
1496 | 1487 | generated by GNU Autoconf 2.69 |
1497 | 1488 | |
1498 | 1489 | Copyright (C) 2012 Free Software Foundation, Inc. |
2250 | 2241 | This file contains any messages produced by compilers while |
2251 | 2242 | running configure, to aid debugging if configure makes a mistake. |
2252 | 2243 | |
2253 | It was created by dillo $as_me 3.0.4, which was | |
2244 | It was created by dillo $as_me 3.0.4.1, which was | |
2254 | 2245 | generated by GNU Autoconf 2.69. Invocation command line was |
2255 | 2246 | |
2256 | 2247 | $ $0 $@ |
2739 | 2730 | NONENONEs,x,x, && |
2740 | 2731 | program_prefix=${target_alias}- |
2741 | 2732 | |
2742 | am__api_version='1.14' | |
2733 | am__api_version='1.11' | |
2743 | 2734 | |
2744 | 2735 | # Find a good install program. We prefer a C program (faster), |
2745 | 2736 | # so one script is as good as another. But avoid the broken or |
2836 | 2827 | |
2837 | 2828 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2838 | 2829 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2830 | # Just in case | |
2831 | sleep 1 | |
2832 | echo timestamp > conftest.file | |
2839 | 2833 | # Reject unsafe characters in $srcdir or the absolute working directory |
2840 | 2834 | # name. Accept space and tab only in the latter. |
2841 | 2835 | am_lf=' |
2846 | 2840 | esac |
2847 | 2841 | case $srcdir in |
2848 | 2842 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2849 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2843 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2850 | 2844 | esac |
2851 | 2845 | |
2852 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2846 | # Do `set' in a subshell so we don't clobber the current shell's | |
2853 | 2847 | # arguments. Must try -L first in case configure is actually a |
2854 | 2848 | # symlink; some systems play weird games with the mod time of symlinks |
2855 | 2849 | # (eg FreeBSD returns the mod time of the symlink's containing |
2856 | 2850 | # directory). |
2857 | 2851 | 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 | |
2852 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2853 | if test "$*" = "X"; then | |
2854 | # -L didn't work. | |
2855 | set X `ls -t "$srcdir/configure" conftest.file` | |
2856 | fi | |
2857 | rm -f conftest.file | |
2858 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2859 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2860 | ||
2861 | # If neither matched, then we have a broken ls. This can happen | |
2862 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2863 | # broken ls alias from the environment. This has actually | |
2864 | # happened. Such a system could not be considered "sane". | |
2865 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2866 | alias in your environment" "$LINENO" 5 | |
2867 | fi | |
2868 | ||
2883 | 2869 | test "$2" = conftest.file |
2884 | 2870 | ) |
2885 | 2871 | then |
2891 | 2877 | fi |
2892 | 2878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2893 | 2879 | $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 | 2880 | test "$program_prefix" != NONE && |
2905 | 2881 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2906 | 2882 | # Use a double $ so make ignores it. |
2923 | 2899 | esac |
2924 | 2900 | fi |
2925 | 2901 | # Use eval to expand $SHELL |
2926 | if eval "$MISSING --is-lightweight"; then | |
2927 | am_missing_run="$MISSING " | |
2902 | if eval "$MISSING --run true"; then | |
2903 | am_missing_run="$MISSING --run " | |
2928 | 2904 | else |
2929 | 2905 | 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;} | |
2906 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2907 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2932 | 2908 | fi |
2933 | 2909 | |
2934 | 2910 | if test x"${install_sh}" != xset; then |
2940 | 2916 | esac |
2941 | 2917 | fi |
2942 | 2918 | |
2943 | # Installed binaries are usually stripped using 'strip' when the user | |
2944 | # run "make install-strip". However 'strip' might not be the right | |
2919 | # Installed binaries are usually stripped using `strip' when the user | |
2920 | # run `make install-strip'. However `strip' might not be the right | |
2945 | 2921 | # tool to use in cross-compilation environments, therefore Automake |
2946 | # will honor the 'STRIP' environment variable to overrule this program. | |
2922 | # will honor the `STRIP' environment variable to overrule this program. | |
2947 | 2923 | if test "$cross_compiling" != no; then |
2948 | 2924 | if test -n "$ac_tool_prefix"; then |
2949 | 2925 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3082 | 3058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3083 | 3059 | $as_echo "$MKDIR_P" >&6; } |
3084 | 3060 | |
3061 | mkdir_p="$MKDIR_P" | |
3062 | case $mkdir_p in | |
3063 | [\\/$]* | ?:[\\/]*) ;; | |
3064 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
3065 | esac | |
3066 | ||
3085 | 3067 | for ac_prog in gawk mawk nawk awk |
3086 | 3068 | do |
3087 | 3069 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3164 | 3146 | fi |
3165 | 3147 | rmdir .tst 2>/dev/null |
3166 | 3148 | |
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 | 3149 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3207 | 3150 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3208 | 3151 | # is not polluted with repeated "-I." |
3225 | 3168 | |
3226 | 3169 | # Define the identity of the package. |
3227 | 3170 | PACKAGE='dillo' |
3228 | VERSION='3.0.4' | |
3171 | VERSION='3.0.4.1' | |
3229 | 3172 | |
3230 | 3173 | |
3231 | 3174 | cat >>confdefs.h <<_ACEOF |
3252 | 3195 | |
3253 | 3196 | |
3254 | 3197 | 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 | 3198 | |
3262 | 3199 | # We need awk for the "check" target. The system "awk" is bad on |
3263 | 3200 | # some platforms. |
3265 | 3202 | # in the wild :-( We should find a proper way to deprecate it ... |
3266 | 3203 | AMTAR='$${TAR-tar}' |
3267 | 3204 | |
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 | 3205 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3273 | 3206 | |
3274 | 3207 | |
3275 | 3208 | |
3276 | 3209 | |
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 | 3210 | |
3321 | 3211 | |
3322 | 3212 | ac_config_headers="$ac_config_headers config.h" |
4199 | 4089 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4200 | 4090 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4201 | 4091 | 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 | 4092 | DEPDIR="${am__leading_dot}deps" |
4262 | 4093 | |
4263 | 4094 | ac_config_commands="$ac_config_commands depfiles" |
4277 | 4108 | _am_result=none |
4278 | 4109 | # First try GNU make style include. |
4279 | 4110 | echo "include confinc" > confmf |
4280 | # Ignore all kinds of additional output from 'make'. | |
4111 | # Ignore all kinds of additional output from `make'. | |
4281 | 4112 | case `$am_make -s -f confmf 2> /dev/null` in #( |
4282 | 4113 | *the\ am__doit\ target*) |
4283 | 4114 | am__include=include |
4333 | 4164 | # We make a subdir and do the tests there. Otherwise we can end up |
4334 | 4165 | # making bogus files that we don't know about and never remove. For |
4335 | 4166 | # 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". | |
4167 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4168 | # in D'. | |
4338 | 4169 | rm -rf conftest.dir |
4339 | 4170 | mkdir conftest.dir |
4340 | 4171 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4369 | 4200 | : > sub/conftest.c |
4370 | 4201 | for i in 1 2 3 4 5 6; do |
4371 | 4202 | 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 | |
4203 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4204 | # Solaris 8's {/usr,}/bin/sh. | |
4205 | touch sub/conftst$i.h | |
4375 | 4206 | done |
4376 | 4207 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4377 | 4208 | |
4378 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4209 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4379 | 4210 | # 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. | |
4211 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4212 | # versions had trouble with output in subdirs | |
4382 | 4213 | am__obj=sub/conftest.${OBJEXT-o} |
4383 | 4214 | am__minus_obj="-o $am__obj" |
4384 | 4215 | case $depmode in |
4387 | 4218 | test "$am__universal" = false || continue |
4388 | 4219 | ;; |
4389 | 4220 | nosideeffect) |
4390 | # After this tag, mechanisms are not by side-effect, so they'll | |
4391 | # only be used when explicitly requested. | |
4221 | # after this tag, mechanisms are not by side-effect, so they'll | |
4222 | # only be used when explicitly requested | |
4392 | 4223 | if test "x$enable_dependency_tracking" = xyes; then |
4393 | 4224 | continue |
4394 | 4225 | else |
4396 | 4227 | fi |
4397 | 4228 | ;; |
4398 | 4229 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4399 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4230 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4400 | 4231 | # not run yet. These depmodes are late enough in the game, and |
4401 | 4232 | # so weak that their functioning should not be impacted. |
4402 | 4233 | am__obj=conftest.${OBJEXT-o} |
4718 | 4549 | # We make a subdir and do the tests there. Otherwise we can end up |
4719 | 4550 | # making bogus files that we don't know about and never remove. For |
4720 | 4551 | # 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". | |
4552 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4553 | # in D'. | |
4723 | 4554 | rm -rf conftest.dir |
4724 | 4555 | mkdir conftest.dir |
4725 | 4556 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4754 | 4585 | : > sub/conftest.c |
4755 | 4586 | for i in 1 2 3 4 5 6; do |
4756 | 4587 | 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 | |
4588 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4589 | # Solaris 8's {/usr,}/bin/sh. | |
4590 | touch sub/conftst$i.h | |
4760 | 4591 | done |
4761 | 4592 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4762 | 4593 | |
4763 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4594 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4764 | 4595 | # 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 | # versions had trouble with output in subdirs. | |
4596 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4597 | # versions had trouble with output in subdirs | |
4767 | 4598 | am__obj=sub/conftest.${OBJEXT-o} |
4768 | 4599 | am__minus_obj="-o $am__obj" |
4769 | 4600 | case $depmode in |
4772 | 4603 | test "$am__universal" = false || continue |
4773 | 4604 | ;; |
4774 | 4605 | nosideeffect) |
4775 | # After this tag, mechanisms are not by side-effect, so they'll | |
4776 | # only be used when explicitly requested. | |
4606 | # after this tag, mechanisms are not by side-effect, so they'll | |
4607 | # only be used when explicitly requested | |
4777 | 4608 | if test "x$enable_dependency_tracking" = xyes; then |
4778 | 4609 | continue |
4779 | 4610 | else |
4781 | 4612 | fi |
4782 | 4613 | ;; |
4783 | 4614 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4784 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4615 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4785 | 4616 | # not run yet. These depmodes are late enough in the game, and |
4786 | 4617 | # so weak that their functioning should not be impacted. |
4787 | 4618 | am__obj=conftest.${OBJEXT-o} |
6850 | 6681 | LTLIBOBJS=$ac_ltlibobjs |
6851 | 6682 | |
6852 | 6683 | |
6853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
6854 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
6855 | if test -n "$am_sleep_pid"; then | |
6856 | # Hide warnings about reused PIDs. | |
6857 | wait $am_sleep_pid 2>/dev/null | |
6858 | fi | |
6859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
6860 | $as_echo "done" >&6; } | |
6861 | 6684 | if test -n "$EXEEXT"; then |
6862 | 6685 | am__EXEEXT_TRUE= |
6863 | 6686 | am__EXEEXT_FALSE='#' |
7275 | 7098 | # report actual input values of CONFIG_FILES etc. instead of their |
7276 | 7099 | # values after options handling. |
7277 | 7100 | ac_log=" |
7278 | This file was extended by dillo $as_me 3.0.4, which was | |
7101 | This file was extended by dillo $as_me 3.0.4.1, which was | |
7279 | 7102 | generated by GNU Autoconf 2.69. Invocation command line was |
7280 | 7103 | |
7281 | 7104 | CONFIG_FILES = $CONFIG_FILES |
7341 | 7164 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7342 | 7165 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7343 | 7166 | ac_cs_version="\\ |
7344 | dillo config.status 3.0.4 | |
7167 | dillo config.status 3.0.4.1 | |
7345 | 7168 | configured by $0, generated by GNU Autoconf 2.69, |
7346 | 7169 | with options \\"\$ac_cs_config\\" |
7347 | 7170 | |
8079 | 7902 | |
8080 | 7903 | case $ac_file$ac_mode in |
8081 | 7904 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
8082 | # Older Autoconf quotes --file arguments for eval, but not when files | |
7905 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
8083 | 7906 | # are listed without --file. Let's play safe and only enable the eval |
8084 | 7907 | # if we detect the quoting. |
8085 | 7908 | case $CONFIG_FILES in |
8092 | 7915 | # Strip MF so we end up with the name of the file. |
8093 | 7916 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
8094 | 7917 | # Check whether this is an Automake generated Makefile or not. |
8095 | # We used to match only the files named 'Makefile.in', but | |
7918 | # We used to match only the files named `Makefile.in', but | |
8096 | 7919 | # some people rename them; so instead we look at the file content. |
8097 | 7920 | # Grep'ing the first line is not enough: some people post-process |
8098 | 7921 | # each Makefile.in and add a new line on top of each file to say so. |
8126 | 7949 | continue |
8127 | 7950 | fi |
8128 | 7951 | # Extract the definition of DEPDIR, am__include, and am__quote |
8129 | # from the Makefile without running 'make'. | |
7952 | # from the Makefile without running `make'. | |
8130 | 7953 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
8131 | 7954 | test -z "$DEPDIR" && continue |
8132 | 7955 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
8133 | test -z "$am__include" && continue | |
7956 | test -z "am__include" && continue | |
8134 | 7957 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
7958 | # When using ansi2knr, U may be empty or an underscore; expand it | |
7959 | U=`sed -n 's/^U = //p' < "$mf"` | |
8135 | 7960 | # Find all dependency output files, they are included files with |
8136 | 7961 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
8137 | 7962 | # simplest approach to changing $(DEPDIR) to its actual value in the |
8138 | 7963 | # expansion. |
8139 | 7964 | for file in `sed -n " |
8140 | 7965 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
8141 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
7966 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
8142 | 7967 | # Make sure the directory exists. |
8143 | 7968 | test -f "$dirpart/$file" && continue |
8144 | 7969 | fdir=`$as_dirname -- "$file" || |
0 | 0 | dnl Process this file with aclocal, autoconf and automake. |
1 | 1 | |
2 | AC_INIT([dillo], [3.0.4]) | |
2 | AC_INIT([dillo], [3.0.4.1]) | |
3 | 3 | |
4 | 4 | dnl Detect the canonical target build environment |
5 | 5 | AC_CANONICAL_TARGET |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2013-05-30.07; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
3 | scriptversion=2012-03-27.16; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, | |
6 | # 2011, 2012 Free Software Foundation, Inc. | |
6 | 7 | |
7 | 8 | # This program is free software; you can redistribute it and/or modify |
8 | 9 | # it under the terms of the GNU General Public License as published by |
26 | 27 | |
27 | 28 | case $1 in |
28 | 29 | '') |
29 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
30 | exit 1; | |
31 | ;; | |
30 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
31 | exit 1; | |
32 | ;; | |
32 | 33 | -h | --h*) |
33 | 34 | cat <<\EOF |
34 | 35 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
55 | 56 | ;; |
56 | 57 | esac |
57 | 58 | |
58 | # Get the directory component of the given path, and save it in the | |
59 | # global variables '$dir'. Note that this directory component will | |
60 | # be either empty or ending with a '/' character. This is deliberate. | |
61 | set_dir_from () | |
62 | { | |
63 | case $1 in | |
64 | */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; | |
65 | *) dir=;; | |
66 | esac | |
67 | } | |
68 | ||
69 | # Get the suffix-stripped basename of the given path, and save it the | |
70 | # global variable '$base'. | |
71 | set_base_from () | |
72 | { | |
73 | base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` | |
74 | } | |
75 | ||
76 | # If no dependency file was actually created by the compiler invocation, | |
77 | # we still have to create a dummy depfile, to avoid errors with the | |
78 | # Makefile "include basename.Plo" scheme. | |
79 | make_dummy_depfile () | |
80 | { | |
81 | echo "#dummy" > "$depfile" | |
82 | } | |
83 | ||
84 | # Factor out some common post-processing of the generated depfile. | |
85 | # Requires the auxiliary global variable '$tmpdepfile' to be set. | |
86 | aix_post_process_depfile () | |
87 | { | |
88 | # If the compiler actually managed to produce a dependency file, | |
89 | # post-process it. | |
90 | if test -f "$tmpdepfile"; then | |
91 | # Each line is of the form 'foo.o: dependency.h'. | |
92 | # Do two passes, one to just change these to | |
93 | # $object: dependency.h | |
94 | # and one to simply output | |
95 | # dependency.h: | |
96 | # which is needed to avoid the deleted-header problem. | |
97 | { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" | |
98 | sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" | |
99 | } > "$depfile" | |
100 | rm -f "$tmpdepfile" | |
101 | else | |
102 | make_dummy_depfile | |
103 | fi | |
104 | } | |
105 | ||
106 | 59 | # A tabulation character. |
107 | 60 | tab=' ' |
108 | 61 | # A newline character. |
109 | 62 | nl=' |
110 | 63 | ' |
111 | # Character ranges might be problematic outside the C locale. | |
112 | # These definitions help. | |
113 | upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
114 | lower=abcdefghijklmnopqrstuvwxyz | |
115 | digits=0123456789 | |
116 | alpha=${upper}${lower} | |
117 | 64 | |
118 | 65 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
119 | 66 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
126 | 73 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
127 | 74 | |
128 | 75 | rm -f "$tmpdepfile" |
129 | ||
130 | # Avoid interferences from the environment. | |
131 | gccflag= dashmflag= | |
132 | 76 | |
133 | 77 | # Some modes work just like other modes, but use different flags. We |
134 | 78 | # parameterize here, but still list the modes in the big case below, |
141 | 85 | fi |
142 | 86 | |
143 | 87 | if test "$depmode" = dashXmstdout; then |
144 | # This is just like dashmstdout with a different argument. | |
145 | dashmflag=-xM | |
146 | depmode=dashmstdout | |
88 | # This is just like dashmstdout with a different argument. | |
89 | dashmflag=-xM | |
90 | depmode=dashmstdout | |
147 | 91 | fi |
148 | 92 | |
149 | 93 | cygpath_u="cygpath -u -f -" |
150 | 94 | if test "$depmode" = msvcmsys; then |
151 | # This is just like msvisualcpp but w/o cygpath translation. | |
152 | # Just convert the backslash-escaped backslashes to single forward | |
153 | # slashes to satisfy depend.m4 | |
154 | cygpath_u='sed s,\\\\,/,g' | |
155 | depmode=msvisualcpp | |
95 | # This is just like msvisualcpp but w/o cygpath translation. | |
96 | # Just convert the backslash-escaped backslashes to single forward | |
97 | # slashes to satisfy depend.m4 | |
98 | cygpath_u='sed s,\\\\,/,g' | |
99 | depmode=msvisualcpp | |
156 | 100 | fi |
157 | 101 | |
158 | 102 | if test "$depmode" = msvc7msys; then |
159 | # This is just like msvc7 but w/o cygpath translation. | |
160 | # Just convert the backslash-escaped backslashes to single forward | |
161 | # slashes to satisfy depend.m4 | |
162 | cygpath_u='sed s,\\\\,/,g' | |
163 | depmode=msvc7 | |
103 | # This is just like msvc7 but w/o cygpath translation. | |
104 | # Just convert the backslash-escaped backslashes to single forward | |
105 | # slashes to satisfy depend.m4 | |
106 | cygpath_u='sed s,\\\\,/,g' | |
107 | depmode=msvc7 | |
164 | 108 | fi |
165 | 109 | |
166 | 110 | if test "$depmode" = xlc; then |
167 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. | |
168 | gccflag=-qmakedep=gcc,-MF | |
169 | depmode=gcc | |
111 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. | |
112 | gccflag=-qmakedep=gcc,-MF | |
113 | depmode=gcc | |
170 | 114 | fi |
171 | 115 | |
172 | 116 | case "$depmode" in |
189 | 133 | done |
190 | 134 | "$@" |
191 | 135 | stat=$? |
192 | if test $stat -ne 0; then | |
136 | if test $stat -eq 0; then : | |
137 | else | |
193 | 138 | rm -f "$tmpdepfile" |
194 | 139 | exit $stat |
195 | 140 | fi |
197 | 142 | ;; |
198 | 143 | |
199 | 144 | gcc) |
200 | ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. | |
201 | ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. | |
202 | ## (see the conditional assignment to $gccflag above). | |
203 | 145 | ## There are various ways to get dependency output from gcc. Here's |
204 | 146 | ## why we pick this rather obscure method: |
205 | 147 | ## - Don't want to use -MD because we'd like the dependencies to end |
206 | 148 | ## up in a subdir. Having to rename by hand is ugly. |
207 | 149 | ## (We might end up doing this anyway to support |