Commit 137b7ccd758dc06cea8bd54f68be23e5ef85a002

Authored by Kevin Greenan
1 parent 76292692
Exists in master and in 3 other branches v1, v2, v3

Revert "Third time's a charm (autoconf non-sense for PCLMUL)."

The commit was not successfully pushed (not sure what happened).

This reverts commit 762926920aa6b0067443e7c085bddf22d03a1d04.
INSTALL
1 1 Installation Instructions
2 2 *************************
3 3  
4   -Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
  4 +Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
5 5 Inc.
6 6  
7 7 Copying and distribution of this file, with or without modification,
... ... @@ -309,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
309 309 overridden in the site shell script).
310 310  
311 311 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312   -an Autoconf bug. Until the bug is fixed you can use this workaround:
  312 +an Autoconf limitation. Until the limitation is lifted, you can use
  313 +this workaround:
313 314  
314   - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
  315 + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
315 316  
316 317 `configure' Invocation
317 318 ======================
... ... @@ -367,4 +368,3 @@ operates.
367 368  
368 369 `configure' also accepts some other, not widely useful, options. Run
369 370 `configure --help' for more details.
370   -
... ...
Makefile.in
1   -# Makefile.in generated by automake 1.11.3 from Makefile.am.
  1 +# Makefile.in generated by automake 1.13.1 from Makefile.am.
2 2 # @configure_input@
3 3  
4   -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5   -# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6   -# Foundation, Inc.
  4 +# Copyright (C) 1994-2012 Free Software Foundation, Inc.
  5 +
7 6 # This Makefile.in is free software; the Free Software Foundation
8 7 # gives unlimited permission to copy and/or distribute it,
9 8 # with or without modifications, as long as this notice is preserved.
... ... @@ -19,6 +18,23 @@
19 18 # Distributes headers
20 19  
21 20 VPATH = @srcdir@
  21 +am__make_dryrun = \
  22 + { \
  23 + am__dry=no; \
  24 + case $$MAKEFLAGS in \
  25 + *\\[\ \ ]*) \
  26 + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  27 + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  28 + *) \
  29 + for am__flg in $$MAKEFLAGS; do \
  30 + case $$am__flg in \
  31 + *=*|--*) ;; \
  32 + *n*) am__dry=yes; break;; \
  33 + esac; \
  34 + done;; \
  35 + esac; \
  36 + test $$am__dry = yes; \
  37 + }
22 38 pkgdatadir = $(datadir)/@PACKAGE@
23 39 pkgincludedir = $(includedir)/@PACKAGE@
24 40 pkglibdir = $(libdir)/@PACKAGE@
... ... @@ -38,11 +54,11 @@ POST_UNINSTALL = :
38 54 build_triplet = @build@
39 55 host_triplet = @host@
40 56 subdir = .
41   -DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
42   - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43   - $(top_srcdir)/configure $(top_srcdir)/include/config.h.in \
44   - AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \
45   - install-sh ltmain.sh missing
  57 +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
  58 + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  59 + $(top_srcdir)/configure $(am__configure_deps) \
  60 + $(top_srcdir)/include/config.h.in $(include_HEADERS) COPYING \
  61 + config.guess config.sub install-sh missing ltmain.sh
46 62 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47 63 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
48 64 $(top_srcdir)/m4/ax_ext.m4 \
... ... @@ -59,17 +75,35 @@ mkinstalldirs = $(install_sh) -d
59 75 CONFIG_HEADER = $(top_builddir)/include/config.h
60 76 CONFIG_CLEAN_FILES =
61 77 CONFIG_CLEAN_VPATH_FILES =
  78 +AM_V_P = $(am__v_P_@AM_V@)
  79 +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  80 +am__v_P_0 = false
  81 +am__v_P_1 = :
  82 +AM_V_GEN = $(am__v_GEN_@AM_V@)
  83 +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  84 +am__v_GEN_0 = @echo " GEN " $@;
  85 +am__v_GEN_1 =
  86 +AM_V_at = $(am__v_at_@AM_V@)
  87 +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  88 +am__v_at_0 = @
  89 +am__v_at_1 =
62 90 depcomp =
63 91 am__depfiles_maybe =
64 92 SOURCES =
65 93 DIST_SOURCES =
66   -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
67   - html-recursive info-recursive install-data-recursive \
68   - install-dvi-recursive install-exec-recursive \
69   - install-html-recursive install-info-recursive \
70   - install-pdf-recursive install-ps-recursive install-recursive \
71   - installcheck-recursive installdirs-recursive pdf-recursive \
72   - ps-recursive uninstall-recursive
  94 +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  95 + ctags-recursive dvi-recursive html-recursive info-recursive \
  96 + install-data-recursive install-dvi-recursive \
  97 + install-exec-recursive install-html-recursive \
  98 + install-info-recursive install-pdf-recursive \
  99 + install-ps-recursive install-recursive installcheck-recursive \
  100 + installdirs-recursive pdf-recursive ps-recursive \
  101 + tags-recursive uninstall-recursive
  102 +am__can_run_installinfo = \
  103 + case $$AM_UPDATE_INFO_DIR in \
  104 + n|no|NO) false;; \
  105 + *) (install-info --version) >/dev/null 2>&1;; \
  106 + esac
73 107 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
74 108 am__vpath_adj = case $$p in \
75 109 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
... ... @@ -101,11 +135,32 @@ am__installdirs = "$(DESTDIR)$(includedir)"
101 135 HEADERS = $(include_HEADERS)
102 136 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
103 137 distclean-recursive maintainer-clean-recursive
104   -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
105   - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
106   - distdir dist dist-all distcheck
  138 +am__recursive_targets = \
  139 + $(RECURSIVE_TARGETS) \
  140 + $(RECURSIVE_CLEAN_TARGETS) \
  141 + $(am__extra_recursive_targets)
  142 +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  143 + cscope distdir dist dist-all distcheck
  144 +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  145 +# Read a list of newline-separated strings from the standard input,
  146 +# and print each of them once, without duplicates. Input order is
  147 +# *not* preserved.
  148 +am__uniquify_input = $(AWK) '\
  149 + BEGIN { nonempty = 0; } \
  150 + { items[$$0] = 1; nonempty = 1; } \
  151 + END { if (nonempty) { for (i in items) print i; }; } \
  152 +'
  153 +# Make sure the list of sources is unique. This is necessary because,
  154 +# e.g., the same source file might be shared among _SOURCES variables
  155 +# for different programs/libraries.
  156 +am__define_uniq_tagged_files = \
  157 + list='$(am__tagged_files)'; \
  158 + unique=`for i in $$list; do \
  159 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  160 + done | $(am__uniquify_input)`
107 161 ETAGS = etags
108 162 CTAGS = ctags
  163 +CSCOPE = cscope
109 164 DIST_SUBDIRS = $(SUBDIRS)
110 165 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
111 166 distdir = $(PACKAGE)-$(VERSION)
... ... @@ -116,6 +171,7 @@ am__remove_distdir = \
116 171 && rm -rf "$(distdir)" \
117 172 || { sleep 5 && rm -rf "$(distdir)"; }; \
118 173 else :; fi
  174 +am__post_remove_distdir = $(am__remove_distdir)
119 175 am__relativize = \
120 176 dir0=`pwd`; \
121 177 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
... ... @@ -143,12 +199,14 @@ am__relativize = \
143 199 reldir="$$dir2"
144 200 DIST_ARCHIVES = $(distdir).tar.gz
145 201 GZIP_ENV = --best
  202 +DIST_TARGETS = dist-gzip
146 203 distuninstallcheck_listfiles = find . -type f -print
147 204 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
148 205 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
149 206 distcleancheck_listfiles = find . -type f -print
150 207 ACLOCAL = @ACLOCAL@
151 208 AMTAR = @AMTAR@
  209 +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
152 210 AR = @AR@
153 211 AUTOCONF = @AUTOCONF@
154 212 AUTOHEADER = @AUTOHEADER@
... ... @@ -324,8 +382,11 @@ distclean-libtool:
324 382 -rm -f libtool config.lt
325 383 install-includeHEADERS: $(include_HEADERS)
326 384 @$(NORMAL_INSTALL)
327   - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
328 385 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  386 + if test -n "$$list"; then \
  387 + echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  388 + $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  389 + fi; \
329 390 for p in $$list; do \
330 391 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
331 392 echo "$$d$$p"; \
... ... @@ -342,12 +403,12 @@ uninstall-includeHEADERS:
342 403 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
343 404  
344 405 # This directory's subdirectories are mostly independent; you can cd
345   -# into them and run `make' without going through this Makefile.
346   -# To change the values of `make' variables: instead of editing Makefiles,
347   -# (1) if the variable is set in `config.status', edit `config.status'
348   -# (which will cause the Makefiles to be regenerated when you run `make');
349   -# (2) otherwise, pass the desired values on the `make' command line.
350   -$(RECURSIVE_TARGETS):
  406 +# into them and run 'make' without going through this Makefile.
  407 +# To change the values of 'make' variables: instead of editing Makefiles,
  408 +# (1) if the variable is set in 'config.status', edit 'config.status'
  409 +# (which will cause the Makefiles to be regenerated when you run 'make');
  410 +# (2) otherwise, pass the desired values on the 'make' command line.
  411 +$(am__recursive_targets):
351 412 @fail= failcom='exit 1'; \
352 413 for f in x $$MAKEFLAGS; do \
353 414 case $$f in \
... ... @@ -357,7 +418,11 @@ $(RECURSIVE_TARGETS):
357 418 done; \
358 419 dot_seen=no; \
359 420 target=`echo $@ | sed s/-recursive//`; \
360   - list='$(SUBDIRS)'; for subdir in $$list; do \
  421 + case "$@" in \
  422 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  423 + *) list='$(SUBDIRS)' ;; \
  424 + esac; \
  425 + for subdir in $$list; do \
361 426 echo "Making $$target in $$subdir"; \
362 427 if test "$$subdir" = "."; then \
363 428 dot_seen=yes; \
... ... @@ -372,57 +437,12 @@ $(RECURSIVE_TARGETS):
372 437 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
373 438 fi; test -z "$$fail"
374 439  
375   -$(RECURSIVE_CLEAN_TARGETS):
376   - @fail= failcom='exit 1'; \
377   - for f in x $$MAKEFLAGS; do \
378   - case $$f in \
379   - *=* | --[!k]*);; \
380   - *k*) failcom='fail=yes';; \
381   - esac; \
382   - done; \
383   - dot_seen=no; \
384   - case "$@" in \
385   - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
386   - *) list='$(SUBDIRS)' ;; \
387   - esac; \
388   - rev=''; for subdir in $$list; do \
389   - if test "$$subdir" = "."; then :; else \
390   - rev="$$subdir $$rev"; \
391   - fi; \
392   - done; \
393   - rev="$$rev ."; \
394   - target=`echo $@ | sed s/-recursive//`; \
395   - for subdir in $$rev; do \
396   - echo "Making $$target in $$subdir"; \
397   - if test "$$subdir" = "."; then \
398   - local_target="$$target-am"; \
399   - else \
400   - local_target="$$target"; \
401   - fi; \
402   - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
403   - || eval $$failcom; \
404   - done && test -z "$$fail"
405   -tags-recursive:
406   - list='$(SUBDIRS)'; for subdir in $$list; do \
407   - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
408   - done
409   -ctags-recursive:
410   - list='$(SUBDIRS)'; for subdir in $$list; do \
411   - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
412   - done
  440 +ID: $(am__tagged_files)
  441 + $(am__define_uniq_tagged_files); mkid -fID $$unique
  442 +tags: tags-recursive
  443 +TAGS: tags
413 444  
414   -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
415   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416   - unique=`for i in $$list; do \
417   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418   - done | \
419   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
420   - END { if (nonempty) { for (i in files) print i; }; }'`; \
421   - mkid -fID $$unique
422   -tags: TAGS
423   -
424   -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
425   - $(TAGS_FILES) $(LISP)
  445 +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
426 446 set x; \
427 447 here=`pwd`; \
428 448 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
... ... @@ -438,12 +458,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
438 458 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
439 459 fi; \
440 460 done; \
441   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
442   - unique=`for i in $$list; do \
443   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
444   - done | \
445   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
446   - END { if (nonempty) { for (i in files) print i; }; }'`; \
  461 + $(am__define_uniq_tagged_files); \
447 462 shift; \
448 463 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
449 464 test -n "$$unique" || unique=$$empty_fix; \
... ... @@ -455,15 +470,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
455 470 $$unique; \
456 471 fi; \
457 472 fi
458   -ctags: CTAGS
459   -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
460   - $(TAGS_FILES) $(LISP)
461   - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
462   - unique=`for i in $$list; do \
463   - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
464   - done | \
465   - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
466   - END { if (nonempty) { for (i in files) print i; }; }'`; \
  473 +ctags: ctags-recursive
  474 +
  475 +CTAGS: ctags
  476 +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  477 + $(am__define_uniq_tagged_files); \
467 478 test -z "$(CTAGS_ARGS)$$unique" \
468 479 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
469 480 $$unique
... ... @@ -472,9 +483,31 @@ GTAGS:
472 483 here=`$(am__cd) $(top_builddir) && pwd` \
473 484 && $(am__cd) $(top_srcdir) \
474 485 && gtags -i $(GTAGS_ARGS) "$$here"
  486 +cscope: cscope.files
  487 + test ! -s cscope.files \
  488 + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  489 +clean-cscope:
  490 + -rm -f cscope.files
  491 +cscope.files: clean-cscope cscopelist
  492 +cscopelist: cscopelist-recursive
  493 +
  494 +cscopelist-am: $(am__tagged_files)
  495 + list='$(am__tagged_files)'; \
  496 + case "$(srcdir)" in \
  497 + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  498 + *) sdir=$(subdir)/$(srcdir) ;; \
  499 + esac; \
  500 + for i in $$list; do \
  501 + if test -f "$$i"; then \
  502 + echo "$(subdir)/$$i"; \
  503 + else \
  504 + echo "$$sdir/$$i"; \
  505 + fi; \
  506 + done >> $(top_builddir)/cscope.files
475 507  
476 508 distclean-tags:
477 509 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  510 + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
478 511  
479 512 distdir: $(DISTFILES)
480 513 $(am__remove_distdir)
... ... @@ -510,13 +543,10 @@ distdir: $(DISTFILES)
510 543 done
511 544 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
512 545 if test "$$subdir" = .; then :; else \
513   - test -d "$(distdir)/$$subdir" \
514   - || $(MKDIR_P) "$(distdir)/$$subdir" \
515   - || exit 1; \
516   - fi; \
517   - done
518   - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
519   - if test "$$subdir" = .; then :; else \
  546 + $(am__make_dryrun) \
  547 + || test -d "$(distdir)/$$subdir" \
  548 + || $(MKDIR_P) "$(distdir)/$$subdir" \
  549 + || exit 1; \
520 550 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
521 551 $(am__relativize); \
522 552 new_distdir=$$reldir; \
... ... @@ -545,40 +575,36 @@ distdir: $(DISTFILES)
545 575 || chmod -R a+r "$(distdir)"
546 576 dist-gzip: distdir
547 577 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
548   - $(am__remove_distdir)
  578 + $(am__post_remove_distdir)
549 579  
550 580 dist-bzip2: distdir
551 581 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
552   - $(am__remove_distdir)
  582 + $(am__post_remove_distdir)
553 583  
554 584 dist-lzip: distdir
555 585 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
556   - $(am__remove_distdir)
557   -
558   -dist-lzma: distdir
559   - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
560   - $(am__remove_distdir)
  586 + $(am__post_remove_distdir)
561 587  
562 588 dist-xz: distdir
563 589 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
564   - $(am__remove_distdir)
  590 + $(am__post_remove_distdir)
565 591  
566 592 dist-tarZ: distdir
567 593 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
568   - $(am__remove_distdir)
  594 + $(am__post_remove_distdir)
569 595  
570 596 dist-shar: distdir
571 597 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
572   - $(am__remove_distdir)
  598 + $(am__post_remove_distdir)
573 599  
574 600 dist-zip: distdir
575 601 -rm -f $(distdir).zip
576 602 zip -rq $(distdir).zip $(distdir)
577   - $(am__remove_distdir)
  603 + $(am__post_remove_distdir)
578 604  
579   -dist dist-all: distdir
580   - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
581   - $(am__remove_distdir)
  605 +dist dist-all:
  606 + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  607 + $(am__post_remove_distdir)
582 608  
583 609 # This target untars the dist file and tries a VPATH configuration. Then
584 610 # it guarantees that the distribution is self-contained by making another
... ... @@ -589,8 +615,6 @@ distcheck: dist
589 615 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
590 616 *.tar.bz2*) \
591 617 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
592   - *.tar.lzma*) \
593   - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
594 618 *.tar.lz*) \
595 619 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
596 620 *.tar.xz*) \
... ... @@ -602,9 +626,9 @@ distcheck: dist
602 626 *.zip*) \
603 627 unzip $(distdir).zip ;;\
604 628 esac
605   - chmod -R a-w $(distdir); chmod a+w $(distdir)
606   - mkdir $(distdir)/_build
607   - mkdir $(distdir)/_inst
  629 + chmod -R a-w $(distdir)
  630 + chmod u+w $(distdir)
  631 + mkdir $(distdir)/_build $(distdir)/_inst
608 632 chmod a-w $(distdir)
609 633 test -d $(distdir)/_build || exit 0; \
610 634 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
... ... @@ -636,7 +660,7 @@ distcheck: dist
636 660 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
637 661 && cd "$$am__cwd" \
638 662 || exit 1
639   - $(am__remove_distdir)
  663 + $(am__post_remove_distdir)
640 664 @(echo "$(distdir) archives ready for distribution: "; \
641 665 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
642 666 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
... ... @@ -774,25 +798,24 @@ ps-am:
774 798  
775 799 uninstall-am: uninstall-includeHEADERS
776 800  
777   -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
778   - install-am install-strip tags-recursive
779   -
780   -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
781   - all all-am am--refresh check check-am clean clean-generic \
782   - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
783   - dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
784   - dist-zip distcheck distclean distclean-generic distclean-hdr \
785   - distclean-libtool distclean-tags distcleancheck distdir \
786   - distuninstallcheck dvi dvi-am html html-am info info-am \
787   - install install-am install-data install-data-am install-dvi \
788   - install-dvi-am install-exec install-exec-am install-html \
789   - install-html-am install-includeHEADERS install-info \
790   - install-info-am install-man install-pdf install-pdf-am \
791   - install-ps install-ps-am install-strip installcheck \
792   - installcheck-am installdirs installdirs-am maintainer-clean \
793   - maintainer-clean-generic mostlyclean mostlyclean-generic \
794   - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
795   - uninstall uninstall-am uninstall-includeHEADERS
  801 +.MAKE: $(am__recursive_targets) install-am install-strip
  802 +
  803 +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  804 + am--refresh check check-am clean clean-cscope clean-generic \
  805 + clean-libtool cscope cscopelist-am ctags ctags-am dist \
  806 + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
  807 + dist-xz dist-zip distcheck distclean distclean-generic \
  808 + distclean-hdr distclean-libtool distclean-tags distcleancheck \
  809 + distdir distuninstallcheck dvi dvi-am html html-am info \
  810 + info-am install install-am install-data install-data-am \
  811 + install-dvi install-dvi-am install-exec install-exec-am \
  812 + install-html install-html-am install-includeHEADERS \
  813 + install-info install-info-am install-man install-pdf \
  814 + install-pdf-am install-ps install-ps-am install-strip \
  815 + installcheck installcheck-am installdirs installdirs-am \
  816 + maintainer-clean maintainer-clean-generic mostlyclean \
  817 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  818 + tags tags-am uninstall uninstall-am uninstall-includeHEADERS
796 819  
797 820  
798 821 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
aclocal.m4
1   -# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
  1 +# generated automatically by aclocal 1.13.1 -*- Autoconf -*-
  2 +
  3 +# Copyright (C) 1996-2012 Free Software Foundation, Inc.
2 4  
3   -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4   -# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5   -# Inc.
6 5 # This file is free software; the Free Software Foundation
7 6 # gives unlimited permission to copy and/or distribute it,
8 7 # with or without modifications, as long as this notice is preserved.
... ... @@ -12,33 +11,31 @@
12 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 12 # PARTICULAR PURPOSE.
14 13  
  14 +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15 15 m4_ifndef([AC_AUTOCONF_VERSION],
16 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17   -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18   -[m4_warning([this file was generated for autoconf 2.68.
  17 +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
  18 +[m4_warning([this file was generated for autoconf 2.69.
19 19 You have another version of autoconf. It may work, but is not guaranteed to.
20 20 If you have problems, you may need to regenerate the build system entirely.
21   -To do so, use the procedure documented by the package, typically `autoreconf'.])])
  21 +To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 22  
23   -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24   -# Foundation, Inc.
  23 +# Copyright (C) 2002-2013 Free Software Foundation, Inc.
25 24 #
26 25 # This file is free software; the Free Software Foundation
27 26 # gives unlimited permission to copy and/or distribute it,
28 27 # with or without modifications, as long as this notice is preserved.
29 28  
30   -# serial 1
31   -
32 29 # AM_AUTOMAKE_VERSION(VERSION)
33 30 # ----------------------------
34 31 # Automake X.Y traces this macro to ensure aclocal.m4 has been
35 32 # generated from the m4 files accompanying Automake X.Y.
36 33 # (This private macro should not be called outside this file.)
37 34 AC_DEFUN([AM_AUTOMAKE_VERSION],
38   -[am__api_version='1.11'
  35 +[am__api_version='1.13'
39 36 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40 37 dnl require some minimum version. Point them to the right macro.
41   -m4_if([$1], [1.11.3], [],
  38 +m4_if([$1], [1.13.1], [],
42 39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43 40 ])
44 41  
... ... @@ -54,24 +51,22 @@ m4_define([_AM_AUTOCONF_VERSION], [])
54 51 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55 52 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56 53 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57   -[AM_AUTOMAKE_VERSION([1.11.3])dnl
  54 +[AM_AUTOMAKE_VERSION([1.13.1])dnl
58 55 m4_ifndef([AC_AUTOCONF_VERSION],
59 56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60 57 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61 58  
62 59 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
63 60  
64   -# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
  61 +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
65 62 #
66 63 # This file is free software; the Free Software Foundation
67 64 # gives unlimited permission to copy and/or distribute it,
68 65 # with or without modifications, as long as this notice is preserved.
69 66  
70   -# serial 1
71   -
72 67 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73   -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
74   -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  68 +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
  69 +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75 70 #
76 71 # Of course, Automake must honor this variable whenever it calls a
77 72 # tool from the auxiliary directory. The problem is that $srcdir (and
... ... @@ -90,7 +85,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
90 85 #
91 86 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92 87 # are both prefixed by $srcdir. In an in-source build this is usually
93   -# harmless because $srcdir is `.', but things will broke when you
  88 +# harmless because $srcdir is '.', but things will broke when you
94 89 # start a VPATH build or use an absolute $srcdir.
95 90 #
96 91 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
... ... @@ -116,22 +111,19 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
116 111  
117 112 # AM_CONDITIONAL -*- Autoconf -*-
118 113  
119   -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120   -# Free Software Foundation, Inc.
  114 +# Copyright (C) 1997-2013 Free Software Foundation, Inc.
121 115 #
122 116 # This file is free software; the Free Software Foundation
123 117 # gives unlimited permission to copy and/or distribute it,
124 118 # with or without modifications, as long as this notice is preserved.
125 119  
126   -# serial 9
127   -
128 120 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
129 121 # -------------------------------------
130 122 # Define a conditional.
131 123 AC_DEFUN([AM_CONDITIONAL],
132   -[AC_PREREQ(2.52)dnl
133   - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
134   - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  124 +[AC_PREREQ([2.52])dnl
  125 + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  126 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135 127 AC_SUBST([$1_TRUE])dnl
136 128 AC_SUBST([$1_FALSE])dnl
137 129 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
... ... @@ -152,15 +144,12 @@ fi])])
152 144  
153 145 # Do all the work for Automake. -*- Autoconf -*-
154 146  
155   -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
156   -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  147 +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
157 148 #
158 149 # This file is free software; the Free Software Foundation
159 150 # gives unlimited permission to copy and/or distribute it,
160 151 # with or without modifications, as long as this notice is preserved.
161 152  
162   -# serial 16
163   -
164 153 # This macro actually does too much. Some checks are only needed if
165 154 # your package does certain things. But this isn't really a big deal.
166 155  
... ... @@ -176,7 +165,7 @@ fi])])
176 165 # arguments mandatory, and then we can depend on a new Autoconf
177 166 # release and drop the old call support.
178 167 AC_DEFUN([AM_INIT_AUTOMAKE],
179   -[AC_PREREQ([2.62])dnl
  168 +[AC_PREREQ([2.65])dnl
180 169 dnl Autoconf wants to disallow AM_ names. We explicitly allow
181 170 dnl the ones we care about.
182 171 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ... @@ -205,31 +194,40 @@ AC_SUBST([CYGPATH_W])
205 194 # Define the identity of the package.
206 195 dnl Distinguish between old-style and new-style calls.
207 196 m4_ifval([$2],
208   -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  197 +[AC_DIAGNOSE([obsolete],
  198 + [$0: two- and three-arguments forms are deprecated.])
  199 +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
209 200 AC_SUBST([PACKAGE], [$1])dnl
210 201 AC_SUBST([VERSION], [$2])],
211 202 [_AM_SET_OPTIONS([$1])dnl
212 203 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
213   -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  204 +m4_if(
  205 + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  206 + [ok:ok],,
214 207 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
215 208 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
216 209 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
217 210  
218 211 _AM_IF_OPTION([no-define],,
219   -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
220   - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  212 +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  213 + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
221 214  
222 215 # Some tools Automake needs.
223 216 AC_REQUIRE([AM_SANITY_CHECK])dnl
224 217 AC_REQUIRE([AC_ARG_PROGRAM])dnl
225   -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
226   -AM_MISSING_PROG(AUTOCONF, autoconf)
227   -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
228   -AM_MISSING_PROG(AUTOHEADER, autoheader)
229   -AM_MISSING_PROG(MAKEINFO, makeinfo)
  218 +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  219 +AM_MISSING_PROG([AUTOCONF], [autoconf])
  220 +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  221 +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  222 +AM_MISSING_PROG([MAKEINFO], [makeinfo])
230 223 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
231 224 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
232   -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  225 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  226 +# For better backward compatibility. To be removed once Automake 1.9.x
  227 +# dies out for good. For more background, see:
  228 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  229 +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  230 +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
233 231 # We need awk for the "check" target. The system "awk" is bad on
234 232 # some platforms.
235 233 AC_REQUIRE([AC_PROG_AWK])dnl
... ... @@ -240,28 +238,32 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
240 238 [_AM_PROG_TAR([v7])])])
241 239 _AM_IF_OPTION([no-dependencies],,
242 240 [AC_PROVIDE_IFELSE([AC_PROG_CC],
243   - [_AM_DEPENDENCIES(CC)],
244   - [define([AC_PROG_CC],
245   - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  241 + [_AM_DEPENDENCIES([CC])],
  242 + [m4_define([AC_PROG_CC],
  243 + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
246 244 AC_PROVIDE_IFELSE([AC_PROG_CXX],
247   - [_AM_DEPENDENCIES(CXX)],
248   - [define([AC_PROG_CXX],
249   - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  245 + [_AM_DEPENDENCIES([CXX])],
  246 + [m4_define([AC_PROG_CXX],
  247 + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
250 248 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
251   - [_AM_DEPENDENCIES(OBJC)],
252   - [define([AC_PROG_OBJC],
253   - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  249 + [_AM_DEPENDENCIES([OBJC])],
  250 + [m4_define([AC_PROG_OBJC],
  251 + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  252 +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  253 + [_AM_DEPENDENCIES([OBJCXX])],
  254 + [m4_define([AC_PROG_OBJCXX],
  255 + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
254 256 ])
255   -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
256   -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
257   -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
258   -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  257 +AC_REQUIRE([AM_SILENT_RULES])dnl
  258 +dnl The testsuite driver may need to know about EXEEXT, so add the
  259 +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  260 +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
259 261 AC_CONFIG_COMMANDS_PRE(dnl
260 262 [m4_provide_if([_AM_COMPILER_EXEEXT],
261 263 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
262 264 ])
263 265  
264   -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  266 +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
265 267 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
266 268 dnl mangled by Autoconf and run in a shell conditional statement.
267 269 m4_define([_AC_COMPILER_EXEEXT],
... ... @@ -289,15 +291,12 @@ for _am_header in $config_headers :; do
289 291 done
290 292 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
291 293  
292   -# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
293   -# Inc.
  294 +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
294 295 #
295 296 # This file is free software; the Free Software Foundation
296 297 # gives unlimited permission to copy and/or distribute it,
297 298 # with or without modifications, as long as this notice is preserved.
298 299  
299   -# serial 1
300   -
301 300 # AM_PROG_INSTALL_SH
302 301 # ------------------
303 302 # Define $install_sh.
... ... @@ -311,16 +310,14 @@ if test x&quot;${install_sh}&quot; != xset; then
311 310 install_sh="\${SHELL} $am_aux_dir/install-sh"
312 311 esac
313 312 fi
314   -AC_SUBST(install_sh)])
  313 +AC_SUBST([install_sh])])
315 314  
316   -# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  315 +# Copyright (C) 2003-2013 Free Software Foundation, Inc.
317 316 #
318 317 # This file is free software; the Free Software Foundation
319 318 # gives unlimited permission to copy and/or distribute it,
320 319 # with or without modifications, as long as this notice is preserved.
321 320  
322   -# serial 2
323   -
324 321 # Check whether the underlying file-system supports filenames
325 322 # with a leading dot. For instance MS-DOS doesn't.
326 323 AC_DEFUN([AM_SET_LEADING_DOT],
... ... @@ -337,20 +334,17 @@ AC_SUBST([am__leading_dot])])
337 334 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
338 335 # From Jim Meyering
339 336  
340   -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
341   -# 2011 Free Software Foundation, Inc.
  337 +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
342 338 #
343 339 # This file is free software; the Free Software Foundation
344 340 # gives unlimited permission to copy and/or distribute it,
345 341 # with or without modifications, as long as this notice is preserved.
346 342  
347   -# serial 5
348   -
349 343 # AM_MAINTAINER_MODE([DEFAULT-MODE])
350 344 # ----------------------------------
351 345 # Control maintainer-specific portions of Makefiles.
352   -# Default is to disable them, unless `enable' is passed literally.
353   -# For symmetry, `disable' may be passed as well. Anyway, the user
  346 +# Default is to disable them, unless 'enable' is passed literally.
  347 +# For symmetry, 'disable' may be passed as well. Anyway, the user
354 348 # can override the default with the --enable/--disable switch.
355 349 AC_DEFUN([AM_MAINTAINER_MODE],
356 350 [m4_case(m4_default([$1], [disable]),
... ... @@ -361,10 +355,11 @@ AC_DEFUN([AM_MAINTAINER_MODE],
361 355 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
362 356 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
363 357 AC_ARG_ENABLE([maintainer-mode],
364   -[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
365   - (and sometimes confusing) to the casual installer],
366   - [USE_MAINTAINER_MODE=$enableval],
367   - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  358 + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
  359 + am_maintainer_other[ make rules and dependencies not useful
  360 + (and sometimes confusing) to the casual installer])],
  361 + [USE_MAINTAINER_MODE=$enableval],
  362 + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
368 363 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
369 364 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
370 365 MAINT=$MAINTAINER_MODE_TRUE
... ... @@ -372,19 +367,14 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
372 367 ]
373 368 )
374 369  
375   -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
376   -
377 370 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
378 371  
379   -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
380   -# Free Software Foundation, Inc.
  372 +# Copyright (C) 1997-2013 Free Software Foundation, Inc.
381 373 #
382 374 # This file is free software; the Free Software Foundation
383 375 # gives unlimited permission to copy and/or distribute it,
384 376 # with or without modifications, as long as this notice is preserved.
385 377  
386   -# serial 6
387   -
388 378 # AM_MISSING_PROG(NAME, PROGRAM)
389 379 # ------------------------------
390 380 AC_DEFUN([AM_MISSING_PROG],
... ... @@ -392,11 +382,10 @@ AC_DEFUN([AM_MISSING_PROG],
392 382 $1=${$1-"${am_missing_run}$2"}
393 383 AC_SUBST($1)])
394 384  
395   -
396 385 # AM_MISSING_HAS_RUN
397 386 # ------------------
398   -# Define MISSING if not defined so far and test if it supports --run.
399   -# If it does, set am_missing_run to use it, otherwise, to nothing.
  387 +# Define MISSING if not defined so far and test if it is modern enough.
  388 +# If it is, set am_missing_run to use it, otherwise, to nothing.
400 389 AC_DEFUN([AM_MISSING_HAS_RUN],
401 390 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
402 391 AC_REQUIRE_AUX_FILE([missing])dnl
... ... @@ -409,54 +398,22 @@ if test x&quot;${MISSING+set}&quot; != xset; then
409 398 esac
410 399 fi
411 400 # Use eval to expand $SHELL
412   -if eval "$MISSING --run true"; then
413   - am_missing_run="$MISSING --run "
  401 +if eval "$MISSING --is-lightweight"; then
  402 + am_missing_run="$MISSING "
414 403 else
415 404 am_missing_run=
416   - AC_MSG_WARN([`missing' script is too old or missing])
  405 + AC_MSG_WARN(['missing' script is too old or missing])
417 406 fi
418 407 ])
419 408  
420   -# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
421   -# 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 1
428   -
429   -# AM_PROG_MKDIR_P
430   -# ---------------
431   -# Check for `mkdir -p'.
432   -AC_DEFUN([AM_PROG_MKDIR_P],
433   -[AC_PREREQ([2.60])dnl
434   -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
435   -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
436   -dnl while keeping a definition of mkdir_p for backward compatibility.
437   -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
438   -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
439   -dnl Makefile.ins that do not define MKDIR_P, so we do our own
440   -dnl adjustment using top_builddir (which is defined more often than
441   -dnl MKDIR_P).
442   -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
443   -case $mkdir_p in
444   - [[\\/$]]* | ?:[[\\/]]*) ;;
445   - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
446   -esac
447   -])
448   -
449 409 # Helper functions for option handling. -*- Autoconf -*-
450 410  
451   -# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
452   -# Foundation, Inc.
  411 +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
453 412 #
454 413 # This file is free software; the Free Software Foundation
455 414 # gives unlimited permission to copy and/or distribute it,
456 415 # with or without modifications, as long as this notice is preserved.
457 416  
458   -# serial 5
459   -
460 417 # _AM_MANGLE_OPTION(NAME)
461 418 # -----------------------
462 419 AC_DEFUN([_AM_MANGLE_OPTION],
... ... @@ -466,7 +423,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
466 423 # --------------------
467 424 # Set option NAME. Presently that only means defining a flag for this option.
468 425 AC_DEFUN([_AM_SET_OPTION],
469   -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  426 +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
470 427  
471 428 # _AM_SET_OPTIONS(OPTIONS)
472 429 # ------------------------
... ... @@ -482,22 +439,16 @@ AC_DEFUN([_AM_IF_OPTION],
482 439  
483 440 # Check to make sure that the build environment is sane. -*- Autoconf -*-
484 441  
485   -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
486   -# Free Software Foundation, Inc.
  442 +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
487 443 #
488 444 # This file is free software; the Free Software Foundation
489 445 # gives unlimited permission to copy and/or distribute it,
490 446 # with or without modifications, as long as this notice is preserved.
491 447  
492   -# serial 5
493   -
494 448 # AM_SANITY_CHECK
495 449 # ---------------
496 450 AC_DEFUN([AM_SANITY_CHECK],
497 451 [AC_MSG_CHECKING([whether build environment is sane])
498   -# Just in case
499   -sleep 1
500   -echo timestamp > conftest.file
501 452 # Reject unsafe characters in $srcdir or the absolute working directory
502 453 # name. Accept space and tab only in the latter.
503 454 am_lf='
... ... @@ -508,32 +459,40 @@ case `pwd` in
508 459 esac
509 460 case $srcdir in
510 461 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
511   - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  462 + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
512 463 esac
513 464  
514   -# Do `set' in a subshell so we don't clobber the current shell's
  465 +# Do 'set' in a subshell so we don't clobber the current shell's
515 466 # arguments. Must try -L first in case configure is actually a
516 467 # symlink; some systems play weird games with the mod time of symlinks
517 468 # (eg FreeBSD returns the mod time of the symlink's containing
518 469 # directory).
519 470 if (
520   - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
521   - if test "$[*]" = "X"; then
522   - # -L didn't work.
523   - set X `ls -t "$srcdir/configure" conftest.file`
524   - fi
525   - rm -f conftest.file
526   - if test "$[*]" != "X $srcdir/configure conftest.file" \
527   - && test "$[*]" != "X conftest.file $srcdir/configure"; then
528   -
529   - # If neither matched, then we have a broken ls. This can happen
530   - # if, for instance, CONFIG_SHELL is bash and it inherits a
531   - # broken ls alias from the environment. This has actually
532   - # happened. Such a system could not be considered "sane".
533   - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
534   -alias in your environment])
535   - fi
536   -
  471 + am_has_slept=no
  472 + for am_try in 1 2; do
  473 + echo "timestamp, slept: $am_has_slept" > conftest.file
  474 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  475 + if test "$[*]" = "X"; then
  476 + # -L didn't work.
  477 + set X `ls -t "$srcdir/configure" conftest.file`
  478 + fi
  479 + if test "$[*]" != "X $srcdir/configure conftest.file" \
  480 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  481 +
  482 + # If neither matched, then we have a broken ls. This can happen
  483 + # if, for instance, CONFIG_SHELL is bash and it inherits a
  484 + # broken ls alias from the environment. This has actually
  485 + # happened. Such a system could not be considered "sane".
  486 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  487 + alias in your environment])
  488 + fi
  489 + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  490 + break
  491 + fi
  492 + # Just in case.
  493 + sleep 1
  494 + am_has_slept=yes
  495 + done
537 496 test "$[2]" = conftest.file
538 497 )
539 498 then
... ... @@ -543,46 +502,118 @@ else
543 502 AC_MSG_ERROR([newly created file is older than distributed files!
544 503 Check your system clock])
545 504 fi
546   -AC_MSG_RESULT(yes)])
  505 +AC_MSG_RESULT([yes])
  506 +# If we didn't sleep, we still need to ensure time stamps of config.status and
  507 +# generated files are strictly newer.
  508 +am_sleep_pid=
  509 +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  510 + ( sleep 1 ) &
  511 + am_sleep_pid=$!
  512 +fi
  513 +AC_CONFIG_COMMANDS_PRE(
  514 + [AC_MSG_CHECKING([that generated files are newer than configure])
  515 + if test -n "$am_sleep_pid"; then
  516 + # Hide warnings about reused PIDs.
  517 + wait $am_sleep_pid 2>/dev/null