Codebase list dillo / fce47d1
Imported Upstream version 3.0.4.1~rc3 Axel Beckert 8 years ago
25 changed file(s) with 3606 addition(s) and 2254 deletion(s). Raw diff Collapse all Expand all
77
88 dillo-3.0.4.1 [not released yet]
99
10 +- Avoid a corner case segfault when no search URL is found in dillorc.
11 Patch: Sebastian Geerken, Jorge Arellano
1012 +- Fix linking problem with fltk-1.3.3 and fl_oldfocus.
1113 Patch: Jorge Arellano Cid
1214 +- Don't load background images in --local mode.
13 Patch: Johannes Hofmann
15 - Make sure window is resizable with fltk-1.3.3.
16 Patches: Johannes Hofmann
1417 +- Remove Fl_Printer stub that always gave problems compiling under OSX.
1518 Patch: corvid
1619
0 # Makefile.in generated by automake 1.11.6 from Makefile.am.
0 # Makefile.in generated by automake 1.14.1 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@
321386 $(am__aclocal_m4_deps):
322387
323388 config.h: stamp-h1
324 @if test ! -f $@; then rm -f stamp-h1; else :; fi
325 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
389 @test -f $@ || rm -f stamp-h1
390 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
326391
327392 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
328393 @rm -f stamp-h1
392457 dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
393458
394459 # This directory's subdirectories are mostly independent; you can cd
395 # into them and run `make' without going through this Makefile.
396 # To change the values of `make' variables: instead of editing Makefiles,
397 # (1) if the variable is set in `config.status', edit `config.status'
398 # (which will cause the Makefiles to be regenerated when you run `make');
399 # (2) otherwise, pass the desired values on the `make' command line.
400 $(RECURSIVE_TARGETS):
401 @fail= failcom='exit 1'; \
402 for f in x $$MAKEFLAGS; do \
403 case $$f in \
404 *=* | --[!k]*);; \
405 *k*) failcom='fail=yes';; \
406 esac; \
407 done; \
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; \
408472 dot_seen=no; \
409473 target=`echo $@ | sed s/-recursive//`; \
410 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 \
411479 echo "Making $$target in $$subdir"; \
412480 if test "$$subdir" = "."; then \
413481 dot_seen=yes; \
422490 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
423491 fi; test -z "$$fail"
424492
425 $(RECURSIVE_CLEAN_TARGETS):
426 @fail= failcom='exit 1'; \
427 for f in x $$MAKEFLAGS; do \
428 case $$f in \
429 *=* | --[!k]*);; \
430 *k*) failcom='fail=yes';; \
431 esac; \
432 done; \
433 dot_seen=no; \
434 case "$@" in \
435 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
436 *) list='$(SUBDIRS)' ;; \
437 esac; \
438 rev=''; for subdir in $$list; do \
439 if test "$$subdir" = "."; then :; else \
440 rev="$$subdir $$rev"; \
441 fi; \
442 done; \
443 rev="$$rev ."; \
444 target=`echo $@ | sed s/-recursive//`; \
445 for subdir in $$rev; do \
446 echo "Making $$target in $$subdir"; \
447 if test "$$subdir" = "."; then \
448 local_target="$$target-am"; \
449 else \
450 local_target="$$target"; \
451 fi; \
452 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
453 || eval $$failcom; \
454 done && test -z "$$fail"
455 tags-recursive:
456 list='$(SUBDIRS)'; for subdir in $$list; do \
457 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
458 done
459 ctags-recursive:
460 list='$(SUBDIRS)'; for subdir in $$list; do \
461 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
462 done
463
464 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
465 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466 unique=`for i in $$list; do \
467 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
468 done | \
469 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
470 END { if (nonempty) { for (i in files) print i; }; }'`; \
471 mkid -fID $$unique
472 tags: TAGS
473
474 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
475 $(TAGS_FILES) $(LISP)
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)
476499 set x; \
477500 here=`pwd`; \
478501 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
488511 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
489512 fi; \
490513 done; \
491 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
492 unique=`for i in $$list; do \
493 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494 done | \
495 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
496 END { if (nonempty) { for (i in files) print i; }; }'`; \
514 $(am__define_uniq_tagged_files); \
497515 shift; \
498516 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
499517 test -n "$$unique" || unique=$$empty_fix; \
505523 $$unique; \
506524 fi; \
507525 fi
508 ctags: CTAGS
509 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
510 $(TAGS_FILES) $(LISP)
511 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
512 unique=`for i in $$list; do \
513 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
514 done | \
515 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
516 END { if (nonempty) { for (i in files) print i; }; }'`; \
526 ctags: ctags-recursive
527
528 CTAGS: ctags
529 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
530 $(am__define_uniq_tagged_files); \
517531 test -z "$(CTAGS_ARGS)$$unique" \
518532 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
519533 $$unique
522536 here=`$(am__cd) $(top_builddir) && pwd` \
523537 && $(am__cd) $(top_srcdir) \
524538 && 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
525560
526561 distclean-tags:
527562 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
563 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
528564
529565 distdir: $(DISTFILES)
530566 $(am__remove_distdir)
592628 || chmod -R a+r "$(distdir)"
593629 dist-gzip: distdir
594630 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
595 $(am__remove_distdir)
631 $(am__post_remove_distdir)
596632
597633 dist-bzip2: distdir
598634 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
599 $(am__remove_distdir)
635 $(am__post_remove_distdir)
600636
601637 dist-lzip: distdir
602638 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
603 $(am__remove_distdir)
604
605 dist-lzma: distdir
606 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
607 $(am__remove_distdir)
639 $(am__post_remove_distdir)
608640
609641 dist-xz: distdir
610642 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
611 $(am__remove_distdir)
643 $(am__post_remove_distdir)
612644
613645 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
614649 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
615 $(am__remove_distdir)
650 $(am__post_remove_distdir)
616651
617652 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
618656 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
619 $(am__remove_distdir)
657 $(am__post_remove_distdir)
620658
621659 dist-zip: distdir
622660 -rm -f $(distdir).zip
623661 zip -rq $(distdir).zip $(distdir)
624 $(am__remove_distdir)
625
626 dist dist-all: distdir
627 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628 $(am__remove_distdir)
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)
629667
630668 # This target untars the dist file and tries a VPATH configuration. Then
631669 # it guarantees that the distribution is self-contained by making another
636674 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
637675 *.tar.bz2*) \
638676 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
639 *.tar.lzma*) \
640 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
641677 *.tar.lz*) \
642678 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
643679 *.tar.xz*) \
649685 *.zip*) \
650686 unzip $(distdir).zip ;;\
651687 esac
652 chmod -R a-w $(distdir); chmod u+w $(distdir)
653 mkdir $(distdir)/_build
654 mkdir $(distdir)/_inst
688 chmod -R a-w $(distdir)
689 chmod u+w $(distdir)
690 mkdir $(distdir)/_build $(distdir)/_inst
655691 chmod a-w $(distdir)
656692 test -d $(distdir)/_build || exit 0; \
657693 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
658694 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
659695 && am__cwd=`pwd` \
660696 && $(am__cd) $(distdir)/_build \
661 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
697 && ../configure \
662698 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
663699 $(DISTCHECK_CONFIGURE_FLAGS) \
700 --srcdir=.. --prefix="$$dc_install_base" \
664701 && $(MAKE) $(AM_MAKEFLAGS) \
665702 && $(MAKE) $(AM_MAKEFLAGS) dvi \
666703 && $(MAKE) $(AM_MAKEFLAGS) check \
683720 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
684721 && cd "$$am__cwd" \
685722 || exit 1
686 $(am__remove_distdir)
723 $(am__post_remove_distdir)
687724 @(echo "$(distdir) archives ready for distribution: "; \
688725 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
689726 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
820857
821858 uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA
822859
823 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
824 ctags-recursive install-am install-strip tags-recursive
825
826 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
827 all all-am am--refresh check check-am clean clean-generic \
828 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
829 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
860 .MAKE: $(am__recursive_targets) all install-am install-strip
861
862 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
863 am--refresh check check-am clean clean-cscope clean-generic \
864 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
865 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
830866 distcheck distclean distclean-generic distclean-hdr \
831867 distclean-tags distcleancheck distdir distuninstallcheck dvi \
832868 dvi-am html html-am info info-am install install-am \
837873 install-ps-am install-strip install-sysconfDATA installcheck \
838874 installcheck-am installdirs installdirs-am maintainer-clean \
839875 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
840 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
876 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
841877 uninstall-dist_binSCRIPTS uninstall-sysconfDATA
842878
843879
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.1 -*- 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.1], [],
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.1])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,
107102 # configured tree to be moved without reconfiguration.
108103
109104 AC_DEFUN([AM_AUX_DIR_EXPAND],
110 [dnl Rely on autoconf to set up CDPATH properly.
111 AC_PREREQ([2.50])dnl
112 # expand $ac_aux_dir to an absolute path
113 am_aux_dir=`cd $ac_aux_dir && pwd`
105 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
106 # Expand $ac_aux_dir to an absolute path.
107 am_aux_dir=`cd "$ac_aux_dir" && pwd`
114108 ])
115109
116110 # AM_CONDITIONAL -*- Autoconf -*-
117111
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
112 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
113 #
114 # This file is free software; the Free Software Foundation
115 # gives unlimited permission to copy and/or distribute it,
116 # with or without modifications, as long as this notice is preserved.
126117
127118 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
128119 # -------------------------------------
129120 # Define a conditional.
130121 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
122 [AC_PREREQ([2.52])dnl
123 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
124 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
134125 AC_SUBST([$1_TRUE])dnl
135126 AC_SUBST([$1_FALSE])dnl
136127 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
149140 Usually this means the macro was only invoked conditionally.]])
150141 fi])])
151142
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
143 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
144 #
145 # This file is free software; the Free Software Foundation
146 # gives unlimited permission to copy and/or distribute it,
147 # with or without modifications, as long as this notice is preserved.
148
149
150 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
162151 # written in clear, in which case automake, when reading aclocal.m4,
163152 # will think it sees a *use*, and therefore will trigger all it's
164153 # C support machinery. Also note that it means that autoscan, seeing
168157 # _AM_DEPENDENCIES(NAME)
169158 # ----------------------
170159 # See how the compiler implements dependency checking.
171 # NAME is "CC", "CXX", "GCJ", or "OBJC".
160 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
172161 # We try a few techniques and use that to set a single cache variable.
173162 #
174163 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
181170 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
182171 AC_REQUIRE([AM_DEP_TRACK])dnl
183172
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=])
173 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
174 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
175 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
177 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
178 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
179 [depcc="$$1" am_compiler_list=])
190180
191181 AC_CACHE_CHECK([dependency style of $depcc],
192182 [am_cv_$1_dependencies_compiler_type],
194184 # We make a subdir and do the tests there. Otherwise we can end up
195185 # making bogus files that we don't know about and never remove. For
196186 # 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'.
187 # making a dummy file named 'D' -- because '-MD' means "put the output
188 # in D".
199189 rm -rf conftest.dir
200190 mkdir conftest.dir
201191 # Copy depcomp to subdir because otherwise we won't find it if we're
235225 : > sub/conftest.c
236226 for i in 1 2 3 4 5 6; do
237227 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
228 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
229 # Solaris 10 /bin/sh.
230 echo '/* dummy */' > sub/conftst$i.h
241231 done
242232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
243233
244 # We check with `-c' and `-o' for the sake of the "dashmstdout"
234 # We check with '-c' and '-o' for the sake of the "dashmstdout"
245235 # 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
236 # handle '-M -o', and we need to detect this. Also, some Intel
237 # versions had trouble with output in subdirs.
248238 am__obj=sub/conftest.${OBJEXT-o}
249239 am__minus_obj="-o $am__obj"
250240 case $depmode in
253243 test "$am__universal" = false || continue
254244 ;;
255245 nosideeffect)
256 # after this tag, mechanisms are not by side-effect, so they'll
257 # only be used when explicitly requested
246 # After this tag, mechanisms are not by side-effect, so they'll
247 # only be used when explicitly requested.
258248 if test "x$enable_dependency_tracking" = xyes; then
259249 continue
260250 else
262252 fi
263253 ;;
264254 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
265 # This compiler won't grok `-c -o', but also, the minuso test has
255 # This compiler won't grok '-c -o', but also, the minuso test has
266256 # not run yet. These depmodes are late enough in the game, and
267257 # so weak that their functioning should not be impacted.
268258 am__obj=conftest.${OBJEXT-o}
310300 # AM_SET_DEPDIR
311301 # -------------
312302 # Choose a directory name for dependency files.
313 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
303 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
314304 AC_DEFUN([AM_SET_DEPDIR],
315305 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
316306 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
320310 # AM_DEP_TRACK
321311 # ------------
322312 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])
313 [AC_ARG_ENABLE([dependency-tracking], [dnl
314 AS_HELP_STRING(
315 [--enable-dependency-tracking],
316 [do not reject slow dependency extractors])
317 AS_HELP_STRING(
318 [--disable-dependency-tracking],
319 [speeds up one-time build])])
326320 if test "x$enable_dependency_tracking" != xno; then
327321 am_depcomp="$ac_aux_dir/depcomp"
328322 AMDEPBACKSLASH='\'
337331
338332 # Generate code to set up dependency tracking. -*- Autoconf -*-
339333
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
334 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
339
348340
349341 # _AM_OUTPUT_DEPENDENCY_COMMANDS
350342 # ------------------------------
351343 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
352344 [{
353 # Autoconf 2.62 quotes --file arguments for eval, but not when files
345 # Older Autoconf quotes --file arguments for eval, but not when files
354346 # are listed without --file. Let's play safe and only enable the eval
355347 # if we detect the quoting.
356348 case $CONFIG_FILES in
363355 # Strip MF so we end up with the name of the file.
364356 mf=`echo "$mf" | sed -e 's/:.*$//'`
365357 # Check whether this is an Automake generated Makefile or not.
366 # We used to match only the files named `Makefile.in', but
358 # We used to match only the files named 'Makefile.in', but
367359 # some people rename them; so instead we look at the file content.
368360 # Grep'ing the first line is not enough: some people post-process
369361 # each Makefile.in and add a new line on top of each file to say so.
375367 continue
376368 fi
377369 # Extract the definition of DEPDIR, am__include, and am__quote
378 # from the Makefile without running `make'.
370 # from the Makefile without running 'make'.
379371 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
380372 test -z "$DEPDIR" && continue
381373 am__include=`sed -n 's/^am__include = //p' < "$mf"`
382 test -z "am__include" && continue
374 test -z "$am__include" && continue
383375 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"`
386376 # Find all dependency output files, they are included files with
387377 # $(DEPDIR) in their names. We invoke sed twice because it is the
388378 # simplest approach to changing $(DEPDIR) to its actual value in the
389379 # expansion.
390380 for file in `sed -n "
391381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
392 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
393383 # Make sure the directory exists.
394384 test -f "$dirpart/$file" && continue
395385 fdir=`AS_DIRNAME(["$file"])`
407397 # This macro should only be invoked once -- use via AC_REQUIRE.
408398 #
409399 # This code is only required when automatic dependency tracking
410 # is enabled. FIXME. This creates each `.P' file that we will
400 # is enabled. FIXME. This creates each '.P' file that we will
411401 # need in order to bootstrap the dependency handling code.
412402 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
413403 [AC_CONFIG_COMMANDS([depfiles],
417407
418408 # Do all the work for Automake. -*- Autoconf -*-
419409
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
410 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
411 #
412 # This file is free software; the Free Software Foundation
413 # gives unlimited permission to copy and/or distribute it,
414 # with or without modifications, as long as this notice is preserved.
428415
429416 # This macro actually does too much. Some checks are only needed if
430417 # your package does certain things. But this isn't really a big deal.
418
419 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
420 m4_define([AC_PROG_CC],
421 m4_defn([AC_PROG_CC])
422 [_AM_PROG_CC_C_O
423 ])
431424
432425 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
433426 # AM_INIT_AUTOMAKE([OPTIONS])
441434 # arguments mandatory, and then we can depend on a new Autoconf
442435 # release and drop the old call support.
443436 AC_DEFUN([AM_INIT_AUTOMAKE],
444 [AC_PREREQ([2.62])dnl
437 [AC_PREREQ([2.65])dnl
445438 dnl Autoconf wants to disallow AM_ names. We explicitly allow
446439 dnl the ones we care about.
447440 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
470463 # Define the identity of the package.
471464 dnl Distinguish between old-style and new-style calls.
472465 m4_ifval([$2],
473 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
466 [AC_DIAGNOSE([obsolete],
467 [$0: two- and three-arguments forms are deprecated.])
468 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
474469 AC_SUBST([PACKAGE], [$1])dnl
475470 AC_SUBST([VERSION], [$2])],
476471 [_AM_SET_OPTIONS([$1])dnl
477472 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,,
473 m4_if(
474 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
475 [ok:ok],,
479476 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
480477 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
481478 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
482479
483480 _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
481 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
482 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
486483
487484 # Some tools Automake needs.
488485 AC_REQUIRE([AM_SANITY_CHECK])dnl
489486 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)
487 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
488 AM_MISSING_PROG([AUTOCONF], [autoconf])
489 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
490 AM_MISSING_PROG([AUTOHEADER], [autoheader])
491 AM_MISSING_PROG([MAKEINFO], [makeinfo])
495492 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
496493 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
497 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
494 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
495 # For better backward compatibility. To be removed once Automake 1.9.x
496 # dies out for good. For more background, see:
497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
499 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
498500 # We need awk for the "check" target. The system "awk" is bad on
499501 # some platforms.
500502 AC_REQUIRE([AC_PROG_AWK])dnl
505507 [_AM_PROG_TAR([v7])])])
506508 _AM_IF_OPTION([no-dependencies],,
507509 [AC_PROVIDE_IFELSE([AC_PROG_CC],
508 [_AM_DEPENDENCIES(CC)],
509 [define([AC_PROG_CC],
510 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
510 [_AM_DEPENDENCIES([CC])],
511 [m4_define([AC_PROG_CC],
512 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
511513 AC_PROVIDE_IFELSE([AC_PROG_CXX],
512 [_AM_DEPENDENCIES(CXX)],
513 [define([AC_PROG_CXX],
514 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
514 [_AM_DEPENDENCIES([CXX])],
515 [m4_define([AC_PROG_CXX],
516 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
515517 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.
518 [_AM_DEPENDENCIES([OBJC])],
519 [m4_define([AC_PROG_OBJC],
520 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
521 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
522 [_AM_DEPENDENCIES([OBJCXX])],
523 [m4_define([AC_PROG_OBJCXX],
524 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
525 ])
526 AC_REQUIRE([AM_SILENT_RULES])dnl
527 dnl The testsuite driver may need to know about EXEEXT, so add the
528 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
529 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
524530 AC_CONFIG_COMMANDS_PRE(dnl
525531 [m4_provide_if([_AM_COMPILER_EXEEXT],
526532 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
527 ])
528
529 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
533
534 # POSIX will say in a future version that running "rm -f" with no argument
535 # is OK; and we want to be able to make that assumption in our Makefile
536 # recipes. So use an aggressive probe to check that the usage we want is
537 # actually supported "in the wild" to an acceptable degree.
538 # See automake bug#10828.
539 # To make any issue more visible, cause the running configure to be aborted
540 # by default if the 'rm' program in use doesn't match our expectations; the
541 # user can still override this though.
542 if rm -f && rm -fr && rm -rf; then : OK; else
543 cat >&2 <<'END'
544 Oops!
545
546 Your 'rm' program seems unable to run without file operands specified
547 on the command line, even when the '-f' option is present. This is contrary
548 to the behaviour of most rm programs out there, and not conforming with
549 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
550
551 Please tell bug-automake@gnu.org about your system, including the value
552 of your $PATH and any error possibly output before this message. This
553 can help us improve future automake versions.
554
555 END
556 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
557 echo 'Configuration will proceed anyway, since you have set the' >&2
558 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
559 echo >&2
560 else
561 cat >&2 <<'END'
562 Aborting the configuration process, to ensure you take notice of the issue.
563
564 You can download and install GNU coreutils to get an 'rm' implementation
565 that behaves properly: <http://www.gnu.org/software/coreutils/>.
566
567 If you want to complete the configuration process using your problematic
568 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
569 to "yes", and re-run configure.
570
571 END
572 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
573 fi
574 fi
575 ])
576
577 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
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-2014 Free Software Foundation, Inc.
3
4 timestamp='2014-03-23'
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-2014 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' | sed 's, ,,g'`
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:*:*)
800819 i*:CYGWIN*:*)
801820 echo ${UNAME_MACHINE}-pc-cygwin
802821 exit ;;
822 *:MINGW64*:*)
823 echo ${UNAME_MACHINE}-pc-mingw64
824 exit ;;
803825 *:MINGW*:*)
804826 echo ${UNAME_MACHINE}-pc-mingw32
805827 exit ;;
806 i*:MSYS*:*)
828 *:MSYS*:*)
807829 echo ${UNAME_MACHINE}-pc-msys
808830 exit ;;
809831 i*:windows32*:*)
851873 exit ;;
852874 *:GNU:*:*)
853875 # the GNU system
854 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
876 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
855877 exit ;;
856878 *:GNU/*:*:*)
857879 # 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
880 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
859881 exit ;;
860882 i*86:Minix:*:*)
861883 echo ${UNAME_MACHINE}-pc-minix
862884 exit ;;
863885 aarch64:Linux:*:*)
864 echo ${UNAME_MACHINE}-unknown-linux-gnu
886 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
865887 exit ;;
866888 aarch64_be:Linux:*:*)
867889 UNAME_MACHINE=aarch64_be
868 echo ${UNAME_MACHINE}-unknown-linux-gnu
890 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
869891 exit ;;
870892 alpha:Linux:*:*)
871893 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
878900 EV68*) UNAME_MACHINE=alphaev68 ;;
879901 esac
880902 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}
903 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
904 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
905 exit ;;
906 arc:Linux:*:* | arceb:Linux:*:*)
907 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
883908 exit ;;
884909 arm*:Linux:*:*)
885910 eval $set_cc_for_build
886911 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
887912 | grep -q __ARM_EABI__
888913 then
889 echo ${UNAME_MACHINE}-unknown-linux-gnu
914 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
890915 else
891916 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
892917 | grep -q __ARM_PCS_VFP
893918 then
894 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
919 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
895920 else
896 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
921 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
897922 fi
898923 fi
899924 exit ;;
900925 avr32*:Linux:*:*)
901 echo ${UNAME_MACHINE}-unknown-linux-gnu
926 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
902927 exit ;;
903928 cris:Linux:*:*)
904 echo ${UNAME_MACHINE}-axis-linux-gnu
929 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
905930 exit ;;
906931 crisv32:Linux:*:*)
907 echo ${UNAME_MACHINE}-axis-linux-gnu
932 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
908933 exit ;;
909934 frv:Linux:*:*)
910 echo ${UNAME_MACHINE}-unknown-linux-gnu
935 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
911936 exit ;;
912937 hexagon:Linux:*:*)
913 echo ${UNAME_MACHINE}-unknown-linux-gnu
938 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
914939 exit ;;
915940 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}"
941 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
925942 exit ;;
926943 ia64:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-gnu
944 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928945 exit ;;
929946 m32r*:Linux:*:*)
930 echo ${UNAME_MACHINE}-unknown-linux-gnu
947 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
931948 exit ;;
932949 m68*:Linux:*:*)
933 echo ${UNAME_MACHINE}-unknown-linux-gnu
950 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
934951 exit ;;
935952 mips:Linux:*:* | mips64:Linux:*:*)
936953 eval $set_cc_for_build
949966 #endif
950967 EOF
951968 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
952 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
969 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
953970 ;;
954 or32:Linux:*:*)
955 echo ${UNAME_MACHINE}-unknown-linux-gnu
971 openrisc*:Linux:*:*)
972 echo or1k-unknown-linux-${LIBC}
973 exit ;;
974 or32:Linux:*:* | or1k*:Linux:*:*)
975 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956976 exit ;;
957977 padre:Linux:*:*)
958 echo sparc-unknown-linux-gnu
978 echo sparc-unknown-linux-${LIBC}
959979 exit ;;
960980 parisc64:Linux:*:* | hppa64:Linux:*:*)
961 echo hppa64-unknown-linux-gnu
981 echo hppa64-unknown-linux-${LIBC}
962982 exit ;;
963983 parisc:Linux:*:* | hppa:Linux:*:*)
964984 # Look for CPU level
965985 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 ;;
986 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
987 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
988 *) echo hppa-unknown-linux-${LIBC} ;;
969989 esac
970990 exit ;;
971991 ppc64:Linux:*:*)
972 echo powerpc64-unknown-linux-gnu
992 echo powerpc64-unknown-linux-${LIBC}
973993 exit ;;
974994 ppc:Linux:*:*)
975 echo powerpc-unknown-linux-gnu
995 echo powerpc-unknown-linux-${LIBC}
996 exit ;;
997 ppc64le:Linux:*:*)
998 echo powerpc64le-unknown-linux-${LIBC}
999 exit ;;
1000 ppcle:Linux:*:*)
1001 echo powerpcle-unknown-linux-${LIBC}
9761002 exit ;;
9771003 s390:Linux:*:* | s390x:Linux:*:*)
978 echo ${UNAME_MACHINE}-ibm-linux
1004 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
9791005 exit ;;
9801006 sh64*:Linux:*:*)
981 echo ${UNAME_MACHINE}-unknown-linux-gnu
1007 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9821008 exit ;;
9831009 sh*:Linux:*:*)
984 echo ${UNAME_MACHINE}-unknown-linux-gnu
1010 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9851011 exit ;;
9861012 sparc:Linux:*:* | sparc64:Linux:*:*)
987 echo ${UNAME_MACHINE}-unknown-linux-gnu
1013 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9881014 exit ;;
9891015 tile*:Linux:*:*)
990 echo ${UNAME_MACHINE}-unknown-linux-gnu
1016 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9911017 exit ;;
9921018 vax:Linux:*:*)
993 echo ${UNAME_MACHINE}-dec-linux-gnu
1019 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
9941020 exit ;;
9951021 x86_64:Linux:*:*)
996 echo ${UNAME_MACHINE}-unknown-linux-gnu
1022 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9971023 exit ;;
9981024 xtensa*:Linux:*:*)
999 echo ${UNAME_MACHINE}-unknown-linux-gnu
1025 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10001026 exit ;;
10011027 i*86:DYNIX/ptx:4*:*)
10021028 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
12001226 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
12011227 echo i586-pc-haiku
12021228 exit ;;
1229 x86_64:Haiku:*:*)
1230 echo x86_64-unknown-haiku
1231 exit ;;
12031232 SX-4:SUPER-UX:*:*)
12041233 echo sx4-nec-superux${UNAME_RELEASE}
12051234 exit ;;
12261255 exit ;;
12271256 *:Darwin:*:*)
12281257 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
1258 eval $set_cc_for_build
1259 if test "$UNAME_PROCESSOR" = unknown ; then
1260 UNAME_PROCESSOR=powerpc
1261 fi
1262 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1263 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1264 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1265 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1266 grep IS_64BIT_ARCH >/dev/null
1267 then
1268 case $UNAME_PROCESSOR in
1269 i386) UNAME_PROCESSOR=x86_64 ;;
1270 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1271 esac
1272 fi
1273 fi
1274 elif test "$UNAME_PROCESSOR" = i386 ; then
1275 # Avoid executing cc on OS X 10.9, as it ships with a stub
1276 # that puts up a graphical alert prompting to install
1277 # developer tools. Any system running Mac OS X 10.7 or
1278 # later (Darwin 11 and later) is required to have a 64-bit
1279 # processor. This is not true of the ARM version of Darwin
1280 # that Apple uses in portable devices.
1281 UNAME_PROCESSOR=x86_64
1282 fi
12421283 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12431284 exit ;;
12441285 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12551296 NEO-?:NONSTOP_KERNEL:*:*)
12561297 echo neo-tandem-nsk${UNAME_RELEASE}
12571298 exit ;;
1258 NSE-?:NONSTOP_KERNEL:*:*)
1299 NSE-*:NONSTOP_KERNEL:*:*)
12591300 echo nse-tandem-nsk${UNAME_RELEASE}
12601301 exit ;;
12611302 NSR-?:NONSTOP_KERNEL:*:*)
13291370 exit ;;
13301371 esac
13311372
1332 #echo '(No uname command or uname output not recognized.)' 1>&2
1333 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1334
1335 eval $set_cc_for_build
1336 cat >$dummy.c <<EOF
1337 #ifdef _SEQUENT_
1338 # include <sys/types.h>
1339 # include <sys/utsname.h>
1340 #endif
1341 main ()
1342 {
1343 #if defined (sony)
1344 #if defined (MIPSEB)
1345 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1346 I don't know.... */
1347 printf ("mips-sony-bsd\n"); exit (0);
1348 #else
1349 #include <sys/param.h>
1350 printf ("m68k-sony-newsos%s\n",
1351 #ifdef NEWSOS4
1352 "4"
1353 #else
1354 ""
1355 #endif
1356 ); exit (0);
1357 #endif
1358 #endif
1359
1360 #if defined (__arm) && defined (__acorn) && defined (__unix)
1361 printf ("arm-acorn-riscix\n"); exit (0);
1362 #endif
1363
1364 #if defined (hp300) && !defined (hpux)
1365 printf ("m68k-hp-bsd\n"); exit (0);
1366 #endif
1367
1368 #if defined (NeXT)
1369 #if !defined (__ARCHITECTURE__)
1370 #define __ARCHITECTURE__ "m68k"
1371 #endif
1372 int version;
1373 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1374 if (version < 4)
1375 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1376 else
1377 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1378 exit (0);
1379 #endif
1380
1381 #if defined (MULTIMAX) || defined (n16)
1382 #if defined (UMAXV)
1383 printf ("ns32k-encore-sysv\n"); exit (0);
1384 #else
1385 #if defined (CMU)
1386 printf ("ns32k-encore-mach\n"); exit (0);
1387 #else
1388 printf ("ns32k-encore-bsd\n"); exit (0);
1389 #endif
1390 #endif
1391 #endif
1392
1393 #if defined (__386BSD__)
1394 printf ("i386-pc-bsd\n"); exit (0);
1395 #endif
1396
1397 #if defined (sequent)
1398 #if defined (i386)
1399 printf ("i386-sequent-dynix\n"); exit (0);
1400 #endif
1401 #if defined (ns32000)
1402 printf ("ns32k-sequent-dynix\n"); exit (0);
1403 #endif
1404 #endif
1405
1406 #if defined (_SEQUENT_)
1407 struct utsname un;
1408
1409 uname(&un);
1410
1411 if (strncmp(un.version, "V2", 2) == 0) {
1412 printf ("i386-sequent-ptx2\n"); exit (0);
1413 }
1414 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1415 printf ("i386-sequent-ptx1\n"); exit (0);
1416 }
1417 printf ("i386-sequent-ptx\n"); exit (0);
1418
1419 #endif
1420
1421 #if defined (vax)
1422 # if !defined (ultrix)
1423 # include <sys/param.h>
1424 # if defined (BSD)
1425 # if BSD == 43
1426 printf ("vax-dec-bsd4.3\n"); exit (0);
1427 # else
1428 # if BSD == 199006
1429 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1430 # else
1431 printf ("vax-dec-bsd\n"); exit (0);
1432 # endif
1433 # endif
1434 # else
1435 printf ("vax-dec-bsd\n"); exit (0);
1436 # endif
1437 # else
1438 printf ("vax-dec-ultrix\n"); exit (0);
1439 # endif
1440 #endif
1441
1442 #if defined (alliant) && defined (i860)
1443 printf ("i860-alliant-bsd\n"); exit (0);
1444 #endif
1445
1446 exit (1);
1447 }
1448 EOF
1449
1450 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1451 { echo "$SYSTEM_NAME"; exit; }
1452
1453 # Apollos put the system type in the environment.
1454
1455 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1456
1457 # Convex versions that predate uname can use getsysinfo(1)
1458
1459 if [ -x /usr/convex/getsysinfo ]
1460 then
1461 case `getsysinfo -f cpu_type` in
1462 c1*)
1463 echo c1-convex-bsd
1464 exit ;;
1465 c2*)
1466 if getsysinfo -f scalar_acc
1467 then echo c32-convex-bsd
1468 else echo c2-convex-bsd
1469 fi
1470 exit ;;
1471 c34*)
1472 echo c34-convex-bsd
1473 exit ;;
1474 c38*)
1475 echo c38-convex-bsd
1476 exit ;;
1477 c4*)
1478 echo c4-convex-bsd
1479 exit ;;
1480 esac
1481 fi
1482
14831373 cat >&2 <<EOF
14841374 $0: unable to guess system type
14851375
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-2014 Free Software Foundation, Inc.
3
4 timestamp='2014-09-11'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
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-2014 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 \
264 | c4x | clipper \
259 | c4x | c8051 | clipper \
265260 | d10v | d30v | dlx | dsp16xx \
266261 | epiphany \
267262 | fido | fr30 | frv \
269264 | hexagon \
270265 | i370 | i860 | i960 | ia64 \
271266 | ip2k | iq2000 \
267 | k1om \
272268 | le32 | le64 \
273269 | lm32 \
274270 | m32c | m32r | m32rle | m68000 | m68k | m88k \
275 | maxq | mb | microblaze | mcore | mep | metag \
271 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
276272 | mips | mipsbe | mipseb | mipsel | mipsle \
277273 | mips16 \
278274 | mips64 | mips64el \
286282 | mips64vr5900 | mips64vr5900el \
287283 | mipsisa32 | mipsisa32el \
288284 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
289286 | mipsisa64 | mipsisa64el \
290287 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
291289 | mipsisa64sb1 | mipsisa64sb1el \
292290 | mipsisa64sr71k | mipsisa64sr71kel \
291 | mipsr5900 | mipsr5900el \
293292 | mipstx39 | mipstx39el \
294293 | mn10200 | mn10300 \
295294 | moxie \
296295 | mt \
297296 | msp430 \
298297 | nds32 | nds32le | nds32be \
299 | nios | nios2 \
298 | nios | nios2 | nios2eb | nios2el \
300299 | ns16k | ns32k \
301 | open8 \
302 | or32 \
300 | open8 | or1k | or1knd | or32 \
303301 | pdp10 | pdp11 | pj | pjl \
304302 | powerpc | powerpc64 | powerpc64le | powerpcle \
305303 | pyramid \
304 | riscv32 | riscv64 \
306305 | rl78 | rx \
307306 | score \
308307 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
327326 c6x)
328327 basic_machine=tic6x-unknown
329328 ;;
330 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
329 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
331330 basic_machine=$basic_machine-unknown
332331 os=-none
333332 ;;
369368 | aarch64-* | aarch64_be-* \
370369 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
371370 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
372 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
371 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
373372 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
374373 | avr-* | avr32-* \
375374 | be32-* | be64-* \
376375 | bfin-* | bs2000-* \
377376 | c[123]* | c30-* | [cjt]90-* | c4x-* \
378 | clipper-* | craynv-* | cydra-* \
377 | c8051-* | clipper-* | craynv-* | cydra-* \
379378 | d10v-* | d30v-* | dlx-* \
380379 | elxsi-* \
381380 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
384383 | hexagon-* \
385384 | i*86-* | i860-* | i960-* | ia64-* \
386385 | ip2k-* | iq2000-* \
386 | k1om-* \
387387 | le32-* | le64-* \
388388 | lm32-* \
389389 | m32c-* | m32r-* | m32rle-* \
390390 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
391 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
391 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
392 | microblaze-* | microblazeel-* \
392393 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
393394 | mips16-* \
394395 | mips64-* | mips64el-* \
402403 | mips64vr5900-* | mips64vr5900el-* \
403404 | mipsisa32-* | mipsisa32el-* \
404405 | mipsisa32r2-* | mipsisa32r2el-* \
406 | mipsisa32r6-* | mipsisa32r6el-* \
405407 | mipsisa64-* | mipsisa64el-* \
406408 | mipsisa64r2-* | mipsisa64r2el-* \
409 | mipsisa64r6-* | mipsisa64r6el-* \
407410 | mipsisa64sb1-* | mipsisa64sb1el-* \
408411 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
412 | mipsr5900-* | mipsr5900el-* \
409413 | mipstx39-* | mipstx39el-* \
410414 | mmix-* \
411415 | mt-* \
412416 | msp430-* \
413417 | nds32-* | nds32le-* | nds32be-* \
414 | nios-* | nios2-* \
418 | nios-* | nios2-* | nios2eb-* | nios2el-* \
415419 | none-* | np1-* | ns16k-* | ns32k-* \
416420 | open8-* \
421 | or1k*-* \
417422 | orion-* \
418423 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
419424 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
787792 basic_machine=ns32k-utek
788793 os=-sysv
789794 ;;
790 microblaze)
795 microblaze*)
791796 basic_machine=microblaze-xilinx
792797 ;;
798 mingw64)
799 basic_machine=x86_64-pc
800 os=-mingw64
801 ;;
793802 mingw32)
794 basic_machine=i386-pc
803 basic_machine=i686-pc
795804 os=-mingw32
796805 ;;
797806 mingw32ce)
819828 basic_machine=powerpc-unknown
820829 os=-morphos
821830 ;;
831 moxiebox)
832 basic_machine=moxie-unknown
833 os=-moxiebox
834 ;;
822835 msdos)
823836 basic_machine=i386-pc
824837 os=-msdos
827840 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
828841 ;;
829842 msys)
830 basic_machine=i386-pc
843 basic_machine=i686-pc
831844 os=-msys
832845 ;;
833846 mvs)
10181031 basic_machine=i586-unknown
10191032 os=-pw32
10201033 ;;
1021 rdos)
1034 rdos | rdos64)
1035 basic_machine=x86_64-pc
1036 os=-rdos
1037 ;;
1038 rdos32)
10221039 basic_machine=i386-pc
10231040 os=-rdos
10241041 ;;
13451362 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13461363 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13471364 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1348 | -sym* | -kopensolaris* \
1365 | -sym* | -kopensolaris* | -plan9* \
13491366 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
13501367 | -aos* | -aros* \
13511368 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13521369 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
13531370 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1354 | -openbsd* | -solidbsd* \
1371 | -bitrig* | -openbsd* | -solidbsd* \
13551372 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13561373 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13571374 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13581375 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13591376 | -chorusos* | -chorusrdb* | -cegcc* \
13601377 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1361 | -mingw32* | -linux-gnu* | -linux-android* \
1362 | -linux-newlib* | -linux-uclibc* \
1363 | -uxpv* | -beos* | -mpeix* | -udk* \
1378 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1379 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1380 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
13641381 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13651382 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13661383 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13671384 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
13681385 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
13691386 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1370 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1387 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
13711388 # Remember, each alternative MUST END IN *, to match a version number.
13721389 ;;
13731390 -qnx*)
14911508 -aros*)
14921509 os=-aros
14931510 ;;
1494 -kaos*)
1495 os=-kaos
1496 ;;
14971511 -zvmoe)
14981512 os=-zvmoe
14991513 ;;
15411555 ;;
15421556 c4x-* | tic4x-*)
15431557 os=-coff
1558 ;;
1559 c8051-*)
1560 os=-elf
15441561 ;;
15451562 hexagon-*)
15461563 os=-elf
663663 LDFLAGS
664664 CFLAGS
665665 CC
666 AM_BACKSLASH
667 AM_DEFAULT_VERBOSITY
668 AM_DEFAULT_V
669 AM_V
666670 am__untar
667671 am__tar
668672 AMTAR
739743 ac_subst_files=''
740744 ac_user_opts='
741745 enable_option_checking
746 enable_silent_rules
742747 with_jpeg_lib
743748 with_jpeg_inc
744749 enable_efence
13851390 --disable-option-checking ignore unrecognized --enable/--with options
13861391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13871392 --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")
13881395 --enable-efence Try to compile and run with Electric Fence
13891396 --enable-gprof Try to compile and run with profiling enabled
13901397 --enable-insure Try to compile and run with Insure++
13961403 --disable-gif Disable support for GIF images
13971404 --disable-threaded-dns Disable the advantage of a reentrant resolver library
13981405 --enable-rtfl Build with rtfl messages (for debugging rendering)
1399 --disable-dependency-tracking speeds up one-time build
1400 --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
14011410
14021411 Optional Packages:
14031412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
27302739 NONENONEs,x,x, &&
27312740 program_prefix=${target_alias}-
27322741
2733 am__api_version='1.11'
2742 am__api_version='1.14'
27342743
27352744 # Find a good install program. We prefer a C program (faster),
27362745 # so one script is as good as another. But avoid the broken or
28272836
28282837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
28292838 $as_echo_n "checking whether build environment is sane... " >&6; }
2830 # Just in case
2831 sleep 1
2832 echo timestamp > conftest.file
28332839 # Reject unsafe characters in $srcdir or the absolute working directory
28342840 # name. Accept space and tab only in the latter.
28352841 am_lf='
28402846 esac
28412847 case $srcdir in
28422848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2843 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2849 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
28442850 esac
28452851
2846 # 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
28472853 # arguments. Must try -L first in case configure is actually a
28482854 # symlink; some systems play weird games with the mod time of symlinks
28492855 # (eg FreeBSD returns the mod time of the symlink's containing
28502856 # directory).
28512857 if (
2852 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2853 if test "$*" = "X"; then
2854 # -L didn't work.
2855 set X `ls -t "$srcdir/configure" conftest.file`
2856 fi
2857 rm -f conftest.file
2858 if test "$*" != "X $srcdir/configure conftest.file" \
2859 && test "$*" != "X conftest.file $srcdir/configure"; then
2860
2861 # If neither matched, then we have a broken ls. This can happen
2862 # if, for instance, CONFIG_SHELL is bash and it inherits a
2863 # broken ls alias from the environment. This has actually
2864 # happened. Such a system could not be considered "sane".
2865 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2866 alias in your environment" "$LINENO" 5
2867 fi
2868
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
28692883 test "$2" = conftest.file
28702884 )
28712885 then
28772891 fi
28782892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28792893 $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
28802904 test "$program_prefix" != NONE &&
28812905 program_transform_name="s&^&$program_prefix&;$program_transform_name"
28822906 # Use a double $ so make ignores it.
28872911 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
28882912 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
28892913
2890 # expand $ac_aux_dir to an absolute path
2891 am_aux_dir=`cd $ac_aux_dir && pwd`
2914 # Expand $ac_aux_dir to an absolute path.
2915 am_aux_dir=`cd "$ac_aux_dir" && pwd`
28922916
28932917 if test x"${MISSING+set}" != xset; then
28942918 case $am_aux_dir in
28992923 esac
29002924 fi
29012925 # Use eval to expand $SHELL
2902 if eval "$MISSING --run true"; then
2903 am_missing_run="$MISSING --run "
2926 if eval "$MISSING --is-lightweight"; then
2927 am_missing_run="$MISSING "
29042928 else
29052929 am_missing_run=
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2907 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
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;}
29082932 fi
29092933
29102934 if test x"${install_sh}" != xset; then
29162940 esac
29172941 fi
29182942
2919 # Installed binaries are usually stripped using `strip' when the user
2920 # 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
29212945 # tool to use in cross-compilation environments, therefore Automake
2922 # will honor the `STRIP' environment variable to overrule this program.
2946 # will honor the 'STRIP' environment variable to overrule this program.
29232947 if test "$cross_compiling" != no; then
29242948 if test -n "$ac_tool_prefix"; then
29252949 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
30583082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
30593083 $as_echo "$MKDIR_P" >&6; }
30603084
3061 mkdir_p="$MKDIR_P"
3062 case $mkdir_p in
3063 [\\/$]* | ?:[\\/]*) ;;
3064 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3065 esac
3066
30673085 for ac_prog in gawk mawk nawk awk
30683086 do
30693087 # Extract the first word of "$ac_prog", so it can be a program name with args.
31463164 fi
31473165 rmdir .tst 2>/dev/null
31483166
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
31493206 if test "`cd $srcdir && pwd`" != "`pwd`"; then
31503207 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
31513208 # is not polluted with repeated "-I."
31963253
31973254 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
31983255
3256 # For better backward compatibility. To be removed once Automake 1.9.x
3257 # dies out for good. For more background, see:
3258 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3259 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3260 mkdir_p='$(MKDIR_P)'
3261
31993262 # We need awk for the "check" target. The system "awk" is bad on
32003263 # some platforms.
32013264 # Always define AMTAR for backward compatibility. Yes, it's still used
32023265 # in the wild :-( We should find a proper way to deprecate it ...
32033266 AMTAR='$${TAR-tar}'
32043267
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
32053272 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
32063273
32073274
32083275
32093276
3277
3278
3279 # POSIX will say in a future version that running "rm -f" with no argument
3280 # is OK; and we want to be able to make that assumption in our Makefile
3281 # recipes. So use an aggressive probe to check that the usage we want is
3282 # actually supported "in the wild" to an acceptable degree.
3283 # See automake bug#10828.
3284 # To make any issue more visible, cause the running configure to be aborted
3285 # by default if the 'rm' program in use doesn't match our expectations; the
3286 # user can still override this though.
3287 if rm -f && rm -fr && rm -rf; then : OK; else
3288 cat >&2 <<'END'
3289 Oops!
3290
3291 Your 'rm' program seems unable to run without file operands specified
3292 on the command line, even when the '-f' option is present. This is contrary
3293 to the behaviour of most rm programs out there, and not conforming with
3294 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3295
3296 Please tell bug-automake@gnu.org about your system, including the value
3297 of your $PATH and any error possibly output before this message. This
3298 can help us improve future automake versions.
3299
3300 END
3301 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3302 echo 'Configuration will proceed anyway, since you have set the' >&2
3303 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3304 echo >&2
3305 else
3306 cat >&2 <<'END'
3307 Aborting the configuration process, to ensure you take notice of the issue.
3308
3309 You can download and install GNU coreutils to get an 'rm' implementation
3310 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3311
3312 If you want to complete the configuration process using your problematic
3313 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3314 to "yes", and re-run configure.
3315
3316 END
3317 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3318 fi
3319 fi
32103320
32113321
32123322 ac_config_headers="$ac_config_headers config.h"
40894199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40914201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4202
4203 ac_ext=c
4204 ac_cpp='$CPP $CPPFLAGS'
4205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4209 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4210 if ${am_cv_prog_cc_c_o+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219
4220 ;
4221 return 0;
4222 }
4223 _ACEOF
4224 # Make sure it works both with $CC and with simple cc.
4225 # Following AC_PROG_CC_C_O, we do the test twice because some
4226 # compilers refuse to overwrite an existing .o file with -o,
4227 # though they will create one.
4228 am_cv_prog_cc_c_o=yes
4229 for am_i in 1 2; do
4230 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4231 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4232 ac_status=$?
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } \
4235 && test -f conftest2.$ac_objext; then
4236 : OK
4237 else
4238 am_cv_prog_cc_c_o=no
4239 break
4240 fi
4241 done
4242 rm -f core conftest*
4243 unset am_i
4244 fi
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4246 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4247 if test "$am_cv_prog_cc_c_o" != yes; then
4248 # Losing compiler, so override with the script.
4249 # FIXME: It is wrong to rewrite CC.
4250 # But if we don't then we get into trouble of one sort or another.
4251 # A longer-term fix would be to have automake use am__CC in this case,
4252 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4253 CC="$am_aux_dir/compile $CC"
4254 fi
4255 ac_ext=c
4256 ac_cpp='$CPP $CPPFLAGS'
4257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4260
40924261 DEPDIR="${am__leading_dot}deps"
40934262
40944263 ac_config_commands="$ac_config_commands depfiles"
41084277 _am_result=none
41094278 # First try GNU make style include.
41104279 echo "include confinc" > confmf
4111 # Ignore all kinds of additional output from `make'.
4280 # Ignore all kinds of additional output from 'make'.
41124281 case `$am_make -s -f confmf 2> /dev/null` in #(
41134282 *the\ am__doit\ target*)
41144283 am__include=include
41644333 # We make a subdir and do the tests there. Otherwise we can end up
41654334 # making bogus files that we don't know about and never remove. For
41664335 # instance it was reported that on HP-UX the gcc test will end up
4167 # making a dummy file named `D' -- because `-MD' means `put the output
4168 # in D'.
4336 # making a dummy file named 'D' -- because '-MD' means "put the output
4337 # in D".
41694338 rm -rf conftest.dir
41704339 mkdir conftest.dir
41714340 # Copy depcomp to subdir because otherwise we won't find it if we're
42004369 : > sub/conftest.c
42014370 for i in 1 2 3 4 5 6; do
42024371 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4203 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4204 # Solaris 8's {/usr,}/bin/sh.
4205 touch sub/conftst$i.h
4372 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4373 # Solaris 10 /bin/sh.
4374 echo '/* dummy */' > sub/conftst$i.h
42064375 done
42074376 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
42084377
4209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4378 # We check with '-c' and '-o' for the sake of the "dashmstdout"
42104379 # mode. It turns out that the SunPro C++ compiler does not properly
4211 # handle `-M -o', and we need to detect this. Also, some Intel
4212 # versions had trouble with output in subdirs
4380 # handle '-M -o', and we need to detect this. Also, some Intel
4381 # versions had trouble with output in subdirs.
42134382 am__obj=sub/conftest.${OBJEXT-o}
42144383 am__minus_obj="-o $am__obj"
42154384 case $depmode in
42184387 test "$am__universal" = false || continue
42194388 ;;
42204389 nosideeffect)
4221 # after this tag, mechanisms are not by side-effect, so they'll
4222 # only be used when explicitly requested
4390 # After this tag, mechanisms are not by side-effect, so they'll
4391 # only be used when explicitly requested.
42234392 if test "x$enable_dependency_tracking" = xyes; then
42244393 continue
42254394 else
42274396 fi
42284397 ;;
42294398 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4230 # This compiler won't grok `-c -o', but also, the minuso test has
4399 # This compiler won't grok '-c -o', but also, the minuso test has
42314400 # not run yet. These depmodes are late enough in the game, and
42324401 # so weak that their functioning should not be impacted.
42334402 am__obj=conftest.${OBJEXT-o}
45494718 # We make a subdir and do the tests there. Otherwise we can end up
45504719 # making bogus files that we don't know about and never remove. For
45514720 # instance it was reported that on HP-UX the gcc test will end up
4552 # making a dummy file named `D' -- because `-MD' means `put the output
4553 # in D'.
4721 # making a dummy file named 'D' -- because '-MD' means "put the output
4722 # in D".
45544723 rm -rf conftest.dir
45554724 mkdir conftest.dir
45564725 # Copy depcomp to subdir because otherwise we won't find it if we're
45854754 : > sub/conftest.c
45864755 for i in 1 2 3 4 5 6; do
45874756 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4588 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4589 # Solaris 8's {/usr,}/bin/sh.
4590 touch sub/conftst$i.h
4757 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4758 # Solaris 10 /bin/sh.
4759 echo '/* dummy */' > sub/conftst$i.h
45914760 done
45924761 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
45934762
4594 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4763 # We check with '-c' and '-o' for the sake of the "dashmstdout"
45954764 # mode. It turns out that the SunPro C++ compiler does not properly
4596 # handle `-M -o', and we need to detect this. Also, some Intel
4597 # versions had trouble with output in subdirs
4765 # handle '-M -o', and we need to detect this. Also, some Intel
4766 # versions had trouble with output in subdirs.
45984767 am__obj=sub/conftest.${OBJEXT-o}