Codebase list dillo / dafdfbf
Imported Upstream version 3.0.4~rc1 Axel Beckert 9 years ago
128 changed file(s) with 9345 addition(s) and 3695 deletion(s). Raw diff Collapse all Expand all
55 user. For a history of changes in full detail, see our Mercurial repository
66 at http://hg.dillo.org/dillo
77
8
9 dillo-3.0.4 [not released yet]
10
11 +- OPTGROUP and INS elements.
12 - Some HTML5 elements, etc.
13 - Added show_ui_tooltip preference (BUG#1140).
14 Patches: corvid
15 +- Make embedding into other applications more reliable (BUG#1127).
16 - Add search from address bar.
17 - Share CSS user agent stylesheet between pages.
18 Patches: Johannes Hofmann
19 +- Better scaling (down) of images, even with consideration of gamma
20 correction.
21 - Fixed (possibly security) problem of FltkImgBuf caused by integer overflow
22 (BUG#1129).
23 - Some linebreaking fixes, and optimization for non-justified text, including
24 new preference stretchability_factor.
25 - Added white_bg_replacement preference.
26 - Implemented background images (except 'background-attachment'), added
27 load_background_images preference, as well as a new entry in the tools menu.
28 Patches: Sebastian Geerken
29 +- Fix a set of bugs reported by Oulu Univ. Secure Programming Group
30 (HTML parsing, URL resolution, GIF processing, etc.)
31 - Improved/fixed handling of HEAD, TITLE, TEXTAREA and form inputs.
32 - Made show_url dillorc option work again (BUG#1128)
33 Patches: Jorge Arellano Cid
34 +- Fix compiling on Hurd.
35 Patch: Pino Toscano
36 +- Avoid Dpid children becoming zombies.
37 Patch: Jorge Arellano, J. Gaffney
38 +- HTML5 WBR element.
39 - Fix compiling on IRIX with MIPSpro compiler.
40 Patches: corvid, Sebastian Geerken
41
42 -----------------------------------------------------------------------------
843
944 dillo-3.0.3 [April 17, 2013]
1045
0 # Makefile.in generated by automake 1.11.6 from Makefile.am.
0 # Makefile.in generated by automake 1.14 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
5 # Foundation, Inc.
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
65 # This Makefile.in is free software; the Free Software Foundation
76 # gives unlimited permission to copy and/or distribute it,
87 # with or without modifications, as long as this notice is preserved.
1615
1716
1817 VPATH = @srcdir@
19 am__make_dryrun = \
20 { \
21 am__dry=no; \
18 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19 am__make_running_with_option = \
20 case $${target_option-} in \
21 ?) ;; \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
24 exit 1;; \
25 esac; \
26 has_opt=no; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
30 else \
2231 case $$MAKEFLAGS in \
2332 *\\[\ \ ]*) \
24 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
25 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26 *) \
27 for am__flg in $$MAKEFLAGS; do \
28 case $$am__flg in \
29 *=*|--*) ;; \
30 *n*) am__dry=yes; break;; \
31 esac; \
32 done;; \
33 bs=\\; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
3336 esac; \
34 test $$am__dry = yes; \
35 }
37 fi; \
38 skip_next=no; \
39 strip_trailopt () \
40 { \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42 }; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
45 case $$flg in \
46 *=*|--*) continue;; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
55 esac; \
56 case $$flg in \
57 *$$target_option*) has_opt=yes; break;; \
58 esac; \
59 done; \
60 test $$has_opt = yes
61 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
3663 pkgdatadir = $(datadir)/@PACKAGE@
3764 pkgincludedir = $(includedir)/@PACKAGE@
3865 pkglibdir = $(libdir)/@PACKAGE@
5380 host_triplet = @host@
5481 target_triplet = @target@
5582 subdir = .
56 DIST_COMMON = README $(am__configure_deps) $(dist_bin_SCRIPTS) \
57 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
58 $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
59 ChangeLog INSTALL NEWS config.guess config.sub depcomp \
60 install-sh missing
83 DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
84 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
85 $(top_srcdir)/configure $(am__configure_deps) \
86 $(srcdir)/config.h.in $(dist_bin_SCRIPTS) COPYING compile \
87 config.guess config.sub depcomp install-sh missing
6188 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
6289 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
6390 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97124 }
98125 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)"
99126 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 =
100139 SOURCES =
101140 DIST_SOURCES =
102 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
103 html-recursive info-recursive install-data-recursive \
104 install-dvi-recursive install-exec-recursive \
105 install-html-recursive install-info-recursive \
106 install-pdf-recursive install-ps-recursive install-recursive \
107 installcheck-recursive installdirs-recursive pdf-recursive \
108 ps-recursive uninstall-recursive
141 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
142 ctags-recursive dvi-recursive html-recursive info-recursive \
143 install-data-recursive install-dvi-recursive \
144 install-exec-recursive install-html-recursive \
145 install-info-recursive install-pdf-recursive \
146 install-ps-recursive install-recursive installcheck-recursive \
147 installdirs-recursive pdf-recursive ps-recursive \
148 tags-recursive uninstall-recursive
109149 am__can_run_installinfo = \
110150 case $$AM_UPDATE_INFO_DIR in \
111151 n|no|NO) false;; \
114154 DATA = $(sysconf_DATA)
115155 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
116156 distclean-recursive maintainer-clean-recursive
117 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
118 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
119 distdir dist dist-all distcheck
157 am__recursive_targets = \
158 $(RECURSIVE_TARGETS) \
159 $(RECURSIVE_CLEAN_TARGETS) \
160 $(am__extra_recursive_targets)
161 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
162 cscope distdir dist dist-all distcheck
163 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
164 $(LISP)config.h.in
165 # Read a list of newline-separated strings from the standard input,
166 # and print each of them once, without duplicates. Input order is
167 # *not* preserved.
168 am__uniquify_input = $(AWK) '\
169 BEGIN { nonempty = 0; } \
170 { items[$$0] = 1; nonempty = 1; } \
171 END { if (nonempty) { for (i in items) print i; }; } \
172 '
173 # Make sure the list of sources is unique. This is necessary because,
174 # e.g., the same source file might be shared among _SOURCES variables
175 # for different programs/libraries.
176 am__define_uniq_tagged_files = \
177 list='$(am__tagged_files)'; \
178 unique=`for i in $$list; do \
179 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
180 done | $(am__uniquify_input)`
120181 ETAGS = etags
121182 CTAGS = ctags
183 CSCOPE = cscope
122184 DIST_SUBDIRS = $(SUBDIRS)
123185 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
124186 distdir = $(PACKAGE)-$(VERSION)
129191 && rm -rf "$(distdir)" \
130192 || { sleep 5 && rm -rf "$(distdir)"; }; \
131193 else :; fi
194 am__post_remove_distdir = $(am__remove_distdir)
132195 am__relativize = \
133196 dir0=`pwd`; \
134197 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
156219 reldir="$$dir2"
157220 DIST_ARCHIVES = $(distdir).tar.gz
158221 GZIP_ENV = --best
222 DIST_TARGETS = dist-gzip
159223 distuninstallcheck_listfiles = find . -type f -print
160224 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
161225 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
162226 distcleancheck_listfiles = find . -type f -print
163227 ACLOCAL = @ACLOCAL@
164228 AMTAR = @AMTAR@
229 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
165230 AUTOCONF = @AUTOCONF@
166231 AUTOHEADER = @AUTOHEADER@
167232 AUTOMAKE = @AUTOMAKE@
203268 LIBPTHREAD_LIBS = @LIBPTHREAD_LIBS@
204269 LIBS = @LIBS@
205270 LIBSSL_LIBS = @LIBSSL_LIBS@
271 LIBX11_LIBS = @LIBX11_LIBS@
206272 LIBZ_LIBS = @LIBZ_LIBS@
207273 LTLIBOBJS = @LTLIBOBJS@
208274 MAKEINFO = @MAKEINFO@
320386 $(am__aclocal_m4_deps):
321387
322388 config.h: stamp-h1
323 @if test ! -f $@; then rm -f stamp-h1; else :; fi
324 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
389 @test -f $@ || rm -f stamp-h1
390 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
325391
326392 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
327393 @rm -f stamp-h1
391457 dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
392458
393459 # This directory's subdirectories are mostly independent; you can cd
394 # into them and run `make' without going through this Makefile.
395 # To change the values of `make' variables: instead of editing Makefiles,
396 # (1) if the variable is set in `config.status', edit `config.status'
397 # (which will cause the Makefiles to be regenerated when you run `make');
398 # (2) otherwise, pass the desired values on the `make' command line.
399 $(RECURSIVE_TARGETS):
400 @fail= failcom='exit 1'; \
401 for f in x $$MAKEFLAGS; do \
402 case $$f in \
403 *=* | --[!k]*);; \
404 *k*) failcom='fail=yes';; \
405 esac; \
406 done; \
460 # into them and run 'make' without going through this Makefile.
461 # To change the values of 'make' variables: instead of editing Makefiles,
462 # (1) if the variable is set in 'config.status', edit 'config.status'
463 # (which will cause the Makefiles to be regenerated when you run 'make');
464 # (2) otherwise, pass the desired values on the 'make' command line.
465 $(am__recursive_targets):
466 @fail=; \
467 if $(am__make_keepgoing); then \
468 failcom='fail=yes'; \
469 else \
470 failcom='exit 1'; \
471 fi; \
407472 dot_seen=no; \
408473 target=`echo $@ | sed s/-recursive//`; \
409 list='$(SUBDIRS)'; for subdir in $$list; do \
474 case "$@" in \
475 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
476 *) list='$(SUBDIRS)' ;; \
477 esac; \
478 for subdir in $$list; do \
410479 echo "Making $$target in $$subdir"; \
411480 if test "$$subdir" = "."; then \
412481 dot_seen=yes; \
421490 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
422491 fi; test -z "$$fail"
423492
424 $(RECURSIVE_CLEAN_TARGETS):
425 @fail= failcom='exit 1'; \
426 for f in x $$MAKEFLAGS; do \
427 case $$f in \
428 *=* | --[!k]*);; \
429 *k*) failcom='fail=yes';; \
430 esac; \
431 done; \
432 dot_seen=no; \
433 case "$@" in \
434 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
435 *) list='$(SUBDIRS)' ;; \
436 esac; \
437 rev=''; for subdir in $$list; do \
438 if test "$$subdir" = "."; then :; else \
439 rev="$$subdir $$rev"; \
440 fi; \
441 done; \
442 rev="$$rev ."; \
443 target=`echo $@ | sed s/-recursive//`; \
444 for subdir in $$rev; do \
445 echo "Making $$target in $$subdir"; \
446 if test "$$subdir" = "."; then \
447 local_target="$$target-am"; \
448 else \
449 local_target="$$target"; \
450 fi; \
451 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
452 || eval $$failcom; \
453 done && test -z "$$fail"
454 tags-recursive:
455 list='$(SUBDIRS)'; for subdir in $$list; do \
456 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
457 done
458 ctags-recursive:
459 list='$(SUBDIRS)'; for subdir in $$list; do \
460 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
461 done
462
463 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
464 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
465 unique=`for i in $$list; do \
466 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
467 done | \
468 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
469 END { if (nonempty) { for (i in files) print i; }; }'`; \
470 mkid -fID $$unique
471 tags: TAGS
472
473 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
474 $(TAGS_FILES) $(LISP)
493 ID: $(am__tagged_files)
494 $(am__define_uniq_tagged_files); mkid -fID $$unique
495 tags: tags-recursive
496 TAGS: tags
497
498 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
475499 set x; \
476500 here=`pwd`; \
477501 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
487511 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
488512 fi; \
489513 done; \
490 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
491 unique=`for i in $$list; do \
492 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
493 done | \
494 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
495 END { if (nonempty) { for (i in files) print i; }; }'`; \
514 $(am__define_uniq_tagged_files); \
496515 shift; \
497516 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
498517 test -n "$$unique" || unique=$$empty_fix; \
504523 $$unique; \
505524 fi; \
506525 fi
507 ctags: CTAGS
508 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
509 $(TAGS_FILES) $(LISP)
510 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
511 unique=`for i in $$list; do \
512 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
513 done | \
514 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
515 END { if (nonempty) { for (i in files) print i; }; }'`; \
526 ctags: ctags-recursive
527
528 CTAGS: ctags
529 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
530 $(am__define_uniq_tagged_files); \
516531 test -z "$(CTAGS_ARGS)$$unique" \
517532 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
518533 $$unique
521536 here=`$(am__cd) $(top_builddir) && pwd` \
522537 && $(am__cd) $(top_srcdir) \
523538 && 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
524560
525561 distclean-tags:
526562 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
563 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
527564
528565 distdir: $(DISTFILES)
529566 $(am__remove_distdir)
591628 || chmod -R a+r "$(distdir)"
592629 dist-gzip: distdir
593630 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
594 $(am__remove_distdir)
631 $(am__post_remove_distdir)
595632
596633 dist-bzip2: distdir
597634 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
598 $(am__remove_distdir)
635 $(am__post_remove_distdir)
599636
600637 dist-lzip: distdir
601638 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
602 $(am__remove_distdir)
603
604 dist-lzma: distdir
605 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
606 $(am__remove_distdir)
639 $(am__post_remove_distdir)
607640
608641 dist-xz: distdir
609642 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
610 $(am__remove_distdir)
643 $(am__post_remove_distdir)
611644
612645 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
613649 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
614 $(am__remove_distdir)
650 $(am__post_remove_distdir)
615651
616652 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
617656 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
618 $(am__remove_distdir)
657 $(am__post_remove_distdir)
619658
620659 dist-zip: distdir
621660 -rm -f $(distdir).zip
622661 zip -rq $(distdir).zip $(distdir)
623 $(am__remove_distdir)
624
625 dist dist-all: distdir
626 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
627 $(am__remove_distdir)
662 $(am__post_remove_distdir)
663
664 dist dist-all:
665 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
666 $(am__post_remove_distdir)
628667
629668 # This target untars the dist file and tries a VPATH configuration. Then
630669 # it guarantees that the distribution is self-contained by making another
635674 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
636675 *.tar.bz2*) \
637676 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
638 *.tar.lzma*) \
639 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
640677 *.tar.lz*) \
641678 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
642679 *.tar.xz*) \
648685 *.zip*) \
649686 unzip $(distdir).zip ;;\
650687 esac
651 chmod -R a-w $(distdir); chmod u+w $(distdir)
652 mkdir $(distdir)/_build
653 mkdir $(distdir)/_inst
688 chmod -R a-w $(distdir)
689 chmod u+w $(distdir)
690 mkdir $(distdir)/_build $(distdir)/_inst
654691 chmod a-w $(distdir)
655692 test -d $(distdir)/_build || exit 0; \
656693 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
682719 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
683720 && cd "$$am__cwd" \
684721 || exit 1
685 $(am__remove_distdir)
722 $(am__post_remove_distdir)
686723 @(echo "$(distdir) archives ready for distribution: "; \
687724 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
688725 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
819856
820857 uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA
821858
822 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
823 ctags-recursive install-am install-strip tags-recursive
824
825 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
826 all all-am am--refresh check check-am clean clean-generic \
827 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
828 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
859 .MAKE: $(am__recursive_targets) all install-am install-strip
860
861 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
862 am--refresh check check-am clean clean-cscope clean-generic \
863 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
864 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
829865 distcheck distclean distclean-generic distclean-hdr \
830866 distclean-tags distcleancheck distdir distuninstallcheck dvi \
831867 dvi-am html html-am info info-am install install-am \
836872 install-ps-am install-strip install-sysconfDATA installcheck \
837873 installcheck-am installdirs installdirs-am maintainer-clean \
838874 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
839 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
875 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
840876 uninstall-dist_binSCRIPTS uninstall-sysconfDATA
841877
842878
0 # generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
4 # Inc.
0 # generated automatically by aclocal 1.14 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
3
54 # This file is free software; the Free Software Foundation
65 # gives unlimited permission to copy and/or distribute it,
76 # with or without modifications, as long as this notice is preserved.
1110 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1211 # PARTICULAR PURPOSE.
1312
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1414 m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1616 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
1717 [m4_warning([this file was generated for autoconf 2.69.
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
23 # Foundation, Inc.
24 #
25 # This file is free software; the Free Software Foundation
26 # gives unlimited permission to copy and/or distribute it,
27 # with or without modifications, as long as this notice is preserved.
28
29 # serial 1
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
23 #
24 # This file is free software; the Free Software Foundation
25 # gives unlimited permission to copy and/or distribute it,
26 # with or without modifications, as long as this notice is preserved.
3027
3128 # AM_AUTOMAKE_VERSION(VERSION)
3229 # ----------------------------
3431 # generated from the m4 files accompanying Automake X.Y.
3532 # (This private macro should not be called outside this file.)
3633 AC_DEFUN([AM_AUTOMAKE_VERSION],
37 [am__api_version='1.11'
34 [am__api_version='1.14'
3835 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3936 dnl require some minimum version. Point them to the right macro.
40 m4_if([$1], [1.11.6], [],
37 m4_if([$1], [1.14], [],
4138 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
4239 ])
4340
5350 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5451 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5552 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
56 [AM_AUTOMAKE_VERSION([1.11.6])dnl
53 [AM_AUTOMAKE_VERSION([1.14])dnl
5754 m4_ifndef([AC_AUTOCONF_VERSION],
5855 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5956 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
6057
6158 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
6259
63 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
64 #
65 # This file is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
67 # with or without modifications, as long as this notice is preserved.
68
69 # serial 1
60 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
61 #
62 # This file is free software; the Free Software Foundation
63 # gives unlimited permission to copy and/or distribute it,
64 # with or without modifications, as long as this notice is preserved.
7065
7166 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
72 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
73 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
67 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
68 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
7469 #
7570 # Of course, Automake must honor this variable whenever it calls a
7671 # tool from the auxiliary directory. The problem is that $srcdir (and
8984 #
9085 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9186 # are both prefixed by $srcdir. In an in-source build this is usually
92 # harmless because $srcdir is `.', but things will broke when you
87 # harmless because $srcdir is '.', but things will broke when you
9388 # start a VPATH build or use an absolute $srcdir.
9489 #
9590 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
115110
116111 # AM_CONDITIONAL -*- Autoconf -*-
117112
118 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
119 # Free Software Foundation, Inc.
120 #
121 # This file is free software; the Free Software Foundation
122 # gives unlimited permission to copy and/or distribute it,
123 # with or without modifications, as long as this notice is preserved.
124
125 # serial 9
113 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
114 #
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
126118
127119 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
128120 # -------------------------------------
129121 # Define a conditional.
130122 AC_DEFUN([AM_CONDITIONAL],
131 [AC_PREREQ(2.52)dnl
132 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
133 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
123 [AC_PREREQ([2.52])dnl
124 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
125 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
134126 AC_SUBST([$1_TRUE])dnl
135127 AC_SUBST([$1_FALSE])dnl
136128 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
149141 Usually this means the macro was only invoked conditionally.]])
150142 fi])])
151143
152 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
153 # 2010, 2011 Free Software Foundation, Inc.
154 #
155 # This file is free software; the Free Software Foundation
156 # gives unlimited permission to copy and/or distribute it,
157 # with or without modifications, as long as this notice is preserved.
158
159 # serial 12
160
161 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
144 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
145 #
146 # This file is free software; the Free Software Foundation
147 # gives unlimited permission to copy and/or distribute it,
148 # with or without modifications, as long as this notice is preserved.
149
150
151 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
162152 # written in clear, in which case automake, when reading aclocal.m4,
163153 # will think it sees a *use*, and therefore will trigger all it's
164154 # C support machinery. Also note that it means that autoscan, seeing
168158 # _AM_DEPENDENCIES(NAME)
169159 # ----------------------
170160 # See how the compiler implements dependency checking.
171 # NAME is "CC", "CXX", "GCJ", or "OBJC".
161 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
172162 # We try a few techniques and use that to set a single cache variable.
173163 #
174164 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
181171 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
182172 AC_REQUIRE([AM_DEP_TRACK])dnl
183173
184 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
185 [$1], CXX, [depcc="$CXX" am_compiler_list=],
186 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
187 [$1], UPC, [depcc="$UPC" am_compiler_list=],
188 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
189 [depcc="$$1" am_compiler_list=])
174 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
175 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
176 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
177 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
178 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
179 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
180 [depcc="$$1" am_compiler_list=])
190181
191182 AC_CACHE_CHECK([dependency style of $depcc],
192183 [am_cv_$1_dependencies_compiler_type],
194185 # We make a subdir and do the tests there. Otherwise we can end up
195186 # making bogus files that we don't know about and never remove. For
196187 # instance it was reported that on HP-UX the gcc test will end up
197 # making a dummy file named `D' -- because `-MD' means `put the output
198 # in D'.
188 # making a dummy file named 'D' -- because '-MD' means "put the output
189 # in D".
199190 rm -rf conftest.dir
200191 mkdir conftest.dir
201192 # Copy depcomp to subdir because otherwise we won't find it if we're
235226 : > sub/conftest.c
236227 for i in 1 2 3 4 5 6; do
237228 echo '#include "conftst'$i'.h"' >> sub/conftest.c
238 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
239 # Solaris 8's {/usr,}/bin/sh.
240 touch sub/conftst$i.h
229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
230 # Solaris 10 /bin/sh.
231 echo '/* dummy */' > sub/conftst$i.h
241232 done
242233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
243234
244 # We check with `-c' and `-o' for the sake of the "dashmstdout"
235 # We check with '-c' and '-o' for the sake of the "dashmstdout"
245236 # mode. It turns out that the SunPro C++ compiler does not properly
246 # handle `-M -o', and we need to detect this. Also, some Intel
247 # versions had trouble with output in subdirs
237 # handle '-M -o', and we need to detect this. Also, some Intel
238 # versions had trouble with output in subdirs.
248239 am__obj=sub/conftest.${OBJEXT-o}
249240 am__minus_obj="-o $am__obj"
250241 case $depmode in
253244 test "$am__universal" = false || continue
254245 ;;
255246 nosideeffect)
256 # after this tag, mechanisms are not by side-effect, so they'll
257 # only be used when explicitly requested
247 # After this tag, mechanisms are not by side-effect, so they'll
248 # only be used when explicitly requested.
258249 if test "x$enable_dependency_tracking" = xyes; then
259250 continue
260251 else
262253 fi
263254 ;;
264255 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
265 # This compiler won't grok `-c -o', but also, the minuso test has
256 # This compiler won't grok '-c -o', but also, the minuso test has
266257 # not run yet. These depmodes are late enough in the game, and
267258 # so weak that their functioning should not be impacted.
268259 am__obj=conftest.${OBJEXT-o}
310301 # AM_SET_DEPDIR
311302 # -------------
312303 # Choose a directory name for dependency files.
313 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
304 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
314305 AC_DEFUN([AM_SET_DEPDIR],
315306 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
316307 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
320311 # AM_DEP_TRACK
321312 # ------------
322313 AC_DEFUN([AM_DEP_TRACK],
323 [AC_ARG_ENABLE(dependency-tracking,
324 [ --disable-dependency-tracking speeds up one-time build
325 --enable-dependency-tracking do not reject slow dependency extractors])
314 [AC_ARG_ENABLE([dependency-tracking], [dnl
315 AS_HELP_STRING(
316 [--enable-dependency-tracking],
317 [do not reject slow dependency extractors])
318 AS_HELP_STRING(
319 [--disable-dependency-tracking],
320 [speeds up one-time build])])
326321 if test "x$enable_dependency_tracking" != xno; then
327322 am_depcomp="$ac_aux_dir/depcomp"
328323 AMDEPBACKSLASH='\'
337332
338333 # Generate code to set up dependency tracking. -*- Autoconf -*-
339334
340 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
341 # Free Software Foundation, Inc.
342 #
343 # This file is free software; the Free Software Foundation
344 # gives unlimited permission to copy and/or distribute it,
345 # with or without modifications, as long as this notice is preserved.
346
347 #serial 5
335 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
336 #
337 # This file is free software; the Free Software Foundation
338 # gives unlimited permission to copy and/or distribute it,
339 # with or without modifications, as long as this notice is preserved.
340
348341
349342 # _AM_OUTPUT_DEPENDENCY_COMMANDS
350343 # ------------------------------
351344 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
352345 [{
353 # Autoconf 2.62 quotes --file arguments for eval, but not when files
346 # Older Autoconf quotes --file arguments for eval, but not when files
354347 # are listed without --file. Let's play safe and only enable the eval
355348 # if we detect the quoting.
356349 case $CONFIG_FILES in
363356 # Strip MF so we end up with the name of the file.
364357 mf=`echo "$mf" | sed -e 's/:.*$//'`
365358 # Check whether this is an Automake generated Makefile or not.
366 # We used to match only the files named `Makefile.in', but
359 # We used to match only the files named 'Makefile.in', but
367360 # some people rename them; so instead we look at the file content.
368361 # Grep'ing the first line is not enough: some people post-process
369362 # each Makefile.in and add a new line on top of each file to say so.
375368 continue
376369 fi
377370 # Extract the definition of DEPDIR, am__include, and am__quote
378 # from the Makefile without running `make'.
371 # from the Makefile without running 'make'.
379372 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
380373 test -z "$DEPDIR" && continue
381374 am__include=`sed -n 's/^am__include = //p' < "$mf"`
382 test -z "am__include" && continue
375 test -z "$am__include" && continue
383376 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"`
386377 # Find all dependency output files, they are included files with
387378 # $(DEPDIR) in their names. We invoke sed twice because it is the
388379 # simplest approach to changing $(DEPDIR) to its actual value in the
389380 # expansion.
390381 for file in `sed -n "
391382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
392 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
393384 # Make sure the directory exists.
394385 test -f "$dirpart/$file" && continue
395386 fdir=`AS_DIRNAME(["$file"])`
407398 # This macro should only be invoked once -- use via AC_REQUIRE.
408399 #
409400 # This code is only required when automatic dependency tracking
410 # is enabled. FIXME. This creates each `.P' file that we will
401 # is enabled. FIXME. This creates each '.P' file that we will
411402 # need in order to bootstrap the dependency handling code.
412403 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
413404 [AC_CONFIG_COMMANDS([depfiles],
417408
418409 # Do all the work for Automake. -*- Autoconf -*-
419410
420 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
421 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
422 #
423 # This file is free software; the Free Software Foundation
424 # gives unlimited permission to copy and/or distribute it,
425 # with or without modifications, as long as this notice is preserved.
426
427 # serial 16
411 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
412 #
413 # This file is free software; the Free Software Foundation
414 # gives unlimited permission to copy and/or distribute it,
415 # with or without modifications, as long as this notice is preserved.
428416
429417 # This macro actually does too much. Some checks are only needed if
430418 # 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 ])
431425
432426 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
433427 # AM_INIT_AUTOMAKE([OPTIONS])
441435 # arguments mandatory, and then we can depend on a new Autoconf
442436 # release and drop the old call support.
443437 AC_DEFUN([AM_INIT_AUTOMAKE],
444 [AC_PREREQ([2.62])dnl
438 [AC_PREREQ([2.65])dnl
445439 dnl Autoconf wants to disallow AM_ names. We explicitly allow
446440 dnl the ones we care about.
447441 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
470464 # Define the identity of the package.
471465 dnl Distinguish between old-style and new-style calls.
472466 m4_ifval([$2],
473 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
467 [AC_DIAGNOSE([obsolete],
468 [$0: two- and three-arguments forms are deprecated.])
469 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
474470 AC_SUBST([PACKAGE], [$1])dnl
475471 AC_SUBST([VERSION], [$2])],
476472 [_AM_SET_OPTIONS([$1])dnl
477473 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
478 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
474 m4_if(
475 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
476 [ok:ok],,
479477 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
480478 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
481479 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
482480
483481 _AM_IF_OPTION([no-define],,
484 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
485 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
482 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
483 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
486484
487485 # Some tools Automake needs.
488486 AC_REQUIRE([AM_SANITY_CHECK])dnl
489487 AC_REQUIRE([AC_ARG_PROGRAM])dnl
490 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
491 AM_MISSING_PROG(AUTOCONF, autoconf)
492 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
493 AM_MISSING_PROG(AUTOHEADER, autoheader)
494 AM_MISSING_PROG(MAKEINFO, makeinfo)
488 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
489 AM_MISSING_PROG([AUTOCONF], [autoconf])
490 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
491 AM_MISSING_PROG([AUTOHEADER], [autoheader])
492 AM_MISSING_PROG([MAKEINFO], [makeinfo])
495493 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
496494 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
497 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
495 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
496 # For better backward compatibility. To be removed once Automake 1.9.x
497 # dies out for good. For more background, see:
498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
499 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
500 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
498501 # We need awk for the "check" target. The system "awk" is bad on
499502 # some platforms.
500503 AC_REQUIRE([AC_PROG_AWK])dnl
505508 [_AM_PROG_TAR([v7])])])
506509 _AM_IF_OPTION([no-dependencies],,
507510 [AC_PROVIDE_IFELSE([AC_PROG_CC],
508 [_AM_DEPENDENCIES(CC)],
509 [define([AC_PROG_CC],
510 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
511 [_AM_DEPENDENCIES([CC])],
512 [m4_define([AC_PROG_CC],
513 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
511514 AC_PROVIDE_IFELSE([AC_PROG_CXX],
512 [_AM_DEPENDENCIES(CXX)],
513 [define([AC_PROG_CXX],
514 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
515 [_AM_DEPENDENCIES([CXX])],
516 [m4_define([AC_PROG_CXX],
517 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
515518 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
516 [_AM_DEPENDENCIES(OBJC)],
517 [define([AC_PROG_OBJC],
518 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
519 ])
520 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
521 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
522 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
523 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
519 [_AM_DEPENDENCIES([OBJC])],
520 [m4_define([AC_PROG_OBJC],
521 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
522 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
523 [_AM_DEPENDENCIES([OBJCXX])],
524 [m4_define([AC_PROG_OBJCXX],
525 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
526 ])
527 AC_REQUIRE([AM_SILENT_RULES])dnl
528 dnl The testsuite driver may need to know about EXEEXT, so add the
529 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
530 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
524531 AC_CONFIG_COMMANDS_PRE(dnl
525532 [m4_provide_if([_AM_COMPILER_EXEEXT],
526533 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
527 ])
528
529 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
534
535 # POSIX will say in a future version that running "rm -f" with no argument
536 # is OK; and we want to be able to make that assumption in our Makefile
537 # recipes. So use an aggressive probe to check that the usage we want is
538 # actually supported "in the wild" to an acceptable degree.
539 # See automake bug#10828.
540 # To make any issue more visible, cause the running configure to be aborted
541 # by default if the 'rm' program in use doesn't match our expectations; the
542 # user can still override this though.
543 if rm -f && rm -fr && rm -rf; then : OK; else
544 cat >&2 <<'END'
545 Oops!
546
547 Your 'rm' program seems unable to run without file operands specified
548 on the command line, even when the '-f' option is present. This is contrary
549 to the behaviour of most rm programs out there, and not conforming with
550 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
551
552 Please tell bug-automake@gnu.org about your system, including the value
553 of your $PATH and any error possibly output before this message. This
554 can help us improve future automake versions.
555
556 END
557 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
558 echo 'Configuration will proceed anyway, since you have set the' >&2
559 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
560 echo >&2
561 else
562 cat >&2 <<'END'
563 Aborting the configuration process, to ensure you take notice of the issue.
564
565 You can download and install GNU coreutils to get an 'rm' implementation
566 that behaves properly: <http://www.gnu.org/software/coreutils/>.
567
568 If you want to complete the configuration process using your problematic
569 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
570 to "yes", and re-run configure.
571
572 END
573 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
574 fi
575 fi])
576
577 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
530578 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
531579 dnl mangled by Autoconf and run in a shell conditional statement.
532580 m4_define([_AC_COMPILER_EXEEXT],
533581 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
534
535582
536583 # When config.status generates a header, we must update the stamp-h file.
537584 # This file resides in the same directory as the config header
554601 done
555602 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
556603
557 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
558 # Inc.
559 #
560 # This file is free software; the Free Software Foundation
561 # gives unlimited permission to copy and/or distribute it,
562 # with or without modifications, as long as this notice is preserved.
563
564 # serial 1
604 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
605 #
606 # This file is free software; the Free Software Foundation
607 # gives unlimited permission to copy and/or distribute it,
608 # with or without modifications, as long as this notice is preserved.
565609
566610 # AM_PROG_INSTALL_SH
567611 # ------------------
576620 install_sh="\${SHELL} $am_aux_dir/install-sh"
577621 esac
578622 fi
579 AC_SUBST(install_sh)])
580
581 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
582 #
583 # This file is free software; the Free Software Foundation
584 # gives unlimited permission to copy and/or distribute it,
585 # with or without modifications, as long as this notice is preserved.
586
587 # serial 2
623 AC_SUBST([install_sh])])
624
625 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
626 #
627 # This file is free software; the Free Software Foundation
628 # gives unlimited permission to copy and/or distribute it,
629 # with or without modifications, as long as this notice is preserved.
588630
589631 # Check whether the underlying file-system supports filenames
590632 # with a leading dot. For instance MS-DOS doesn't.
601643
602644 # Check to see how 'make' treats includes. -*- Autoconf -*-
603645
604 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
605 #
606 # This file is free software; the Free Software Foundation
607 # gives unlimited permission to copy and/or distribute it,
608 # with or without modifications, as long as this notice is preserved.
609
610 # serial 4
646 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
647 #
648 # This file is free software; the Free Software Foundation
649 # gives unlimited permission to copy and/or distribute it,
650 # with or without modifications, as long as this notice is preserved.
611651
612652 # AM_MAKE_INCLUDE()
613653 # -----------------
626666 _am_result=none
627667 # First try GNU make style include.
628668 echo "include confinc" > confmf
629 # Ignore all kinds of additional output from `make'.
669 # Ignore all kinds of additional output from 'make'.
630670 case `$am_make -s -f confmf 2> /dev/null` in #(
631671 *the\ am__doit\ target*)
632672 am__include=include
653693
654694 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
655695
656 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
657 # Free Software Foundation, Inc.
658 #
659 # This file is free software; the Free Software Foundation
660 # gives unlimited permission to copy and/or distribute it,
661 # with or without modifications, as long as this notice is preserved.
662
663 # serial 6
696 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
697 #
698 # This file is free software; the Free Software Foundation
699 # gives unlimited permission to copy and/or distribute it,
700 # with or without modifications, as long as this notice is preserved.
664701
665702 # AM_MISSING_PROG(NAME, PROGRAM)
666703 # ------------------------------
669706 $1=${$1-"${am_missing_run}$2"}
670707 AC_SUBST($1)])
671708
672
673709 # AM_MISSING_HAS_RUN
674710 # ------------------
675 # Define MISSING if not defined so far and test if it supports --run.
676 # If it does, set am_missing_run to use it, otherwise, to nothing.
711 # Define MISSING if not defined so far and test if it is modern enough.
712 # If it is, set am_missing_run to use it, otherwise, to nothing.
677713 AC_DEFUN([AM_MISSING_HAS_RUN],
678714 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
679715 AC_REQUIRE_AUX_FILE([missing])dnl
686722 esac
687723 fi
688724 # Use eval to expand $SHELL
689 if eval "$MISSING --run true"; then
690 am_missing_run="$MISSING --run "
725 if eval "$MISSING --is-lightweight"; then
726 am_missing_run="$MISSING "
691727 else
692728 am_missing_run=
693 AC_MSG_WARN([`missing' script is too old or missing])
694 fi
695 ])
696
697 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
698 # Inc.
699 #
700 # This file is free software; the Free Software Foundation
701 # gives unlimited permission to copy and/or distribute it,
702 # with or without modifications, as long as this notice is preserved.
703
704 # serial 1
705
706 # AM_PROG_MKDIR_P
707 # ---------------
708 # Check for `mkdir -p'.
709 AC_DEFUN([AM_PROG_MKDIR_P],
710 [AC_PREREQ([2.60])dnl
711 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
712 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
713 dnl while keeping a definition of mkdir_p for backward compatibility.
714 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
715 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
716 dnl Makefile.ins that do not define MKDIR_P, so we do our own
717 dnl adjustment using top_builddir (which is defined more often than
718 dnl MKDIR_P).
719 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
720 case $mkdir_p in
721 [[\\/$]]* | ?:[[\\/]]*) ;;
722 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
723 esac
729 AC_MSG_WARN(['missing' script is too old or missing])
730 fi
724731 ])
725732
726733 # Helper functions for option handling. -*- Autoconf -*-
727734
728 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
729 # Foundation, Inc.
730 #
731 # This file is free software; the Free Software Foundation
732 # gives unlimited permission to copy and/or distribute it,
733 # with or without modifications, as long as this notice is preserved.
734
735 # serial 5
735 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
736 #
737 # This file is free software; the Free Software Foundation
738 # gives unlimited permission to copy and/or distribute it,
739 # with or without modifications, as long as this notice is preserved.
736740
737741 # _AM_MANGLE_OPTION(NAME)
738742 # -----------------------
743747 # --------------------
744748 # Set option NAME. Presently that only means defining a flag for this option.
745749 AC_DEFUN([_AM_SET_OPTION],
746 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
750 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
747751
748752 # _AM_SET_OPTIONS(OPTIONS)
749753 # ------------------------
757761 AC_DEFUN([_AM_IF_OPTION],
758762 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
759763
764 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
765 #
766 # This file is free software; the Free Software Foundation
767 # gives unlimited permission to copy and/or distribute it,
768 # with or without modifications, as long as this notice is preserved.
769
770 # _AM_PROG_CC_C_O
771 # ---------------
772 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
773 # to automatically call this.
774 AC_DEFUN([_AM_PROG_CC_C_O],
775 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
776 AC_REQUIRE_AUX_FILE([compile])dnl
777 AC_LANG_PUSH([C])dnl
778 AC_CACHE_CHECK(
779 [whether $CC understands -c and -o together],
780 [am_cv_prog_cc_c_o],
781 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
782 # Make sure it works both with $CC and with simple cc.
783 # Following AC_PROG_CC_C_O, we do the test twice because some
784 # compilers refuse to overwrite an existing .o file with -o,
785 # though they will create one.
786 am_cv_prog_cc_c_o=yes
787 for am_i in 1 2; do
788 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
789 && test -f conftest2.$ac_objext; then
790 : OK
791 else
792 am_cv_prog_cc_c_o=no
793 break
794 fi
795 done
796 rm -f core conftest*
797 unset am_i])
798 if test "$am_cv_prog_cc_c_o" != yes; then
799 # Losing compiler, so override with the script.
800 # FIXME: It is wrong to rewrite CC.
801 # But if we don't then we get into trouble of one sort or another.
802 # A longer-term fix would be to have automake use am__CC in this case,
803 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
804 CC="$am_aux_dir/compile $CC"
805 fi
806 AC_LANG_POP([C])])
807
808 # For backward compatibility.
809 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
810
811 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
812 #
813 # This file is free software; the Free Software Foundation
814 # gives unlimited permission to copy and/or distribute it,
815 # with or without modifications, as long as this notice is preserved.
816
817 # AM_RUN_LOG(COMMAND)
818 # -------------------
819 # Run COMMAND, save the exit status in ac_status, and log it.
820 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
821 AC_DEFUN([AM_RUN_LOG],
822 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
823 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
824 ac_status=$?
825 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
826 (exit $ac_status); }])
827
760828 # Check to make sure that the build environment is sane. -*- Autoconf -*-
761829
762 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
763 # Free Software Foundation, Inc.
764 #
765 # This file is free software; the Free Software Foundation
766 # gives unlimited permission to copy and/or distribute it,
767 # with or without modifications, as long as this notice is preserved.
768
769 # serial 5
830 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
831 #
832 # This file is free software; the Free Software Foundation
833 # gives unlimited permission to copy and/or distribute it,
834 # with or without modifications, as long as this notice is preserved.
770835
771836 # AM_SANITY_CHECK
772837 # ---------------
773838 AC_DEFUN([AM_SANITY_CHECK],
774839 [AC_MSG_CHECKING([whether build environment is sane])
775 # Just in case
776 sleep 1
777 echo timestamp > conftest.file
778840 # Reject unsafe characters in $srcdir or the absolute working directory
779841 # name. Accept space and tab only in the latter.
780842 am_lf='
785847 esac
786848 case $srcdir in
787849 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
788 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
850 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
789851 esac
790852
791 # Do `set' in a subshell so we don't clobber the current shell's
853 # Do 'set' in a subshell so we don't clobber the current shell's
792854 # arguments. Must try -L first in case configure is actually a
793855 # symlink; some systems play weird games with the mod time of symlinks
794856 # (eg FreeBSD returns the mod time of the symlink's containing
795857 # directory).
796858 if (
797 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
798 if test "$[*]" = "X"; then
799 # -L didn't work.
800 set X `ls -t "$srcdir/configure" conftest.file`
801 fi
802 rm -f conftest.file
803 if test "$[*]" != "X $srcdir/configure conftest.file" \
804 && test "$[*]" != "X conftest.file $srcdir/configure"; then
805
806 # If neither matched, then we have a broken ls. This can happen
807 # if, for instance, CONFIG_SHELL is bash and it inherits a
808 # broken ls alias from the environment. This has actually
809 # happened. Such a system could not be considered "sane".
810 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
811 alias in your environment])
812 fi
813
859 am_has_slept=no
860 for am_try in 1 2; do
861 echo "timestamp, slept: $am_has_slept" > conftest.file
862 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
863 if test "$[*]" = "X"; then
864 # -L didn't work.
865 set X `ls -t "$srcdir/configure" conftest.file`
866 fi
867 if test "$[*]" != "X $srcdir/configure conftest.file" \
868 && test "$[*]" != "X conftest.file $srcdir/configure"; then
869
870 # If neither matched, then we have a broken ls. This can happen
871 # if, for instance, CONFIG_SHELL is bash and it inherits a
872 # broken ls alias from the environment. This has actually
873 # happened. Such a system could not be considered "sane".
874 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
875 alias in your environment])
876 fi
877 if test "$[2]" = conftest.file || test $am_try -eq 2; then
878 break
879 fi
880 # Just in case.
881 sleep 1
882 am_has_slept=yes
883 done
814884 test "$[2]" = conftest.file
815885 )
816886 then
820890 AC_MSG_ERROR([newly created file is older than distributed files!
821891 Check your system clock])
822892 fi
823 AC_MSG_RESULT(yes)])
824
825 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
826 #
827 # This file is free software; the Free Software Foundation
828 # gives unlimited permission to copy and/or distribute it,
829 # with or without modifications, as long as this notice is preserved.
830
831 # serial 1
893 AC_MSG_RESULT([yes])
894 # If we didn't sleep, we still need to ensure time stamps of config.status and
895 # generated files are strictly newer.
896 am_sleep_pid=
897 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
898 ( sleep 1 ) &
899 am_sleep_pid=$!
900 fi
901 AC_CONFIG_COMMANDS_PRE(
902 [AC_MSG_CHECKING([that generated files are newer than configure])
903 if test -n "$am_sleep_pid"; then
904 # Hide warnings about reused PIDs.
905 wait $am_sleep_pid 2>/dev/null
906 fi
907 AC_MSG_RESULT([done])])
908 rm -f conftest.file
909 ])
910
911 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
912 #
913 # This file is free software; the Free Software Foundation
914 # gives unlimited permission to copy and/or distribute it,
915 # with or without modifications, as long as this notice is preserved.
916
917 # AM_SILENT_RULES([DEFAULT])
918 # --------------------------
919 # Enable less verbose build rules; with the default set to DEFAULT
920 # ("yes" being less verbose, "no" or empty being verbose).
921 AC_DEFUN([AM_SILENT_RULES],
922 [AC_ARG_ENABLE([silent-rules], [dnl
923 AS_HELP_STRING(
924 [--enable-silent-rules],
925 [less verbose build output (undo: "make V=1")])
926 AS_HELP_STRING(
927 [--disable-silent-rules],
928 [verbose build output (undo: "make V=0")])dnl
929 ])
930 case $enable_silent_rules in @%:@ (((
931 yes) AM_DEFAULT_VERBOSITY=0;;
932 no) AM_DEFAULT_VERBOSITY=1;;
933 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
934 esac
935 dnl
936 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
937 dnl do not support nested variable expansions.
938 dnl See automake bug#9928 and bug#10237.
939 am_make=${MAKE-make}
940 AC_CACHE_CHECK([whether $am_make supports nested variables],
941 [am_cv_make_support_nested_variables],
942 [if AS_ECHO([['TRUE=$(BAR$(V))
943 BAR0=false
944 BAR1=true
945 V=1
946 am__doit:
947 @$(TRUE)
948 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
949 am_cv_make_support_nested_variables=yes
950 else
951 am_cv_make_support_nested_variables=no
952 fi])
953 if test $am_cv_make_support_nested_variables = yes; then
954 dnl Using '$V' instead of '$(V)' breaks IRIX make.
955 AM_V='$(V)'
956 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
957 else
958 AM_V=$AM_DEFAULT_VERBOSITY
959 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
960 fi
961 AC_SUBST([AM_V])dnl
962 AM_SUBST_NOTMAKE([AM_V])dnl
963 AC_SUBST([AM_DEFAULT_V])dnl
964 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
965 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
966 AM_BACKSLASH='\'
967 AC_SUBST([AM_BACKSLASH])dnl
968 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
969 ])
970
971 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
972 #
973 # This file is free software; the Free Software Foundation
974 # gives unlimited permission to copy and/or distribute it,
975 # with or without modifications, as long as this notice is preserved.
832976
833977 # AM_PROG_INSTALL_STRIP
834978 # ---------------------
835 # One issue with vendor `install' (even GNU) is that you can't
979 # One issue with vendor 'install' (even GNU) is that you can't
836980 # specify the program used to strip binaries. This is especially
837981 # annoying in cross-compiling environments, where the build's strip
838982 # is unlikely to handle the host's binaries.
839983 # Fortunately install-sh will honor a STRIPPROG variable, so we
840 # always use install-sh in `make install-strip', and initialize
984 # always use install-sh in "make install-strip", and initialize
841985 # STRIPPROG with the value of the STRIP variable (set by the user).
842986 AC_DEFUN([AM_PROG_INSTALL_STRIP],
843987 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
844 # Installed binaries are usually stripped using `strip' when the user
845 # run `make install-strip'. However `strip' might not be the right
988 # Installed binaries are usually stripped using 'strip' when the user
989 # run "make install-strip". However 'strip' might not be the right
846990 # tool to use in cross-compilation environments, therefore Automake
847 # will honor the `STRIP' environment variable to overrule this program.
848 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
991 # will honor the 'STRIP' environment variable to overrule this program.
992 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
849993 if test "$cross_compiling" != no; then
850994 AC_CHECK_TOOL([STRIP], [strip], :)
851995 fi
852996 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
853997 AC_SUBST([INSTALL_STRIP_PROGRAM])])
854998
855 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
856 #
857 # This file is free software; the Free Software Foundation
858 # gives unlimited permission to copy and/or distribute it,
859 # with or without modifications, as long as this notice is preserved.
860
861 # serial 3
999 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
1000 #
1001 # This file is free software; the Free Software Foundation
1002 # gives unlimited permission to copy and/or distribute it,
1003 # with or without modifications, as long as this notice is preserved.
8621004
8631005 # _AM_SUBST_NOTMAKE(VARIABLE)
8641006 # ---------------------------
8731015
8741016 # Check how to create a tarball. -*- Autoconf -*-
8751017
876 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
877 #
878 # This file is free software; the Free Software Foundation
879 # gives unlimited permission to copy and/or distribute it,
880 # with or without modifications, as long as this notice is preserved.
881
882 # serial 2
1018 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
1019 #
1020 # This file is free software; the Free Software Foundation
1021 # gives unlimited permission to copy and/or distribute it,
1022 # with or without modifications, as long as this notice is preserved.
8831023
8841024 # _AM_PROG_TAR(FORMAT)
8851025 # --------------------
8861026 # Check how to create a tarball in format FORMAT.
887 # FORMAT should be one of `v7', `ustar', or `pax'.
1027 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
8881028 #
8891029 # Substitute a variable $(am__tar) that is a command
8901030 # writing to stdout a FORMAT-tarball containing the directory
8941034 # Substitute a variable $(am__untar) that extract such
8951035 # a tarball read from stdin.
8961036 # $(am__untar) < result.tar
1037 #
8971038 AC_DEFUN([_AM_PROG_TAR],
8981039 [# Always define AMTAR for backward compatibility. Yes, it's still used
8991040 # in the wild :-( We should find a proper way to deprecate it ...
9001041 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1042
1043 # We'll loop over all known methods to create a tar archive until one works.
1044 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1045
9011046 m4_if([$1], [v7],
902 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
903 [m4_case([$1], [ustar],, [pax],,
904 [m4_fatal([Unknown tar format])])
905 AC_MSG_CHECKING([how to create a $1 tar archive])
906 # Loop over all known methods to create a tar archive until one works.
907 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
908 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
909 # Do not fold the above two line into one, because Tru64 sh and
910 # Solaris sh will not grok spaces in the rhs of `-'.
911 for _am_tool in $_am_tools
912 do
913 case $_am_tool in
914 gnutar)
915 for _am_tar in tar gnutar gtar;
916 do
917 AM_RUN_LOG([$_am_tar --version]) && break
918 done
919 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
920 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
921 am__untar="$_am_tar -xf -"
922 ;;
923 plaintar)
924 # Must skip GNU tar: if it does not support --format= it doesn't create
925 # ustar tarball either.
926 (tar --version) >/dev/null 2>&1 && continue
927 am__tar='tar chf - "$$tardir"'
928 am__tar_='tar chf - "$tardir"'
929 am__untar='tar xf -'
930 ;;
931 pax)
932 am__tar='pax -L -x $1 -w "$$tardir"'
933 am__tar_='pax -L -x $1 -w "$tardir"'
934 am__untar='pax -r'
935 ;;
936 cpio)
937 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
938 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
939 am__untar='cpio -i -H $1 -d'
940 ;;
941 none)
942 am__tar=false
943 am__tar_=false
944 am__untar=false
945 ;;
946 esac
947
948 # If the value was cached, stop now. We just wanted to have am__tar
949 # and am__untar set.
950 test -n "${am_cv_prog_tar_$1}" && break
951
952 # tar/untar a dummy directory, and stop if the command works
1047 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1048
1049 [m4_case([$1],
1050 [ustar],
1051 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1052 # There is notably a 21 bits limit for the UID and the GID. In fact,
1053 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1054 # and bug#13588).
1055 am_max_uid=2097151 # 2^21 - 1
1056 am_max_gid=$am_max_uid
1057 # The $UID and $GID variables are not portable, so we need to resort
1058 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1059 # below are definitely unexpected, so allow the users to see them
1060 # (that is, avoid stderr redirection).
1061 am_uid=`id -u || echo unknown`
1062 am_gid=`id -g || echo unknown`
1063 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1064 if test $am_uid -le $am_max_uid; then
1065 AC_MSG_RESULT([yes])
1066 else
1067 AC_MSG_RESULT([no])
1068 _am_tools=none
1069 fi
1070 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1071 if test $am_gid -le $am_max_gid; then
1072 AC_MSG_RESULT([yes])
1073 else
1074 AC_MSG_RESULT([no])
1075 _am_tools=none
1076 fi],
1077
1078 [pax],
1079 [],
1080
1081 [m4_fatal([Unknown tar format])])
1082
1083 AC_MSG_CHECKING([how to create a $1 tar archive])
1084
1085 # Go ahead even if we have the value already cached. We do so because we
1086 # need to set the values for the 'am__tar' and 'am__untar' variables.
1087 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1088
1089 for _am_tool in $_am_tools; do
1090 case $_am_tool in
1091 gnutar)
1092 for _am_tar in tar gnutar gtar; do
1093 AM_RUN_LOG([$_am_tar --version]) && break
1094 done
1095 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1096 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1097 am__untar="$_am_tar -xf -"
1098 ;;
1099 plaintar)
1100 # Must skip GNU tar: if it does not support --format= it doesn't create
1101 # ustar tarball either.
1102 (tar --version) >/dev/null 2>&1 && continue
1103 am__tar='tar chf - "$$tardir"'
1104 am__tar_='tar chf - "$tardir"'
1105 am__untar='tar xf -'
1106 ;;
1107 pax)
1108 am__tar='pax -L -x $1 -w "$$tardir"'
1109 am__tar_='pax -L -x $1 -w "$tardir"'
1110 am__untar='pax -r'
1111 ;;
1112 cpio)
1113 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1114 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1115 am__untar='cpio -i -H $1 -d'
1116 ;;
1117 none)
1118 am__tar=false
1119 am__tar_=false
1120 am__untar=false
1121 ;;
1122 esac
1123
1124 # If the value was cached, stop now. We just wanted to have am__tar
1125 # and am__untar set.
1126 test -n "${am_cv_prog_tar_$1}" && break
1127
1128 # tar/untar a dummy directory, and stop if the command works.
1129 rm -rf conftest.dir
1130 mkdir conftest.dir
1131 echo GrepMe > conftest.dir/file
1132 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1133 rm -rf conftest.dir
1134 if test -s conftest.tar; then
1135 AM_RUN_LOG([$am__untar <conftest.tar])
1136 AM_RUN_LOG([cat conftest.dir/file])
1137 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1138 fi
1139 done
9531140 rm -rf conftest.dir
954 mkdir conftest.dir
955 echo GrepMe > conftest.dir/file
956 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
957 rm -rf conftest.dir
958 if test -s conftest.tar; then
959 AM_RUN_LOG([$am__untar <conftest.tar])
960 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
961 fi
962 done
963 rm -rf conftest.dir
964
965 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
966 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1141
1142 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1143 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1144
9671145 AC_SUBST([am__tar])
9681146 AC_SUBST([am__untar])
9691147 ]) # _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:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011, 2012 Free Software Foundation, Inc.
5
6 timestamp='2012-02-10'
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-05-16'
75
86 # This file is free software; you can redistribute it and/or modify it
97 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
8 # the Free Software Foundation; either version 3 of the License, or
119 # (at your option) any later version.
1210 #
1311 # This program is distributed in the hope that it will be useful, but
2119 # As a special exception to the GNU General Public License, if you
2220 # distribute this file as part of a program that contains a
2321 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26
27 # Originally written by Per Bothner. Please send patches (context
28 # diff format) to <config-patches@gnu.org> and include a ChangeLog
29 # entry.
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
3025 #
31 # This script attempts to guess a canonical system name similar to
32 # config.sub. If it succeeds, it prints the system name on stdout, and
33 # exits with 0. Otherwise, it exits with 1.
26 # Originally written by Per Bothner.
3427 #
3528 # You can get the latest version of this script from:
3629 # 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
3733
3834 me=`echo "$0" | sed -e 's,.*/,,'`
3935
5349 GNU config.guess ($timestamp)
5450
5551 Originally written by Per Bothner.
56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
57 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
58 Free Software Foundation, Inc.
52 Copyright 1992-2013 Free Software Foundation, Inc.
5953
6054 This is free software; see the source for copying conditions. There is NO
6155 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
136130 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
137131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
138132 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
139154
140155 # Note: order is significant - the case branches are not exclusive.
141156
198213 # contains redundant information, the shorter form:
199214 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
200215 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}
201220 exit ;;
202221 *:OpenBSD:*:*)
203222 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
301320 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
302321 echo arm-acorn-riscix${UNAME_RELEASE}
303322 exit ;;
304 arm:riscos:*:*|arm:RISCOS:*:*)
323 arm*:riscos:*:*|arm*:RISCOS:*:*)
305324 echo arm-unknown-riscos
306325 exit ;;
307326 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
790809 exit ;;
791810 *:FreeBSD:*:*)
792811 UNAME_PROCESSOR=`/usr/bin/uname -p`
793 case ${UNAME_PROCESSOR} in
794 amd64)
795 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
796 *)
797 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
798 esac
812 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
799813 exit ;;
800814 i*:CYGWIN*:*)
801815 echo ${UNAME_MACHINE}-pc-cygwin
816 exit ;;
817 *:MINGW64*:*)
818 echo ${UNAME_MACHINE}-pc-mingw64
802819 exit ;;
803820 *:MINGW*:*)
804821 echo ${UNAME_MACHINE}-pc-mingw32
851868 exit ;;
852869 *:GNU:*:*)
853870 # the GNU system
854 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
871 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
855872 exit ;;
856873 *:GNU/*:*:*)
857874 # other systems with GNU libc and userland
858 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
875 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
859876 exit ;;
860877 i*86:Minix:*:*)
861878 echo ${UNAME_MACHINE}-pc-minix
862879 exit ;;
863880 aarch64:Linux:*:*)
864 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
865882 exit ;;
866883 aarch64_be:Linux:*:*)
867884 UNAME_MACHINE=aarch64_be
868 echo ${UNAME_MACHINE}-unknown-linux-gnu
885 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
869886 exit ;;
870887 alpha:Linux:*:*)
871888 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
878895 EV68*) UNAME_MACHINE=alphaev68 ;;
879896 esac
880897 objdump --private-headers /bin/sh | grep -q ld.so.1
881 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
882 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
898 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
899 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
900 exit ;;
901 arc:Linux:*:* | arceb:Linux:*:*)
902 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
883903 exit ;;
884904 arm*:Linux:*:*)
885905 eval $set_cc_for_build
886906 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
887907 | grep -q __ARM_EABI__
888908 then
889 echo ${UNAME_MACHINE}-unknown-linux-gnu
909 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
890910 else
891911 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
892912 | grep -q __ARM_PCS_VFP
893913 then
894 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
914 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
895915 else
896 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
916 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
897917 fi
898918 fi
899919 exit ;;
900920 avr32*:Linux:*:*)
901 echo ${UNAME_MACHINE}-unknown-linux-gnu
921 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
902922 exit ;;
903923 cris:Linux:*:*)
904 echo ${UNAME_MACHINE}-axis-linux-gnu
924 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
905925 exit ;;
906926 crisv32:Linux:*:*)
907 echo ${UNAME_MACHINE}-axis-linux-gnu
927 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
908928 exit ;;
909929 frv:Linux:*:*)
910 echo ${UNAME_MACHINE}-unknown-linux-gnu
930 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
911931 exit ;;
912932 hexagon:Linux:*:*)
913 echo ${UNAME_MACHINE}-unknown-linux-gnu
933 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
914934 exit ;;
915935 i*86:Linux:*:*)
916 LIBC=gnu
917 eval $set_cc_for_build
918 sed 's/^ //' << EOF >$dummy.c
919 #ifdef __dietlibc__
920 LIBC=dietlibc
921 #endif
922 EOF
923 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
924 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
936 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
925937 exit ;;
926938 ia64:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-gnu
939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928940 exit ;;
929941 m32r*:Linux:*:*)
930 echo ${UNAME_MACHINE}-unknown-linux-gnu
942 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
931943 exit ;;
932944 m68*:Linux:*:*)
933 echo ${UNAME_MACHINE}-unknown-linux-gnu
945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
934946 exit ;;
935947 mips:Linux:*:* | mips64:Linux:*:*)
936948 eval $set_cc_for_build
949961 #endif
950962 EOF
951963 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
952 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
964 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
953965 ;;
966 or1k:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
968 exit ;;
954969 or32:Linux:*:*)
955 echo ${UNAME_MACHINE}-unknown-linux-gnu
970 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956971 exit ;;
957972 padre:Linux:*:*)
958 echo sparc-unknown-linux-gnu
973 echo sparc-unknown-linux-${LIBC}
959974 exit ;;
960975 parisc64:Linux:*:* | hppa64:Linux:*:*)
961 echo hppa64-unknown-linux-gnu
976 echo hppa64-unknown-linux-${LIBC}
962977 exit ;;
963978 parisc:Linux:*:* | hppa:Linux:*:*)
964979 # Look for CPU level
965980 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
966 PA7*) echo hppa1.1-unknown-linux-gnu ;;
967 PA8*) echo hppa2.0-unknown-linux-gnu ;;
968 *) echo hppa-unknown-linux-gnu ;;
981 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
982 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
983 *) echo hppa-unknown-linux-${LIBC} ;;
969984 esac
970985 exit ;;
971986 ppc64:Linux:*:*)
972 echo powerpc64-unknown-linux-gnu
987 echo powerpc64-unknown-linux-${LIBC}
973988 exit ;;
974989 ppc:Linux:*:*)
975 echo powerpc-unknown-linux-gnu
990 echo powerpc-unknown-linux-${LIBC}
976991 exit ;;
977992 s390:Linux:*:* | s390x:Linux:*:*)
978 echo ${UNAME_MACHINE}-ibm-linux
993 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
979994 exit ;;
980995 sh64*:Linux:*:*)
981 echo ${UNAME_MACHINE}-unknown-linux-gnu
996 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
982997 exit ;;
983998 sh*:Linux:*:*)
984 echo ${UNAME_MACHINE}-unknown-linux-gnu
999 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9851000 exit ;;
9861001 sparc:Linux:*:* | sparc64:Linux:*:*)
987 echo ${UNAME_MACHINE}-unknown-linux-gnu
1002 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9881003 exit ;;
9891004 tile*:Linux:*:*)
990 echo ${UNAME_MACHINE}-unknown-linux-gnu
1005 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9911006 exit ;;
9921007 vax:Linux:*:*)
993 echo ${UNAME_MACHINE}-dec-linux-gnu
1008 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
9941009 exit ;;
9951010 x86_64:Linux:*:*)
996 echo ${UNAME_MACHINE}-unknown-linux-gnu
1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9971012 exit ;;
9981013 xtensa*:Linux:*:*)
999 echo ${UNAME_MACHINE}-unknown-linux-gnu
1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10001015 exit ;;
10011016 i*86:DYNIX/ptx:4*:*)
10021017 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
12001215 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
12011216 echo i586-pc-haiku
12021217 exit ;;
1218 x86_64:Haiku:*:*)
1219 echo x86_64-unknown-haiku
1220 exit ;;
12031221 SX-4:SUPER-UX:*:*)
12041222 echo sx4-nec-superux${UNAME_RELEASE}
12051223 exit ;;
12261244 exit ;;
12271245 *:Darwin:*:*)
12281246 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1229 case $UNAME_PROCESSOR in
1230 i386)
1231 eval $set_cc_for_build
1232 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1233 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1234 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1235 grep IS_64BIT_ARCH >/dev/null
1236 then
1237 UNAME_PROCESSOR="x86_64"
1238 fi
1239 fi ;;
1240 unknown) UNAME_PROCESSOR=powerpc ;;
1241 esac
1247 eval $set_cc_for_build
1248 if test "$UNAME_PROCESSOR" = unknown ; then
1249 UNAME_PROCESSOR=powerpc
1250 fi
1251 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1252 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1253 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1254 grep IS_64BIT_ARCH >/dev/null
1255 then
1256 case $UNAME_PROCESSOR in
1257 i386) UNAME_PROCESSOR=x86_64 ;;
1258 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1259 esac
1260 fi
1261 fi
12421262 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12431263 exit ;;
12441264 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12551275 NEO-?:NONSTOP_KERNEL:*:*)
12561276 echo neo-tandem-nsk${UNAME_RELEASE}
12571277 exit ;;
1258 NSE-?:NONSTOP_KERNEL:*:*)
1278 NSE-*:NONSTOP_KERNEL:*:*)
12591279 echo nse-tandem-nsk${UNAME_RELEASE}
12601280 exit ;;
12611281 NSR-?:NONSTOP_KERNEL:*:*)
13281348 echo ${UNAME_MACHINE}-unknown-esx
13291349 exit ;;
13301350 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
13341351
13351352 eval $set_cc_for_build
13361353 cat >$dummy.c <<EOF
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011, 2012 Free Software Foundation, Inc.
5
6 timestamp='2012-04-18'
7
8 # This file is (in principle) common to ALL GNU software.
9 # The presence of a machine in this file suggests that SOME GNU software
10 # can handle that machine. It does not imply ALL GNU software can.
11 #
12 # This file is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-04-24'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
159 # (at your option) any later version.
1610 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
2115 #
2216 # You should have received a copy of the GNU General Public License
2317 # along with this program; if not, see <http://www.gnu.org/licenses/>.
2519 # As a special exception to the GNU General Public License, if you
2620 # distribute this file as part of a program that contains a
2721 # configuration script generated by Autoconf, you may include it under
28 # the same distribution terms that you use for the rest of that program.
29
30
31 # Please send patches to <config-patches@gnu.org>. Submit a context
32 # diff and a properly formatted GNU ChangeLog entry.
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25
26
27 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
3328 #
3429 # Configuration subroutine to validate and canonicalize a configuration type.
3530 # Supply the specified configuration type as an argument.
7267 version="\
7368 GNU config.sub ($timestamp)
7469
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
76 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
77 Free Software Foundation, Inc.
70 Copyright 1992-2013 Free Software Foundation, Inc.
7871
7972 This is free software; see the source for copying conditions. There is NO
8073 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
122115 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
123116 case $maybe_os in
124117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
125 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
126119 knetbsd*-gnu* | netbsd*-gnu* | \
127120 kopensolaris*-gnu* | \
128121 storm-chaos* | os2-emx* | rtmk-nova*)
155148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
156149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
157150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
158 -apple | -axis | -knuth | -cray | -microblaze)
151 -apple | -axis | -knuth | -cray | -microblaze*)
159152 os=
160153 basic_machine=$1
161154 ;;
258251 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
259252 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
260253 | am33_2.0 \
261 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
262 | be32 | be64 \
254 | arc | arceb \
255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
256 | avr | avr32 \
257 | be32 | be64 \
263258 | bfin \
264259 | c4x | clipper \
265260 | d10v | d30v | dlx | dsp16xx \
272267 | le32 | le64 \
273268 | lm32 \
274269 | m32c | m32r | m32rle | m68000 | m68k | m88k \
275 | maxq | mb | microblaze | mcore | mep | metag \
270 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
276271 | mips | mipsbe | mipseb | mipsel | mipsle \
277272 | mips16 \
278273 | mips64 | mips64el \
290285 | mipsisa64r2 | mipsisa64r2el \
291286 | mipsisa64sb1 | mipsisa64sb1el \
292287 | mipsisa64sr71k | mipsisa64sr71kel \
288 | mipsr5900 | mipsr5900el \
293289 | mipstx39 | mipstx39el \
294290 | mn10200 | mn10300 \
295291 | moxie \
296292 | mt \
297293 | msp430 \
298294 | nds32 | nds32le | nds32be \
299 | nios | nios2 \
295 | nios | nios2 | nios2eb | nios2el \
300296 | ns16k | ns32k \
301297 | open8 \
302 | or32 \
298 | or1k | or32 \
303299 | pdp10 | pdp11 | pj | pjl \
304300 | powerpc | powerpc64 | powerpc64le | powerpcle \
305301 | pyramid \
369365 | aarch64-* | aarch64_be-* \
370366 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
371367 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
372 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
368 | alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* | arceb-* \
373369 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
374370 | avr-* | avr32-* \
375371 | be32-* | be64-* \
388384 | lm32-* \
389385 | m32c-* | m32r-* | m32rle-* \
390386 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
391 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
387 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
388 | microblaze-* | microblazeel-* \
392389 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
393390 | mips16-* \
394391 | mips64-* | mips64el-* \
406403 | mipsisa64r2-* | mipsisa64r2el-* \
407404 | mipsisa64sb1-* | mipsisa64sb1el-* \
408405 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
406 | mipsr5900-* | mipsr5900el-* \
409407 | mipstx39-* | mipstx39el-* \
410408 | mmix-* \
411409 | mt-* \
412410 | msp430-* \
413411 | nds32-* | nds32le-* | nds32be-* \
414 | nios-* | nios2-* \
412 | nios-* | nios2-* | nios2eb-* | nios2el-* \
415413 | none-* | np1-* | ns16k-* | ns32k-* \
416414 | open8-* \
417415 | orion-* \
474472 basic_machine=a29k-none
475473 os=-bsd
476474 ;;
477 amd64)
478 basic_machine=x86_64-pc
479 ;;
480 amd64-*)
481 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
482 ;;
483475 amdahl)
484476 basic_machine=580-amdahl
485477 os=-sysv
787779 basic_machine=ns32k-utek
788780 os=-sysv
789781 ;;
790 microblaze)
782 microblaze*)
791783 basic_machine=microblaze-xilinx
784 ;;
785 mingw64)
786 basic_machine=x86_64-pc
787 os=-mingw64
792788 ;;
793789 mingw32)
794790 basic_machine=i386-pc
10181014 basic_machine=i586-unknown
10191015 os=-pw32
10201016 ;;
1021 rdos)
1017 rdos | rdos64)
1018 basic_machine=x86_64-pc
1019 os=-rdos
1020 ;;
1021 rdos32)
10221022 basic_machine=i386-pc
10231023 os=-rdos
10241024 ;;
13451345 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13461346 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13471347 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1348 | -sym* | -kopensolaris* \
1348 | -sym* | -kopensolaris* | -plan9* \
13491349 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
13501350 | -aos* | -aros* \
13511351 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13521352 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
13531353 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1354 | -openbsd* | -solidbsd* \
1354 | -bitrig* | -openbsd* | -solidbsd* \
13551355 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13561356 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13571357 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13581358 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13591359 | -chorusos* | -chorusrdb* | -cegcc* \
13601360 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1361 | -mingw32* | -linux-gnu* | -linux-android* \
1362 | -linux-newlib* | -linux-uclibc* \
1361 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1362 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13631363 | -uxpv* | -beos* | -mpeix* | -udk* \
13641364 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13651365 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14911491 -aros*)
14921492 os=-aros
14931493 ;;
1494 -kaos*)
1495 os=-kaos
1496 ;;
14971494 -zvmoe)
14981495 os=-zvmoe
14991496 ;;
15831580 os=-elf
15841581 ;;
15851582 mips*-*)
1583 os=-elf
1584 ;;
1585 or1k-*)
15861586 os=-elf
15871587 ;;
15881588 or32-*)
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for dillo 3.0.3.
2 # Generated by GNU Autoconf 2.69 for dillo 3.0.4-rc1.
33 #
44 #
55 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
576576 # Identity of this package.
577577 PACKAGE_NAME='dillo'
578578 PACKAGE_TARNAME='dillo'
579 PACKAGE_VERSION='3.0.3'
580 PACKAGE_STRING='dillo 3.0.3'
579 PACKAGE_VERSION='3.0.4-rc1'
580 PACKAGE_STRING='dillo 3.0.4-rc1'
581581 PACKAGE_BUGREPORT=''
582582 PACKAGE_URL=''
583583
622622 am__EXEEXT_TRUE
623623 LTLIBOBJS
624624 LIBOBJS
625 LIBX11_LIBS
625626 LIBICONV_LIBS
626627 LIBFLTK_LIBS
627628 LIBFLTK_CFLAGS
662663 LDFLAGS
663664 CFLAGS
664665 CC
666 AM_BACKSLASH
667 AM_DEFAULT_VERBOSITY
668 AM_DEFAULT_V
669 AM_V
665670 am__untar
666671 am__tar
667672 AMTAR
738743 ac_subst_files=''
739744 ac_user_opts='
740745 enable_option_checking
746 enable_silent_rules
741747 with_jpeg_lib
742748 with_jpeg_inc
743749 enable_efence
13051311 # Omit some internal or obsolete options to make the list less imposing.
13061312 # This message is too long to be a string in the A/UX 3.1 sh.
13071313 cat <<_ACEOF
1308 \`configure' configures dillo 3.0.3 to adapt to many kinds of systems.
1314 \`configure' configures dillo 3.0.4-rc1 to adapt to many kinds of systems.
13091315
13101316 Usage: $0 [OPTION]... [VAR=VALUE]...
13111317
13761382
13771383 if test -n "$ac_init_help"; then
13781384 case $ac_init_help in
1379 short | recursive ) echo "Configuration of dillo 3.0.3:";;
1385 short | recursive ) echo "Configuration of dillo 3.0.4-rc1:";;
13801386 esac
13811387 cat <<\_ACEOF
13821388
13841390 --disable-option-checking ignore unrecognized --enable/--with options
13851391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13861392 --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")
13871395 --enable-efence Try to compile and run with Electric Fence
13881396 --enable-gprof Try to compile and run with profiling enabled
13891397 --enable-insure Try to compile and run with Insure++
13951403 --disable-gif Disable support for GIF images
13961404 --disable-threaded-dns Disable the advantage of a reentrant resolver library
13971405 --enable-rtfl Build with rtfl messages (for debugging rendering)
1398 --disable-dependency-tracking speeds up one-time build
1399 --enable-dependency-tracking do not reject slow dependency extractors
1406 --enable-dependency-tracking
1407 do not reject slow dependency extractors
1408 --disable-dependency-tracking
1409 speeds up one-time build
14001410
14011411 Optional Packages:
14021412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
14821492 test -n "$ac_init_help" && exit $ac_status
14831493 if $ac_init_version; then
14841494 cat <<\_ACEOF
1485 dillo configure 3.0.3
1495 dillo configure 3.0.4-rc1
14861496 generated by GNU Autoconf 2.69
14871497
14881498 Copyright (C) 2012 Free Software Foundation, Inc.
21082118
21092119 } # ac_fn_c_check_func
21102120
2121 # ac_fn_cxx_try_run LINENO
2122 # ------------------------
2123 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2124 # that executables *can* be run.
2125 ac_fn_cxx_try_run ()
2126 {
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 if { { ac_try="$ac_link"
2129 case "(($ac_try" in
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2132 esac
2133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134 $as_echo "$ac_try_echo"; } >&5
2135 (eval "$ac_link") 2>&5
2136 ac_status=$?
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2139 { { case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_try") 2>&5
2146 ac_status=$?
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }; }; then :
2149 ac_retval=0
2150 else
2151 $as_echo "$as_me: program exited with status $ac_status" >&5
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2154
2155 ac_retval=$ac_status
2156 fi
2157 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 as_fn_set_status $ac_retval
2160
2161 } # ac_fn_cxx_try_run
2162
21112163 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
21122164 # -------------------------------------------------------
21132165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
21982250 This file contains any messages produced by compilers while
21992251 running configure, to aid debugging if configure makes a mistake.
22002252
2201 It was created by dillo $as_me 3.0.3, which was
2253 It was created by dillo $as_me 3.0.4-rc1, which was
22022254 generated by GNU Autoconf 2.69. Invocation command line was
22032255
22042256 $ $0 $@
26872739 NONENONEs,x,x, &&
26882740 program_prefix=${target_alias}-
26892741
2690 am__api_version='1.11'
2742 am__api_version='1.14'
26912743
26922744 # Find a good install program. We prefer a C program (faster),
26932745 # so one script is as good as another. But avoid the broken or
27842836
27852837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
27862838 $as_echo_n "checking whether build environment is sane... " >&6; }
2787 # Just in case
2788 sleep 1
2789 echo timestamp > conftest.file
27902839 # Reject unsafe characters in $srcdir or the absolute working directory
27912840 # name. Accept space and tab only in the latter.
27922841 am_lf='
27972846 esac
27982847 case $srcdir in
27992848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2800 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2849 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
28012850 esac
28022851
2803 # Do `set' in a subshell so we don't clobber the current shell's
2852 # Do 'set' in a subshell so we don't clobber the current shell's
28042853 # arguments. Must try -L first in case configure is actually a
28052854 # symlink; some systems play weird games with the mod time of symlinks
28062855 # (eg FreeBSD returns the mod time of the symlink's containing
28072856 # directory).
28082857 if (
2809 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2810 if test "$*" = "X"; then
2811 # -L didn't work.
2812 set X `ls -t "$srcdir/configure" conftest.file`
2813 fi
2814 rm -f conftest.file
2815 if test "$*" != "X $srcdir/configure conftest.file" \
2816 && test "$*" != "X conftest.file $srcdir/configure"; then
2817
2818 # If neither matched, then we have a broken ls. This can happen
2819 # if, for instance, CONFIG_SHELL is bash and it inherits a
2820 # broken ls alias from the environment. This has actually
2821 # happened. Such a system could not be considered "sane".
2822 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2823 alias in your environment" "$LINENO" 5
2824 fi
2825
2858 am_has_slept=no
2859 for am_try in 1 2; do
2860 echo "timestamp, slept: $am_has_slept" > conftest.file
2861 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2862 if test "$*" = "X"; then
2863 # -L didn't work.
2864 set X `ls -t "$srcdir/configure" conftest.file`
2865 fi
2866 if test "$*" != "X $srcdir/configure conftest.file" \
2867 && test "$*" != "X conftest.file $srcdir/configure"; then
2868
2869 # If neither matched, then we have a broken ls. This can happen
2870 # if, for instance, CONFIG_SHELL is bash and it inherits a
2871 # broken ls alias from the environment. This has actually
2872 # happened. Such a system could not be considered "sane".
2873 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2874 alias in your environment" "$LINENO" 5
2875 fi
2876 if test "$2" = conftest.file || test $am_try -eq 2; then
2877 break
2878 fi
2879 # Just in case.
2880 sleep 1
2881 am_has_slept=yes
2882 done
28262883 test "$2" = conftest.file
28272884 )
28282885 then
28342891 fi
28352892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28362893 $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
28372904 test "$program_prefix" != NONE &&
28382905 program_transform_name="s&^&$program_prefix&;$program_transform_name"
28392906 # Use a double $ so make ignores it.
28562923 esac
28572924 fi
28582925 # Use eval to expand $SHELL
2859 if eval "$MISSING --run true"; then
2860 am_missing_run="$MISSING --run "
2926 if eval "$MISSING --is-lightweight"; then
2927 am_missing_run="$MISSING "
28612928 else
28622929 am_missing_run=
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2864 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2931 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
28652932 fi
28662933
28672934 if test x"${install_sh}" != xset; then
28732940 esac
28742941 fi
28752942
2876 # Installed binaries are usually stripped using `strip' when the user
2877 # run `make install-strip'. However `strip' might not be the right
2943 # Installed binaries are usually stripped using 'strip' when the user
2944 # run "make install-strip". However 'strip' might not be the right
28782945 # tool to use in cross-compilation environments, therefore Automake
2879 # will honor the `STRIP' environment variable to overrule this program.
2946 # will honor the 'STRIP' environment variable to overrule this program.
28802947 if test "$cross_compiling" != no; then
28812948 if test -n "$ac_tool_prefix"; then
28822949 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
30153082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
30163083 $as_echo "$MKDIR_P" >&6; }
30173084
3018 mkdir_p="$MKDIR_P"
3019 case $mkdir_p in
3020 [\\/$]* | ?:[\\/]*) ;;
3021 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3022 esac
3023
30243085 for ac_prog in gawk mawk nawk awk
30253086 do
30263087 # Extract the first word of "$ac_prog", so it can be a program name with args.
31033164 fi
31043165 rmdir .tst 2>/dev/null
31053166
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
31063206 if test "`cd $srcdir && pwd`" != "`pwd`"; then
31073207 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
31083208 # is not polluted with repeated "-I."
31253225
31263226 # Define the identity of the package.
31273227 PACKAGE='dillo'
3128 VERSION='3.0.3'
3228 VERSION='3.0.4-rc1'
31293229
31303230
31313231 cat >>confdefs.h <<_ACEOF
31523252
31533253
31543254 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)'
31553261
31563262 # We need awk for the "check" target. The system "awk" is bad on
31573263 # some platforms.
31593265 # in the wild :-( We should find a proper way to deprecate it ...
31603266 AMTAR='$${TAR-tar}'
31613267
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
31623272 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
31633273
31643274
31653275
31663276
31673277
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
31683320
31693321 ac_config_headers="$ac_config_headers config.h"
31703322
40464198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201
4202 ac_ext=c
4203 ac_cpp='$CPP $CPPFLAGS'
4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4208 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4209 if ${am_cv_prog_cc_c_o+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214
4215 int
4216 main ()
4217 {
4218
4219 ;
4220 return 0;
4221 }
4222 _ACEOF
4223 # Make sure it works both with $CC and with simple cc.
4224 # Following AC_PROG_CC_C_O, we do the test twice because some
4225 # compilers refuse to overwrite an existing .o file with -o,
4226 # though they will create one.
4227 am_cv_prog_cc_c_o=yes
4228 for am_i in 1 2; do
4229 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4230 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4231 ac_status=$?
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } \
4234 && test -f conftest2.$ac_objext; then
4235 : OK
4236 else
4237 am_cv_prog_cc_c_o=no
4238 break
4239 fi
4240 done
4241 rm -f core conftest*
4242 unset am_i
4243 fi
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4245 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4246 if test "$am_cv_prog_cc_c_o" != yes; then
4247 # Losing compiler, so override with the script.
4248 # FIXME: It is wrong to rewrite CC.
4249 # But if we don't then we get into trouble of one sort or another.
4250 # A longer-term fix would be to have automake use am__CC in this case,
4251 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4252 CC="$am_aux_dir/compile $CC"
4253 fi
4254 ac_ext=c
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4259
40494260 DEPDIR="${am__leading_dot}deps"
40504261
40514262 ac_config_commands="$ac_config_commands depfiles"
40654276 _am_result=none
40664277 # First try GNU make style include.
40674278 echo "include confinc" > confmf
4068 # Ignore all kinds of additional output from `make'.
4279 # Ignore all kinds of additional output from 'make'.
40694280 case `$am_make -s -f confmf 2> /dev/null` in #(
40704281 *the\ am__doit\ target*)
40714282 am__include=include
41214332 # We make a subdir and do the tests there. Otherwise we can end up
41224333 # making bogus files that we don't know about and never remove. For
41234334 # instance it was reported that on HP-UX the gcc test will end up
4124 # making a dummy file named `D' -- because `-MD' means `put the output
4125 # in D'.
4335 # making a dummy file named 'D' -- because '-MD' means "put the output
4336 # in D".
41264337 rm -rf conftest.dir
41274338 mkdir conftest.dir
41284339 # Copy depcomp to subdir because otherwise we won't find it if we're
41574368 : > sub/conftest.c
41584369 for i in 1 2 3 4 5 6; do
41594370 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4160 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4161 # Solaris 8's {/usr,}/bin/sh.
4162 touch sub/conftst$i.h
4371 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4372 # Solaris 10 /bin/sh.
4373 echo '/* dummy */' > sub/conftst$i.h
41634374 done
41644375 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
41654376
4166 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4377 # We check with '-c' and '-o' for the sake of the "dashmstdout"
41674378 # mode. It turns out that the SunPro C++ compiler does not properly
4168 # handle `-M -o', and we need to detect this. Also, some Intel
4169 # versions had trouble with output in subdirs
4379 # handle '-M -o', and we need to detect this. Also, some Intel
4380 # versions had trouble with output in subdirs.
41704381 am__obj=sub/conftest.${OBJEXT-o}
41714382 am__minus_obj="-o $am__obj"
41724383 case $depmode in
41754386 test "$am__universal" = false || continue
41764387 ;;
41774388 nosideeffect)
4178 # after this tag, mechanisms are not by side-effect, so they'll
4179 # only be used when explicitly requested
4389 # After this tag, mechanisms are not by side-effect, so they'll
4390 # only be used when explicitly requested.
41804391 if test "x$enable_dependency_tracking" = xyes; then
41814392 continue
41824393 else
41844395 fi
41854396 ;;
41864397 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4187 # This compiler won't grok `-c -o', but also, the minuso test has
4398 # This compiler won't grok '-c -o', but also, the minuso test has
41884399 # not run yet. These depmodes are late enough in the game, and
41894400 # so weak that their functioning should not be impacted.
41904401 am__obj=conftest.${OBJEXT-o}
45064717 # We make a subdir and do the tests there. Otherwise we can end up
45074718 # making bogus files that we don't know about and never remove. For
45084719 # instance it was reported that on HP-UX the gcc test will end up
4509 # making a dummy file named `D' -- because `-MD' means `put the output
4510 # in D'.
4720 # making a dummy file named 'D' -- because '-MD' means "put the output
4721 # in D".
45114722 rm -rf conftest.dir
45124723 mkdir conftest.dir
45134724 # Copy depcomp to subdir because otherwise we won't find it if we're
45424753 : > sub/conftest.c
45434754 for i in 1 2 3 4 5 6; do
45444755 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4545 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4546 # Solaris 8's {/usr,}/bin/sh.
4547 touch sub/conftst$i.h
4756 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4757 # Solaris 10 /bin/sh.
4758 echo '/* dummy */' > sub/conftst$i.h
45484759 done
45494760 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
45504761
4551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4762 # We check with '-c' and '-o' for the sake of the "dashmstdout"
45524763 # mode. It turns out that the SunPro C++ compiler does not properly
4553 # handle `-M -o', and we need to detect this. Also, some Intel
4554 # versions had trouble with output in subdirs
4764 # handle '-M -o', and we need to detect this. Also, some Intel
4765 # versions had trouble with output in subdirs.
45554766 am__obj=sub/conftest.${OBJEXT-o}
45564767 am__minus_obj="-o $am__obj"
45574768 case $depmode in
45604771 test "$am__universal" = false || continue
45614772 ;;
45624773 nosideeffect)
4563 # after this tag, mechanisms are not by side-effect, so they'll
4564 # only be used when explicitly requested
4774 # After this tag, mechanisms are not by side-effect, so they'll
4775 # only be used when explicitly requested.
45654776 if test "x$enable_dependency_tracking" = xyes; then
45664777 continue
45674778 else
45694780 fi
45704781 ;;
45714782 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4572 # This compiler won't grok `-c -o', but also, the minuso test has
4783 # This compiler won't grok '-c -o', but also, the minuso test has
45734784 # not run yet. These depmodes are late enough in the game, and
45744785 # so weak that their functioning should not be impacted.
45754786 am__obj=conftest.${OBJEXT-o}
55735784 as_fn_error $? "FLTK 1.3 required; fltk-config not found" "$LINENO" 5
55745785 esac
55755786
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link to X11" >&5
5788 $as_echo_n "checking whether to link to X11... " >&6; }
5789 ac_ext=cpp
5790 ac_cpp='$CXXCPP $CPPFLAGS'
5791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5794
5795 old_libs=$LIBS
5796 old_cxxflags=$CXXFLAGS
5797 LIBS=$LIBFLTK_LIBS
5798 CXXFLAGS=$LIBFLTK_CXXFLAGS
5799
5800 if test "$cross_compiling" = yes; then :
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Test for X11 not possible when cross-compiling. ***" >&5
5804 $as_echo "$as_me: WARNING: *** Test for X11 not possible when cross-compiling. ***" >&2;}
5805 else
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5808
5809 #define FL_INTERNALS
5810 #include <FL/x.H>
5811
5812 int
5813 main ()
5814 {
5815
5816 #ifdef X_PROTOCOL
5817 return 0;
5818 #else
5819 return 1;
5820 #endif
5821
5822 ;
5823 return 0;
5824 }
5825 _ACEOF
5826 if ac_fn_cxx_try_run "$LINENO"; then :
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5828 $as_echo "yes" >&6; }
5829 LIBX11_LIBS="-lX11"
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 fi
5834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5835 conftest.$ac_objext conftest.beam conftest.$ac_ext
5836 fi
5837
5838 CXXFLAGS=$old_cxxflags
5839 LIBS=$old_libs
5840 ac_ext=c
5841 ac_cpp='$CPP $CPPFLAGS'
5842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5845
55765846