Browse code

Autoreconf with stock libtool 2.4.2

Micah Snyder authored on 2018/04/04 08:46:16
Showing 44 changed files
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -35,23 +34,51 @@
35 35
 
36 36
 
37 37
 VPATH = @srcdir@
38
-am__make_dryrun = \
39
-  { \
40
-    am__dry=no; \
38
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
39
+am__make_running_with_option = \
40
+  case $${target_option-} in \
41
+      ?) ;; \
42
+      *) echo "am__make_running_with_option: internal error: invalid" \
43
+              "target option '$${target_option-}' specified" >&2; \
44
+         exit 1;; \
45
+  esac; \
46
+  has_opt=no; \
47
+  sane_makeflags=$$MAKEFLAGS; \
48
+  if $(am__is_gnu_make); then \
49
+    sane_makeflags=$$MFLAGS; \
50
+  else \
41 51
     case $$MAKEFLAGS in \
42 52
       *\\[\ \	]*) \
43
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
44
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
45
-      *) \
46
-        for am__flg in $$MAKEFLAGS; do \
47
-          case $$am__flg in \
48
-            *=*|--*) ;; \
49
-            *n*) am__dry=yes; break;; \
50
-          esac; \
51
-        done;; \
53
+        bs=\\; \
54
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
55
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
52 56
     esac; \
53
-    test $$am__dry = yes; \
54
-  }
57
+  fi; \
58
+  skip_next=no; \
59
+  strip_trailopt () \
60
+  { \
61
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62
+  }; \
63
+  for flg in $$sane_makeflags; do \
64
+    test $$skip_next = yes && { skip_next=no; continue; }; \
65
+    case $$flg in \
66
+      *=*|--*) continue;; \
67
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
68
+      -*I?*) strip_trailopt 'I';; \
69
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
70
+      -*O?*) strip_trailopt 'O';; \
71
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
72
+      -*l?*) strip_trailopt 'l';; \
73
+      -[dEDm]) skip_next=yes;; \
74
+      -[JT]) skip_next=yes;; \
75
+    esac; \
76
+    case $$flg in \
77
+      *$$target_option*) has_opt=yes; break;; \
78
+    esac; \
79
+  done; \
80
+  test $$has_opt = yes
81
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
82
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
55 83
 pkgdatadir = $(datadir)/@PACKAGE@
56 84
 pkgincludedir = $(includedir)/@PACKAGE@
57 85
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -74,10 +101,10 @@ target_triplet = @target@
74 74
 @ENABLE_CLAMSUBMIT_TRUE@am__append_1 = clamsubmit
75 75
 @ENABLE_LIBFRESHCLAM_TRUE@am__append_2 = libfreshclam
76 76
 subdir = .
77
-DIST_COMMON = README.md $(am__configure_deps) $(srcdir)/Makefile.am \
78
-	$(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \
79
-	$(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \
80
-	$(srcdir)/platform.h.in $(top_srcdir)/configure \
77
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
78
+	$(top_srcdir)/configure $(am__configure_deps) \
79
+	$(srcdir)/clamav-config.h.in $(srcdir)/clamav-config.in \
80
+	$(srcdir)/libclamav.pc.in $(srcdir)/platform.h.in \
81 81
 	$(top_srcdir)/docs/man/clamav-milter.8.in \
82 82
 	$(top_srcdir)/docs/man/clamav-milter.conf.5.in \
83 83
 	$(top_srcdir)/docs/man/clambc.1.in \
... ...
@@ -85,16 +112,20 @@ DIST_COMMON = README.md $(am__configure_deps) $(srcdir)/Makefile.am \
85 85
 	$(top_srcdir)/docs/man/clamd.8.in \
86 86
 	$(top_srcdir)/docs/man/clamd.conf.5.in \
87 87
 	$(top_srcdir)/docs/man/clamdscan.1.in \
88
-	$(top_srcdir)/docs/man/clamdtop.1.in \
89 88
 	$(top_srcdir)/docs/man/clamscan.1.in \
90
-	$(top_srcdir)/docs/man/clamsubmit.1.in \
91 89
 	$(top_srcdir)/docs/man/freshclam.1.in \
92 90
 	$(top_srcdir)/docs/man/freshclam.conf.5.in \
93
-	$(top_srcdir)/docs/man/sigtool.1.in COPYING ChangeLog.md \
94
-	INSTALL.md NEWS.md config/compile config/config.guess \
95
-	config/config.rpath config/config.sub config/depcomp \
96
-	config/install-sh config/ltmain.sh config/missing \
97
-	config/ylwrap
91
+	$(top_srcdir)/docs/man/sigtool.1.in \
92
+	$(top_srcdir)/docs/man/clamdtop.1.in \
93
+	$(top_srcdir)/docs/man/clamsubmit.1.in COPYING config/compile \
94
+	config/config.guess config/config.rpath config/config.sub \
95
+	config/depcomp config/install-sh config/missing config/ylwrap \
96
+	config/ltmain.sh $(top_srcdir)/config/compile \
97
+	$(top_srcdir)/config/config.guess \
98
+	$(top_srcdir)/config/config.rpath \
99
+	$(top_srcdir)/config/config.sub \
100
+	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
101
+	$(top_srcdir)/config/missing
98 102
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
99 103
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
100 104
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -214,21 +245,28 @@ am__uninstall_files_from_dir = { \
214 214
   }
215 215
 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
216 216
 SCRIPTS = $(bin_SCRIPTS)
217
+AM_V_P = $(am__v_P_@AM_V@)
218
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
219
+am__v_P_0 = false
220
+am__v_P_1 = :
217 221
 AM_V_GEN = $(am__v_GEN_@AM_V@)
218 222
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
219
-am__v_GEN_0 = @echo "  GEN   " $@;
223
+am__v_GEN_0 = @echo "  GEN     " $@;
224
+am__v_GEN_1 = 
220 225
 AM_V_at = $(am__v_at_@AM_V@)
221 226
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
222 227
 am__v_at_0 = @
228
+am__v_at_1 = 
223 229
 SOURCES =
224 230
 DIST_SOURCES =
225
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
226
-	html-recursive info-recursive install-data-recursive \
227
-	install-dvi-recursive install-exec-recursive \
228
-	install-html-recursive install-info-recursive \
229
-	install-pdf-recursive install-ps-recursive install-recursive \
230
-	installcheck-recursive installdirs-recursive pdf-recursive \
231
-	ps-recursive uninstall-recursive
231
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
232
+	ctags-recursive dvi-recursive html-recursive info-recursive \
233
+	install-data-recursive install-dvi-recursive \
234
+	install-exec-recursive install-html-recursive \
235
+	install-info-recursive install-pdf-recursive \
236
+	install-ps-recursive install-recursive installcheck-recursive \
237
+	installdirs-recursive pdf-recursive ps-recursive \
238
+	tags-recursive uninstall-recursive
232 239
 am__can_run_installinfo = \
233 240
   case $$AM_UPDATE_INFO_DIR in \
234 241
     n|no|NO) false;; \
... ...
@@ -237,11 +275,33 @@ am__can_run_installinfo = \
237 237
 DATA = $(pkgconfig_DATA)
238 238
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
239 239
   distclean-recursive maintainer-clean-recursive
240
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
241
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
242
-	distdir dist dist-all distcheck
240
+am__recursive_targets = \
241
+  $(RECURSIVE_TARGETS) \
242
+  $(RECURSIVE_CLEAN_TARGETS) \
243
+  $(am__extra_recursive_targets)
244
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
245
+	cscope distdir dist dist-all distcheck
246
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
247
+	$(LISP)clamav-config.h.in
248
+# Read a list of newline-separated strings from the standard input,
249
+# and print each of them once, without duplicates.  Input order is
250
+# *not* preserved.
251
+am__uniquify_input = $(AWK) '\
252
+  BEGIN { nonempty = 0; } \
253
+  { items[$$0] = 1; nonempty = 1; } \
254
+  END { if (nonempty) { for (i in items) print i; }; } \
255
+'
256
+# Make sure the list of sources is unique.  This is necessary because,
257
+# e.g., the same source file might be shared among _SOURCES variables
258
+# for different programs/libraries.
259
+am__define_uniq_tagged_files = \
260
+  list='$(am__tagged_files)'; \
261
+  unique=`for i in $$list; do \
262
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
263
+  done | $(am__uniquify_input)`
243 264
 ETAGS = etags
244 265
 CTAGS = ctags
266
+CSCOPE = cscope
245 267
 DIST_SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam \
246 268
 	sigtool clamconf database docs etc clamav-milter test clamdtop \
247 269
 	clambc unit_tests clamsubmit libfreshclam
... ...
@@ -254,6 +314,7 @@ am__remove_distdir = \
254 254
       && rm -rf "$(distdir)" \
255 255
       || { sleep 5 && rm -rf "$(distdir)"; }; \
256 256
   else :; fi
257
+am__post_remove_distdir = $(am__remove_distdir)
257 258
 am__relativize = \
258 259
   dir0=`pwd`; \
259 260
   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
... ...
@@ -281,6 +342,7 @@ am__relativize = \
281 281
   reldir="$$dir2"
282 282
 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
283 283
 GZIP_ENV = --best
284
+DIST_TARGETS = dist-bzip2 dist-gzip
284 285
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
285 286
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
286 287
 distcleancheck_listfiles = find . -type f -print
... ...
@@ -558,8 +620,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
558 558
 $(am__aclocal_m4_deps):
559 559
 
560 560
 clamav-config.h: stamp-h1
561
-	@if test ! -f $@; then rm -f stamp-h1; else :; fi
562
-	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
561
+	@test -f $@ || rm -f stamp-h1
562
+	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
563 563
 
564 564
 stamp-h1: $(srcdir)/clamav-config.h.in $(top_builddir)/config.status
565 565
 	@rm -f stamp-h1
... ...
@@ -685,22 +747,25 @@ uninstall-pkgconfigDATA:
685 685
 	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
686 686
 
687 687
 # This directory's subdirectories are mostly independent; you can cd
688
-# into them and run `make' without going through this Makefile.
689
-# To change the values of `make' variables: instead of editing Makefiles,
690
-# (1) if the variable is set in `config.status', edit `config.status'
691
-#     (which will cause the Makefiles to be regenerated when you run `make');
692
-# (2) otherwise, pass the desired values on the `make' command line.
693
-$(RECURSIVE_TARGETS):
694
-	@fail= failcom='exit 1'; \
695
-	for f in x $$MAKEFLAGS; do \
696
-	  case $$f in \
697
-	    *=* | --[!k]*);; \
698
-	    *k*) failcom='fail=yes';; \
699
-	  esac; \
700
-	done; \
688
+# into them and run 'make' without going through this Makefile.
689
+# To change the values of 'make' variables: instead of editing Makefiles,
690
+# (1) if the variable is set in 'config.status', edit 'config.status'
691
+#     (which will cause the Makefiles to be regenerated when you run 'make');
692
+# (2) otherwise, pass the desired values on the 'make' command line.
693
+$(am__recursive_targets):
694
+	@fail=; \
695
+	if $(am__make_keepgoing); then \
696
+	  failcom='fail=yes'; \
697
+	else \
698
+	  failcom='exit 1'; \
699
+	fi; \
701 700
 	dot_seen=no; \
702 701
 	target=`echo $@ | sed s/-recursive//`; \
703
-	list='$(SUBDIRS)'; for subdir in $$list; do \
702
+	case "$@" in \
703
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
704
+	  *) list='$(SUBDIRS)' ;; \
705
+	esac; \
706
+	for subdir in $$list; do \
704 707
 	  echo "Making $$target in $$subdir"; \
705 708
 	  if test "$$subdir" = "."; then \
706 709
 	    dot_seen=yes; \
... ...
@@ -715,57 +780,12 @@ $(RECURSIVE_TARGETS):
715 715
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
716 716
 	fi; test -z "$$fail"
717 717
 
718
-$(RECURSIVE_CLEAN_TARGETS):
719
-	@fail= failcom='exit 1'; \
720
-	for f in x $$MAKEFLAGS; do \
721
-	  case $$f in \
722
-	    *=* | --[!k]*);; \
723
-	    *k*) failcom='fail=yes';; \
724
-	  esac; \
725
-	done; \
726
-	dot_seen=no; \
727
-	case "$@" in \
728
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
729
-	  *) list='$(SUBDIRS)' ;; \
730
-	esac; \
731
-	rev=''; for subdir in $$list; do \
732
-	  if test "$$subdir" = "."; then :; else \
733
-	    rev="$$subdir $$rev"; \
734
-	  fi; \
735
-	done; \
736
-	rev="$$rev ."; \
737
-	target=`echo $@ | sed s/-recursive//`; \
738
-	for subdir in $$rev; do \
739
-	  echo "Making $$target in $$subdir"; \
740
-	  if test "$$subdir" = "."; then \
741
-	    local_target="$$target-am"; \
742
-	  else \
743
-	    local_target="$$target"; \
744
-	  fi; \
745
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
746
-	  || eval $$failcom; \
747
-	done && test -z "$$fail"
748
-tags-recursive:
749
-	list='$(SUBDIRS)'; for subdir in $$list; do \
750
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
751
-	done
752
-ctags-recursive:
753
-	list='$(SUBDIRS)'; for subdir in $$list; do \
754
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
755
-	done
718
+ID: $(am__tagged_files)
719
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
720
+tags: tags-recursive
721
+TAGS: tags
756 722
 
757
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
758
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
759
-	unique=`for i in $$list; do \
760
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
761
-	  done | \
762
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
763
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
764
-	mkid -fID $$unique
765
-tags: TAGS
766
-
767
-TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
768
-		$(TAGS_FILES) $(LISP)
723
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
769 724
 	set x; \
770 725
 	here=`pwd`; \
771 726
 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
... ...
@@ -781,12 +801,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIE
781 781
 	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
782 782
 	  fi; \
783 783
 	done; \
784
-	list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
785
-	unique=`for i in $$list; do \
786
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
787
-	  done | \
788
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
789
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
784
+	$(am__define_uniq_tagged_files); \
790 785
 	shift; \
791 786
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
792 787
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -798,15 +813,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIE
798 798
 	      $$unique; \
799 799
 	  fi; \
800 800
 	fi
801
-ctags: CTAGS
802
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
803
-		$(TAGS_FILES) $(LISP)
804
-	list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
805
-	unique=`for i in $$list; do \
806
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
807
-	  done | \
808
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
809
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
801
+ctags: ctags-recursive
802
+
803
+CTAGS: ctags
804
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
805
+	$(am__define_uniq_tagged_files); \
810 806
 	test -z "$(CTAGS_ARGS)$$unique" \
811 807
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
812 808
 	     $$unique
... ...
@@ -815,9 +826,31 @@ GTAGS:
815 815
 	here=`$(am__cd) $(top_builddir) && pwd` \
816 816
 	  && $(am__cd) $(top_srcdir) \
817 817
 	  && gtags -i $(GTAGS_ARGS) "$$here"
818
+cscope: cscope.files
819
+	test ! -s cscope.files \
820
+	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
821
+clean-cscope:
822
+	-rm -f cscope.files
823
+cscope.files: clean-cscope cscopelist
824
+cscopelist: cscopelist-recursive
825
+
826
+cscopelist-am: $(am__tagged_files)
827
+	list='$(am__tagged_files)'; \
828
+	case "$(srcdir)" in \
829
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
830
+	  *) sdir=$(subdir)/$(srcdir) ;; \
831
+	esac; \
832
+	for i in $$list; do \
833
+	  if test -f "$$i"; then \
834
+	    echo "$(subdir)/$$i"; \
835
+	  else \
836
+	    echo "$$sdir/$$i"; \
837
+	  fi; \
838
+	done >> $(top_builddir)/cscope.files
818 839
 
819 840
 distclean-tags:
820 841
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
842
+	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
821 843
 
822 844
 distdir: $(DISTFILES)
823 845
 	$(am__remove_distdir)
... ...
@@ -888,40 +921,41 @@ distdir: $(DISTFILES)
888 888
 	|| chmod -R a+r "$(distdir)"
889 889
 dist-gzip: distdir
890 890
 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
891
-	$(am__remove_distdir)
891
+	$(am__post_remove_distdir)
892 892
 dist-bzip2: distdir
893 893
 	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
894
-	$(am__remove_distdir)
894
+	$(am__post_remove_distdir)
895 895
 
896 896
 dist-lzip: distdir
897 897
 	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
898
-	$(am__remove_distdir)
899
-
900
-dist-lzma: distdir
901
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
902
-	$(am__remove_distdir)
898
+	$(am__post_remove_distdir)
903 899
 
904 900
 dist-xz: distdir
905 901
 	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
906
-	$(am__remove_distdir)
902
+	$(am__post_remove_distdir)
907 903
 
908 904
 dist-tarZ: distdir
905
+	@echo WARNING: "Support for shar distribution archives is" \
906
+	               "deprecated." >&2
907
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
909 908
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
910
-	$(am__remove_distdir)
909
+	$(am__post_remove_distdir)
911 910
 
912 911
 dist-shar: distdir
912
+	@echo WARNING: "Support for distribution archives compressed with" \
913
+		       "legacy program 'compress' is deprecated." >&2
914
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
913 915
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
914
-	$(am__remove_distdir)
916
+	$(am__post_remove_distdir)
915 917
 
916 918
 dist-zip: distdir
917 919
 	-rm -f $(distdir).zip
918 920
 	zip -rq $(distdir).zip $(distdir)
919
-	$(am__remove_distdir)
921
+	$(am__post_remove_distdir)
920 922
 
921
-dist dist-all: distdir
922
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
923
-	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
924
-	$(am__remove_distdir)
923
+dist dist-all:
924
+	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
925
+	$(am__post_remove_distdir)
925 926
 
926 927
 # This target untars the dist file and tries a VPATH configuration.  Then
927 928
 # it guarantees that the distribution is self-contained by making another
... ...
@@ -932,8 +966,6 @@ distcheck: dist
932 932
 	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
933 933
 	*.tar.bz2*) \
934 934
 	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
935
-	*.tar.lzma*) \
936
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
937 935
 	*.tar.lz*) \
938 936
 	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
939 937
 	*.tar.xz*) \
... ...
@@ -945,18 +977,19 @@ distcheck: dist
945 945
 	*.zip*) \
946 946
 	  unzip $(distdir).zip ;;\
947 947
 	esac
948
-	chmod -R a-w $(distdir); chmod u+w $(distdir)
949
-	mkdir $(distdir)/_build
950
-	mkdir $(distdir)/_inst
948
+	chmod -R a-w $(distdir)
949
+	chmod u+w $(distdir)
950
+	mkdir $(distdir)/_build $(distdir)/_inst
951 951
 	chmod a-w $(distdir)
952 952
 	test -d $(distdir)/_build || exit 0; \
953 953
 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
954 954
 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
955 955
 	  && am__cwd=`pwd` \
956 956
 	  && $(am__cd) $(distdir)/_build \
957
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
957
+	  && ../configure \
958 958
 	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
959 959
 	    $(DISTCHECK_CONFIGURE_FLAGS) \
960
+	    --srcdir=.. --prefix="$$dc_install_base" \
960 961
 	  && $(MAKE) $(AM_MAKEFLAGS) \
961 962
 	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
962 963
 	  && $(MAKE) $(AM_MAKEFLAGS) check \
... ...
@@ -979,7 +1012,7 @@ distcheck: dist
979 979
 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
980 980
 	  && cd "$$am__cwd" \
981 981
 	  || exit 1
982
-	$(am__remove_distdir)
982
+	$(am__post_remove_distdir)
983 983
 	@(echo "$(distdir) archives ready for distribution: "; \
984 984
 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
985 985
 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
... ...
@@ -1118,26 +1151,25 @@ ps-am:
1118 1118
 
1119 1119
 uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1120 1120
 
1121
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
1122
-	ctags-recursive install-am install-strip tags-recursive
1123
-
1124
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1125
-	all all-am am--refresh check check-am clean clean-generic \
1126
-	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
1127
-	dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \
1128
-	dist-xz dist-zip distcheck distclean distclean-generic \
1129
-	distclean-hdr distclean-libtool distclean-tags distcleancheck \
1130
-	distdir distuninstallcheck dvi dvi-am html html-am info \
1131
-	info-am install install-am install-binSCRIPTS install-data \
1132
-	install-data-am install-dvi install-dvi-am install-exec \
1133
-	install-exec-am install-html install-html-am install-info \
1134
-	install-info-am install-man install-pdf install-pdf-am \
1135
-	install-pkgconfigDATA install-ps install-ps-am install-strip \
1136
-	installcheck installcheck-am installcheck-binSCRIPTS \
1137
-	installdirs installdirs-am maintainer-clean \
1138
-	maintainer-clean-generic mostlyclean mostlyclean-generic \
1139
-	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
1140
-	uninstall uninstall-am uninstall-binSCRIPTS \
1121
+.MAKE: $(am__recursive_targets) all install-am install-strip
1122
+
1123
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1124
+	am--refresh check check-am clean clean-cscope clean-generic \
1125
+	clean-libtool cscope cscopelist-am ctags ctags-am dist \
1126
+	dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
1127
+	dist-tarZ dist-xz dist-zip distcheck distclean \
1128
+	distclean-generic distclean-hdr distclean-libtool \
1129
+	distclean-tags distcleancheck distdir distuninstallcheck dvi \
1130
+	dvi-am html html-am info info-am install install-am \
1131
+	install-binSCRIPTS install-data install-data-am install-dvi \
1132
+	install-dvi-am install-exec install-exec-am install-html \
1133
+	install-html-am install-info install-info-am install-man \
1134
+	install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1135
+	install-ps-am install-strip installcheck installcheck-am \
1136
+	installcheck-binSCRIPTS installdirs installdirs-am \
1137
+	maintainer-clean maintainer-clean-generic mostlyclean \
1138
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1139
+	tags tags-am uninstall uninstall-am uninstall-binSCRIPTS \
1141 1140
 	uninstall-pkgconfigDATA
1142 1141
 
1143 1142
 lcov:
... ...
@@ -1,8 +1,7 @@
1
-# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996-2013 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,13 +11,14 @@
12 12
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 13
 # PARTICULAR PURPOSE.
14 14
 
15
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15 16
 m4_ifndef([AC_AUTOCONF_VERSION],
16 17
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17 18
 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18 19
 [m4_warning([this file was generated for autoconf 2.69.
19 20
 You have another version of autoconf.  It may work, but is not guaranteed to.
20 21
 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'.])])
22
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 23
 
23 24
 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
24 25
 # serial 1 (pkg-config-0.24)
... ...
@@ -170,7 +170,7 @@ path to pkg-config.
170 170
 
171 171
 _PKG_TEXT
172 172
 
173
-To get pkg-config, see <https://pkg-config.freedesktop.org/>.])[]dnl
173
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
174 174
         ])
175 175
 else
176 176
 	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
... ...
@@ -180,25 +180,22 @@ else
180 180
 fi[]dnl
181 181
 ])# PKG_CHECK_MODULES
182 182
 
183
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
184
-# Foundation, Inc.
183
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
185 184
 #
186 185
 # This file is free software; the Free Software Foundation
187 186
 # gives unlimited permission to copy and/or distribute it,
188 187
 # with or without modifications, as long as this notice is preserved.
189 188
 
190
-# serial 1
191
-
192 189
 # AM_AUTOMAKE_VERSION(VERSION)
193 190
 # ----------------------------
194 191
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
195 192
 # generated from the m4 files accompanying Automake X.Y.
196 193
 # (This private macro should not be called outside this file.)
197 194
 AC_DEFUN([AM_AUTOMAKE_VERSION],
198
-[am__api_version='1.11'
195
+[am__api_version='1.14'
199 196
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
200 197
 dnl require some minimum version.  Point them to the right macro.
201
-m4_if([$1], [1.11.6], [],
198
+m4_if([$1], [1.14.1], [],
202 199
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
203 200
 ])
204 201
 
... ...
@@ -214,24 +211,22 @@ m4_define([_AM_AUTOCONF_VERSION], [])
214 214
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
215 215
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
216 216
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
217
-[AM_AUTOMAKE_VERSION([1.11.6])dnl
217
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
218 218
 m4_ifndef([AC_AUTOCONF_VERSION],
219 219
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
220 220
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
221 221
 
222 222
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
223 223
 
224
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
224
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
225 225
 #
226 226
 # This file is free software; the Free Software Foundation
227 227
 # gives unlimited permission to copy and/or distribute it,
228 228
 # with or without modifications, as long as this notice is preserved.
229 229
 
230
-# serial 1
231
-
232 230
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
233
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
234
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
231
+# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
232
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
235 233
 #
236 234
 # Of course, Automake must honor this variable whenever it calls a
237 235
 # tool from the auxiliary directory.  The problem is that $srcdir (and
... ...
@@ -250,7 +245,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
250 250
 #
251 251
 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
252 252
 # are both prefixed by $srcdir.  In an in-source build this is usually
253
-# harmless because $srcdir is `.', but things will broke when you
253
+# harmless because $srcdir is '.', but things will broke when you
254 254
 # start a VPATH build or use an absolute $srcdir.
255 255
 #
256 256
 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
... ...
@@ -276,22 +271,19 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
276 276
 
277 277
 # AM_CONDITIONAL                                            -*- Autoconf -*-
278 278
 
279
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
280
-# Free Software Foundation, Inc.
279
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
281 280
 #
282 281
 # This file is free software; the Free Software Foundation
283 282
 # gives unlimited permission to copy and/or distribute it,
284 283
 # with or without modifications, as long as this notice is preserved.
285 284
 
286
-# serial 9
287
-
288 285
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
289 286
 # -------------------------------------
290 287
 # Define a conditional.
291 288
 AC_DEFUN([AM_CONDITIONAL],
292
-[AC_PREREQ(2.52)dnl
293
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
294
-	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
289
+[AC_PREREQ([2.52])dnl
290
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
291
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
295 292
 AC_SUBST([$1_TRUE])dnl
296 293
 AC_SUBST([$1_FALSE])dnl
297 294
 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
... ...
@@ -310,16 +302,14 @@ AC_CONFIG_COMMANDS_PRE(
310 310
 Usually this means the macro was only invoked conditionally.]])
311 311
 fi])])
312 312
 
313
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
314
-# 2010, 2011 Free Software Foundation, Inc.
313
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
315 314
 #
316 315
 # This file is free software; the Free Software Foundation
317 316
 # gives unlimited permission to copy and/or distribute it,
318 317
 # with or without modifications, as long as this notice is preserved.
319 318
 
320
-# serial 12
321 319
 
322
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
320
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
323 321
 # written in clear, in which case automake, when reading aclocal.m4,
324 322
 # will think it sees a *use*, and therefore will trigger all it's
325 323
 # C support machinery.  Also note that it means that autoscan, seeing
... ...
@@ -329,7 +319,7 @@ fi])])
329 329
 # _AM_DEPENDENCIES(NAME)
330 330
 # ----------------------
331 331
 # See how the compiler implements dependency checking.
332
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
332
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
333 333
 # We try a few techniques and use that to set a single cache variable.
334 334
 #
335 335
 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
... ...
@@ -342,12 +332,13 @@ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
342 342
 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
343 343
 AC_REQUIRE([AM_DEP_TRACK])dnl
344 344
 
345
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
346
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
347
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
348
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
349
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
350
-                   [depcc="$$1"   am_compiler_list=])
345
+m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
346
+      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
347
+      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
348
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
349
+      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
350
+      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
351
+                    [depcc="$$1"   am_compiler_list=])
351 352
 
352 353
 AC_CACHE_CHECK([dependency style of $depcc],
353 354
                [am_cv_$1_dependencies_compiler_type],
... ...
@@ -355,8 +346,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
355 355
   # We make a subdir and do the tests there.  Otherwise we can end up
356 356
   # making bogus files that we don't know about and never remove.  For
357 357
   # instance it was reported that on HP-UX the gcc test will end up
358
-  # making a dummy file named `D' -- because `-MD' means `put the output
359
-  # in D'.
358
+  # making a dummy file named 'D' -- because '-MD' means "put the output
359
+  # in D".
360 360
   rm -rf conftest.dir
361 361
   mkdir conftest.dir
362 362
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -396,16 +387,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
396 396
     : > sub/conftest.c
397 397
     for i in 1 2 3 4 5 6; do
398 398
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
399
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
400
-      # Solaris 8's {/usr,}/bin/sh.
401
-      touch sub/conftst$i.h
399
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
400
+      # Solaris 10 /bin/sh.
401
+      echo '/* dummy */' > sub/conftst$i.h
402 402
     done
403 403
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
404 404
 
405
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
405
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
406 406
     # mode.  It turns out that the SunPro C++ compiler does not properly
407
-    # handle `-M -o', and we need to detect this.  Also, some Intel
408
-    # versions had trouble with output in subdirs
407
+    # handle '-M -o', and we need to detect this.  Also, some Intel
408
+    # versions had trouble with output in subdirs.
409 409
     am__obj=sub/conftest.${OBJEXT-o}
410 410
     am__minus_obj="-o $am__obj"
411 411
     case $depmode in
... ...
@@ -414,8 +405,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
414 414
       test "$am__universal" = false || continue
415 415
       ;;
416 416
     nosideeffect)
417
-      # after this tag, mechanisms are not by side-effect, so they'll
418
-      # only be used when explicitly requested
417
+      # After this tag, mechanisms are not by side-effect, so they'll
418
+      # only be used when explicitly requested.
419 419
       if test "x$enable_dependency_tracking" = xyes; then
420 420
 	continue
421 421
       else
... ...
@@ -423,7 +414,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
423 423
       fi
424 424
       ;;
425 425
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
426
-      # This compiler won't grok `-c -o', but also, the minuso test has
426
+      # This compiler won't grok '-c -o', but also, the minuso test has
427 427
       # not run yet.  These depmodes are late enough in the game, and
428 428
       # so weak that their functioning should not be impacted.
429 429
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -471,7 +462,7 @@ AM_CONDITIONAL([am__fastdep$1], [
471 471
 # AM_SET_DEPDIR
472 472
 # -------------
473 473
 # Choose a directory name for dependency files.
474
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
474
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
475 475
 AC_DEFUN([AM_SET_DEPDIR],
476 476
 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
477 477
 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
... ...
@@ -481,9 +472,13 @@ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
481 481
 # AM_DEP_TRACK
482 482
 # ------------
483 483
 AC_DEFUN([AM_DEP_TRACK],
484
-[AC_ARG_ENABLE(dependency-tracking,
485
-[  --disable-dependency-tracking  speeds up one-time build
486
-  --enable-dependency-tracking   do not reject slow dependency extractors])
484
+[AC_ARG_ENABLE([dependency-tracking], [dnl
485
+AS_HELP_STRING(
486
+  [--enable-dependency-tracking],
487
+  [do not reject slow dependency extractors])
488
+AS_HELP_STRING(
489
+  [--disable-dependency-tracking],
490
+  [speeds up one-time build])])
487 491
 if test "x$enable_dependency_tracking" != xno; then
488 492
   am_depcomp="$ac_aux_dir/depcomp"
489 493
   AMDEPBACKSLASH='\'
... ...
@@ -498,20 +493,18 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
498 498
 
499 499
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
500 500
 
501
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
502
-# Free Software Foundation, Inc.
501
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
503 502
 #
504 503
 # This file is free software; the Free Software Foundation
505 504
 # gives unlimited permission to copy and/or distribute it,
506 505
 # with or without modifications, as long as this notice is preserved.
507 506
 
508
-#serial 5
509 507
 
510 508
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
511 509
 # ------------------------------
512 510
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
513 511
 [{
514
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
512
+  # Older Autoconf quotes --file arguments for eval, but not when files
515 513
   # are listed without --file.  Let's play safe and only enable the eval
516 514
   # if we detect the quoting.
517 515
   case $CONFIG_FILES in
... ...
@@ -524,7 +517,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
524 524
     # Strip MF so we end up with the name of the file.
525 525
     mf=`echo "$mf" | sed -e 's/:.*$//'`
526 526
     # Check whether this is an Automake generated Makefile or not.
527
-    # We used to match only the files named `Makefile.in', but
527
+    # We used to match only the files named 'Makefile.in', but
528 528
     # some people rename them; so instead we look at the file content.
529 529
     # Grep'ing the first line is not enough: some people post-process
530 530
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -536,21 +529,19 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
536 536
       continue
537 537
     fi
538 538
     # Extract the definition of DEPDIR, am__include, and am__quote
539
-    # from the Makefile without running `make'.
539
+    # from the Makefile without running 'make'.
540 540
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
541 541
     test -z "$DEPDIR" && continue
542 542
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
543
-    test -z "am__include" && continue
543
+    test -z "$am__include" && continue
544 544
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
545
-    # When using ansi2knr, U may be empty or an underscore; expand it
546
-    U=`sed -n 's/^U = //p' < "$mf"`
547 545
     # Find all dependency output files, they are included files with
548 546
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
549 547
     # simplest approach to changing $(DEPDIR) to its actual value in the
550 548
     # expansion.
551 549
     for file in `sed -n "
552 550
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
553
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
551
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
554 552
       # Make sure the directory exists.
555 553
       test -f "$dirpart/$file" && continue
556 554
       fdir=`AS_DIRNAME(["$file"])`
... ...
@@ -568,7 +559,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
568 568
 # This macro should only be invoked once -- use via AC_REQUIRE.
569 569
 #
570 570
 # This code is only required when automatic dependency tracking
571
-# is enabled.  FIXME.  This creates each `.P' file that we will
571
+# is enabled.  FIXME.  This creates each '.P' file that we will
572 572
 # need in order to bootstrap the dependency handling code.
573 573
 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
574 574
 [AC_CONFIG_COMMANDS([depfiles],
... ...
@@ -578,18 +569,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
578 578
 
579 579
 # Do all the work for Automake.                             -*- Autoconf -*-
580 580
 
581
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
582
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
581
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
583 582
 #
584 583
 # This file is free software; the Free Software Foundation
585 584
 # gives unlimited permission to copy and/or distribute it,
586 585
 # with or without modifications, as long as this notice is preserved.
587 586
 
588
-# serial 16
589
-
590 587
 # This macro actually does too much.  Some checks are only needed if
591 588
 # your package does certain things.  But this isn't really a big deal.
592 589
 
590
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
591
+m4_define([AC_PROG_CC],
592
+m4_defn([AC_PROG_CC])
593
+[_AM_PROG_CC_C_O
594
+])
595
+
593 596
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
594 597
 # AM_INIT_AUTOMAKE([OPTIONS])
595 598
 # -----------------------------------------------
... ...
@@ -602,7 +596,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
602 602
 # arguments mandatory, and then we can depend on a new Autoconf
603 603
 # release and drop the old call support.
604 604
 AC_DEFUN([AM_INIT_AUTOMAKE],
605
-[AC_PREREQ([2.62])dnl
605
+[AC_PREREQ([2.65])dnl
606 606
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
607 607
 dnl the ones we care about.
608 608
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -631,31 +625,40 @@ AC_SUBST([CYGPATH_W])
631 631
 # Define the identity of the package.
632 632
 dnl Distinguish between old-style and new-style calls.
633 633
 m4_ifval([$2],
634
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
634
+[AC_DIAGNOSE([obsolete],
635
+             [$0: two- and three-arguments forms are deprecated.])
636
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
635 637
  AC_SUBST([PACKAGE], [$1])dnl
636 638
  AC_SUBST([VERSION], [$2])],
637 639
 [_AM_SET_OPTIONS([$1])dnl
638 640
 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
639
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
641
+m4_if(
642
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
643
+  [ok:ok],,
640 644
   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
641 645
  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
642 646
  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
643 647
 
644 648
 _AM_IF_OPTION([no-define],,
645
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
646
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
649
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
650
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
647 651
 
648 652
 # Some tools Automake needs.
649 653
 AC_REQUIRE([AM_SANITY_CHECK])dnl
650 654
 AC_REQUIRE([AC_ARG_PROGRAM])dnl
651
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
652
-AM_MISSING_PROG(AUTOCONF, autoconf)
653
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
654
-AM_MISSING_PROG(AUTOHEADER, autoheader)
655
-AM_MISSING_PROG(MAKEINFO, makeinfo)
655
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
656
+AM_MISSING_PROG([AUTOCONF], [autoconf])
657
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
658
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
659
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
656 660
 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
657 661
 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
658
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
662
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
663
+# For better backward compatibility.  To be removed once Automake 1.9.x
664
+# dies out for good.  For more background, see:
665
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
666
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
667
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
659 668
 # We need awk for the "check" target.  The system "awk" is bad on
660 669
 # some platforms.
661 670
 AC_REQUIRE([AC_PROG_AWK])dnl
... ...
@@ -666,34 +669,78 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
666 666
 			     [_AM_PROG_TAR([v7])])])
667 667
 _AM_IF_OPTION([no-dependencies],,
668 668
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
669
-		  [_AM_DEPENDENCIES(CC)],
670
-		  [define([AC_PROG_CC],
671
-			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
669
+		  [_AM_DEPENDENCIES([CC])],
670
+		  [m4_define([AC_PROG_CC],
671
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
672 672
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
673
-		  [_AM_DEPENDENCIES(CXX)],
674
-		  [define([AC_PROG_CXX],
675
-			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
673
+		  [_AM_DEPENDENCIES([CXX])],
674
+		  [m4_define([AC_PROG_CXX],
675
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
676 676
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
677
-		  [_AM_DEPENDENCIES(OBJC)],
678
-		  [define([AC_PROG_OBJC],
679
-			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
677
+		  [_AM_DEPENDENCIES([OBJC])],
678
+		  [m4_define([AC_PROG_OBJC],
679
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
680
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
681
+		  [_AM_DEPENDENCIES([OBJCXX])],
682
+		  [m4_define([AC_PROG_OBJCXX],
683
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
680 684
 ])
681
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
682
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
683
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
684
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
685
+AC_REQUIRE([AM_SILENT_RULES])dnl
686
+dnl The testsuite driver may need to know about EXEEXT, so add the
687
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
688
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
685 689
 AC_CONFIG_COMMANDS_PRE(dnl
686 690
 [m4_provide_if([_AM_COMPILER_EXEEXT],
687 691
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
688
-])
689 692
 
690
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
693
+# POSIX will say in a future version that running "rm -f" with no argument
694
+# is OK; and we want to be able to make that assumption in our Makefile
695
+# recipes.  So use an aggressive probe to check that the usage we want is
696
+# actually supported "in the wild" to an acceptable degree.
697
+# See automake bug#10828.
698
+# To make any issue more visible, cause the running configure to be aborted
699
+# by default if the 'rm' program in use doesn't match our expectations; the
700
+# user can still override this though.
701
+if rm -f && rm -fr && rm -rf; then : OK; else
702
+  cat >&2 <<'END'
703
+Oops!
704
+
705
+Your 'rm' program seems unable to run without file operands specified
706
+on the command line, even when the '-f' option is present.  This is contrary
707
+to the behaviour of most rm programs out there, and not conforming with
708
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
709
+
710
+Please tell bug-automake@gnu.org about your system, including the value
711
+of your $PATH and any error possibly output before this message.  This
712
+can help us improve future automake versions.
713
+
714
+END
715
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
716
+    echo 'Configuration will proceed anyway, since you have set the' >&2
717
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
718
+    echo >&2
719
+  else
720
+    cat >&2 <<'END'
721
+Aborting the configuration process, to ensure you take notice of the issue.
722
+
723
+You can download and install GNU coreutils to get an 'rm' implementation
724
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
725
+
726
+If you want to complete the configuration process using your problematic
727
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
728
+to "yes", and re-run configure.
729
+
730
+END
731
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
732
+  fi
733
+fi])
734
+
735
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
691 736
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
692 737
 dnl mangled by Autoconf and run in a shell conditional statement.
693 738
 m4_define([_AC_COMPILER_EXEEXT],
694 739
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
695 740
 
696
-
697 741
 # When config.status generates a header, we must update the stamp-h file.
698 742
 # This file resides in the same directory as the config header
699 743
 # that is generated.  The stamp files are numbered to have different names.
... ...
@@ -715,15 +762,12 @@ for _am_header in $config_headers :; do
715 715
 done
716 716
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
717 717
 
718
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
719
-# Inc.
718
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
720 719
 #
721 720
 # This file is free software; the Free Software Foundation
722 721
 # gives unlimited permission to copy and/or distribute it,
723 722
 # with or without modifications, as long as this notice is preserved.
724 723
 
725
-# serial 1
726
-
727 724
 # AM_PROG_INSTALL_SH
728 725
 # ------------------
729 726
 # Define $install_sh.
... ...
@@ -737,16 +781,14 @@ if test x"${install_sh}" != xset; then
737 737
     install_sh="\${SHELL} $am_aux_dir/install-sh"
738 738
   esac
739 739
 fi
740
-AC_SUBST(install_sh)])
740
+AC_SUBST([install_sh])])
741 741
 
742
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
742
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
743 743
 #
744 744
 # This file is free software; the Free Software Foundation
745 745
 # gives unlimited permission to copy and/or distribute it,
746 746
 # with or without modifications, as long as this notice is preserved.
747 747
 
748
-# serial 2
749
-
750 748
 # Check whether the underlying file-system supports filenames
751 749
 # with a leading dot.  For instance MS-DOS doesn't.
752 750
 AC_DEFUN([AM_SET_LEADING_DOT],
... ...
@@ -760,21 +802,18 @@ fi
760 760
 rmdir .tst 2>/dev/null
761 761
 AC_SUBST([am__leading_dot])])
762 762
 
763
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
764
-# Free Software Foundation, Inc.
763
+# Copyright (C) 1998-2013 Free Software Foundation, Inc.
765 764
 #
766 765
 # This file is free software; the Free Software Foundation
767 766
 # gives unlimited permission to copy and/or distribute it,
768 767
 # with or without modifications, as long as this notice is preserved.
769 768
 
770
-# serial 5
771
-
772 769
 # AM_PROG_LEX
773 770
 # -----------
774 771
 # Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
775 772
 # "missing" invocation, for better error output.
776 773
 AC_DEFUN([AM_PROG_LEX],
777
-[AC_PREREQ(2.50)dnl
774
+[AC_PREREQ([2.50])dnl
778 775
 AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
779 776
 AC_REQUIRE([AC_PROG_LEX])dnl
780 777
 if test "$LEX" = :; then
... ...
@@ -783,14 +822,12 @@ fi])
783 783
 
784 784
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
785 785
 
786
-# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
786
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
787 787
 #
788 788
 # This file is free software; the Free Software Foundation
789 789
 # gives unlimited permission to copy and/or distribute it,
790 790
 # with or without modifications, as long as this notice is preserved.
791 791
 
792
-# serial 4
793
-
794 792
 # AM_MAKE_INCLUDE()
795 793
 # -----------------
796 794
 # Check to see how make treats includes.
... ...
@@ -808,7 +845,7 @@ am__quote=
808 808
 _am_result=none
809 809
 # First try GNU make style include.
810 810
 echo "include confinc" > confmf
811
-# Ignore all kinds of additional output from `make'.
811
+# Ignore all kinds of additional output from 'make'.
812 812
 case `$am_make -s -f confmf 2> /dev/null` in #(
813 813
 *the\ am__doit\ target*)
814 814
   am__include=include
... ...
@@ -835,15 +872,12 @@ rm -f confinc confmf
835 835
 
836 836
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
837 837
 
838
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
839
-# Free Software Foundation, Inc.
838
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
840 839
 #
841 840
 # This file is free software; the Free Software Foundation
842 841
 # gives unlimited permission to copy and/or distribute it,
843 842
 # with or without modifications, as long as this notice is preserved.
844 843
 
845
-# serial 6
846
-
847 844
 # AM_MISSING_PROG(NAME, PROGRAM)
848 845
 # ------------------------------
849 846
 AC_DEFUN([AM_MISSING_PROG],
... ...
@@ -851,11 +885,10 @@ AC_DEFUN([AM_MISSING_PROG],
851 851
 $1=${$1-"${am_missing_run}$2"}
852 852
 AC_SUBST($1)])
853 853
 
854
-
855 854
 # AM_MISSING_HAS_RUN
856 855
 # ------------------
857
-# Define MISSING if not defined so far and test if it supports --run.
858
-# If it does, set am_missing_run to use it, otherwise, to nothing.
856
+# Define MISSING if not defined so far and test if it is modern enough.
857
+# If it is, set am_missing_run to use it, otherwise, to nothing.
859 858
 AC_DEFUN([AM_MISSING_HAS_RUN],
860 859
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
861 860
 AC_REQUIRE_AUX_FILE([missing])dnl
... ...
@@ -868,54 +901,22 @@ if test x"${MISSING+set}" != xset; then
868 868
   esac
869 869
 fi
870 870
 # Use eval to expand $SHELL
871
-if eval "$MISSING --run true"; then
872
-  am_missing_run="$MISSING --run "
871
+if eval "$MISSING --is-lightweight"; then
872
+  am_missing_run="$MISSING "
873 873
 else
874 874
   am_missing_run=
875
-  AC_MSG_WARN([`missing' script is too old or missing])
875
+  AC_MSG_WARN(['missing' script is too old or missing])
876 876
 fi
877 877
 ])
878 878
 
879
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
880
-# Inc.
881
-#
882
-# This file is free software; the Free Software Foundation
883
-# gives unlimited permission to copy and/or distribute it,
884
-# with or without modifications, as long as this notice is preserved.
885
-
886
-# serial 1
887
-
888
-# AM_PROG_MKDIR_P
889
-# ---------------
890
-# Check for `mkdir -p'.
891
-AC_DEFUN([AM_PROG_MKDIR_P],
892
-[AC_PREREQ([2.60])dnl
893
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
894
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
895
-dnl while keeping a definition of mkdir_p for backward compatibility.
896
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
897
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
898
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
899
-dnl adjustment using top_builddir (which is defined more often than
900
-dnl MKDIR_P).
901
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
902
-case $mkdir_p in
903
-  [[\\/$]]* | ?:[[\\/]]*) ;;
904
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
905
-esac
906
-])
907
-
908 879
 # Helper functions for option handling.                     -*- Autoconf -*-
909 880
 
910
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
911
-# Foundation, Inc.
881
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
912 882
 #
913 883
 # This file is free software; the Free Software Foundation
914 884
 # gives unlimited permission to copy and/or distribute it,
915 885
 # with or without modifications, as long as this notice is preserved.
916 886
 
917
-# serial 5
918
-
919 887
 # _AM_MANGLE_OPTION(NAME)
920 888
 # -----------------------
921 889
 AC_DEFUN([_AM_MANGLE_OPTION],
... ...
@@ -925,7 +926,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
925 925
 # --------------------
926 926
 # Set option NAME.  Presently that only means defining a flag for this option.
927 927
 AC_DEFUN([_AM_SET_OPTION],
928
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
928
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
929 929
 
930 930
 # _AM_SET_OPTIONS(OPTIONS)
931 931
 # ------------------------
... ...
@@ -939,13 +940,58 @@ AC_DEFUN([_AM_SET_OPTIONS],
939 939
 AC_DEFUN([_AM_IF_OPTION],
940 940
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
941 941
 
942
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
942
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
943 943
 #
944 944
 # This file is free software; the Free Software Foundation
945 945
 # gives unlimited permission to copy and/or distribute it,
946 946
 # with or without modifications, as long as this notice is preserved.
947 947
 
948
-# serial 1
948
+# _AM_PROG_CC_C_O
949
+# ---------------
950
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
951
+# to automatically call this.
952
+AC_DEFUN([_AM_PROG_CC_C_O],
953
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
954
+AC_REQUIRE_AUX_FILE([compile])dnl
955
+AC_LANG_PUSH([C])dnl
956
+AC_CACHE_CHECK(
957
+  [whether $CC understands -c and -o together],
958
+  [am_cv_prog_cc_c_o],
959
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
960
+  # Make sure it works both with $CC and with simple cc.
961
+  # Following AC_PROG_CC_C_O, we do the test twice because some
962
+  # compilers refuse to overwrite an existing .o file with -o,
963
+  # though they will create one.
964
+  am_cv_prog_cc_c_o=yes
965
+  for am_i in 1 2; do
966
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
967
+         && test -f conftest2.$ac_objext; then
968
+      : OK
969
+    else
970
+      am_cv_prog_cc_c_o=no
971
+      break
972
+    fi
973
+  done
974
+  rm -f core conftest*
975
+  unset am_i])
976
+if test "$am_cv_prog_cc_c_o" != yes; then
977
+   # Losing compiler, so override with the script.
978
+   # FIXME: It is wrong to rewrite CC.
979
+   # But if we don't then we get into trouble of one sort or another.
980
+   # A longer-term fix would be to have automake use am__CC in this case,
981
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
982
+   CC="$am_aux_dir/compile $CC"
983
+fi
984
+AC_LANG_POP([C])])
985
+
986
+# For backward compatibility.
987
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
988
+
989
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
990
+#
991
+# This file is free software; the Free Software Foundation
992
+# gives unlimited permission to copy and/or distribute it,
993
+# with or without modifications, as long as this notice is preserved.
949 994
 
950 995
 # AM_RUN_LOG(COMMAND)
951 996
 # -------------------
... ...
@@ -960,22 +1006,16 @@ AC_DEFUN([AM_RUN_LOG],
960 960
 
961 961
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
962 962
 
963
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
964
-# Free Software Foundation, Inc.
963
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
965 964
 #
966 965
 # This file is free software; the Free Software Foundation
967 966
 # gives unlimited permission to copy and/or distribute it,
968 967
 # with or without modifications, as long as this notice is preserved.
969 968
 
970
-# serial 5
971
-
972 969
 # AM_SANITY_CHECK
973 970
 # ---------------
974 971
 AC_DEFUN([AM_SANITY_CHECK],
975 972
 [AC_MSG_CHECKING([whether build environment is sane])
976
-# Just in case
977
-sleep 1
978
-echo timestamp > conftest.file
979 973
 # Reject unsafe characters in $srcdir or the absolute working directory
980 974
 # name.  Accept space and tab only in the latter.
981 975
 am_lf='
... ...
@@ -986,32 +1026,40 @@ case `pwd` in
986 986
 esac
987 987
 case $srcdir in
988 988
   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
989
-    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
989
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
990 990
 esac
991 991
 
992
-# Do `set' in a subshell so we don't clobber the current shell's
992
+# Do 'set' in a subshell so we don't clobber the current shell's
993 993
 # arguments.  Must try -L first in case configure is actually a
994 994
 # symlink; some systems play weird games with the mod time of symlinks
995 995
 # (eg FreeBSD returns the mod time of the symlink's containing
996 996
 # directory).
997 997
 if (
998
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
999
-   if test "$[*]" = "X"; then
1000
-      # -L didn't work.
1001
-      set X `ls -t "$srcdir/configure" conftest.file`
1002
-   fi
1003
-   rm -f conftest.file
1004
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
1005
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1006
-
1007
-      # If neither matched, then we have a broken ls.  This can happen
1008
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
1009
-      # broken ls alias from the environment.  This has actually
1010
-      # happened.  Such a system could not be considered "sane".
1011
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1012
-alias in your environment])
1013
-   fi
1014
-
998
+   am_has_slept=no
999
+   for am_try in 1 2; do
1000
+     echo "timestamp, slept: $am_has_slept" > conftest.file
1001
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1002
+     if test "$[*]" = "X"; then
1003
+	# -L didn't work.
1004
+	set X `ls -t "$srcdir/configure" conftest.file`
1005
+     fi
1006
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
1007
+	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
1008
+
1009
+	# If neither matched, then we have a broken ls.  This can happen
1010
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
1011
+	# broken ls alias from the environment.  This has actually
1012
+	# happened.  Such a system could not be considered "sane".
1013
+	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1014
+  alias in your environment])
1015
+     fi
1016
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
1017
+       break
1018
+     fi
1019
+     # Just in case.
1020
+     sleep 1
1021
+     am_has_slept=yes
1022
+   done
1015 1023
    test "$[2]" = conftest.file
1016 1024
    )
1017 1025
 then
... ...
@@ -1021,31 +1069,50 @@ else
1021 1021
    AC_MSG_ERROR([newly created file is older than distributed files!
1022 1022
 Check your system clock])
1023 1023
 fi
1024
-AC_MSG_RESULT(yes)])
1024
+AC_MSG_RESULT([yes])
1025
+# If we didn't sleep, we still need to ensure time stamps of config.status and
1026
+# generated files are strictly newer.
1027
+am_sleep_pid=
1028
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1029
+  ( sleep 1 ) &
1030
+  am_sleep_pid=$!
1031
+fi
1032
+AC_CONFIG_COMMANDS_PRE(
1033
+  [AC_MSG_CHECKING([that generated files are newer than configure])
1034
+   if test -n "$am_sleep_pid"; then
1035
+     # Hide warnings about reused PIDs.
1036
+     wait $am_sleep_pid 2>/dev/null
1037
+   fi
1038
+   AC_MSG_RESULT([done])])
1039
+rm -f conftest.file
1040
+])
1025 1041
 
1026
-# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1042
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
1027 1043
 #
1028 1044
 # This file is free software; the Free Software Foundation
1029 1045
 # gives unlimited permission to copy and/or distribute it,
1030 1046
 # with or without modifications, as long as this notice is preserved.
1031 1047
 
1032
-# serial 2
1033
-
1034 1048
 # AM_SILENT_RULES([DEFAULT])
1035 1049
 # --------------------------
1036 1050
 # Enable less verbose build rules; with the default set to DEFAULT
1037
-# (`yes' being less verbose, `no' or empty being verbose).
1051
+# ("yes" being less verbose, "no" or empty being verbose).
1038 1052
 AC_DEFUN([AM_SILENT_RULES],
1039
-[AC_ARG_ENABLE([silent-rules],
1040
-[  --enable-silent-rules          less verbose build output (undo: `make V=1')
1041
-  --disable-silent-rules         verbose build output (undo: `make V=0')])
1042
-case $enable_silent_rules in
1043
-yes) AM_DEFAULT_VERBOSITY=0;;
1044
-no)  AM_DEFAULT_VERBOSITY=1;;
1045
-*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1053
+[AC_ARG_ENABLE([silent-rules], [dnl
1054
+AS_HELP_STRING(
1055
+  [--enable-silent-rules],
1056
+  [less verbose build output (undo: "make V=1")])
1057
+AS_HELP_STRING(
1058
+  [--disable-silent-rules],
1059
+  [verbose build output (undo: "make V=0")])dnl
1060
+])
1061
+case $enable_silent_rules in @%:@ (((
1062
+  yes) AM_DEFAULT_VERBOSITY=0;;
1063
+   no) AM_DEFAULT_VERBOSITY=1;;
1064
+    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1046 1065
 esac
1047 1066
 dnl
1048
-dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1067
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1049 1068
 dnl do not support nested variable expansions.
1050 1069
 dnl See automake bug#9928 and bug#10237.
1051 1070
 am_make=${MAKE-make}
... ...
@@ -1063,7 +1130,7 @@ else
1063 1063
   am_cv_make_support_nested_variables=no
1064 1064
 fi])
1065 1065
 if test $am_cv_make_support_nested_variables = yes; then
1066
-  dnl Using `$V' instead of `$(V)' breaks IRIX make.
1066
+  dnl Using '$V' instead of '$(V)' breaks IRIX make.
1067 1067
   AM_V='$(V)'
1068 1068
   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1069 1069
 else
... ...
@@ -1080,44 +1147,40 @@ AC_SUBST([AM_BACKSLASH])dnl
1080 1080
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1081 1081
 ])
1082 1082
 
1083
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1083
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1084 1084
 #
1085 1085
 # This file is free software; the Free Software Foundation
1086 1086
 # gives unlimited permission to copy and/or distribute it,
1087 1087
 # with or without modifications, as long as this notice is preserved.
1088 1088
 
1089
-# serial 1
1090
-
1091 1089
 # AM_PROG_INSTALL_STRIP
1092 1090
 # ---------------------
1093
-# One issue with vendor `install' (even GNU) is that you can't
1091
+# One issue with vendor 'install' (even GNU) is that you can't
1094 1092
 # specify the program used to strip binaries.  This is especially
1095 1093
 # annoying in cross-compiling environments, where the build's strip
1096 1094
 # is unlikely to handle the host's binaries.
1097 1095
 # Fortunately install-sh will honor a STRIPPROG variable, so we
1098
-# always use install-sh in `make install-strip', and initialize
1096
+# always use install-sh in "make install-strip", and initialize
1099 1097
 # STRIPPROG with the value of the STRIP variable (set by the user).
1100 1098
 AC_DEFUN([AM_PROG_INSTALL_STRIP],
1101 1099
 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1102
-# Installed binaries are usually stripped using `strip' when the user
1103
-# run `make install-strip'.  However `strip' might not be the right
1100
+# Installed binaries are usually stripped using 'strip' when the user
1101
+# run "make install-strip".  However 'strip' might not be the right
1104 1102
 # tool to use in cross-compilation environments, therefore Automake
1105
-# will honor the `STRIP' environment variable to overrule this program.
1106
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1103
+# will honor the 'STRIP' environment variable to overrule this program.
1104
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1107 1105
 if test "$cross_compiling" != no; then
1108 1106
   AC_CHECK_TOOL([STRIP], [strip], :)
1109 1107
 fi
1110 1108
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1111 1109
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1112 1110
 
1113
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1111
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
1114 1112
 #
1115 1113
 # This file is free software; the Free Software Foundation
1116 1114
 # gives unlimited permission to copy and/or distribute it,
1117 1115
 # with or without modifications, as long as this notice is preserved.
1118 1116
 
1119
-# serial 3
1120
-
1121 1117
 # _AM_SUBST_NOTMAKE(VARIABLE)
1122 1118
 # ---------------------------
1123 1119
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
... ...
@@ -1131,18 +1194,16 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1131 1131
 
1132 1132
 # Check how to create a tarball.                            -*- Autoconf -*-
1133 1133
 
1134
-# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1134
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1135 1135
 #
1136 1136
 # This file is free software; the Free Software Foundation
1137 1137
 # gives unlimited permission to copy and/or distribute it,
1138 1138
 # with or without modifications, as long as this notice is preserved.
1139 1139
 
1140
-# serial 2
1141
-
1142 1140
 # _AM_PROG_TAR(FORMAT)
1143 1141
 # --------------------
1144 1142
 # Check how to create a tarball in format FORMAT.
1145
-# FORMAT should be one of `v7', `ustar', or `pax'.
1143
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1146 1144
 #
1147 1145
 # Substitute a variable $(am__tar) that is a command
1148 1146
 # writing to stdout a FORMAT-tarball containing the directory
... ...
@@ -1152,76 +1213,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1152 1152
 # Substitute a variable $(am__untar) that extract such
1153 1153
 # a tarball read from stdin.
1154 1154
 #     $(am__untar) < result.tar
1155
+#
1155 1156
 AC_DEFUN([_AM_PROG_TAR],
1156 1157
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
1157 1158
 # in the wild :-(  We should find a proper way to deprecate it ...
1158 1159
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1159
-m4_if([$1], [v7],
1160
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1161
-     [m4_case([$1], [ustar],, [pax],,
1162
-              [m4_fatal([Unknown tar format])])
1163
-AC_MSG_CHECKING([how to create a $1 tar archive])
1164
-# Loop over all known methods to create a tar archive until one works.
1160
+
1161
+# We'll loop over all known methods to create a tar archive until one works.
1165 1162
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1166
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1167
-# Do not fold the above two line into one, because Tru64 sh and
1168
-# Solaris sh will not grok spaces in the rhs of `-'.
1169
-for _am_tool in $_am_tools
1170
-do
1171
-  case $_am_tool in
1172
-  gnutar)
1173
-    for _am_tar in tar gnutar gtar;
1174
-    do
1175
-      AM_RUN_LOG([$_am_tar --version]) && break
1176
-    done
1177
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1178
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1179
-    am__untar="$_am_tar -xf -"
1180
-    ;;
1181
-  plaintar)
1182
-    # Must skip GNU tar: if it does not support --format= it doesn't create
1183
-    # ustar tarball either.
1184
-    (tar --version) >/dev/null 2>&1 && continue
1185
-    am__tar='tar chf - "$$tardir"'
1186
-    am__tar_='tar chf - "$tardir"'
1187
-    am__untar='tar xf -'
1188
-    ;;
1189
-  pax)
1190
-    am__tar='pax -L -x $1 -w "$$tardir"'
1191
-    am__tar_='pax -L -x $1 -w "$tardir"'
1192
-    am__untar='pax -r'
1193
-    ;;
1194
-  cpio)
1195
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1196
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1197
-    am__untar='cpio -i -H $1 -d'
1198
-    ;;
1199
-  none)
1200
-    am__tar=false
1201
-    am__tar_=false
1202
-    am__untar=false
1203
-    ;;
1204
-  esac
1205 1163
 
1206
-  # If the value was cached, stop now.  We just wanted to have am__tar
1207
-  # and am__untar set.
1208
-  test -n "${am_cv_prog_tar_$1}" && break
1164
+m4_if([$1], [v7],
1165
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1166
+
1167
+  [m4_case([$1],
1168
+    [ustar],
1169
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1170
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1171
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1172
+      # and bug#13588).
1173
+      am_max_uid=2097151 # 2^21 - 1
1174
+      am_max_gid=$am_max_uid
1175
+      # The $UID and $GID variables are not portable, so we need to resort
1176
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1177
+      # below are definitely unexpected, so allow the users to see them
1178
+      # (that is, avoid stderr redirection).
1179
+      am_uid=`id -u || echo unknown`
1180
+      am_gid=`id -g || echo unknown`
1181
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1182
+      if test $am_uid -le $am_max_uid; then
1183
+         AC_MSG_RESULT([yes])
1184
+      else
1185
+         AC_MSG_RESULT([no])
1186
+         _am_tools=none
1187
+      fi
1188
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1189
+      if test $am_gid -le $am_max_gid; then
1190
+         AC_MSG_RESULT([yes])
1191
+      else
1192
+        AC_MSG_RESULT([no])
1193
+        _am_tools=none
1194
+      fi],
1195
+
1196
+  [pax],
1197
+    [],
1198
+
1199
+  [m4_fatal([Unknown tar format])])
1200
+
1201
+  AC_MSG_CHECKING([how to create a $1 tar archive])
1202
+
1203
+  # Go ahead even if we have the value already cached.  We do so because we
1204
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
1205
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1206
+
1207
+  for _am_tool in $_am_tools; do
1208
+    case $_am_tool in
1209
+    gnutar)
1210
+      for _am_tar in tar gnutar gtar; do
1211
+        AM_RUN_LOG([$_am_tar --version]) && break
1212
+      done
1213
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1214
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1215
+      am__untar="$_am_tar -xf -"
1216
+      ;;
1217
+    plaintar)
1218
+      # Must skip GNU tar: if it does not support --format= it doesn't create
1219
+      # ustar tarball either.
1220
+      (tar --version) >/dev/null 2>&1 && continue
1221
+      am__tar='tar chf - "$$tardir"'
1222
+      am__tar_='tar chf - "$tardir"'
1223
+      am__untar='tar xf -'
1224
+      ;;
1225
+    pax)
1226
+      am__tar='pax -L -x $1 -w "$$tardir"'
1227
+      am__tar_='pax -L -x $1 -w "$tardir"'
1228
+      am__untar='pax -r'
1229
+      ;;
1230
+    cpio)
1231
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1232
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1233
+      am__untar='cpio -i -H $1 -d'
1234
+      ;;
1235
+    none)
1236
+      am__tar=false
1237
+      am__tar_=false
1238
+      am__untar=false
1239
+      ;;
1240
+    esac
1209 1241
 
1210
-  # tar/untar a dummy directory, and stop if the command works
1211
-  rm -rf conftest.dir
1212
-  mkdir conftest.dir
1213
-  echo GrepMe > conftest.dir/file
1214
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1242
+    # If the value was cached, stop now.  We just wanted to have am__tar
1243
+    # and am__untar set.
1244
+    test -n "${am_cv_prog_tar_$1}" && break
1245
+
1246
+    # tar/untar a dummy directory, and stop if the command works.
1247
+    rm -rf conftest.dir
1248
+    mkdir conftest.dir
1249
+    echo GrepMe > conftest.dir/file
1250
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1251
+    rm -rf conftest.dir
1252
+    if test -s conftest.tar; then
1253
+      AM_RUN_LOG([$am__untar <conftest.tar])
1254
+      AM_RUN_LOG([cat conftest.dir/file])
1255
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1256
+    fi
1257
+  done
1215 1258
   rm -rf conftest.dir
1216
-  if test -s conftest.tar; then
1217
-    AM_RUN_LOG([$am__untar <conftest.tar])
1218
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1219
-  fi
1220
-done
1221
-rm -rf conftest.dir
1222 1259
 
1223
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1224
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1260
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1261
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1262
+
1225 1263
 AC_SUBST([am__tar])
1226 1264
 AC_SUBST([am__untar])
1227 1265
 ]) # _AM_PROG_TAR
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
51 55
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
77
+    esac; \
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -73,7 +100,8 @@ target_triplet = @target@
73 73
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@sbin_PROGRAMS =  \
74 74
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@	clamav-milter$(EXEEXT)
75 75
 subdir = clamav-milter
76
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
76
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
77
+	$(top_srcdir)/config/depcomp
77 78
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 79
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
79 80
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -181,6 +209,19 @@ clamav_milter_LDADD = $(LDADD)
181 181
 AM_V_lt = $(am__v_lt_@AM_V@)
182 182
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
183 183
 am__v_lt_0 = --silent
184
+am__v_lt_1 = 
185
+AM_V_P = $(am__v_P_@AM_V@)
186
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
187
+am__v_P_0 = false
188
+am__v_P_1 = :
189
+AM_V_GEN = $(am__v_GEN_@AM_V@)
190
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
191
+am__v_GEN_0 = @echo "  GEN     " $@;
192
+am__v_GEN_1 = 
193
+AM_V_at = $(am__v_at_@AM_V@)
194
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
195
+am__v_at_0 = @
196
+am__v_at_1 = 
184 197
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
185 198
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
186 199
 am__depfiles_maybe = depfiles
... ...
@@ -193,20 +234,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
193 193
 	$(AM_CFLAGS) $(CFLAGS)
194 194
 AM_V_CC = $(am__v_CC_@AM_V@)
195 195
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
196
-am__v_CC_0 = @echo "  CC    " $@;
197
-AM_V_at = $(am__v_at_@AM_V@)
198
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
199
-am__v_at_0 = @
196
+am__v_CC_0 = @echo "  CC      " $@;
197
+am__v_CC_1 = 
200 198
 CCLD = $(CC)
201 199
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
202 200
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
203 201
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
204 202
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
205 203
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
206
-am__v_CCLD_0 = @echo "  CCLD  " $@;
207
-AM_V_GEN = $(am__v_GEN_@AM_V@)
208
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
209
-am__v_GEN_0 = @echo "  GEN   " $@;
204
+am__v_CCLD_0 = @echo "  CCLD    " $@;
205
+am__v_CCLD_1 = 
210 206
 SOURCES = $(clamav_milter_SOURCES)
211 207
 DIST_SOURCES = $(am__clamav_milter_SOURCES_DIST)
212 208
 am__can_run_installinfo = \
... ...
@@ -244,6 +281,23 @@ am__uninstall_files_from_dir = { \
244 244
 man8dir = $(mandir)/man8
245 245
 NROFF = nroff
246 246
 MANS = $(man_MANS)
247
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
248
+# Read a list of newline-separated strings from the standard input,
249
+# and print each of them once, without duplicates.  Input order is
250
+# *not* preserved.
251
+am__uniquify_input = $(AWK) '\
252
+  BEGIN { nonempty = 0; } \
253
+  { items[$$0] = 1; nonempty = 1; } \
254
+  END { if (nonempty) { for (i in items) print i; }; } \
255
+'
256
+# Make sure the list of sources is unique.  This is necessary because,
257
+# e.g., the same source file might be shared among _SOURCES variables
258
+# for different programs/libraries.
259
+am__define_uniq_tagged_files = \
260
+  list='$(am__tagged_files)'; \
261
+  unique=`for i in $$list; do \
262
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
263
+  done | $(am__uniquify_input)`
247 264
 ETAGS = etags
248 265
 CTAGS = ctags
249 266
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -534,10 +588,12 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
534 534
 	fi; \
535 535
 	for p in $$list; do echo "$$p $$p"; done | \
536 536
 	sed 's/$(EXEEXT)$$//' | \
537
-	while read p p1; do if test -f $$p || test -f $$p1; \
538
-	  then echo "$$p"; echo "$$p"; else :; fi; \
537
+	while read p p1; do if test -f $$p \
538
+	 || test -f $$p1 \
539
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
539 540
 	done | \
540
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
541
+	sed -e 'p;s,.*/,,;n;h' \
542
+	    -e 's|.*|.|' \
541 543
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
542 544
 	sed 'N;N;N;s,\n, ,g' | \
543 545
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -558,7 +614,8 @@ uninstall-sbinPROGRAMS:
558 558
 	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
559 559
 	files=`for p in $$list; do echo "$$p"; done | \
560 560
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
561
-	      -e 's/$$/$(EXEEXT)/' `; \
561
+	      -e 's/$$/$(EXEEXT)/' \
562
+	`; \
562 563
 	test -n "$$list" || exit 0; \
563 564
 	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
564 565
 	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
... ...
@@ -587,6 +644,7 @@ installcheck-sbinPROGRAMS: $(sbin_PROGRAMS)
587 587
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
588 588
 	  done; \
589 589
 	done; rm -f c$${pid}_.???; exit $$bad
590
+
590 591
 clamav-milter$(EXEEXT): $(clamav_milter_OBJECTS) $(clamav_milter_DEPENDENCIES) $(EXTRA_clamav_milter_DEPENDENCIES) 
591 592
 	@rm -f clamav-milter$(EXEEXT)
592 593
 	$(AM_V_CCLD)$(LINK) $(clamav_milter_OBJECTS) $(clamav_milter_LDADD) $(LIBS)
... ...
@@ -612,14 +670,14 @@ distclean-compile:
612 612
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
613 613
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
614 614
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
615
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
615
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
616 616
 
617 617
 .c.obj:
618 618
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
619 619
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
620 620
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
621 621
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
622
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
622
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
623 623
 
624 624
 .c.lo:
625 625
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -733,26 +791,15 @@ uninstall-man8:
733 733
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
734 734
 	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
735 735
 
736
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
737
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
738
-	unique=`for i in $$list; do \
739
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
740
-	  done | \
741
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
742
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
743
-	mkid -fID $$unique
744
-tags: TAGS
745
-
746
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
747
-		$(TAGS_FILES) $(LISP)
736
+ID: $(am__tagged_files)
737
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
738
+tags: tags-am
739
+TAGS: tags
740
+
741
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
748 742
 	set x; \
749 743
 	here=`pwd`; \
750
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
751
-	unique=`for i in $$list; do \
752
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
753
-	  done | \
754
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
755
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
744
+	$(am__define_uniq_tagged_files); \
756 745
 	shift; \
757 746
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
758 747
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -764,15 +811,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
764 764
 	      $$unique; \
765 765
 	  fi; \
766 766
 	fi
767
-ctags: CTAGS
768
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
769
-		$(TAGS_FILES) $(LISP)
770
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
771
-	unique=`for i in $$list; do \
772
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
773
-	  done | \
774
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
775
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
767
+ctags: ctags-am
768
+
769
+CTAGS: ctags
770
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
771
+	$(am__define_uniq_tagged_files); \
776 772
 	test -z "$(CTAGS_ARGS)$$unique" \
777 773
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
778 774
 	     $$unique
... ...
@@ -781,24 +824,26 @@ GTAGS:
781 781
 	here=`$(am__cd) $(top_builddir) && pwd` \
782 782
 	  && $(am__cd) $(top_srcdir) \
783 783
 	  && gtags -i $(GTAGS_ARGS) "$$here"
784
+cscopelist: cscopelist-am
785
+
786
+cscopelist-am: $(am__tagged_files)
787
+	list='$(am__tagged_files)'; \
788
+	case "$(srcdir)" in \
789
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
790
+	  *) sdir=$(subdir)/$(srcdir) ;; \
791
+	esac; \
792
+	for i in $$list; do \
793
+	  if test -f "$$i"; then \
794
+	    echo "$(subdir)/$$i"; \
795
+	  else \
796
+	    echo "$$sdir/$$i"; \
797
+	  fi; \
798
+	done >> $(top_builddir)/cscope.files
784 799
 
785 800
 distclean-tags:
786 801
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
787 802
 
788 803
 distdir: $(DISTFILES)
789
-	@list='$(MANS)'; if test -n "$$list"; then \
790
-	  list=`for p in $$list; do \
791
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
792
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
793
-	  if test -n "$$list" && \
794
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
795
-	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
796
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
797
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
798
-	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
799
-	    exit 1; \
800
-	  else :; fi; \
801
-	else :; fi
802 804
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
803 805
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
804 806
 	list='$(DISTFILES)'; \
... ...
@@ -941,19 +986,20 @@ uninstall-man: uninstall-man8
941 941
 
942 942
 .MAKE: install-am install-strip
943 943
 
944
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
945
-	clean-libtool clean-sbinPROGRAMS ctags distclean \
946
-	distclean-compile distclean-generic distclean-libtool \
947
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
948
-	install install-am install-data install-data-am install-dvi \
949
-	install-dvi-am install-exec install-exec-am install-html \
950
-	install-html-am install-info install-info-am install-man \
951
-	install-man8 install-pdf install-pdf-am install-ps \
952
-	install-ps-am install-sbinPROGRAMS install-strip installcheck \
953
-	installcheck-am installcheck-sbinPROGRAMS installdirs \
954
-	maintainer-clean maintainer-clean-generic mostlyclean \
955
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
956
-	pdf pdf-am ps ps-am tags uninstall uninstall-am uninstall-man \
944
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
945
+	clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
946
+	distclean distclean-compile distclean-generic \
947
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
948
+	html-am info info-am install install-am install-data \
949
+	install-data-am install-dvi install-dvi-am install-exec \
950
+	install-exec-am install-html install-html-am install-info \
951
+	install-info-am install-man install-man8 install-pdf \
952
+	install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
953
+	install-strip installcheck installcheck-am \
954
+	installcheck-sbinPROGRAMS installdirs maintainer-clean \
955
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
956
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
957
+	tags tags-am uninstall uninstall-am uninstall-man \
957 958
 	uninstall-man8 uninstall-sbinPROGRAMS
958 959
 
959 960
 
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -16,23 +15,51 @@
16 16
 @SET_MAKE@
17 17
 
18 18
 VPATH = @srcdir@
19
-am__make_dryrun = \
20
-  { \
21
-    am__dry=no; \
19
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
20
+am__make_running_with_option = \
21
+  case $${target_option-} in \
22
+      ?) ;; \
23
+      *) echo "am__make_running_with_option: internal error: invalid" \
24
+              "target option '$${target_option-}' specified" >&2; \
25
+         exit 1;; \
26
+  esac; \
27
+  has_opt=no; \
28
+  sane_makeflags=$$MAKEFLAGS; \
29
+  if $(am__is_gnu_make); then \
30
+    sane_makeflags=$$MFLAGS; \
31
+  else \
22 32
     case $$MAKEFLAGS in \
23 33
       *\\[\ \	]*) \
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;; \
34
+        bs=\\; \
35
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
36
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
37
+    esac; \
38
+  fi; \
39
+  skip_next=no; \
40
+  strip_trailopt () \
41
+  { \
42
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
43
+  }; \
44
+  for flg in $$sane_makeflags; do \
45
+    test $$skip_next = yes && { skip_next=no; continue; }; \
46
+    case $$flg in \
47
+      *=*|--*) continue;; \
48
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
49
+      -*I?*) strip_trailopt 'I';; \
50
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
51
+      -*O?*) strip_trailopt 'O';; \
52
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
53
+      -*l?*) strip_trailopt 'l';; \
54
+      -[dEDm]) skip_next=yes;; \
55
+      -[JT]) skip_next=yes;; \
56
+    esac; \
57
+    case $$flg in \
58
+      *$$target_option*) has_opt=yes; break;; \
33 59
     esac; \
34
-    test $$am__dry = yes; \
35
-  }
60
+  done; \
61
+  test $$has_opt = yes
62
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
63
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
36 64
 pkgdatadir = $(datadir)/@PACKAGE@
37 65
 pkgincludedir = $(includedir)/@PACKAGE@
38 66
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -54,7 +81,8 @@ host_triplet = @host@
54 54
 target_triplet = @target@
55 55
 bin_PROGRAMS = clambc$(EXEEXT)
56 56
 subdir = clambc
57
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
58
+	$(top_srcdir)/config/depcomp
58 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
60 61
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -147,6 +175,19 @@ clambc_LDADD = $(LDADD)
147 147
 AM_V_lt = $(am__v_lt_@AM_V@)
148 148
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
149 149
 am__v_lt_0 = --silent
150
+am__v_lt_1 = 
151
+AM_V_P = $(am__v_P_@AM_V@)
152
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
153
+am__v_P_0 = false
154
+am__v_P_1 = :
155
+AM_V_GEN = $(am__v_GEN_@AM_V@)
156
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
157
+am__v_GEN_0 = @echo "  GEN     " $@;
158
+am__v_GEN_1 = 
159
+AM_V_at = $(am__v_at_@AM_V@)
160
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
161
+am__v_at_0 = @
162
+am__v_at_1 = 
150 163
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
151 164
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
152 165
 am__depfiles_maybe = depfiles
... ...
@@ -159,20 +200,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
159 159
 	$(AM_CFLAGS) $(CFLAGS)
160 160
 AM_V_CC = $(am__v_CC_@AM_V@)
161 161
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
162
-am__v_CC_0 = @echo "  CC    " $@;
163
-AM_V_at = $(am__v_at_@AM_V@)
164
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
165
-am__v_at_0 = @
162
+am__v_CC_0 = @echo "  CC      " $@;
163
+am__v_CC_1 = 
166 164
 CCLD = $(CC)
167 165
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
168 166
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
169 167
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
170 168
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
171 169
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
172
-am__v_CCLD_0 = @echo "  CCLD  " $@;
173
-AM_V_GEN = $(am__v_GEN_@AM_V@)
174
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
175
-am__v_GEN_0 = @echo "  GEN   " $@;
170
+am__v_CCLD_0 = @echo "  CCLD    " $@;
171
+am__v_CCLD_1 = 
176 172
 SOURCES = $(clambc_SOURCES)
177 173
 DIST_SOURCES = $(clambc_SOURCES)
178 174
 am__can_run_installinfo = \
... ...
@@ -180,6 +217,23 @@ am__can_run_installinfo = \
180 180
     n|no|NO) false;; \
181 181
     *) (install-info --version) >/dev/null 2>&1;; \
182 182
   esac
183
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
184
+# Read a list of newline-separated strings from the standard input,
185
+# and print each of them once, without duplicates.  Input order is
186
+# *not* preserved.
187
+am__uniquify_input = $(AWK) '\
188
+  BEGIN { nonempty = 0; } \
189
+  { items[$$0] = 1; nonempty = 1; } \
190
+  END { if (nonempty) { for (i in items) print i; }; } \
191
+'
192
+# Make sure the list of sources is unique.  This is necessary because,
193
+# e.g., the same source file might be shared among _SOURCES variables
194
+# for different programs/libraries.
195
+am__define_uniq_tagged_files = \
196
+  list='$(am__tagged_files)'; \
197
+  unique=`for i in $$list; do \
198
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
199
+  done | $(am__uniquify_input)`
183 200
 ETAGS = etags
184 201
 CTAGS = ctags
185 202
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -459,10 +513,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
459 459
 	fi; \
460 460
 	for p in $$list; do echo "$$p $$p"; done | \
461 461
 	sed 's/$(EXEEXT)$$//' | \
462
-	while read p p1; do if test -f $$p || test -f $$p1; \
463
-	  then echo "$$p"; echo "$$p"; else :; fi; \
462
+	while read p p1; do if test -f $$p \
463
+	 || test -f $$p1 \
464
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
464 465
 	done | \
465
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
466
+	sed -e 'p;s,.*/,,;n;h' \
467
+	    -e 's|.*|.|' \
466 468
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
467 469
 	sed 'N;N;N;s,\n, ,g' | \
468 470
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -483,7 +539,8 @@ uninstall-binPROGRAMS:
483 483
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
484 484
 	files=`for p in $$list; do echo "$$p"; done | \
485 485
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
486
-	      -e 's/$$/$(EXEEXT)/' `; \
486
+	      -e 's/$$/$(EXEEXT)/' \
487
+	`; \
487 488
 	test -n "$$list" || exit 0; \
488 489
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
489 490
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -512,6 +569,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
512 512
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
513 513
 	  done; \
514 514
 	done; rm -f c$${pid}_.???; exit $$bad
515
+
515 516
 clambc$(EXEEXT): $(clambc_OBJECTS) $(clambc_DEPENDENCIES) $(EXTRA_clambc_DEPENDENCIES) 
516 517
 	@rm -f clambc$(EXEEXT)
517 518
 	$(AM_V_CCLD)$(LINK) $(clambc_OBJECTS) $(clambc_LDADD) $(LIBS)
... ...
@@ -532,14 +590,14 @@ distclean-compile:
532 532
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
533 533
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
534 534
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
535
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
536 536
 
537 537
 .c.obj:
538 538
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
539 539
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
540 540
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
541 541
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
542
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
542
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
543 543
 
544 544
 .c.lo:
545 545
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -596,26 +654,15 @@ mostlyclean-libtool:
596 596
 clean-libtool:
597 597
 	-rm -rf .libs _libs
598 598
 
599
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
600
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
601
-	unique=`for i in $$list; do \
602
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
603
-	  done | \
604
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
605
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
606
-	mkid -fID $$unique
607
-tags: TAGS
608
-
609
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
610
-		$(TAGS_FILES) $(LISP)
599
+ID: $(am__tagged_files)
600
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
601
+tags: tags-am
602
+TAGS: tags
603
+
604
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
611 605
 	set x; \
612 606
 	here=`pwd`; \
613
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
614
-	unique=`for i in $$list; do \
615
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
616
-	  done | \
617
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
618
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
607
+	$(am__define_uniq_tagged_files); \
619 608
 	shift; \
620 609
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
621 610
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -627,15 +674,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
627 627
 	      $$unique; \
628 628
 	  fi; \
629 629
 	fi
630
-ctags: CTAGS
631
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
632
-		$(TAGS_FILES) $(LISP)
633
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
634
-	unique=`for i in $$list; do \
635
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
636
-	  done | \
637
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
638
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
630
+ctags: ctags-am
631
+
632
+CTAGS: ctags
633
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
634
+	$(am__define_uniq_tagged_files); \
639 635
 	test -z "$(CTAGS_ARGS)$$unique" \
640 636
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
641 637
 	     $$unique
... ...
@@ -644,6 +687,21 @@ GTAGS:
644 644
 	here=`$(am__cd) $(top_builddir) && pwd` \
645 645
 	  && $(am__cd) $(top_srcdir) \
646 646
 	  && gtags -i $(GTAGS_ARGS) "$$here"
647
+cscopelist: cscopelist-am
648
+
649
+cscopelist-am: $(am__tagged_files)
650
+	list='$(am__tagged_files)'; \
651
+	case "$(srcdir)" in \
652
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
653
+	  *) sdir=$(subdir)/$(srcdir) ;; \
654
+	esac; \
655
+	for i in $$list; do \
656
+	  if test -f "$$i"; then \
657
+	    echo "$(subdir)/$$i"; \
658
+	  else \
659
+	    echo "$$sdir/$$i"; \
660
+	  fi; \
661
+	done >> $(top_builddir)/cscope.files
647 662
 
648 663
 distclean-tags:
649 664
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -788,19 +846,20 @@ uninstall-am: uninstall-binPROGRAMS
788 788
 
789 789
 .MAKE: install-am install-strip
790 790
 
791
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
792
-	clean-generic clean-libtool ctags distclean distclean-compile \
793
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
794
-	dvi-am html html-am info info-am install install-am \
795
-	install-binPROGRAMS install-data install-data-am install-dvi \
796
-	install-dvi-am install-exec install-exec-am install-html \
797
-	install-html-am install-info install-info-am install-man \
798
-	install-pdf install-pdf-am install-ps install-ps-am \
799
-	install-strip installcheck installcheck-am \
800
-	installcheck-binPROGRAMS installdirs maintainer-clean \
801
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
802
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
803
-	tags uninstall uninstall-am uninstall-binPROGRAMS
791
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
792
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
793
+	ctags ctags-am distclean distclean-compile distclean-generic \
794
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
795
+	html-am info info-am install install-am install-binPROGRAMS \
796
+	install-data install-data-am install-dvi install-dvi-am \
797
+	install-exec install-exec-am install-html install-html-am \
798
+	install-info install-info-am install-man install-pdf \
799
+	install-pdf-am install-ps install-ps-am install-strip \
800
+	installcheck installcheck-am installcheck-binPROGRAMS \
801
+	installdirs maintainer-clean maintainer-clean-generic \
802
+	mostlyclean mostlyclean-compile mostlyclean-generic \
803
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
804
+	uninstall-am uninstall-binPROGRAMS
804 805
 
805 806
 
806 807
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +99,8 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 bin_PROGRAMS = clamconf$(EXEEXT)
74 74
 subdir = clamconf
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76
+	$(top_srcdir)/config/depcomp
76 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
78 79
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -165,6 +193,19 @@ clamconf_LDADD = $(LDADD)
165 165
 AM_V_lt = $(am__v_lt_@AM_V@)
166 166
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
167 167
 am__v_lt_0 = --silent
168
+am__v_lt_1 = 
169
+AM_V_P = $(am__v_P_@AM_V@)
170
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
171
+am__v_P_0 = false
172
+am__v_P_1 = :
173
+AM_V_GEN = $(am__v_GEN_@AM_V@)
174
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
175
+am__v_GEN_0 = @echo "  GEN     " $@;
176
+am__v_GEN_1 = 
177
+AM_V_at = $(am__v_at_@AM_V@)
178
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
179
+am__v_at_0 = @
180
+am__v_at_1 = 
168 181
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
169 182
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
170 183
 am__depfiles_maybe = depfiles
... ...
@@ -177,20 +218,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
177 177
 	$(AM_CFLAGS) $(CFLAGS)
178 178
 AM_V_CC = $(am__v_CC_@AM_V@)
179 179
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
180
-am__v_CC_0 = @echo "  CC    " $@;
181
-AM_V_at = $(am__v_at_@AM_V@)
182
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
183
-am__v_at_0 = @
180
+am__v_CC_0 = @echo "  CC      " $@;
181
+am__v_CC_1 = 
184 182
 CCLD = $(CC)
185 183
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
186 184
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
187 185
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
188 186
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
189 187
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
190
-am__v_CCLD_0 = @echo "  CCLD  " $@;
191
-AM_V_GEN = $(am__v_GEN_@AM_V@)
192
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
193
-am__v_GEN_0 = @echo "  GEN   " $@;
188
+am__v_CCLD_0 = @echo "  CCLD    " $@;
189
+am__v_CCLD_1 = 
194 190
 SOURCES = $(clamconf_SOURCES)
195 191
 DIST_SOURCES = $(clamconf_SOURCES)
196 192
 am__can_run_installinfo = \
... ...
@@ -198,6 +235,23 @@ am__can_run_installinfo = \
198 198
     n|no|NO) false;; \
199 199
     *) (install-info --version) >/dev/null 2>&1;; \
200 200
   esac
201
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
202
+# Read a list of newline-separated strings from the standard input,
203
+# and print each of them once, without duplicates.  Input order is
204
+# *not* preserved.
205
+am__uniquify_input = $(AWK) '\
206
+  BEGIN { nonempty = 0; } \
207
+  { items[$$0] = 1; nonempty = 1; } \
208
+  END { if (nonempty) { for (i in items) print i; }; } \
209
+'
210
+# Make sure the list of sources is unique.  This is necessary because,
211
+# e.g., the same source file might be shared among _SOURCES variables
212
+# for different programs/libraries.
213
+am__define_uniq_tagged_files = \
214
+  list='$(am__tagged_files)'; \
215
+  unique=`for i in $$list; do \
216
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
217
+  done | $(am__uniquify_input)`
201 218
 ETAGS = etags
202 219
 CTAGS = ctags
203 220
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -482,10 +536,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
482 482
 	fi; \
483 483
 	for p in $$list; do echo "$$p $$p"; done | \
484 484
 	sed 's/$(EXEEXT)$$//' | \
485
-	while read p p1; do if test -f $$p || test -f $$p1; \
486
-	  then echo "$$p"; echo "$$p"; else :; fi; \
485
+	while read p p1; do if test -f $$p \
486
+	 || test -f $$p1 \
487
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
487 488
 	done | \
488
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
489
+	sed -e 'p;s,.*/,,;n;h' \
490
+	    -e 's|.*|.|' \
489 491
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
490 492
 	sed 'N;N;N;s,\n, ,g' | \
491 493
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -506,7 +562,8 @@ uninstall-binPROGRAMS:
506 506
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
507 507
 	files=`for p in $$list; do echo "$$p"; done | \
508 508
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
509
-	      -e 's/$$/$(EXEEXT)/' `; \
509
+	      -e 's/$$/$(EXEEXT)/' \
510
+	`; \
510 511
 	test -n "$$list" || exit 0; \
511 512
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
512 513
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -535,6 +592,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
535 535
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
536 536
 	  done; \
537 537
 	done; rm -f c$${pid}_.???; exit $$bad
538
+
538 539
 clamconf$(EXEEXT): $(clamconf_OBJECTS) $(clamconf_DEPENDENCIES) $(EXTRA_clamconf_DEPENDENCIES) 
539 540
 	@rm -f clamconf$(EXEEXT)
540 541
 	$(AM_V_CCLD)$(LINK) $(clamconf_OBJECTS) $(clamconf_LDADD) $(LIBS)
... ...
@@ -555,14 +613,14 @@ distclean-compile:
555 555
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
556 556
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
557 557
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
558
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
558
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
559 559
 
560 560
 .c.obj:
561 561
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
562 562
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
563 563
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
564 564
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
565
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
565
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
566 566
 
567 567
 .c.lo:
568 568
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -619,26 +677,15 @@ mostlyclean-libtool:
619 619
 clean-libtool:
620 620
 	-rm -rf .libs _libs
621 621
 
622
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
623
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
624
-	unique=`for i in $$list; do \
625
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
626
-	  done | \
627
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
628
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
629
-	mkid -fID $$unique
630
-tags: TAGS
631
-
632
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
633
-		$(TAGS_FILES) $(LISP)
622
+ID: $(am__tagged_files)
623
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
624
+tags: tags-am
625
+TAGS: tags
626
+
627
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
634 628
 	set x; \
635 629
 	here=`pwd`; \
636
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
637
-	unique=`for i in $$list; do \
638
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
639
-	  done | \
640
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
641
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
630
+	$(am__define_uniq_tagged_files); \
642 631
 	shift; \
643 632
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
644 633
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -650,15 +697,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
650 650
 	      $$unique; \
651 651
 	  fi; \
652 652
 	fi
653
-ctags: CTAGS
654
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
655
-		$(TAGS_FILES) $(LISP)
656
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
657
-	unique=`for i in $$list; do \
658
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
659
-	  done | \
660
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
661
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
653
+ctags: ctags-am
654
+
655
+CTAGS: ctags
656
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
657
+	$(am__define_uniq_tagged_files); \
662 658
 	test -z "$(CTAGS_ARGS)$$unique" \
663 659
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
664 660
 	     $$unique
... ...
@@ -667,6 +710,21 @@ GTAGS:
667 667
 	here=`$(am__cd) $(top_builddir) && pwd` \
668 668
 	  && $(am__cd) $(top_srcdir) \
669 669
 	  && gtags -i $(GTAGS_ARGS) "$$here"
670
+cscopelist: cscopelist-am
671
+
672
+cscopelist-am: $(am__tagged_files)
673
+	list='$(am__tagged_files)'; \
674
+	case "$(srcdir)" in \
675
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
676
+	  *) sdir=$(subdir)/$(srcdir) ;; \
677
+	esac; \
678
+	for i in $$list; do \
679
+	  if test -f "$$i"; then \
680
+	    echo "$(subdir)/$$i"; \
681
+	  else \
682
+	    echo "$$sdir/$$i"; \
683
+	  fi; \
684
+	done >> $(top_builddir)/cscope.files
670 685
 
671 686
 distclean-tags:
672 687
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -811,19 +869,20 @@ uninstall-am: uninstall-binPROGRAMS
811 811
 
812 812
 .MAKE: install-am install-strip
813 813
 
814
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
815
-	clean-generic clean-libtool ctags distclean distclean-compile \
816
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
817
-	dvi-am html html-am info info-am install install-am \
818
-	install-binPROGRAMS install-data install-data-am install-dvi \
819
-	install-dvi-am install-exec install-exec-am install-html \
820
-	install-html-am install-info install-info-am install-man \
821
-	install-pdf install-pdf-am install-ps install-ps-am \
822
-	install-strip installcheck installcheck-am \
823
-	installcheck-binPROGRAMS installdirs maintainer-clean \
824
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
825
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
826
-	tags uninstall uninstall-am uninstall-binPROGRAMS
814
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
815
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
816
+	ctags ctags-am distclean distclean-compile distclean-generic \
817
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
818
+	html-am info info-am install install-am install-binPROGRAMS \
819
+	install-data install-data-am install-dvi install-dvi-am \
820
+	install-exec install-exec-am install-html install-html-am \
821
+	install-info install-info-am install-man install-pdf \
822
+	install-pdf-am install-ps install-ps-am install-strip \
823
+	installcheck installcheck-am installcheck-binPROGRAMS \
824
+	installdirs maintainer-clean maintainer-clean-generic \
825
+	mostlyclean mostlyclean-compile mostlyclean-generic \
826
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
827
+	uninstall-am uninstall-binPROGRAMS
827 828
 
828 829
 
829 830
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -35,23 +34,51 @@
35 35
 
36 36
 
37 37
 VPATH = @srcdir@
38
-am__make_dryrun = \
39
-  { \
40
-    am__dry=no; \
38
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
39
+am__make_running_with_option = \
40
+  case $${target_option-} in \
41
+      ?) ;; \
42
+      *) echo "am__make_running_with_option: internal error: invalid" \
43
+              "target option '$${target_option-}' specified" >&2; \
44
+         exit 1;; \
45
+  esac; \
46
+  has_opt=no; \
47
+  sane_makeflags=$$MAKEFLAGS; \
48
+  if $(am__is_gnu_make); then \
49
+    sane_makeflags=$$MFLAGS; \
50
+  else \
41 51
     case $$MAKEFLAGS in \
42 52
       *\\[\ \	]*) \
43
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
44
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
45
-      *) \
46
-        for am__flg in $$MAKEFLAGS; do \
47
-          case $$am__flg in \
48
-            *=*|--*) ;; \
49
-            *n*) am__dry=yes; break;; \
50
-          esac; \
51
-        done;; \
53
+        bs=\\; \
54
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
55
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
52 56
     esac; \
53
-    test $$am__dry = yes; \
54
-  }
57
+  fi; \
58
+  skip_next=no; \
59
+  strip_trailopt () \
60
+  { \
61
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62
+  }; \
63
+  for flg in $$sane_makeflags; do \
64
+    test $$skip_next = yes && { skip_next=no; continue; }; \
65
+    case $$flg in \
66
+      *=*|--*) continue;; \
67
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
68
+      -*I?*) strip_trailopt 'I';; \
69
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
70
+      -*O?*) strip_trailopt 'O';; \
71
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
72
+      -*l?*) strip_trailopt 'l';; \
73
+      -[dEDm]) skip_next=yes;; \
74
+      -[JT]) skip_next=yes;; \
75
+    esac; \
76
+    case $$flg in \
77
+      *$$target_option*) has_opt=yes; break;; \
78
+    esac; \
79
+  done; \
80
+  test $$has_opt = yes
81
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
82
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
55 83
 pkgdatadir = $(datadir)/@PACKAGE@
56 84
 pkgincludedir = $(includedir)/@PACKAGE@
57 85
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -74,9 +101,9 @@ target_triplet = @target@
74 74
 @BUILD_CLAMD_TRUE@sbin_PROGRAMS = clamd$(EXEEXT)
75 75
 @BUILD_CLAMD_TRUE@@SYSTEM_LFS_FTS_FALSE@am__append_1 = fts.c
76 76
 subdir = clamd
77
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
77
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
78 78
 	$(srcdir)/clamav-daemon.service.in \
79
-	$(srcdir)/clamav-daemon.socket.in
79
+	$(srcdir)/clamav-daemon.socket.in $(top_srcdir)/config/depcomp
80 80
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
81 81
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
82 82
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -195,6 +222,19 @@ clamd_LDADD = $(LDADD)
195 195
 AM_V_lt = $(am__v_lt_@AM_V@)
196 196
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
197 197
 am__v_lt_0 = --silent
198
+am__v_lt_1 = 
199
+AM_V_P = $(am__v_P_@AM_V@)
200
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
201
+am__v_P_0 = false
202
+am__v_P_1 = :
203
+AM_V_GEN = $(am__v_GEN_@AM_V@)
204
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
205
+am__v_GEN_0 = @echo "  GEN     " $@;
206
+am__v_GEN_1 = 
207
+AM_V_at = $(am__v_at_@AM_V@)
208
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
209
+am__v_at_0 = @
210
+am__v_at_1 = 
198 211
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
199 212
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
200 213
 am__depfiles_maybe = depfiles
... ...
@@ -207,20 +247,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
207 207
 	$(AM_CFLAGS) $(CFLAGS)
208 208
 AM_V_CC = $(am__v_CC_@AM_V@)
209 209
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
210
-am__v_CC_0 = @echo "  CC    " $@;
211
-AM_V_at = $(am__v_at_@AM_V@)
212
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
213
-am__v_at_0 = @
210
+am__v_CC_0 = @echo "  CC      " $@;
211
+am__v_CC_1 = 
214 212
 CCLD = $(CC)
215 213
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
216 214
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
217 215
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
218 216
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
219 217
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
220
-am__v_CCLD_0 = @echo "  CCLD  " $@;
221
-AM_V_GEN = $(am__v_GEN_@AM_V@)
222
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
223
-am__v_GEN_0 = @echo "  GEN   " $@;
218
+am__v_CCLD_0 = @echo "  CCLD    " $@;
219
+am__v_CCLD_1 = 
224 220
 SOURCES = $(clamd_SOURCES)
225 221
 DIST_SOURCES = $(am__clamd_SOURCES_DIST)
226 222
 am__can_run_installinfo = \
... ...
@@ -256,6 +292,23 @@ am__uninstall_files_from_dir = { \
256 256
          $(am__cd) "$$dir" && rm -f $$files; }; \
257 257
   }
258 258
 DATA = $(systemdsystemunit_DATA)
259
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
260
+# Read a list of newline-separated strings from the standard input,
261
+# and print each of them once, without duplicates.  Input order is
262
+# *not* preserved.
263
+am__uniquify_input = $(AWK) '\
264
+  BEGIN { nonempty = 0; } \
265
+  { items[$$0] = 1; nonempty = 1; } \
266
+  END { if (nonempty) { for (i in items) print i; }; } \
267
+'
268
+# Make sure the list of sources is unique.  This is necessary because,
269
+# e.g., the same source file might be shared among _SOURCES variables
270
+# for different programs/libraries.
271
+am__define_uniq_tagged_files = \
272
+  list='$(am__tagged_files)'; \
273
+  unique=`for i in $$list; do \
274
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
275
+  done | $(am__uniquify_input)`
259 276
 ETAGS = etags
260 277
 CTAGS = ctags
261 278
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -554,10 +607,12 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
554 554
 	fi; \
555 555
 	for p in $$list; do echo "$$p $$p"; done | \
556 556
 	sed 's/$(EXEEXT)$$//' | \
557
-	while read p p1; do if test -f $$p || test -f $$p1; \
558
-	  then echo "$$p"; echo "$$p"; else :; fi; \
557
+	while read p p1; do if test -f $$p \
558
+	 || test -f $$p1 \
559
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
559 560
 	done | \
560
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
561
+	sed -e 'p;s,.*/,,;n;h' \
562
+	    -e 's|.*|.|' \
561 563
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
562 564
 	sed 'N;N;N;s,\n, ,g' | \
563 565
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -578,7 +633,8 @@ uninstall-sbinPROGRAMS:
578 578
 	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
579 579
 	files=`for p in $$list; do echo "$$p"; done | \
580 580
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
581
-	      -e 's/$$/$(EXEEXT)/' `; \
581
+	      -e 's/$$/$(EXEEXT)/' \
582
+	`; \
582 583
 	test -n "$$list" || exit 0; \
583 584
 	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
584 585
 	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
... ...
@@ -607,6 +663,7 @@ installcheck-sbinPROGRAMS: $(sbin_PROGRAMS)
607 607
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
608 608
 	  done; \
609 609
 	done; rm -f c$${pid}_.???; exit $$bad
610
+
610 611
 clamd$(EXEEXT): $(clamd_OBJECTS) $(clamd_DEPENDENCIES) $(EXTRA_clamd_DEPENDENCIES) 
611 612
 	@rm -f clamd$(EXEEXT)
612 613
 	$(AM_V_CCLD)$(LINK) $(clamd_OBJECTS) $(clamd_LDADD) $(LIBS)
... ...
@@ -642,14 +699,14 @@ distclean-compile:
642 642
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
643 643
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
644 644
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
645
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
645
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
646 646
 
647 647
 .c.obj:
648 648
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
649 649
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
650 650
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
651 651
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
652
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
652
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
653 653
 
654 654
 .c.lo:
655 655
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -755,26 +812,15 @@ uninstall-systemdsystemunitDATA:
755 755
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
756 756
 	dir='$(DESTDIR)$(systemdsystemunitdir)'; $(am__uninstall_files_from_dir)
757 757
 
758
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
759
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
760
-	unique=`for i in $$list; do \
761
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
762
-	  done | \
763
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
764
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
765
-	mkid -fID $$unique
766
-tags: TAGS
767
-
768
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
769
-		$(TAGS_FILES) $(LISP)
758
+ID: $(am__tagged_files)
759
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
760
+tags: tags-am
761
+TAGS: tags
762
+
763
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
770 764
 	set x; \
771 765
 	here=`pwd`; \
772
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
773
-	unique=`for i in $$list; do \
774
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
775
-	  done | \
776
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
777
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
766
+	$(am__define_uniq_tagged_files); \
778 767
 	shift; \
779 768
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
780 769
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -786,15 +832,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
786 786
 	      $$unique; \
787 787
 	  fi; \
788 788
 	fi
789
-ctags: CTAGS
790
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
791
-		$(TAGS_FILES) $(LISP)
792
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
793
-	unique=`for i in $$list; do \
794
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
795
-	  done | \
796
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
797
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
789
+ctags: ctags-am
790
+
791
+CTAGS: ctags
792
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
793
+	$(am__define_uniq_tagged_files); \
798 794
 	test -z "$(CTAGS_ARGS)$$unique" \
799 795
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
800 796
 	     $$unique
... ...
@@ -803,6 +845,21 @@ GTAGS:
803 803
 	here=`$(am__cd) $(top_builddir) && pwd` \
804 804
 	  && $(am__cd) $(top_srcdir) \
805 805
 	  && gtags -i $(GTAGS_ARGS) "$$here"
806
+cscopelist: cscopelist-am
807
+
808
+cscopelist-am: $(am__tagged_files)
809
+	list='$(am__tagged_files)'; \
810
+	case "$(srcdir)" in \
811
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
812
+	  *) sdir=$(subdir)/$(srcdir) ;; \
813
+	esac; \
814
+	for i in $$list; do \
815
+	  if test -f "$$i"; then \
816
+	    echo "$(subdir)/$$i"; \
817
+	  else \
818
+	    echo "$$sdir/$$i"; \
819
+	  fi; \
820
+	done >> $(top_builddir)/cscope.files
806 821
 
807 822
 distclean-tags:
808 823
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -948,20 +1005,20 @@ uninstall-am: uninstall-sbinPROGRAMS uninstall-systemdsystemunitDATA
948 948
 
949 949
 .MAKE: install-am install-strip
950 950
 
951
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
952
-	clean-libtool clean-sbinPROGRAMS ctags distclean \
953
-	distclean-compile distclean-generic distclean-libtool \
954
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
955
-	install install-am install-data install-data-am install-dvi \
956
-	install-dvi-am install-exec install-exec-am install-html \
957
-	install-html-am install-info install-info-am install-man \
958
-	install-pdf install-pdf-am install-ps install-ps-am \
959
-	install-sbinPROGRAMS install-strip \
951
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
952
+	clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
953
+	distclean distclean-compile distclean-generic \
954
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
955
+	html-am info info-am install install-am install-data \
956
+	install-data-am install-dvi install-dvi-am install-exec \
957
+	install-exec-am install-html install-html-am install-info \
958
+	install-info-am install-man install-pdf install-pdf-am \
959
+	install-ps install-ps-am install-sbinPROGRAMS install-strip \
960 960
 	install-systemdsystemunitDATA installcheck installcheck-am \
961 961
 	installcheck-sbinPROGRAMS installdirs maintainer-clean \
962 962
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
963 963
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
964
-	tags uninstall uninstall-am uninstall-sbinPROGRAMS \
964
+	tags tags-am uninstall uninstall-am uninstall-sbinPROGRAMS \
965 965
 	uninstall-systemdsystemunitDATA
966 966
 
967 967
 
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +99,8 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 @BUILD_CLAMD_TRUE@bin_PROGRAMS = clamdscan$(EXEEXT)
74 74
 subdir = clamdscan
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76
+	$(top_srcdir)/config/depcomp
76 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
78 79
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -176,6 +204,19 @@ clamdscan_LDADD = $(LDADD)
176 176
 AM_V_lt = $(am__v_lt_@AM_V@)
177 177
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
178 178
 am__v_lt_0 = --silent
179
+am__v_lt_1 = 
180
+AM_V_P = $(am__v_P_@AM_V@)
181
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
182
+am__v_P_0 = false
183
+am__v_P_1 = :
184
+AM_V_GEN = $(am__v_GEN_@AM_V@)
185
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
186
+am__v_GEN_0 = @echo "  GEN     " $@;
187
+am__v_GEN_1 = 
188
+AM_V_at = $(am__v_at_@AM_V@)
189
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
190
+am__v_at_0 = @
191
+am__v_at_1 = 
179 192
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
180 193
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
181 194
 am__depfiles_maybe = depfiles
... ...
@@ -188,20 +229,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
188 188
 	$(AM_CFLAGS) $(CFLAGS)
189 189
 AM_V_CC = $(am__v_CC_@AM_V@)
190 190
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
191
-am__v_CC_0 = @echo "  CC    " $@;
192
-AM_V_at = $(am__v_at_@AM_V@)
193
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
194
-am__v_at_0 = @
191
+am__v_CC_0 = @echo "  CC      " $@;
192
+am__v_CC_1 = 
195 193
 CCLD = $(CC)
196 194
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
197 195
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
198 196
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
199 197
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
200 198
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
201
-am__v_CCLD_0 = @echo "  CCLD  " $@;
202
-AM_V_GEN = $(am__v_GEN_@AM_V@)
203
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
204
-am__v_GEN_0 = @echo "  GEN   " $@;
199
+am__v_CCLD_0 = @echo "  CCLD    " $@;
200
+am__v_CCLD_1 = 
205 201
 SOURCES = $(clamdscan_SOURCES)
206 202
 DIST_SOURCES = $(am__clamdscan_SOURCES_DIST)
207 203
 am__can_run_installinfo = \
... ...
@@ -209,6 +246,23 @@ am__can_run_installinfo = \
209 209
     n|no|NO) false;; \
210 210
     *) (install-info --version) >/dev/null 2>&1;; \
211 211
   esac
212
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
213
+# Read a list of newline-separated strings from the standard input,
214
+# and print each of them once, without duplicates.  Input order is
215
+# *not* preserved.
216
+am__uniquify_input = $(AWK) '\
217
+  BEGIN { nonempty = 0; } \
218
+  { items[$$0] = 1; nonempty = 1; } \
219
+  END { if (nonempty) { for (i in items) print i; }; } \
220
+'
221
+# Make sure the list of sources is unique.  This is necessary because,
222
+# e.g., the same source file might be shared among _SOURCES variables
223
+# for different programs/libraries.
224
+am__define_uniq_tagged_files = \
225
+  list='$(am__tagged_files)'; \
226
+  unique=`for i in $$list; do \
227
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
228
+  done | $(am__uniquify_input)`
212 229
 ETAGS = etags
213 230
 CTAGS = ctags
214 231
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -499,10 +553,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
499 499
 	fi; \
500 500
 	for p in $$list; do echo "$$p $$p"; done | \
501 501
 	sed 's/$(EXEEXT)$$//' | \
502
-	while read p p1; do if test -f $$p || test -f $$p1; \
503
-	  then echo "$$p"; echo "$$p"; else :; fi; \
502
+	while read p p1; do if test -f $$p \
503
+	 || test -f $$p1 \
504
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
504 505
 	done | \
505
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
506
+	sed -e 'p;s,.*/,,;n;h' \
507
+	    -e 's|.*|.|' \
506 508
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
507 509
 	sed 'N;N;N;s,\n, ,g' | \
508 510
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -523,7 +579,8 @@ uninstall-binPROGRAMS:
523 523
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
524 524
 	files=`for p in $$list; do echo "$$p"; done | \
525 525
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
526
-	      -e 's/$$/$(EXEEXT)/' `; \
526
+	      -e 's/$$/$(EXEEXT)/' \
527
+	`; \
527 528
 	test -n "$$list" || exit 0; \
528 529
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
529 530
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -552,6 +609,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
552 552
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
553 553
 	  done; \
554 554
 	done; rm -f c$${pid}_.???; exit $$bad
555
+
555 556
 clamdscan$(EXEEXT): $(clamdscan_OBJECTS) $(clamdscan_DEPENDENCIES) $(EXTRA_clamdscan_DEPENDENCIES) 
556 557
 	@rm -f clamdscan$(EXEEXT)
557 558
 	$(AM_V_CCLD)$(LINK) $(clamdscan_OBJECTS) $(clamdscan_LDADD) $(LIBS)
... ...
@@ -577,14 +635,14 @@ distclean-compile:
577 577
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
578 578
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
579 579
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
580
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
580
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
581 581
 
582 582
 .c.obj:
583 583
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
584 584
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
585 585
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
586 586
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
587
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
587
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
588 588
 
589 589
 .c.lo:
590 590
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -683,26 +741,15 @@ mostlyclean-libtool:
683 683
 clean-libtool:
684 684
 	-rm -rf .libs _libs
685 685
 
686
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
687
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
688
-	unique=`for i in $$list; do \
689
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
690
-	  done | \
691
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
692
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
693
-	mkid -fID $$unique
694
-tags: TAGS
695
-
696
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
697
-		$(TAGS_FILES) $(LISP)
686
+ID: $(am__tagged_files)
687
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
688
+tags: tags-am
689
+TAGS: tags
690
+
691
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
698 692
 	set x; \
699 693
 	here=`pwd`; \
700
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
701
-	unique=`for i in $$list; do \
702
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
703
-	  done | \
704
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
705
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
694
+	$(am__define_uniq_tagged_files); \
706 695
 	shift; \
707 696
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
708 697
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -714,15 +761,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
714 714
 	      $$unique; \
715 715
 	  fi; \
716 716
 	fi
717
-ctags: CTAGS
718
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
719
-		$(TAGS_FILES) $(LISP)
720
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
721
-	unique=`for i in $$list; do \
722
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
723
-	  done | \
724
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
725
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
717
+ctags: ctags-am
718
+
719
+CTAGS: ctags
720
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
721
+	$(am__define_uniq_tagged_files); \
726 722
 	test -z "$(CTAGS_ARGS)$$unique" \
727 723
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
728 724
 	     $$unique
... ...
@@ -731,6 +774,21 @@ GTAGS:
731 731
 	here=`$(am__cd) $(top_builddir) && pwd` \
732 732
 	  && $(am__cd) $(top_srcdir) \
733 733
 	  && gtags -i $(GTAGS_ARGS) "$$here"
734
+cscopelist: cscopelist-am
735
+
736
+cscopelist-am: $(am__tagged_files)
737
+	list='$(am__tagged_files)'; \
738
+	case "$(srcdir)" in \
739
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
740
+	  *) sdir=$(subdir)/$(srcdir) ;; \
741
+	esac; \
742
+	for i in $$list; do \
743
+	  if test -f "$$i"; then \
744
+	    echo "$(subdir)/$$i"; \
745
+	  else \
746
+	    echo "$$sdir/$$i"; \
747
+	  fi; \
748
+	done >> $(top_builddir)/cscope.files
734 749
 
735 750
 distclean-tags:
736 751
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -875,19 +933,20 @@ uninstall-am: uninstall-binPROGRAMS
875 875
 
876 876
 .MAKE: install-am install-strip
877 877
 
878
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
879
-	clean-generic clean-libtool ctags distclean distclean-compile \
880
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
881
-	dvi-am html html-am info info-am install install-am \
882
-	install-binPROGRAMS install-data install-data-am install-dvi \
883
-	install-dvi-am install-exec install-exec-am install-html \
884
-	install-html-am install-info install-info-am install-man \
885
-	install-pdf install-pdf-am install-ps install-ps-am \
886
-	install-strip installcheck installcheck-am \
887
-	installcheck-binPROGRAMS installdirs maintainer-clean \
888
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
889
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
890
-	tags uninstall uninstall-am uninstall-binPROGRAMS
878
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
879
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
880
+	ctags ctags-am distclean distclean-compile distclean-generic \
881
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
882
+	html-am info info-am install install-am install-binPROGRAMS \
883
+	install-data install-data-am install-dvi install-dvi-am \
884
+	install-exec install-exec-am install-html install-html-am \
885
+	install-info install-info-am install-man install-pdf \
886
+	install-pdf-am install-ps install-ps-am install-strip \
887
+	installcheck installcheck-am installcheck-binPROGRAMS \
888
+	installdirs maintainer-clean maintainer-clean-generic \
889
+	mostlyclean mostlyclean-compile mostlyclean-generic \
890
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
891
+	uninstall-am uninstall-binPROGRAMS
891 892
 
892 893
 
893 894
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -16,23 +15,51 @@
16 16
 @SET_MAKE@
17 17
 
18 18
 VPATH = @srcdir@
19
-am__make_dryrun = \
20
-  { \
21
-    am__dry=no; \
19
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
20
+am__make_running_with_option = \
21
+  case $${target_option-} in \
22
+      ?) ;; \
23
+      *) echo "am__make_running_with_option: internal error: invalid" \
24
+              "target option '$${target_option-}' specified" >&2; \
25
+         exit 1;; \
26
+  esac; \
27
+  has_opt=no; \
28
+  sane_makeflags=$$MAKEFLAGS; \
29
+  if $(am__is_gnu_make); then \
30
+    sane_makeflags=$$MFLAGS; \
31
+  else \
22 32
     case $$MAKEFLAGS in \
23 33
       *\\[\ \	]*) \
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;; \
34
+        bs=\\; \
35
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
36
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
33 37
     esac; \
34
-    test $$am__dry = yes; \
35
-  }
38
+  fi; \
39
+  skip_next=no; \
40
+  strip_trailopt () \
41
+  { \
42
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
43
+  }; \
44
+  for flg in $$sane_makeflags; do \
45
+    test $$skip_next = yes && { skip_next=no; continue; }; \
46
+    case $$flg in \
47
+      *=*|--*) continue;; \
48
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
49
+      -*I?*) strip_trailopt 'I';; \
50
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
51
+      -*O?*) strip_trailopt 'O';; \
52
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
53
+      -*l?*) strip_trailopt 'l';; \
54
+      -[dEDm]) skip_next=yes;; \
55
+      -[JT]) skip_next=yes;; \
56
+    esac; \
57
+    case $$flg in \
58
+      *$$target_option*) has_opt=yes; break;; \
59
+    esac; \
60
+  done; \
61
+  test $$has_opt = yes
62
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
63
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
36 64
 pkgdatadir = $(datadir)/@PACKAGE@
37 65
 pkgincludedir = $(includedir)/@PACKAGE@
38 66
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -54,7 +81,8 @@ host_triplet = @host@
54 54
 target_triplet = @target@
55 55
 @HAVE_CURSES_TRUE@bin_PROGRAMS = clamdtop$(EXEEXT)
56 56
 subdir = clamdtop
57
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
58
+	$(top_srcdir)/config/depcomp
58 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
60 61
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -152,6 +180,19 @@ clamdtop_OBJECTS = $(am_clamdtop_OBJECTS)
152 152
 AM_V_lt = $(am__v_lt_@AM_V@)
153 153
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
154 154
 am__v_lt_0 = --silent
155
+am__v_lt_1 = 
156
+AM_V_P = $(am__v_P_@AM_V@)
157
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
158
+am__v_P_0 = false
159
+am__v_P_1 = :
160
+AM_V_GEN = $(am__v_GEN_@AM_V@)
161
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
162
+am__v_GEN_0 = @echo "  GEN     " $@;
163
+am__v_GEN_1 = 
164
+AM_V_at = $(am__v_at_@AM_V@)
165
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
166
+am__v_at_0 = @
167
+am__v_at_1 = 
155 168
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
156 169
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
157 170
 am__depfiles_maybe = depfiles
... ...
@@ -164,20 +205,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
164 164
 	$(AM_CFLAGS) $(CFLAGS)
165 165
 AM_V_CC = $(am__v_CC_@AM_V@)
166 166
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
167
-am__v_CC_0 = @echo "  CC    " $@;
168
-AM_V_at = $(am__v_at_@AM_V@)
169
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
170
-am__v_at_0 = @
167
+am__v_CC_0 = @echo "  CC      " $@;
168
+am__v_CC_1 = 
171 169
 CCLD = $(CC)
172 170
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
173 171
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
174 172
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
175 173
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
176 174
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
177
-am__v_CCLD_0 = @echo "  CCLD  " $@;
178
-AM_V_GEN = $(am__v_GEN_@AM_V@)
179
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
180
-am__v_GEN_0 = @echo "  GEN   " $@;
175
+am__v_CCLD_0 = @echo "  CCLD    " $@;
176
+am__v_CCLD_1 = 
181 177
 SOURCES = $(clamdtop_SOURCES)
182 178
 DIST_SOURCES = $(am__clamdtop_SOURCES_DIST)
183 179
 am__can_run_installinfo = \
... ...
@@ -215,6 +252,23 @@ am__uninstall_files_from_dir = { \
215 215
 man1dir = $(mandir)/man1
216 216
 NROFF = nroff
217 217
 MANS = $(man_MANS)
218
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
219
+# Read a list of newline-separated strings from the standard input,
220
+# and print each of them once, without duplicates.  Input order is
221
+# *not* preserved.
222
+am__uniquify_input = $(AWK) '\
223
+  BEGIN { nonempty = 0; } \
224
+  { items[$$0] = 1; nonempty = 1; } \
225
+  END { if (nonempty) { for (i in items) print i; }; } \
226
+'
227
+# Make sure the list of sources is unique.  This is necessary because,
228
+# e.g., the same source file might be shared among _SOURCES variables
229
+# for different programs/libraries.
230
+am__define_uniq_tagged_files = \
231
+  list='$(am__tagged_files)'; \
232
+  unique=`for i in $$list; do \
233
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
234
+  done | $(am__uniquify_input)`
218 235
 ETAGS = etags
219 236
 CTAGS = ctags
220 237
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -496,10 +550,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
496 496
 	fi; \
497 497
 	for p in $$list; do echo "$$p $$p"; done | \
498 498
 	sed 's/$(EXEEXT)$$//' | \
499
-	while read p p1; do if test -f $$p || test -f $$p1; \
500
-	  then echo "$$p"; echo "$$p"; else :; fi; \
499
+	while read p p1; do if test -f $$p \
500
+	 || test -f $$p1 \
501
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
501 502
 	done | \
502
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
503
+	sed -e 'p;s,.*/,,;n;h' \
504
+	    -e 's|.*|.|' \
503 505
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
504 506
 	sed 'N;N;N;s,\n, ,g' | \
505 507
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -520,7 +576,8 @@ uninstall-binPROGRAMS:
520 520
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
521 521
 	files=`for p in $$list; do echo "$$p"; done | \
522 522
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
523
-	      -e 's/$$/$(EXEEXT)/' `; \
523
+	      -e 's/$$/$(EXEEXT)/' \
524
+	`; \
524 525
 	test -n "$$list" || exit 0; \
525 526
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
526 527
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -549,6 +606,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
549 549
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
550 550
 	  done; \
551 551
 	done; rm -f c$${pid}_.???; exit $$bad
552
+
552 553
 clamdtop$(EXEEXT): $(clamdtop_OBJECTS) $(clamdtop_DEPENDENCIES) $(EXTRA_clamdtop_DEPENDENCIES) 
553 554
 	@rm -f clamdtop$(EXEEXT)
554 555
 	$(AM_V_CCLD)$(LINK) $(clamdtop_OBJECTS) $(clamdtop_LDADD) $(LIBS)
... ...
@@ -569,14 +627,14 @@ distclean-compile:
569 569
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
570 570
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
571 571
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
572
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
572
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
573 573
 
574 574
 .c.obj:
575 575
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
576 576
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
577 577
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
578 578
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
579
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
579
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
580 580
 
581 581
 .c.lo:
582 582
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -676,26 +734,15 @@ uninstall-man1:
676 676
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
677 677
 	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
678 678
 
679
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
680
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
681
-	unique=`for i in $$list; do \
682
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683
-	  done | \
684
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
686
-	mkid -fID $$unique
687
-tags: TAGS
688
-
689
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
690
-		$(TAGS_FILES) $(LISP)
679
+ID: $(am__tagged_files)
680
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
681
+tags: tags-am
682
+TAGS: tags
683
+
684
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
691 685
 	set x; \
692 686
 	here=`pwd`; \
693
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
694
-	unique=`for i in $$list; do \
695
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696
-	  done | \
697
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
687
+	$(am__define_uniq_tagged_files); \
699 688
 	shift; \
700 689
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
701 690
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -707,15 +754,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
707 707
 	      $$unique; \
708 708
 	  fi; \
709 709
 	fi
710
-ctags: CTAGS
711
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
712
-		$(TAGS_FILES) $(LISP)
713
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
714
-	unique=`for i in $$list; do \
715
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
716
-	  done | \
717
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
718
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
710
+ctags: ctags-am
711
+
712
+CTAGS: ctags
713
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
714
+	$(am__define_uniq_tagged_files); \
719 715
 	test -z "$(CTAGS_ARGS)$$unique" \
720 716
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721 717
 	     $$unique
... ...
@@ -724,24 +767,26 @@ GTAGS:
724 724
 	here=`$(am__cd) $(top_builddir) && pwd` \
725 725
 	  && $(am__cd) $(top_srcdir) \
726 726
 	  && gtags -i $(GTAGS_ARGS) "$$here"
727
+cscopelist: cscopelist-am
728
+
729
+cscopelist-am: $(am__tagged_files)
730
+	list='$(am__tagged_files)'; \
731
+	case "$(srcdir)" in \
732
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
733
+	  *) sdir=$(subdir)/$(srcdir) ;; \
734
+	esac; \
735
+	for i in $$list; do \
736
+	  if test -f "$$i"; then \
737
+	    echo "$(subdir)/$$i"; \
738
+	  else \
739
+	    echo "$$sdir/$$i"; \
740
+	  fi; \
741
+	done >> $(top_builddir)/cscope.files
727 742
 
728 743
 distclean-tags:
729 744
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
730 745
 
731 746
 distdir: $(DISTFILES)
732
-	@list='$(MANS)'; if test -n "$$list"; then \
733
-	  list=`for p in $$list; do \
734
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
735
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
736
-	  if test -n "$$list" && \
737
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
738
-	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
739
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
740
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
741
-	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
742
-	    exit 1; \
743
-	  else :; fi; \
744
-	else :; fi
745 747
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
746 748
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
747 749
 	list='$(DISTFILES)'; \
... ...
@@ -882,19 +927,20 @@ uninstall-man: uninstall-man1
882 882
 
883 883
 .MAKE: install-am install-strip
884 884
 
885
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
886
-	clean-generic clean-libtool ctags distclean distclean-compile \
887
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
888
-	dvi-am html html-am info info-am install install-am \
889
-	install-binPROGRAMS install-data install-data-am install-dvi \
890
-	install-dvi-am install-exec install-exec-am install-html \
891
-	install-html-am install-info install-info-am install-man \
892
-	install-man1 install-pdf install-pdf-am install-ps \
893
-	install-ps-am install-strip installcheck installcheck-am \
885
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
886
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
887
+	ctags ctags-am distclean distclean-compile distclean-generic \
888
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
889
+	html-am info info-am install install-am install-binPROGRAMS \
890
+	install-data install-data-am install-dvi install-dvi-am \
891
+	install-exec install-exec-am install-html install-html-am \
892
+	install-info install-info-am install-man install-man1 \
893
+	install-pdf install-pdf-am install-ps install-ps-am \
894
+	install-strip installcheck installcheck-am \
894 895
 	installcheck-binPROGRAMS installdirs maintainer-clean \
895 896
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
896 897
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
897
-	tags uninstall uninstall-am uninstall-binPROGRAMS \
898
+	tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
898 899
 	uninstall-man uninstall-man1
899 900
 
900 901
 
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -35,23 +34,51 @@
35 35
 #  MA 02110-1301, USA.
36 36
 
37 37
 VPATH = @srcdir@
38
-am__make_dryrun = \
39
-  { \
40
-    am__dry=no; \
38
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
39
+am__make_running_with_option = \
40
+  case $${target_option-} in \
41
+      ?) ;; \
42
+      *) echo "am__make_running_with_option: internal error: invalid" \
43
+              "target option '$${target_option-}' specified" >&2; \
44
+         exit 1;; \
45
+  esac; \
46
+  has_opt=no; \
47
+  sane_makeflags=$$MAKEFLAGS; \
48
+  if $(am__is_gnu_make); then \
49
+    sane_makeflags=$$MFLAGS; \
50
+  else \
41 51
     case $$MAKEFLAGS in \
42 52
       *\\[\ \	]*) \
43
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
44
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
45
-      *) \
46
-        for am__flg in $$MAKEFLAGS; do \
47
-          case $$am__flg in \
48
-            *=*|--*) ;; \
49
-            *n*) am__dry=yes; break;; \
50
-          esac; \
51
-        done;; \
53
+        bs=\\; \
54
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
55
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
56
+    esac; \
57
+  fi; \
58
+  skip_next=no; \
59
+  strip_trailopt () \
60
+  { \
61
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62
+  }; \
63
+  for flg in $$sane_makeflags; do \
64
+    test $$skip_next = yes && { skip_next=no; continue; }; \
65
+    case $$flg in \
66
+      *=*|--*) continue;; \
67
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
68
+      -*I?*) strip_trailopt 'I';; \
69
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
70
+      -*O?*) strip_trailopt 'O';; \
71
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
72
+      -*l?*) strip_trailopt 'l';; \
73
+      -[dEDm]) skip_next=yes;; \
74
+      -[JT]) skip_next=yes;; \
75
+    esac; \
76
+    case $$flg in \
77
+      *$$target_option*) has_opt=yes; break;; \
52 78
     esac; \
53
-    test $$am__dry = yes; \
54
-  }
79
+  done; \
80
+  test $$has_opt = yes
81
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
82
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
55 83
 pkgdatadir = $(datadir)/@PACKAGE@
56 84
 pkgincludedir = $(includedir)/@PACKAGE@
57 85
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -73,7 +100,8 @@ host_triplet = @host@
73 73
 target_triplet = @target@
74 74
 bin_PROGRAMS = clamscan$(EXEEXT)
75 75
 subdir = clamscan
76
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
76
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
77
+	$(top_srcdir)/config/depcomp
77 78
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 79
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
79 80
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -167,6 +195,19 @@ clamscan_LDADD = $(LDADD)
167 167
 AM_V_lt = $(am__v_lt_@AM_V@)
168 168
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
169 169
 am__v_lt_0 = --silent
170
+am__v_lt_1 = 
171
+AM_V_P = $(am__v_P_@AM_V@)
172
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
173
+am__v_P_0 = false
174
+am__v_P_1 = :
175
+AM_V_GEN = $(am__v_GEN_@AM_V@)
176
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
177
+am__v_GEN_0 = @echo "  GEN     " $@;
178
+am__v_GEN_1 = 
179
+AM_V_at = $(am__v_at_@AM_V@)
180
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
181
+am__v_at_0 = @
182
+am__v_at_1 = 
170 183
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
171 184
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
172 185
 am__depfiles_maybe = depfiles
... ...
@@ -179,20 +220,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
179 179
 	$(AM_CFLAGS) $(CFLAGS)
180 180
 AM_V_CC = $(am__v_CC_@AM_V@)
181 181
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
182
-am__v_CC_0 = @echo "  CC    " $@;
183
-AM_V_at = $(am__v_at_@AM_V@)
184
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
185
-am__v_at_0 = @
182
+am__v_CC_0 = @echo "  CC      " $@;
183
+am__v_CC_1 = 
186 184
 CCLD = $(CC)
187 185
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
188 186
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
189 187
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
190 188
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
191 189
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
192
-am__v_CCLD_0 = @echo "  CCLD  " $@;
193
-AM_V_GEN = $(am__v_GEN_@AM_V@)
194
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
195
-am__v_GEN_0 = @echo "  GEN   " $@;
190
+am__v_CCLD_0 = @echo "  CCLD    " $@;
191
+am__v_CCLD_1 = 
196 192
 SOURCES = $(clamscan_SOURCES)
197 193
 DIST_SOURCES = $(clamscan_SOURCES)
198 194
 am__can_run_installinfo = \
... ...
@@ -200,6 +237,23 @@ am__can_run_installinfo = \
200 200
     n|no|NO) false;; \
201 201
     *) (install-info --version) >/dev/null 2>&1;; \
202 202
   esac
203
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
204
+# Read a list of newline-separated strings from the standard input,
205
+# and print each of them once, without duplicates.  Input order is
206
+# *not* preserved.
207
+am__uniquify_input = $(AWK) '\
208
+  BEGIN { nonempty = 0; } \
209
+  { items[$$0] = 1; nonempty = 1; } \
210
+  END { if (nonempty) { for (i in items) print i; }; } \
211
+'
212
+# Make sure the list of sources is unique.  This is necessary because,
213
+# e.g., the same source file might be shared among _SOURCES variables
214
+# for different programs/libraries.
215
+am__define_uniq_tagged_files = \
216
+  list='$(am__tagged_files)'; \
217
+  unique=`for i in $$list; do \
218
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
219
+  done | $(am__uniquify_input)`
203 220
 ETAGS = etags
204 221
 CTAGS = ctags
205 222
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -486,10 +540,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
486 486
 	fi; \
487 487
 	for p in $$list; do echo "$$p $$p"; done | \
488 488
 	sed 's/$(EXEEXT)$$//' | \
489
-	while read p p1; do if test -f $$p || test -f $$p1; \
490
-	  then echo "$$p"; echo "$$p"; else :; fi; \
489
+	while read p p1; do if test -f $$p \
490
+	 || test -f $$p1 \
491
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
491 492
 	done | \
492
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
493
+	sed -e 'p;s,.*/,,;n;h' \
494
+	    -e 's|.*|.|' \
493 495
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
494 496
 	sed 'N;N;N;s,\n, ,g' | \
495 497
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -510,7 +566,8 @@ uninstall-binPROGRAMS:
510 510
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
511 511
 	files=`for p in $$list; do echo "$$p"; done | \
512 512
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
513
-	      -e 's/$$/$(EXEEXT)/' `; \
513
+	      -e 's/$$/$(EXEEXT)/' \
514
+	`; \
514 515
 	test -n "$$list" || exit 0; \
515 516
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
516 517
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -539,6 +596,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
539 539
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
540 540
 	  done; \
541 541
 	done; rm -f c$${pid}_.???; exit $$bad
542
+
542 543
 clamscan$(EXEEXT): $(clamscan_OBJECTS) $(clamscan_DEPENDENCIES) $(EXTRA_clamscan_DEPENDENCIES) 
543 544
 	@rm -f clamscan$(EXEEXT)
544 545
 	$(AM_V_CCLD)$(LINK) $(clamscan_OBJECTS) $(clamscan_LDADD) $(LIBS)
... ...
@@ -562,14 +620,14 @@ distclean-compile:
562 562
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
563 563
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
564 564
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
565
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
565
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
566 566
 
567 567
 .c.obj:
568 568
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
569 569
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
570 570
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
571 571
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
572
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
572
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
573 573
 
574 574
 .c.lo:
575 575
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -654,26 +712,15 @@ mostlyclean-libtool:
654 654
 clean-libtool:
655 655
 	-rm -rf .libs _libs
656 656
 
657
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
658
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
659
-	unique=`for i in $$list; do \
660
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
661
-	  done | \
662
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
663
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
664
-	mkid -fID $$unique
665
-tags: TAGS
666
-
667
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
668
-		$(TAGS_FILES) $(LISP)
657
+ID: $(am__tagged_files)
658
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
659
+tags: tags-am
660
+TAGS: tags
661
+
662
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
669 663
 	set x; \
670 664
 	here=`pwd`; \
671
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
672
-	unique=`for i in $$list; do \
673
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
674
-	  done | \
675
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
676
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
665
+	$(am__define_uniq_tagged_files); \
677 666
 	shift; \
678 667
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
679 668
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -685,15 +732,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
685 685
 	      $$unique; \
686 686
 	  fi; \
687 687
 	fi
688
-ctags: CTAGS
689
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
690
-		$(TAGS_FILES) $(LISP)
691
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
692
-	unique=`for i in $$list; do \
693
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
694
-	  done | \
695
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
696
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
688
+ctags: ctags-am
689
+
690
+CTAGS: ctags
691
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
692
+	$(am__define_uniq_tagged_files); \
697 693
 	test -z "$(CTAGS_ARGS)$$unique" \
698 694
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
699 695
 	     $$unique
... ...
@@ -702,6 +745,21 @@ GTAGS:
702 702
 	here=`$(am__cd) $(top_builddir) && pwd` \
703 703
 	  && $(am__cd) $(top_srcdir) \
704 704
 	  && gtags -i $(GTAGS_ARGS) "$$here"
705
+cscopelist: cscopelist-am
706
+
707
+cscopelist-am: $(am__tagged_files)
708
+	list='$(am__tagged_files)'; \
709
+	case "$(srcdir)" in \
710
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
711
+	  *) sdir=$(subdir)/$(srcdir) ;; \
712
+	esac; \
713
+	for i in $$list; do \
714
+	  if test -f "$$i"; then \
715
+	    echo "$(subdir)/$$i"; \
716
+	  else \
717
+	    echo "$$sdir/$$i"; \
718
+	  fi; \
719
+	done >> $(top_builddir)/cscope.files
705 720
 
706 721
 distclean-tags:
707 722
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -846,19 +904,20 @@ uninstall-am: uninstall-binPROGRAMS
846 846
 
847 847
 .MAKE: install-am install-strip
848 848
 
849
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
850
-	clean-generic clean-libtool ctags distclean distclean-compile \
851
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
852
-	dvi-am html html-am info info-am install install-am \
853
-	install-binPROGRAMS install-data install-data-am install-dvi \
854
-	install-dvi-am install-exec install-exec-am install-html \
855
-	install-html-am install-info install-info-am install-man \
856
-	install-pdf install-pdf-am install-ps install-ps-am \
857
-	install-strip installcheck installcheck-am \
858
-	installcheck-binPROGRAMS installdirs maintainer-clean \
859
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
860
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
861
-	tags uninstall uninstall-am uninstall-binPROGRAMS
849
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
850
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
851
+	ctags ctags-am distclean distclean-compile distclean-generic \
852
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
853
+	html-am info info-am install install-am install-binPROGRAMS \
854
+	install-data install-data-am install-dvi install-dvi-am \
855
+	install-exec install-exec-am install-html install-html-am \
856
+	install-info install-info-am install-man install-pdf \
857
+	install-pdf-am install-ps install-ps-am install-strip \
858
+	installcheck installcheck-am installcheck-binPROGRAMS \
859
+	installdirs maintainer-clean maintainer-clean-generic \
860
+	mostlyclean mostlyclean-compile mostlyclean-generic \
861
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
862
+	uninstall-am uninstall-binPROGRAMS
862 863
 
863 864
 
864 865
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +99,8 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 bin_PROGRAMS = clamsubmit$(EXEEXT)
74 74
 subdir = clamsubmit
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76
+	$(top_srcdir)/config/depcomp
76 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
78 79
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -165,6 +193,19 @@ clamsubmit_LDADD = $(LDADD)
165 165
 AM_V_lt = $(am__v_lt_@AM_V@)
166 166
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
167 167
 am__v_lt_0 = --silent
168
+am__v_lt_1 = 
169
+AM_V_P = $(am__v_P_@AM_V@)
170
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
171
+am__v_P_0 = false
172
+am__v_P_1 = :
173
+AM_V_GEN = $(am__v_GEN_@AM_V@)
174
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
175
+am__v_GEN_0 = @echo "  GEN     " $@;
176
+am__v_GEN_1 = 
177
+AM_V_at = $(am__v_at_@AM_V@)
178
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
179
+am__v_at_0 = @
180
+am__v_at_1 = 
168 181
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
169 182
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
170 183
 am__depfiles_maybe = depfiles
... ...
@@ -177,20 +218,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
177 177
 	$(AM_CFLAGS) $(CFLAGS)
178 178
 AM_V_CC = $(am__v_CC_@AM_V@)
179 179
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
180
-am__v_CC_0 = @echo "  CC    " $@;
181
-AM_V_at = $(am__v_at_@AM_V@)
182
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
183
-am__v_at_0 = @
180
+am__v_CC_0 = @echo "  CC      " $@;
181
+am__v_CC_1 = 
184 182
 CCLD = $(CC)
185 183
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
186 184
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
187 185
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
188 186
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
189 187
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
190
-am__v_CCLD_0 = @echo "  CCLD  " $@;
191
-AM_V_GEN = $(am__v_GEN_@AM_V@)
192
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
193
-am__v_GEN_0 = @echo "  GEN   " $@;
188
+am__v_CCLD_0 = @echo "  CCLD    " $@;
189
+am__v_CCLD_1 = 
194 190
 SOURCES = $(clamsubmit_SOURCES)
195 191
 DIST_SOURCES = $(clamsubmit_SOURCES)
196 192
 am__can_run_installinfo = \
... ...
@@ -198,6 +235,23 @@ am__can_run_installinfo = \
198 198
     n|no|NO) false;; \
199 199
     *) (install-info --version) >/dev/null 2>&1;; \
200 200
   esac
201
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
202
+# Read a list of newline-separated strings from the standard input,
203
+# and print each of them once, without duplicates.  Input order is
204
+# *not* preserved.
205
+am__uniquify_input = $(AWK) '\
206
+  BEGIN { nonempty = 0; } \
207
+  { items[$$0] = 1; nonempty = 1; } \
208
+  END { if (nonempty) { for (i in items) print i; }; } \
209
+'
210
+# Make sure the list of sources is unique.  This is necessary because,
211
+# e.g., the same source file might be shared among _SOURCES variables
212
+# for different programs/libraries.
213
+am__define_uniq_tagged_files = \
214
+  list='$(am__tagged_files)'; \
215
+  unique=`for i in $$list; do \
216
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
217
+  done | $(am__uniquify_input)`
201 218
 ETAGS = etags
202 219
 CTAGS = ctags
203 220
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -480,10 +534,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
480 480
 	fi; \
481 481
 	for p in $$list; do echo "$$p $$p"; done | \
482 482
 	sed 's/$(EXEEXT)$$//' | \
483
-	while read p p1; do if test -f $$p || test -f $$p1; \
484
-	  then echo "$$p"; echo "$$p"; else :; fi; \
483
+	while read p p1; do if test -f $$p \
484
+	 || test -f $$p1 \
485
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
485 486
 	done | \
486
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
487
+	sed -e 'p;s,.*/,,;n;h' \
488
+	    -e 's|.*|.|' \
487 489
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
488 490
 	sed 'N;N;N;s,\n, ,g' | \
489 491
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -504,7 +560,8 @@ uninstall-binPROGRAMS:
504 504
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
505 505
 	files=`for p in $$list; do echo "$$p"; done | \
506 506
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
507
-	      -e 's/$$/$(EXEEXT)/' `; \
507
+	      -e 's/$$/$(EXEEXT)/' \
508
+	`; \
508 509
 	test -n "$$list" || exit 0; \
509 510
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
510 511
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -533,6 +590,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
533 533
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
534 534
 	  done; \
535 535
 	done; rm -f c$${pid}_.???; exit $$bad
536
+
536 537
 clamsubmit$(EXEEXT): $(clamsubmit_OBJECTS) $(clamsubmit_DEPENDENCIES) $(EXTRA_clamsubmit_DEPENDENCIES) 
537 538
 	@rm -f clamsubmit$(EXEEXT)
538 539
 	$(AM_V_CCLD)$(LINK) $(clamsubmit_OBJECTS) $(clamsubmit_LDADD) $(LIBS)
... ...
@@ -554,14 +612,14 @@ distclean-compile:
554 554
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
555 555
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
556 556
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
557
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
558 558
 
559 559
 .c.obj:
560 560
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
561 561
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
562 562
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
563 563
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
564
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
564
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
565 565
 
566 566
 .c.lo:
567 567
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -632,26 +690,15 @@ mostlyclean-libtool:
632 632
 clean-libtool:
633 633
 	-rm -rf .libs _libs
634 634
 
635
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
636
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
637
-	unique=`for i in $$list; do \
638
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
639
-	  done | \
640
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
641
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
642
-	mkid -fID $$unique
643
-tags: TAGS
644
-
645
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
646
-		$(TAGS_FILES) $(LISP)
635
+ID: $(am__tagged_files)
636
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
637
+tags: tags-am
638
+TAGS: tags
639
+
640
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
647 641
 	set x; \
648 642
 	here=`pwd`; \
649
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
650
-	unique=`for i in $$list; do \
651
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
652
-	  done | \
653
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
654
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
643
+	$(am__define_uniq_tagged_files); \
655 644
 	shift; \
656 645
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
657 646
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -663,15 +710,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
663 663
 	      $$unique; \
664 664
 	  fi; \
665 665
 	fi
666
-ctags: CTAGS
667
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
668
-		$(TAGS_FILES) $(LISP)
669
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
670
-	unique=`for i in $$list; do \
671
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
672
-	  done | \
673
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
674
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
666
+ctags: ctags-am
667
+
668
+CTAGS: ctags
669
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
670
+	$(am__define_uniq_tagged_files); \
675 671
 	test -z "$(CTAGS_ARGS)$$unique" \
676 672
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
677 673
 	     $$unique
... ...
@@ -680,6 +723,21 @@ GTAGS:
680 680
 	here=`$(am__cd) $(top_builddir) && pwd` \
681 681
 	  && $(am__cd) $(top_srcdir) \
682 682
 	  && gtags -i $(GTAGS_ARGS) "$$here"
683
+cscopelist: cscopelist-am
684
+
685
+cscopelist-am: $(am__tagged_files)
686
+	list='$(am__tagged_files)'; \
687
+	case "$(srcdir)" in \
688
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
689
+	  *) sdir=$(subdir)/$(srcdir) ;; \
690
+	esac; \
691
+	for i in $$list; do \
692
+	  if test -f "$$i"; then \
693
+	    echo "$(subdir)/$$i"; \
694
+	  else \
695
+	    echo "$$sdir/$$i"; \
696
+	  fi; \
697
+	done >> $(top_builddir)/cscope.files
683 698
 
684 699
 distclean-tags:
685 700
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -824,19 +882,20 @@ uninstall-am: uninstall-binPROGRAMS
824 824
 
825 825
 .MAKE: install-am install-strip
826 826
 
827
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
828
-	clean-generic clean-libtool ctags distclean distclean-compile \
829
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
830
-	dvi-am html html-am info info-am install install-am \
831
-	install-binPROGRAMS install-data install-data-am install-dvi \
832
-	install-dvi-am install-exec install-exec-am install-html \
833
-	install-html-am install-info install-info-am install-man \
834
-	install-pdf install-pdf-am install-ps install-ps-am \
835
-	install-strip installcheck installcheck-am \
836
-	installcheck-binPROGRAMS installdirs maintainer-clean \
837
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
838
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
839
-	tags uninstall uninstall-am uninstall-binPROGRAMS
827
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
828
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
829
+	ctags ctags-am distclean distclean-compile distclean-generic \
830
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
831
+	html-am info info-am install install-am install-binPROGRAMS \
832
+	install-data install-data-am install-dvi install-dvi-am \
833
+	install-exec install-exec-am install-html install-html-am \
834
+	install-info install-info-am install-man install-pdf \
835
+	install-pdf-am install-ps install-ps-am install-strip \
836
+	installcheck installcheck-am installcheck-binPROGRAMS \
837
+	installdirs maintainer-clean maintainer-clean-generic \
838
+	mostlyclean mostlyclean-compile mostlyclean-generic \
839
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
840
+	uninstall-am uninstall-binPROGRAMS
840 841
 
841 842
 
842 843
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,10 +1,9 @@
1 1
 #! /bin/sh
2 2
 # depcomp - compile a program generating dependencies as side-effects
3 3
 
4
-scriptversion=2012-03-27.16; # UTC
4
+scriptversion=2013-05-30.07; # UTC
5 5
 
6
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
7
-# 2011, 2012 Free Software Foundation, Inc.
6
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
8 7
 
9 8
 # This program is free software; you can redistribute it and/or modify
10 9
 # it under the terms of the GNU General Public License as published by
... ...
@@ -28,9 +27,9 @@ scriptversion=2012-03-27.16; # UTC
28 28
 
29 29
 case $1 in
30 30
   '')
31
-     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
-     exit 1;
33
-     ;;
31
+    echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
+    exit 1;
33
+    ;;
34 34
   -h | --h*)
35 35
     cat <<\EOF
36 36
 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
... ...
@@ -57,11 +56,65 @@ EOF
57 57
     ;;
58 58
 esac
59 59
 
60
+# Get the directory component of the given path, and save it in the
61
+# global variables '$dir'.  Note that this directory component will
62
+# be either empty or ending with a '/' character.  This is deliberate.
63
+set_dir_from ()
64
+{
65
+  case $1 in
66
+    */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
67
+      *) dir=;;
68
+  esac
69
+}
70
+
71
+# Get the suffix-stripped basename of the given path, and save it the
72
+# global variable '$base'.
73
+set_base_from ()
74
+{
75
+  base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
76
+}
77
+
78
+# If no dependency file was actually created by the compiler invocation,
79
+# we still have to create a dummy depfile, to avoid errors with the
80
+# Makefile "include basename.Plo" scheme.
81
+make_dummy_depfile ()
82
+{
83
+  echo "#dummy" > "$depfile"
84
+}
85
+
86
+# Factor out some common post-processing of the generated depfile.
87
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
88
+aix_post_process_depfile ()
89
+{
90
+  # If the compiler actually managed to produce a dependency file,
91
+  # post-process it.
92
+  if test -f "$tmpdepfile"; then
93
+    # Each line is of the form 'foo.o: dependency.h'.
94
+    # Do two passes, one to just change these to
95
+    #   $object: dependency.h
96
+    # and one to simply output
97
+    #   dependency.h:
98
+    # which is needed to avoid the deleted-header problem.
99
+    { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
100
+      sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
101
+    } > "$depfile"
102
+    rm -f "$tmpdepfile"
103
+  else
104
+    make_dummy_depfile
105
+  fi
106
+}
107
+
60 108
 # A tabulation character.
61 109
 tab='	'
62 110
 # A newline character.
63 111
 nl='
64 112
 '
113
+# Character ranges might be problematic outside the C locale.
114
+# These definitions help.
115
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
116
+lower=abcdefghijklmnopqrstuvwxyz
117
+digits=0123456789
118
+alpha=${upper}${lower}
65 119
 
66 120
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
67 121
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
... ...
@@ -75,6 +128,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
75 75
 
76 76
 rm -f "$tmpdepfile"
77 77
 
78
+# Avoid interferences from the environment.
79
+gccflag= dashmflag=
80
+
78 81
 # Some modes work just like other modes, but use different flags.  We
79 82
 # parameterize here, but still list the modes in the big case below,
80 83
 # to make depend.m4 easier to write.  Note that we *cannot* use a case
... ...
@@ -86,32 +142,32 @@ if test "$depmode" = hp; then
86 86
 fi
87 87
 
88 88
 if test "$depmode" = dashXmstdout; then
89
-   # This is just like dashmstdout with a different argument.
90
-   dashmflag=-xM
91
-   depmode=dashmstdout
89
+  # This is just like dashmstdout with a different argument.
90
+  dashmflag=-xM
91
+  depmode=dashmstdout
92 92
 fi
93 93
 
94 94
 cygpath_u="cygpath -u -f -"
95 95
 if test "$depmode" = msvcmsys; then
96
-   # This is just like msvisualcpp but w/o cygpath translation.
97
-   # Just convert the backslash-escaped backslashes to single forward
98
-   # slashes to satisfy depend.m4
99
-   cygpath_u='sed s,\\\\,/,g'
100
-   depmode=msvisualcpp
96
+  # This is just like msvisualcpp but w/o cygpath translation.
97
+  # Just convert the backslash-escaped backslashes to single forward
98
+  # slashes to satisfy depend.m4
99
+  cygpath_u='sed s,\\\\,/,g'
100
+  depmode=msvisualcpp
101 101
 fi
102 102
 
103 103
 if test "$depmode" = msvc7msys; then
104
-   # This is just like msvc7 but w/o cygpath translation.
105
-   # Just convert the backslash-escaped backslashes to single forward
106
-   # slashes to satisfy depend.m4
107
-   cygpath_u='sed s,\\\\,/,g'
108
-   depmode=msvc7
104
+  # This is just like msvc7 but w/o cygpath translation.
105
+  # Just convert the backslash-escaped backslashes to single forward
106
+  # slashes to satisfy depend.m4
107
+  cygpath_u='sed s,\\\\,/,g'
108
+  depmode=msvc7
109 109
 fi
110 110
 
111 111
 if test "$depmode" = xlc; then
112
-   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
113
-   gccflag=-qmakedep=gcc,-MF
114
-   depmode=gcc
112
+  # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
113
+  gccflag=-qmakedep=gcc,-MF
114
+  depmode=gcc
115 115
 fi
116 116
 
117 117
 case "$depmode" in
... ...
@@ -134,8 +190,7 @@ gcc3)
134 134
   done
135 135
   "$@"
136 136
   stat=$?
137
-  if test $stat -eq 0; then :
138
-  else
137
+  if test $stat -ne 0; then
139 138
     rm -f "$tmpdepfile"
140 139
     exit $stat
141 140
   fi
... ...
@@ -143,13 +198,17 @@ gcc3)
143 143
   ;;
144 144
 
145 145
 gcc)
146
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
147
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
148
+## (see the conditional assignment to $gccflag above).
146 149
 ## There are various ways to get dependency output from gcc.  Here's
147 150
 ## why we pick this rather obscure method:
148 151
 ## - Don't want to use -MD because we'd like the dependencies to end
149 152
 ##   up in a subdir.  Having to rename by hand is ugly.
150 153
 ##   (We might end up doing this anyway to support other compilers.)
151 154
 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
152
-##   -MM, not -M (despite what the docs say).
155
+##   -MM, not -M (despite what the docs say).  Also, it might not be
156
+##   supported by the other compilers which use the 'gcc' depmode.
153 157
 ## - Using -M directly means running the compiler twice (even worse
154 158
 ##   than renaming).
155 159
   if test -z "$gccflag"; then
... ...
@@ -157,15 +216,14 @@ gcc)
157 157
   fi
158 158
   "$@" -Wp,"$gccflag$tmpdepfile"
159 159
   stat=$?
160
-  if test $stat -eq 0; then :
161
-  else
160
+  if test $stat -ne 0; then
162 161
     rm -f "$tmpdepfile"
163 162
     exit $stat
164 163
   fi
165 164
   rm -f "$depfile"
166 165
   echo "$object : \\" > "$depfile"
167
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
168
-## The second -e expression handles DOS-style file names with drive letters.
166
+  # The second -e expression handles DOS-style file names with drive
167
+  # letters.
169 168
   sed -e 's/^[^:]*: / /' \
170 169
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
171 170
 ## This next piece of magic avoids the "deleted header file" problem.
... ...
@@ -174,15 +232,15 @@ gcc)
174 174
 ## typically no way to rebuild the header).  We avoid this by adding
175 175
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
176 176
 ## this for us directly.
177
-  tr ' ' "$nl" < "$tmpdepfile" |
178 177
 ## Some versions of gcc put a space before the ':'.  On the theory
179 178
 ## that the space means something, we add a space to the output as
180 179
 ## well.  hp depmode also adds that space, but also prefixes the VPATH
181 180
 ## to the object.  Take care to not repeat it in the output.
182 181
 ## Some versions of the HPUX 10.20 sed can't process this invocation
183 182
 ## correctly.  Breaking it into two sed invocations is a workaround.
184
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
-      | sed -e 's/$/ :/' >> "$depfile"
183
+  tr ' ' "$nl" < "$tmpdepfile" \
184
+    | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
+    | sed -e 's/$/ :/' >> "$depfile"
186 186
   rm -f "$tmpdepfile"
187 187
   ;;
188 188
 
... ...
@@ -200,8 +258,7 @@ sgi)
200 200
     "$@" -MDupdate "$tmpdepfile"
201 201
   fi
202 202
   stat=$?
203
-  if test $stat -eq 0; then :
204
-  else
203
+  if test $stat -ne 0; then
205 204
     rm -f "$tmpdepfile"
206 205
     exit $stat
207 206
   fi
... ...
@@ -209,7 +266,6 @@ sgi)
209 209
 
210 210
   if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
211 211
     echo "$object : \\" > "$depfile"
212
-
213 212
     # Clip off the initial element (the dependent).  Don't try to be
214 213
     # clever and replace this with sed code, as IRIX sed won't handle
215 214
     # lines with more than a fixed number of characters (4096 in
... ...
@@ -217,19 +273,15 @@ sgi)
217 217
     # the IRIX cc adds comments like '#:fec' to the end of the
218 218
     # dependency line.
219 219
     tr ' ' "$nl" < "$tmpdepfile" \
220
-    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
221
-    tr "$nl" ' ' >> "$depfile"
220
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
221
+      | tr "$nl" ' ' >> "$depfile"
222 222
     echo >> "$depfile"
223
-
224 223
     # The second pass generates a dummy entry for each header file.
225 224
     tr ' ' "$nl" < "$tmpdepfile" \
226
-   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
227
-   >> "$depfile"
225
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
226
+      >> "$depfile"
228 227
   else
229
-    # The sourcefile does not contain any dependencies, so just
230
-    # store a dummy comment line, to avoid errors with the Makefile
231
-    # "include basename.Plo" scheme.
232
-    echo "#dummy" > "$depfile"
228
+    make_dummy_depfile
233 229
   fi
234 230
   rm -f "$tmpdepfile"
235 231
   ;;
... ...
@@ -247,9 +299,8 @@ aix)
247 247
   # current directory.  Also, the AIX compiler puts '$object:' at the
248 248
   # start of each line; $object doesn't have directory information.
249 249
   # Version 6 uses the directory in both cases.
250
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
251
-  test "x$dir" = "x$object" && dir=
252
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
250
+  set_dir_from "$object"
251
+  set_base_from "$object"
253 252
   if test "$libtool" = yes; then
254 253
     tmpdepfile1=$dir$base.u
255 254
     tmpdepfile2=$base.u
... ...
@@ -262,9 +313,7 @@ aix)
262 262
     "$@" -M
263 263
   fi
264 264
   stat=$?
265
-
266
-  if test $stat -eq 0; then :
267
-  else
265
+  if test $stat -ne 0; then
268 266
     rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
269 267
     exit $stat
270 268
   fi
... ...
@@ -273,65 +322,113 @@ aix)
273 273
   do
274 274
     test -f "$tmpdepfile" && break
275 275
   done
276
-  if test -f "$tmpdepfile"; then
277
-    # Each line is of the form 'foo.o: dependent.h'.
278
-    # Do two passes, one to just change these to
279
-    # '$object: dependent.h' and one to simply 'dependent.h:'.
280
-    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
281
-    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
282
-  else
283
-    # The sourcefile does not contain any dependencies, so just
284
-    # store a dummy comment line, to avoid errors with the Makefile
285
-    # "include basename.Plo" scheme.
286
-    echo "#dummy" > "$depfile"
276
+  aix_post_process_depfile
277
+  ;;
278
+
279
+tcc)
280
+  # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
281
+  # FIXME: That version still under development at the moment of writing.
282
+  #        Make that this statement remains true also for stable, released
283
+  #        versions.
284
+  # It will wrap lines (doesn't matter whether long or short) with a
285
+  # trailing '\', as in:
286
+  #
287
+  #   foo.o : \
288
+  #    foo.c \
289
+  #    foo.h \
290
+  #
291
+  # It will put a trailing '\' even on the last line, and will use leading
292
+  # spaces rather than leading tabs (at least since its commit 0394caf7
293
+  # "Emit spaces for -MD").
294
+  "$@" -MD -MF "$tmpdepfile"
295
+  stat=$?
296
+  if test $stat -ne 0; then
297
+    rm -f "$tmpdepfile"
298
+    exit $stat
287 299
   fi
300
+  rm -f "$depfile"
301
+  # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
302
+  # We have to change lines of the first kind to '$object: \'.
303
+  sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
304
+  # And for each line of the second kind, we have to emit a 'dep.h:'
305
+  # dummy dependency, to avoid the deleted-header problem.
306
+  sed -n -e 's|^  *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
288 307
   rm -f "$tmpdepfile"
289 308
   ;;
290 309
 
291
-icc)
292
-  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
293
-  # However on
294
-  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
295
-  # ICC 7.0 will fill foo.d with something like
296
-  #    foo.o: sub/foo.c
297
-  #    foo.o: sub/foo.h
298
-  # which is wrong.  We want
299
-  #    sub/foo.o: sub/foo.c
300
-  #    sub/foo.o: sub/foo.h
301
-  #    sub/foo.c:
302
-  #    sub/foo.h:
303
-  # ICC 7.1 will output
310
+## The order of this option in the case statement is important, since the
311
+## shell code in configure will try each of these formats in the order
312
+## listed in this file.  A plain '-MD' option would be understood by many
313
+## compilers, so we must ensure this comes after the gcc and icc options.
314
+pgcc)
315
+  # Portland's C compiler understands '-MD'.
316
+  # Will always output deps to 'file.d' where file is the root name of the
317
+  # source file under compilation, even if file resides in a subdirectory.
318
+  # The object file name does not affect the name of the '.d' file.
319
+  # pgcc 10.2 will output
304 320
   #    foo.o: sub/foo.c sub/foo.h
305
-  # and will wrap long lines using '\':
321
+  # and will wrap long lines using '\' :
306 322
   #    foo.o: sub/foo.c ... \
307 323
   #     sub/foo.h ... \
308 324
   #     ...
309
-  # tcc 0.9.26 (FIXME still under development at the moment of writing)
310
-  # will emit a similar output, but also prepend the continuation lines
311
-  # with horizontal tabulation characters.
312
-  "$@" -MD -MF "$tmpdepfile"
313
-  stat=$?
314
-  if test $stat -eq 0; then :
315
-  else
325
+  set_dir_from "$object"
326
+  # Use the source, not the object, to determine the base name, since
327
+  # that's sadly what pgcc will do too.
328
+  set_base_from "$source"
329
+  tmpdepfile=$base.d
330
+
331
+  # For projects that build the same source file twice into different object
332
+  # files, the pgcc approach of using the *source* file root name can cause
333
+  # problems in parallel builds.  Use a locking strategy to avoid stomping on
334
+  # the same $tmpdepfile.
335
+  lockdir=$base.d-lock
336
+  trap "
337
+    echo '$0: caught signal, cleaning up...' >&2
338
+    rmdir '$lockdir'
339
+    exit 1
340
+  " 1 2 13 15
341
+  numtries=100
342
+  i=$numtries
343
+  while test $i -gt 0; do
344
+    # mkdir is a portable test-and-set.
345
+    if mkdir "$lockdir" 2>/dev/null; then
346
+      # This process acquired the lock.
347
+      "$@" -MD
348
+      stat=$?
349
+      # Release the lock.
350
+      rmdir "$lockdir"
351
+      break
352
+    else
353
+      # If the lock is being held by a different process, wait
354
+      # until the winning process is done or we timeout.
355
+      while test -d "$lockdir" && test $i -gt 0; do
356
+        sleep 1
357
+        i=`expr $i - 1`
358
+      done
359
+    fi
360
+    i=`expr $i - 1`
361
+  done
362
+  trap - 1 2 13 15
363
+  if test $i -le 0; then
364
+    echo "$0: failed to acquire lock after $numtries attempts" >&2
365
+    echo "$0: check lockdir '$lockdir'" >&2
366
+    exit 1
367
+  fi
368
+
369
+  if test $stat -ne 0; then
316 370
     rm -f "$tmpdepfile"
317 371
     exit $stat
318 372
   fi
319 373
   rm -f "$depfile"
320
-  # Each line is of the form 'foo.o: dependent.h',
321
-  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
374
+  # Each line is of the form `foo.o: dependent.h',
375
+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
322 376
   # Do two passes, one to just change these to
323
-  # '$object: dependent.h' and one to simply 'dependent.h:'.
324
-  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
325
-    < "$tmpdepfile" > "$depfile"
326
-  sed '
327
-    s/[ '"$tab"'][ '"$tab"']*/ /g
328
-    s/^ *//
329
-    s/ *\\*$//
330
-    s/^[^:]*: *//
331
-    /^$/d
332
-    /:$/d
333
-    s/$/ :/
334
-  ' < "$tmpdepfile" >> "$depfile"
377
+  # `$object: dependent.h' and one to simply `dependent.h:'.
378
+  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
379
+  # Some versions of the HPUX 10.20 sed can't process this invocation
380
+  # correctly.  Breaking it into two sed invocations is a workaround.
381
+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
382
+    | sed -e 's/$/ :/' >> "$depfile"
335 383
   rm -f "$tmpdepfile"
336 384
   ;;
337 385
 
... ...
@@ -342,9 +439,8 @@ hp2)
342 342
   # 'foo.d', which lands next to the object file, wherever that
343 343
   # happens to be.
344 344
   # Much of this is similar to the tru64 case; see comments there.
345
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
346
-  test "x$dir" = "x$object" && dir=
347
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
345
+  set_dir_from  "$object"
346
+  set_base_from "$object"
348 347
   if test "$libtool" = yes; then
349 348
     tmpdepfile1=$dir$base.d
350 349
     tmpdepfile2=$dir.libs/$base.d
... ...
@@ -355,8 +451,7 @@ hp2)
355 355
     "$@" +Maked
356 356
   fi
357 357
   stat=$?
358
-  if test $stat -eq 0; then :
359
-  else
358
+  if test $stat -ne 0; then
360 359
      rm -f "$tmpdepfile1" "$tmpdepfile2"
361 360
      exit $stat
362 361
   fi
... ...
@@ -366,76 +461,61 @@ hp2)
366 366
     test -f "$tmpdepfile" && break
367 367
   done
368 368
   if test -f "$tmpdepfile"; then
369
-    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
369
+    sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
370 370
     # Add 'dependent.h:' lines.
371 371
     sed -ne '2,${
372
-	       s/^ *//
373
-	       s/ \\*$//
374
-	       s/$/:/
375
-	       p
376
-	     }' "$tmpdepfile" >> "$depfile"
372
+               s/^ *//
373
+               s/ \\*$//
374
+               s/$/:/
375
+               p
376
+             }' "$tmpdepfile" >> "$depfile"
377 377
   else
378
-    echo "#dummy" > "$depfile"
378
+    make_dummy_depfile
379 379
   fi
380 380
   rm -f "$tmpdepfile" "$tmpdepfile2"
381 381
   ;;
382 382
 
383 383
 tru64)
384
-   # The Tru64 compiler uses -MD to generate dependencies as a side
385
-   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
-   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
-   # dependencies in 'foo.d' instead, so we check for that too.
388
-   # Subdirectories are respected.
389
-   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
390
-   test "x$dir" = "x$object" && dir=
391
-   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
392
-
393
-   if test "$libtool" = yes; then
394
-      # With Tru64 cc, shared objects can also be used to make a
395
-      # static library.  This mechanism is used in libtool 1.4 series to
396
-      # handle both shared and static libraries in a single compilation.
397
-      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
398
-      #
399
-      # With libtool 1.5 this exception was removed, and libtool now
400
-      # generates 2 separate objects for the 2 libraries.  These two
401
-      # compilations output dependencies in $dir.libs/$base.o.d and
402
-      # in $dir$base.o.d.  We have to check for both files, because
403
-      # one of the two compilations can be disabled.  We should prefer
404
-      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
405
-      # automatically cleaned when .libs/ is deleted, while ignoring
406
-      # the former would cause a distcleancheck panic.
407
-      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
408
-      tmpdepfile2=$dir$base.o.d          # libtool 1.5
409
-      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
410
-      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
411
-      "$@" -Wc,-MD
412
-   else
413
-      tmpdepfile1=$dir$base.o.d
414
-      tmpdepfile2=$dir$base.d
415
-      tmpdepfile3=$dir$base.d
416
-      tmpdepfile4=$dir$base.d
417
-      "$@" -MD
418
-   fi
419
-
420
-   stat=$?
421
-   if test $stat -eq 0; then :
422
-   else
423
-      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
424
-      exit $stat
425
-   fi
426
-
427
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
428
-   do
429
-     test -f "$tmpdepfile" && break
430
-   done
431
-   if test -f "$tmpdepfile"; then
432
-      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
433
-      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
434
-   else
435
-      echo "#dummy" > "$depfile"
436
-   fi
437
-   rm -f "$tmpdepfile"
438
-   ;;
384
+  # The Tru64 compiler uses -MD to generate dependencies as a side
385
+  # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
+  # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
+  # dependencies in 'foo.d' instead, so we check for that too.
388
+  # Subdirectories are respected.
389
+  set_dir_from  "$object"
390
+  set_base_from "$object"
391
+
392
+  if test "$libtool" = yes; then
393
+    # Libtool generates 2 separate objects for the 2 libraries.  These
394
+    # two compilations output dependencies in $dir.libs/$base.o.d and
395
+    # in $dir$base.o.d.  We have to check for both files, because
396
+    # one of the two compilations can be disabled.  We should prefer
397
+    # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
398
+    # automatically cleaned when .libs/ is deleted, while ignoring
399
+    # the former would cause a distcleancheck panic.
400
+    tmpdepfile1=$dir$base.o.d          # libtool 1.5
401
+    tmpdepfile2=$dir.libs/$base.o.d    # Likewise.
402
+    tmpdepfile3=$dir.libs/$base.d      # Compaq CCC V6.2-504
403
+    "$@" -Wc,-MD
404
+  else
405
+    tmpdepfile1=$dir$base.d
406
+    tmpdepfile2=$dir$base.d
407
+    tmpdepfile3=$dir$base.d
408
+    "$@" -MD
409
+  fi
410
+
411
+  stat=$?
412
+  if test $stat -ne 0; then
413
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
414
+    exit $stat
415
+  fi
416
+
417
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
418
+  do
419
+    test -f "$tmpdepfile" && break
420
+  done
421
+  # Same post-processing that is required for AIX mode.
422
+  aix_post_process_depfile
423
+  ;;
439 424
 
440 425
 msvc7)
441 426
   if test "$libtool" = yes; then
... ...
@@ -446,8 +526,7 @@ msvc7)
446 446
   "$@" $showIncludes > "$tmpdepfile"
447 447
   stat=$?
448 448
   grep -v '^Note: including file: ' "$tmpdepfile"
449
-  if test "$stat" = 0; then :
450
-  else
449
+  if test $stat -ne 0; then
451 450
     rm -f "$tmpdepfile"
452 451
     exit $stat
453 452
   fi
... ...
@@ -473,6 +552,7 @@ $ {
473 473
   G
474 474
   p
475 475
 }' >> "$depfile"
476
+  echo >> "$depfile" # make sure the fragment doesn't end with a backslash
476 477
   rm -f "$tmpdepfile"
477 478
   ;;
478 479
 
... ...
@@ -524,13 +604,14 @@ dashmstdout)
524 524
   # in the target name.  This is to cope with DOS-style filenames:
525 525
   # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
526 526
   "$@" $dashmflag |
527
-    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
527
+    sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
528 528
   rm -f "$depfile"
529 529
   cat < "$tmpdepfile" > "$depfile"
530
-  tr ' ' "$nl" < "$tmpdepfile" | \
531
-## Some versions of the HPUX 10.20 sed can't process this invocation
532
-## correctly.  Breaking it into two sed invocations is a workaround.
533
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
530
+  # Some versions of the HPUX 10.20 sed can't process this sed invocation
531
+  # correctly.  Breaking it into two sed invocations is a workaround.
532
+  tr ' ' "$nl" < "$tmpdepfile" \
533
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
534
+    | sed -e 's/$/ :/' >> "$depfile"
534 535
   rm -f "$tmpdepfile"
535 536
   ;;
536 537
 
... ...
@@ -583,10 +664,12 @@ makedepend)
583 583
   # makedepend may prepend the VPATH from the source file name to the object.
584 584
   # No need to regex-escape $object, excess matching of '.' is harmless.
585 585
   sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
586
-  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
587
-## Some versions of the HPUX 10.20 sed can't process this invocation
588
-## correctly.  Breaking it into two sed invocations is a workaround.
589
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
586
+  # Some versions of the HPUX 10.20 sed can't process the last invocation
587
+  # correctly.  Breaking it into two sed invocations is a workaround.
588
+  sed '1,2d' "$tmpdepfile" \
589
+    | tr ' ' "$nl" \
590
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
591
+    | sed -e 's/$/ :/' >> "$depfile"
590 592
   rm -f "$tmpdepfile" "$tmpdepfile".bak
591 593
   ;;
592 594
 
... ...
@@ -622,10 +705,10 @@ cpp)
622 622
     esac
623 623
   done
624 624
 
625
-  "$@" -E |
626
-    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
-       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
628
-    sed '$ s: \\$::' > "$tmpdepfile"
625
+  "$@" -E \
626
+    | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
+             -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
628
+    | sed '$ s: \\$::' > "$tmpdepfile"
629 629
   rm -f "$depfile"
630 630
   echo "$object : \\" > "$depfile"
631 631
   cat < "$tmpdepfile" >> "$depfile"
... ...
@@ -657,15 +740,15 @@ msvisualcpp)
657 657
       shift
658 658
       ;;
659 659
     "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
660
-	set fnord "$@"
661
-	shift
662
-	shift
663
-	;;
660
+        set fnord "$@"
661
+        shift
662
+        shift
663
+        ;;
664 664
     *)
665
-	set fnord "$@" "$arg"
666
-	shift
667
-	shift
668
-	;;
665
+        set fnord "$@" "$arg"
666
+        shift
667
+        shift
668
+        ;;
669 669
     esac
670 670
   done
671 671
   "$@" -E 2>/dev/null |
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 # install - install a program, script, or datafile
3 3
 
4
-scriptversion=2011-01-19.21; # UTC
4
+scriptversion=2011-11-20.07; # UTC
5 5
 
6 6
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
7 7
 # later released in X11R6 (xc/config/util/install.sh) with the
... ...
@@ -35,7 +35,7 @@ scriptversion=2011-01-19.21; # UTC
35 35
 # FSF changes to this file are in the public domain.
36 36
 #
37 37
 # Calling this script install-sh is preferred over install.sh, to prevent
38
-# `make' implicit rules from creating a file called install from it
38
+# 'make' implicit rules from creating a file called install from it
39 39
 # when there is no Makefile.
40 40
 #
41 41
 # This script is compatible with the BSD install script, but was written
... ...
@@ -156,7 +156,7 @@ while test $# -ne 0; do
156 156
     -s) stripcmd=$stripprog;;
157 157
 
158 158
     -t) dst_arg=$2
159
-	# Protect names problematic for `test' and other utilities.
159
+	# Protect names problematic for 'test' and other utilities.
160 160
 	case $dst_arg in
161 161
 	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
162 162
 	esac
... ...
@@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
190 190
     fi
191 191
     shift # arg
192 192
     dst_arg=$arg
193
-    # Protect names problematic for `test' and other utilities.
193
+    # Protect names problematic for 'test' and other utilities.
194 194
     case $dst_arg in
195 195
       -* | [=\(\)!]) dst_arg=./$dst_arg;;
196 196
     esac
... ...
@@ -202,7 +202,7 @@ if test $# -eq 0; then
202 202
     echo "$0: no input file specified." >&2
203 203
     exit 1
204 204
   fi
205
-  # It's OK to call `install-sh -d' without argument.
205
+  # It's OK to call 'install-sh -d' without argument.
206 206
   # This can happen when creating conditional directories.
207 207
   exit 0
208 208
 fi
... ...
@@ -240,7 +240,7 @@ fi
240 240
 
241 241
 for src
242 242
 do
243
-  # Protect names problematic for `test' and other utilities.
243
+  # Protect names problematic for 'test' and other utilities.
244 244
   case $src in
245 245
     -* | [=\(\)!]) src=./$src;;
246 246
   esac
... ...
@@ -354,7 +354,7 @@ do
354 354
 	      if test -z "$dir_arg" || {
355 355
 		   # Check for POSIX incompatibilities with -m.
356 356
 		   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357
-		   # other-writeable bit of parent directory when it shouldn't.
357
+		   # other-writable bit of parent directory when it shouldn't.
358 358
 		   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 359
 		   ls_ld_tmpdir=`ls -ld "$tmpdir"`
360 360
 		   case $ls_ld_tmpdir in
... ...
@@ -70,7 +70,7 @@
70 70
 #         compiler:		$LTCC
71 71
 #         compiler flags:		$LTCFLAGS
72 72
 #         linker:		$LD (gnu? $with_gnu_ld)
73
-#         $progname:	(GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
73
+#         $progname:	(GNU libtool) 2.4.2
74 74
 #         automake:	$automake_version
75 75
 #         autoconf:	$autoconf_version
76 76
 #
... ...
@@ -80,7 +80,7 @@
80 80
 
81 81
 PROGRAM=libtool
82 82
 PACKAGE=libtool
83
-VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
83
+VERSION=2.4.2
84 84
 TIMESTAMP=""
85 85
 package_revision=1.3337
86 86
 
... ...
@@ -6124,10 +6124,7 @@ func_mode_link ()
6124 6124
 	case $pass in
6125 6125
 	dlopen) libs="$dlfiles" ;;
6126 6126
 	dlpreopen) libs="$dlprefiles" ;;
6127
-	link)
6128
-	  libs="$deplibs %DEPLIBS%"
6129
-	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
6130
-	  ;;
6127
+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
6131 6128
 	esac
6132 6129
       fi
6133 6130
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
... ...
@@ -6447,19 +6444,19 @@ func_mode_link ()
6447 6447
 	    # It is a libtool convenience library, so add in its objects.
6448 6448
 	    func_append convenience " $ladir/$objdir/$old_library"
6449 6449
 	    func_append old_convenience " $ladir/$objdir/$old_library"
6450
-	    tmp_libs=
6451
-	    for deplib in $dependency_libs; do
6452
-	      deplibs="$deplib $deplibs"
6453
-	      if $opt_preserve_dup_deps ; then
6454
-		case "$tmp_libs " in
6455
-		*" $deplib "*) func_append specialdeplibs " $deplib" ;;
6456
-		esac
6457
-	      fi
6458
-	      func_append tmp_libs " $deplib"
6459
-	    done
6460 6450
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
6461 6451
 	    func_fatal_error "\`$lib' is not a convenience library"
6462 6452
 	  fi
6453
+	  tmp_libs=
6454
+	  for deplib in $dependency_libs; do
6455
+	    deplibs="$deplib $deplibs"
6456
+	    if $opt_preserve_dup_deps ; then
6457
+	      case "$tmp_libs " in
6458
+	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
6459
+	      esac
6460
+	    fi
6461
+	    func_append tmp_libs " $deplib"
6462
+	  done
6463 6463
 	  continue
6464 6464
 	fi # $pass = conv
6465 6465
 
... ...
@@ -7352,9 +7349,6 @@ func_mode_link ()
7352 7352
 	    revision="$number_minor"
7353 7353
 	    lt_irix_increment=no
7354 7354
 	    ;;
7355
-	  *)
7356
-	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
7357
-	    ;;
7358 7355
 	  esac
7359 7356
 	  ;;
7360 7357
 	no)
... ...
@@ -1,11 +1,10 @@
1 1
 #! /bin/sh
2
-# Common stub for a few missing GNU programs while installing.
2
+# Common wrapper for a few potentially missing GNU programs.
3 3
 
4
-scriptversion=2012-01-06.13; # UTC
4
+scriptversion=2013-10-28.13; # UTC
5 5
 
6
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
6
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
7
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9 8
 
10 9
 # This program is free software; you can redistribute it and/or modify
11 10
 # it under the terms of the GNU General Public License as published by
... ...
@@ -26,68 +25,40 @@ scriptversion=2012-01-06.13; # UTC
26 26
 # the same distribution terms that you use for the rest of that program.
27 27
 
28 28
 if test $# -eq 0; then
29
-  echo 1>&2 "Try \`$0 --help' for more information"
29
+  echo 1>&2 "Try '$0 --help' for more information"
30 30
   exit 1
31 31
 fi
32 32
 
33
-run=:
34
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
35
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
36
-
37
-# In the cases where this matters, `missing' is being run in the
38
-# srcdir already.
39
-if test -f configure.ac; then
40
-  configure_ac=configure.ac
41
-else
42
-  configure_ac=configure.in
43
-fi
33
+case $1 in
44 34
 
45
-msg="missing on your system"
35
+  --is-lightweight)
36
+    # Used by our autoconf macros to check whether the available missing
37
+    # script is modern enough.
38
+    exit 0
39
+    ;;
46 40
 
47
-case $1 in
48
-  # Try to run requested program, and just exit if it succeeds.
49
-  run=
50
-  shift
51
-  "$@" && exit 0
52
-  # Exit code 63 means version mismatch.  This often happens
53
-  # when the user try to use an ancient version of a tool on
54
-  # a file that requires a minimum version.  In this case we
55
-  # we should proceed has if the program had been absent, or
56
-  # if --run hadn't been passed.
57
-  if test $? = 63; then
58
-    run=:
59
-    msg="probably too old"
60
-  fi
61
-  ;;
41
+  --run)
42
+    # Back-compat with the calling convention used by older automake.
43
+    shift
44
+    ;;
62 45
 
63 46
   -h|--h|--he|--hel|--help)
64 47
     echo "\
65 48
 $0 [OPTION]... PROGRAM [ARGUMENT]...
66 49
 
67
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
68
-error status if there is no known handling for PROGRAM.
50
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
51
+to PROGRAM being missing or too old.
69 52
 
70 53
 Options:
71 54
   -h, --help      display this help and exit
72 55
   -v, --version   output version information and exit
73
-  --run           try to run the given command, and emulate it if it fails
74 56
 
75 57
 Supported PROGRAM values:
76
-  aclocal      touch file \`aclocal.m4'
77
-  autoconf     touch file \`configure'
78
-  autoheader   touch file \`config.h.in'
79
-  autom4te     touch the output file, or create a stub one
80
-  automake     touch all \`Makefile.in' files
81
-  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
82
-  flex         create \`lex.yy.c', if possible, from existing .c
83
-  help2man     touch the output file
84
-  lex          create \`lex.yy.c', if possible, from existing .c
85
-  makeinfo     touch the output file
86
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
58
+  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
59
+  bison     yacc      flex         lex       help2man
87 60
 
88
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
89
-\`g' are ignored when checking the name.
61
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
62
+'g' are ignored when checking the name.
90 63
 
91 64
 Send bug reports to <bug-automake@gnu.org>."
92 65
     exit $?
... ...
@@ -99,228 +70,141 @@ Send bug reports to <bug-automake@gnu.org>."
99 99
     ;;
100 100
 
101 101
   -*)
102
-    echo 1>&2 "$0: Unknown \`$1' option"
103
-    echo 1>&2 "Try \`$0 --help' for more information"
102
+    echo 1>&2 "$0: unknown '$1' option"
103
+    echo 1>&2 "Try '$0 --help' for more information"
104 104
     exit 1
105 105
     ;;
106 106
 
107 107
 esac
108 108
 
109
-# normalize program name to check for.
110
-program=`echo "$1" | sed '
111
-  s/^gnu-//; t
112
-  s/^gnu//; t
113
-  s/^g//; t'`
114
-
115
-# Now exit if we have it, but it failed.  Also exit now if we
116
-# don't have it and --version was passed (most likely to detect
117
-# the program).  This is about non-GNU programs, so use $1 not
118
-# $program.
119
-case $1 in
120
-  lex*|yacc*)
121
-    # Not GNU programs, they don't have --version.
122
-    ;;
123
-
124
-  *)
125
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
126
-       # We have it, but it failed.
127
-       exit 1
128
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
129
-       # Could not run --version or --help.  This is probably someone
130
-       # running `$TOOL --version' or `$TOOL --help' to check whether
131
-       # $TOOL exists and not knowing $TOOL uses missing.
132
-       exit 1
133
-    fi
134
-    ;;
135
-esac
136
-
137
-# If it does not exist, or fails to run (possibly an outdated version),
138
-# try to emulate it.
139
-case $program in
140
-  aclocal*)
141
-    echo 1>&2 "\
142
-WARNING: \`$1' is $msg.  You should only need it if
143
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
144
-         to install the \`Automake' and \`Perl' packages.  Grab them from
145
-         any GNU archive site."
146
-    touch aclocal.m4
147
-    ;;
148
-
149
-  autoconf*)
150
-    echo 1>&2 "\
151
-WARNING: \`$1' is $msg.  You should only need it if
152
-         you modified \`${configure_ac}'.  You might want to install the
153
-         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
154
-         archive site."
155
-    touch configure
156
-    ;;
157
-
158
-  autoheader*)
159
-    echo 1>&2 "\
160
-WARNING: \`$1' is $msg.  You should only need it if
161
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
162
-         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
163
-         from any GNU archive site."
164
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
165
-    test -z "$files" && files="config.h"
166
-    touch_files=
167
-    for f in $files; do
168
-      case $f in
169
-      *:*) touch_files="$touch_files "`echo "$f" |
170
-				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
171
-      *) touch_files="$touch_files $f.in";;
172
-      esac
173
-    done
174
-    touch $touch_files
175
-    ;;
176
-
177
-  automake*)
178
-    echo 1>&2 "\
179
-WARNING: \`$1' is $msg.  You should only need it if
180
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
181
-         You might want to install the \`Automake' and \`Perl' packages.
182
-         Grab them from any GNU archive site."
183
-    find . -type f -name Makefile.am -print |
184
-	   sed 's/\.am$/.in/' |
185
-	   while read f; do touch "$f"; done
186
-    ;;
187
-
188
-  autom4te*)
189
-    echo 1>&2 "\
190
-WARNING: \`$1' is needed, but is $msg.
191
-         You might have modified some files without having the
192
-         proper tools for further handling them.
193
-         You can get \`$1' as part of \`Autoconf' from any GNU
194
-         archive site."
195
-
196
-    file=`echo "$*" | sed -n "$sed_output"`
197
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
198
-    if test -f "$file"; then
199
-	touch $file
200
-    else
201
-	test -z "$file" || exec >$file
202
-	echo "#! /bin/sh"
203
-	echo "# Created by GNU Automake missing as a replacement of"
204
-	echo "#  $ $@"
205
-	echo "exit 0"
206
-	chmod +x $file
207
-	exit 1
208
-    fi
209
-    ;;
210
-
211
-  bison*|yacc*)
212
-    echo 1>&2 "\
213
-WARNING: \`$1' $msg.  You should only need it if
214
-         you modified a \`.y' file.  You may need the \`Bison' package
215
-         in order for those modifications to take effect.  You can get
216
-         \`Bison' from any GNU archive site."
217
-    rm -f y.tab.c y.tab.h
218
-    if test $# -ne 1; then
219
-        eval LASTARG=\${$#}
220
-	case $LASTARG in
221
-	*.y)
222
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
223
-	    if test -f "$SRCFILE"; then
224
-	         cp "$SRCFILE" y.tab.c
225
-	    fi
226
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
227
-	    if test -f "$SRCFILE"; then
228
-	         cp "$SRCFILE" y.tab.h
229
-	    fi
230
-	  ;;
231
-	esac
232
-    fi
233
-    if test ! -f y.tab.h; then
234
-	echo >y.tab.h
235
-    fi
236
-    if test ! -f y.tab.c; then
237
-	echo 'main() { return 0; }' >y.tab.c
238
-    fi
239
-    ;;
240
-
241
-  lex*|flex*)
242
-    echo 1>&2 "\
243
-WARNING: \`$1' is $msg.  You should only need it if
244
-         you modified a \`.l' file.  You may need the \`Flex' package
245
-         in order for those modifications to take effect.  You can get
246
-         \`Flex' from any GNU archive site."
247
-    rm -f lex.yy.c
248
-    if test $# -ne 1; then
249
-        eval LASTARG=\${$#}
250
-	case $LASTARG in
251
-	*.l)
252
-	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
253
-	    if test -f "$SRCFILE"; then
254
-	         cp "$SRCFILE" lex.yy.c
255
-	    fi
256
-	  ;;
257
-	esac
258
-    fi
259
-    if test ! -f lex.yy.c; then
260
-	echo 'main() { return 0; }' >lex.yy.c
261
-    fi
262
-    ;;
263
-
264
-  help2man*)
265
-    echo 1>&2 "\
266
-WARNING: \`$1' is $msg.  You should only need it if
267
-	 you modified a dependency of a manual page.  You may need the
268
-	 \`Help2man' package in order for those modifications to take
269
-	 effect.  You can get \`Help2man' from any GNU archive site."
270
-
271
-    file=`echo "$*" | sed -n "$sed_output"`
272
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
273
-    if test -f "$file"; then
274
-	touch $file
275
-    else
276
-	test -z "$file" || exec >$file
277
-	echo ".ab help2man is required to generate this page"
278
-	exit $?
279
-    fi
280
-    ;;
281
-
282
-  makeinfo*)
283
-    echo 1>&2 "\
284
-WARNING: \`$1' is $msg.  You should only need it if
285
-         you modified a \`.texi' or \`.texinfo' file, or any other file
286
-         indirectly affecting the aspect of the manual.  The spurious
287
-         call might also be the consequence of using a buggy \`make' (AIX,
288
-         DU, IRIX).  You might want to install the \`Texinfo' package or
289
-         the \`GNU make' package.  Grab either from any GNU archive site."
290
-    # The file to touch is that specified with -o ...
291
-    file=`echo "$*" | sed -n "$sed_output"`
292
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
293
-    if test -z "$file"; then
294
-      # ... or it is the one specified with @setfilename ...
295
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296
-      file=`sed -n '
297
-	/^@setfilename/{
298
-	  s/.* \([^ ]*\) *$/\1/
299
-	  p
300
-	  q
301
-	}' $infile`
302
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
303
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
304
-    fi
305
-    # If the file does not exist, the user really needs makeinfo;
306
-    # let's fail without touching anything.
307
-    test -f $file || exit 1
308
-    touch $file
309
-    ;;
109
+# Run the given program, remember its exit status.
110
+"$@"; st=$?
111
+
112
+# If it succeeded, we are done.
113
+test $st -eq 0 && exit 0
114
+
115
+# Also exit now if we it failed (or wasn't found), and '--version' was
116
+# passed; such an option is passed most likely to detect whether the
117
+# program is present and works.
118
+case $2 in --version|--help) exit $st;; esac
119
+
120
+# Exit code 63 means version mismatch.  This often happens when the user
121
+# tries to use an ancient version of a tool on a file that requires a
122
+# minimum version.
123
+if test $st -eq 63; then
124
+  msg="probably too old"
125
+elif test $st -eq 127; then
126
+  # Program was missing.
127
+  msg="missing on your system"
128
+else
129
+  # Program was found and executed, but failed.  Give up.
130
+  exit $st
131
+fi
310 132
 
311
-  *)
312
-    echo 1>&2 "\
313
-WARNING: \`$1' is needed, and is $msg.
314
-         You might have modified some files without having the
315
-         proper tools for further handling them.  Check the \`README' file,
316
-         it often tells you about the needed prerequisites for installing
317
-         this package.  You may also peek at any GNU archive site, in case
318
-         some other package would contain this missing \`$1' program."
319
-    exit 1
133
+perl_URL=http://www.perl.org/
134
+flex_URL=http://flex.sourceforge.net/
135
+gnu_software_URL=http://www.gnu.org/software
136
+
137
+program_details ()
138
+{
139
+  case $1 in
140
+    aclocal|automake)
141
+      echo "The '$1' program is part of the GNU Automake package:"
142
+      echo "<$gnu_software_URL/automake>"
143
+      echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
144
+      echo "<$gnu_software_URL/autoconf>"
145
+      echo "<$gnu_software_URL/m4/>"
146
+      echo "<$perl_URL>"
147
+      ;;
148
+    autoconf|autom4te|autoheader)
149
+      echo "The '$1' program is part of the GNU Autoconf package:"
150
+      echo "<$gnu_software_URL/autoconf/>"
151
+      echo "It also requires GNU m4 and Perl in order to run:"
152
+      echo "<$gnu_software_URL/m4/>"
153
+      echo "<$perl_URL>"
154
+      ;;
155
+  esac
156
+}
157
+
158
+give_advice ()
159
+{
160
+  # Normalize program name to check for.
161
+  normalized_program=`echo "$1" | sed '
162
+    s/^gnu-//; t
163
+    s/^gnu//; t
164
+    s/^g//; t'`
165
+
166
+  printf '%s\n' "'$1' is $msg."
167
+
168
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
169
+  case $normalized_program in
170
+    autoconf*)
171
+      echo "You should only need it if you modified 'configure.ac',"
172
+      echo "or m4 files included by it."
173
+      program_details 'autoconf'
174
+      ;;
175
+    autoheader*)
176
+      echo "You should only need it if you modified 'acconfig.h' or"
177
+      echo "$configure_deps."
178
+      program_details 'autoheader'
179
+      ;;
180
+    automake*)
181
+      echo "You should only need it if you modified 'Makefile.am' or"
182
+      echo "$configure_deps."
183
+      program_details 'automake'
184
+      ;;
185
+    aclocal*)
186
+      echo "You should only need it if you modified 'acinclude.m4' or"
187
+      echo "$configure_deps."
188
+      program_details 'aclocal'
189
+      ;;
190
+   autom4te*)
191
+      echo "You might have modified some maintainer files that require"
192
+      echo "the 'autom4te' program to be rebuilt."
193
+      program_details 'autom4te'
194
+      ;;
195
+    bison*|yacc*)
196
+      echo "You should only need it if you modified a '.y' file."
197
+      echo "You may want to install the GNU Bison package:"
198
+      echo "<$gnu_software_URL/bison/>"
199
+      ;;
200
+    lex*|flex*)
201
+      echo "You should only need it if you modified a '.l' file."
202
+      echo "You may want to install the Fast Lexical Analyzer package:"
203
+      echo "<$flex_URL>"
204
+      ;;
205
+    help2man*)
206
+      echo "You should only need it if you modified a dependency" \
207
+           "of a man page."
208
+      echo "You may want to install the GNU Help2man package:"
209
+      echo "<$gnu_software_URL/help2man/>"
320 210
     ;;
321
-esac
322
-
323
-exit 0
211
+    makeinfo*)
212
+      echo "You should only need it if you modified a '.texi' file, or"
213
+      echo "any other file indirectly affecting the aspect of the manual."
214
+      echo "You might want to install the Texinfo package:"
215
+      echo "<$gnu_software_URL/texinfo/>"
216
+      echo "The spurious makeinfo call might also be the consequence of"
217
+      echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
218
+      echo "want to install GNU make:"
219
+      echo "<$gnu_software_URL/make/>"
220
+      ;;
221
+    *)
222
+      echo "You might have modified some files without having the proper"
223
+      echo "tools for further handling them.  Check the 'README' file, it"
224
+      echo "often tells you about the needed prerequisites for installing"
225
+      echo "this package.  You may also peek at any GNU archive site, in"
226
+      echo "case some other package contains this missing '$1' program."
227
+      ;;
228
+  esac
229
+}
230
+
231
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
232
+                       -e '2,$s/^/         /' >&2
233
+
234
+# Propagate the correct exit status (expected to be 127 for a program
235
+# not found, 63 for a program that failed due to version mismatch).
236
+exit $st
324 237
 
325 238
 # Local variables:
326 239
 # eval: (add-hook 'write-file-hooks 'time-stamp)
... ...
@@ -1,10 +1,9 @@
1 1
 #! /bin/sh
2 2
 # ylwrap - wrapper for lex/yacc invocations.
3 3
 
4
-scriptversion=2011-08-25.18; # UTC
4
+scriptversion=2013-01-12.17; # UTC
5 5
 
6
-# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
7
-# 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
6
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
8 7
 #
9 8
 # Written by Tom Tromey <tromey@cygnus.com>.
10 9
 #
... ...
@@ -30,9 +29,41 @@ scriptversion=2011-08-25.18; # UTC
30 30
 # bugs to <bug-automake@gnu.org> or send patches to
31 31
 # <automake-patches@gnu.org>.
32 32
 
33
+get_dirname ()
34
+{
35
+  case $1 in
36
+    */*|*\\*) printf '%s\n' "$1" | sed -e 's|\([\\/]\)[^\\/]*$|\1|';;
37
+    # Otherwise,  we want the empty string (not ".").
38
+  esac
39
+}
40
+
41
+# guard FILE
42
+# ----------
43
+# The CPP macro used to guard inclusion of FILE.
44
+guard ()
45
+{
46
+  printf '%s\n' "$1"                                                    \
47
+    | sed                                                               \
48
+        -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'   \
49
+        -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'                        \
50
+        -e 's/__*/_/g'
51
+}
52
+
53
+# quote_for_sed [STRING]
54
+# ----------------------
55
+# Return STRING (or stdin) quoted to be used as a sed pattern.
56
+quote_for_sed ()
57
+{
58
+  case $# in
59
+    0) cat;;
60
+    1) printf '%s\n' "$1";;
61
+  esac \
62
+    | sed -e 's|[][\\.*]|\\&|g'
63
+}
64
+
33 65
 case "$1" in
34 66
   '')
35
-    echo "$0: No files given.  Try \`$0 --help' for more information." 1>&2
67
+    echo "$0: No files given.  Try '$0 --help' for more information." 1>&2
36 68
     exit 1
37 69
     ;;
38 70
   --basedir)
... ...
@@ -65,39 +96,71 @@ esac
65 65
 
66 66
 
67 67
 # The input.
68
-input="$1"
68
+input=$1
69 69
 shift
70
-case "$input" in
70
+# We'll later need for a correct munging of "#line" directives.
71
+input_sub_rx=`get_dirname "$input" | quote_for_sed`
72
+case $input in
71 73
   [\\/]* | ?:[\\/]*)
72 74
     # Absolute path; do nothing.
73 75
     ;;
74 76
   *)
75 77
     # Relative path.  Make it absolute.
76
-    input="`pwd`/$input"
78
+    input=`pwd`/$input
77 79
     ;;
78 80
 esac
81
+input_rx=`get_dirname "$input" | quote_for_sed`
82
+
83
+# Since DOS filename conventions don't allow two dots,
84
+# the DOS version of Bison writes out y_tab.c instead of y.tab.c
85
+# and y_tab.h instead of y.tab.h. Test to see if this is the case.
86
+y_tab_nodot=false
87
+if test -f y_tab.c || test -f y_tab.h; then
88
+  y_tab_nodot=true
89
+fi
90
+
91
+# The parser itself, the first file, is the destination of the .y.c
92
+# rule in the Makefile.
93
+parser=$1
94
+
95
+# A sed program to s/FROM/TO/g for all the FROM/TO so that, for
96
+# instance, we rename #include "y.tab.h" into #include "parse.h"
97
+# during the conversion from y.tab.c to parse.c.
98
+sed_fix_filenames=
79 99
 
80
-pairlist=
81
-while test "$#" -ne 0; do
82
-  if test "$1" = "--"; then
100
+# Also rename header guards, as Bison 2.7 for instance uses its header
101
+# guard in its implementation file.
102
+sed_fix_header_guards=
103
+
104
+while test $# -ne 0; do
105
+  if test x"$1" = x"--"; then
83 106
     shift
84 107
     break
85 108
   fi
86
-  pairlist="$pairlist $1"
109
+  from=$1
110
+  # Handle y_tab.c and y_tab.h output by DOS
111
+  if $y_tab_nodot; then
112
+    case $from in
113
+      "y.tab.c") from=y_tab.c;;
114
+      "y.tab.h") from=y_tab.h;;
115
+    esac
116
+  fi
87 117
   shift
118
+  to=$1
119
+  shift
120
+  sed_fix_filenames="${sed_fix_filenames}s|"`quote_for_sed "$from"`"|$to|g;"
121
+  sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
88 122
 done
89 123
 
90 124
 # The program to run.
91
-prog="$1"
125
+prog=$1
92 126
 shift
93 127
 # Make any relative path in $prog absolute.
94
-case "$prog" in
128
+case $prog in
95 129
   [\\/]* | ?:[\\/]*) ;;
96
-  *[\\/]*) prog="`pwd`/$prog" ;;
130
+  *[\\/]*) prog=`pwd`/$prog ;;
97 131
 esac
98 132
 
99
-# FIXME: add hostname here for parallel makes that run commands on
100
-# other machines.  But that might take us over the 14-char limit.
101 133
 dirname=ylwrap$$
102 134
 do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
103 135
 trap "ret=129; $do_exit" 1
... ...
@@ -115,98 +178,56 @@ esac
115 115
 ret=$?
116 116
 
117 117
 if test $ret -eq 0; then
118
-  set X $pairlist
119
-  shift
120
-  first=yes
121
-  # Since DOS filename conventions don't allow two dots,
122
-  # the DOS version of Bison writes out y_tab.c instead of y.tab.c
123
-  # and y_tab.h instead of y.tab.h. Test to see if this is the case.
124
-  y_tab_nodot="no"
125
-  if test -f y_tab.c || test -f y_tab.h; then
126
-    y_tab_nodot="yes"
127
-  fi
128
-
129
-  # The directory holding the input.
130
-  input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
131
-  # Quote $INPUT_DIR so we can use it in a regexp.
132
-  # FIXME: really we should care about more than `.' and `\'.
133
-  input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
134
-
135
-  while test "$#" -ne 0; do
136
-    from="$1"
137
-    # Handle y_tab.c and y_tab.h output by DOS
138
-    if test $y_tab_nodot = "yes"; then
139
-      if test $from = "y.tab.c"; then
140
-        from="y_tab.c"
141
-      else
142
-        if test $from = "y.tab.h"; then
143
-          from="y_tab.h"
144
-        fi
145
-      fi
146
-    fi
118
+  for from in *
119
+  do
120
+    to=`printf '%s\n' "$from" | sed "$sed_fix_filenames"`
147 121
     if test -f "$from"; then
148 122
       # If $2 is an absolute path name, then just use that,
149
-      # otherwise prepend `../'.
150
-      case "$2" in
151
-        [\\/]* | ?:[\\/]*) target="$2";;
152
-        *) target="../$2";;
123
+      # otherwise prepend '../'.
124
+      case $to in
125
+        [\\/]* | ?:[\\/]*) target=$to;;
126
+        *) target=../$to;;
153 127
       esac
154 128
 
155
-      # We do not want to overwrite a header file if it hasn't
156
-      # changed.  This avoid useless recompilations.  However the
157
-      # parser itself (the first file) should always be updated,
158
-      # because it is the destination of the .y.c rule in the
159
-      # Makefile.  Divert the output of all other files to a temporary
160
-      # file so we can compare them to existing versions.
161
-      if test $first = no; then
162
-        realtarget="$target"
163
-        target="tmp-`echo $target | sed s/.*[\\/]//g`"
129
+      # Do not overwrite unchanged header files to avoid useless
130
+      # recompilations.  Always update the parser itself: it is the
131
+      # destination of the .y.c rule in the Makefile.  Divert the
132
+      # output of all other files to a temporary file so we can
133
+      # compare them to existing versions.
134
+      if test $from != $parser; then
135
+        realtarget=$target
136
+        target=tmp-`printf '%s\n' "$target" | sed 's|.*[\\/]||g'`
164 137
       fi
165
-      # Edit out `#line' or `#' directives.
166
-      #
167
-      # We don't want the resulting debug information to point at
168
-      # an absolute srcdir; it is better for it to just mention the
169
-      # .y file with no path.
170
-      #
171
-      # We want to use the real output file name, not yy.lex.c for
172
-      # instance.
173
-      #
174
-      # We want the include guards to be adjusted too.
175
-      FROM=`echo "$from" | sed \
176
-            -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
177
-            -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
178
-      TARGET=`echo "$2" | sed \
179
-            -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
180
-            -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
181
-
182
-      sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
183
-          -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
184
-
185
-      # Check whether header files must be updated.
186
-      if test $first = no; then
138
+
139
+      # Munge "#line" or "#" directives.  Don't let the resulting
140
+      # debug information point at an absolute srcdir.  Use the real
141
+      # output file name, not yy.lex.c for instance.  Adjust the
142
+      # include guards too.
143
+      sed -e "/^#/!b"                           \
144
+          -e "s|$input_rx|$input_sub_rx|"       \
145
+          -e "$sed_fix_filenames"               \
146
+          -e "$sed_fix_header_guards"           \
147
+        "$from" >"$target" || ret=$?
148
+
149
+      # Check whether files must be updated.
150
+      if test "$from" != "$parser"; then
187 151
         if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
188
-          echo "$2" is unchanged
152
+          echo "$to is unchanged"
189 153
           rm -f "$target"
190 154
         else
191
-          echo updating "$2"
155
+          echo "updating $to"
192 156
           mv -f "$target" "$realtarget"
193 157
         fi
194 158
       fi
195 159
     else
196
-      # A missing file is only an error for the first file.  This
197
-      # is a blatant hack to let us support using "yacc -d".  If -d
198
-      # is not specified, we don't want an error when the header
199
-      # file is "missing".
200
-      if test $first = yes; then
160
+      # A missing file is only an error for the parser.  This is a
161
+      # blatant hack to let us support using "yacc -d".  If -d is not
162
+      # specified, don't fail when the header file is "missing".
163
+      if test "$from" = "$parser"; then
201 164
         ret=1
202 165
       fi
203 166
     fi
204
-    shift
205
-    shift
206
-    first=no
207 167
   done
208
-else
209
-  ret=$?
210 168
 fi
211 169
 
212 170
 # Remove the directory.
... ...
@@ -275,10 +275,10 @@ fi
275 275
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 276
   else
277 277
     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
-$0: https://bugzilla.clamav.net/ about your system, including
279
-$0: any error possibly output before this message. Then
280
-$0: install a modern shell, or manually run the script
281
-$0: under such a shell if you do have one."
278
+$0: https://bugzilla.clamav.net/ about your system,
279
+$0: including any error possibly output before this
280
+$0: message. Then install a modern shell, or manually run
281
+$0: the script under such a shell if you do have one."
282 282
   fi
283 283
   exit 1
284 284
 fi
... ...
@@ -1609,10 +1609,12 @@ Optional Features:
1609 1609
   --disable-option-checking  ignore unrecognized --enable/--with options
1610 1610
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1611 1611
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1612
-  --enable-silent-rules          less verbose build output (undo: `make V=1')
1613
-  --disable-silent-rules         verbose build output (undo: `make V=0')
1614
-  --disable-dependency-tracking  speeds up one-time build
1615
-  --enable-dependency-tracking   do not reject slow dependency extractors
1612
+  --enable-silent-rules   less verbose build output (undo: "make V=1")
1613
+  --disable-silent-rules  verbose build output (undo: "make V=0")
1614
+  --enable-dependency-tracking
1615
+                          do not reject slow dependency extractors
1616
+  --disable-dependency-tracking
1617
+                          speeds up one-time build
1616 1618
   --enable-static[=PKGS]  build static libraries [default=no]
1617 1619
   --enable-shared[=PKGS]  build shared libraries [default=yes]
1618 1620
   --enable-fast-install[=PKGS]
... ...
@@ -1974,9 +1976,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1974 1974
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1975 1975
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976 1976
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977
-( $as_echo "## -------------------------------------- ##
1977
+( $as_echo "## ------------------------------------------- ##
1978 1978
 ## Report this to https://bugzilla.clamav.net/ ##
1979
-## -------------------------------------- ##"
1979
+## ------------------------------------------- ##"
1980 1980
      ) | sed "s/^/$as_me: WARNING:     /" >&2
1981 1981
     ;;
1982 1982
 esac
... ...
@@ -2984,7 +2986,7 @@ done
2984 2984
 
2985 2985
 
2986 2986
 
2987
-am__api_version='1.11'
2987
+am__api_version='1.14'
2988 2988
 
2989 2989
 # Find a good install program.  We prefer a C program (faster),
2990 2990
 # so one script is as good as another.  But avoid the broken or
... ...
@@ -3081,9 +3083,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3081 3081
 
3082 3082
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3083 3083
 $as_echo_n "checking whether build environment is sane... " >&6; }
3084
-# Just in case
3085
-sleep 1
3086
-echo timestamp > conftest.file
3087 3084
 # Reject unsafe characters in $srcdir or the absolute working directory
3088 3085
 # name.  Accept space and tab only in the latter.
3089 3086
 am_lf='
... ...
@@ -3094,32 +3093,40 @@ case `pwd` in
3094 3094
 esac
3095 3095
 case $srcdir in
3096 3096
   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3097
-    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3097
+    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3098 3098
 esac
3099 3099
 
3100
-# Do `set' in a subshell so we don't clobber the current shell's
3100
+# Do 'set' in a subshell so we don't clobber the current shell's
3101 3101
 # arguments.  Must try -L first in case configure is actually a
3102 3102
 # symlink; some systems play weird games with the mod time of symlinks
3103 3103
 # (eg FreeBSD returns the mod time of the symlink's containing
3104 3104
 # directory).
3105 3105
 if (
3106
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3107
-   if test "$*" = "X"; then
3108
-      # -L didn't work.
3109
-      set X `ls -t "$srcdir/configure" conftest.file`
3110
-   fi
3111
-   rm -f conftest.file
3112
-   if test "$*" != "X $srcdir/configure conftest.file" \
3113
-      && test "$*" != "X conftest.file $srcdir/configure"; then
3114
-
3115
-      # If neither matched, then we have a broken ls.  This can happen
3116
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
3117
-      # broken ls alias from the environment.  This has actually
3118
-      # happened.  Such a system could not be considered "sane".
3119
-      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3120
-alias in your environment" "$LINENO" 5
3121
-   fi
3122
-
3106
+   am_has_slept=no
3107
+   for am_try in 1 2; do
3108
+     echo "timestamp, slept: $am_has_slept" > conftest.file
3109
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110
+     if test "$*" = "X"; then
3111
+	# -L didn't work.
3112
+	set X `ls -t "$srcdir/configure" conftest.file`
3113
+     fi
3114
+     if test "$*" != "X $srcdir/configure conftest.file" \
3115
+	&& test "$*" != "X conftest.file $srcdir/configure"; then
3116
+
3117
+	# If neither matched, then we have a broken ls.  This can happen
3118
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
3119
+	# broken ls alias from the environment.  This has actually
3120
+	# happened.  Such a system could not be considered "sane".
3121
+	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3122
+  alias in your environment" "$LINENO" 5
3123
+     fi
3124
+     if test "$2" = conftest.file || test $am_try -eq 2; then
3125
+       break
3126
+     fi
3127
+     # Just in case.
3128
+     sleep 1
3129
+     am_has_slept=yes
3130
+   done
3123 3131
    test "$2" = conftest.file
3124 3132
    )
3125 3133
 then
... ...
@@ -3131,6 +3138,16 @@ Check your system clock" "$LINENO" 5
3131 3131
 fi
3132 3132
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 3133
 $as_echo "yes" >&6; }
3134
+# If we didn't sleep, we still need to ensure time stamps of config.status and
3135
+# generated files are strictly newer.
3136
+am_sleep_pid=
3137
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3138
+  ( sleep 1 ) &
3139
+  am_sleep_pid=$!
3140
+fi
3141
+
3142
+rm -f conftest.file
3143
+
3134 3144
 test "$program_prefix" != NONE &&
3135 3145
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3136 3146
 # Use a double $ so make ignores it.
... ...
@@ -3153,12 +3170,12 @@ if test x"${MISSING+set}" != xset; then
3153 3153
   esac
3154 3154
 fi
3155 3155
 # Use eval to expand $SHELL
3156
-if eval "$MISSING --run true"; then
3157
-  am_missing_run="$MISSING --run "
3156
+if eval "$MISSING --is-lightweight"; then
3157
+  am_missing_run="$MISSING "
3158 3158
 else
3159 3159
   am_missing_run=
3160
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3161
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3160
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3161
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3162 3162
 fi
3163 3163
 
3164 3164
 if test x"${install_sh}" != xset; then
... ...
@@ -3170,10 +3187,10 @@ if test x"${install_sh}" != xset; then
3170 3170
   esac
3171 3171
 fi
3172 3172
 
3173
-# Installed binaries are usually stripped using `strip' when the user
3174
-# run `make install-strip'.  However `strip' might not be the right
3173
+# Installed binaries are usually stripped using 'strip' when the user
3174
+# run "make install-strip".  However 'strip' might not be the right
3175 3175
 # tool to use in cross-compilation environments, therefore Automake
3176
-# will honor the `STRIP' environment variable to overrule this program.
3176
+# will honor the 'STRIP' environment variable to overrule this program.
3177 3177
 if test "$cross_compiling" != no; then
3178 3178
   if test -n "$ac_tool_prefix"; then
3179 3179
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
... ...
@@ -3312,12 +3329,6 @@ fi
3312 3312
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3313 3313
 $as_echo "$MKDIR_P" >&6; }
3314 3314
 
3315
-mkdir_p="$MKDIR_P"
3316
-case $mkdir_p in
3317
-  [\\/$]* | ?:[\\/]*) ;;
3318
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3319
-esac
3320
-
3321 3315
 for ac_prog in gawk mawk nawk awk
3322 3316
 do
3323 3317
   # Extract the first word of "$ac_prog", so it can be a program name with args.
... ...
@@ -3400,6 +3411,45 @@ else
3400 3400
 fi
3401 3401
 rmdir .tst 2>/dev/null
3402 3402
 
3403
+# Check whether --enable-silent-rules was given.
3404
+if test "${enable_silent_rules+set}" = set; then :
3405
+  enableval=$enable_silent_rules;
3406
+fi
3407
+
3408
+case $enable_silent_rules in # (((
3409
+  yes) AM_DEFAULT_VERBOSITY=0;;
3410
+   no) AM_DEFAULT_VERBOSITY=1;;
3411
+    *) AM_DEFAULT_VERBOSITY=1;;
3412
+esac
3413
+am_make=${MAKE-make}
3414
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3415
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3416
+if ${am_cv_make_support_nested_variables+:} false; then :
3417
+  $as_echo_n "(cached) " >&6
3418
+else
3419
+  if $as_echo 'TRUE=$(BAR$(V))
3420
+BAR0=false
3421
+BAR1=true
3422
+V=1
3423
+am__doit:
3424
+	@$(TRUE)
3425
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3426
+  am_cv_make_support_nested_variables=yes
3427
+else
3428
+  am_cv_make_support_nested_variables=no
3429
+fi
3430
+fi
3431
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3432
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
3433
+if test $am_cv_make_support_nested_variables = yes; then
3434
+    AM_V='$(V)'
3435
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3436
+else
3437
+  AM_V=$AM_DEFAULT_VERBOSITY
3438
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3439
+fi
3440
+AM_BACKSLASH='\'
3441
+
3403 3442
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3404 3443
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3405 3444
   # is not polluted with repeated "-I."
... ...
@@ -3441,6 +3491,12 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3441 3441
 
3442 3442
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3443 3443
 
3444
+# For better backward compatibility.  To be removed once Automake 1.9.x
3445
+# dies out for good.  For more background, see:
3446
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3447
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3448
+mkdir_p='$(MKDIR_P)'
3449
+
3444 3450
 # We need awk for the "check" target.  The system "awk" is bad on
3445 3451
 # some platforms.
3446 3452
 # Always define AMTAR for backward compatibility.  Yes, it's still used
... ...
@@ -3448,101 +3504,182 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3448 3448
 AMTAR='$${TAR-tar}'
3449 3449
 
3450 3450
 
3451
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3452
-$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3453
-# Loop over all known methods to create a tar archive until one works.
3451
+# We'll loop over all known methods to create a tar archive until one works.
3454 3452
 _am_tools='gnutar plaintar pax cpio none'
3455
-_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3456
-# Do not fold the above two line into one, because Tru64 sh and
3457
-# Solaris sh will not grok spaces in the rhs of `-'.
3458
-for _am_tool in $_am_tools
3459
-do
3460
-  case $_am_tool in
3461
-  gnutar)
3462
-    for _am_tar in tar gnutar gtar;
3463
-    do
3464
-      { echo "$as_me:$LINENO: $_am_tar --version" >&5
3453
+
3454
+# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3455
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3456
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3457
+      # and bug#13588).
3458
+      am_max_uid=2097151 # 2^21 - 1
3459
+      am_max_gid=$am_max_uid
3460
+      # The $UID and $GID variables are not portable, so we need to resort
3461
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3462
+      # below are definitely unexpected, so allow the users to see them
3463
+      # (that is, avoid stderr redirection).
3464
+      am_uid=`id -u || echo unknown`
3465
+      am_gid=`id -g || echo unknown`
3466
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3467
+$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3468
+      if test $am_uid -le $am_max_uid; then
3469
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470
+$as_echo "yes" >&6; }
3471
+      else
3472
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473
+$as_echo "no" >&6; }
3474
+         _am_tools=none
3475
+      fi
3476
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3477
+$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3478
+      if test $am_gid -le $am_max_gid; then
3479
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480
+$as_echo "yes" >&6; }
3481
+      else
3482
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483
+$as_echo "no" >&6; }
3484
+        _am_tools=none
3485
+      fi
3486
+
3487
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3488
+$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3489
+
3490
+  # Go ahead even if we have the value already cached.  We do so because we
3491
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
3492
+  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3493
+
3494
+  for _am_tool in $_am_tools; do
3495
+    case $_am_tool in
3496
+    gnutar)
3497
+      for _am_tar in tar gnutar gtar; do
3498
+        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3465 3499
    ($_am_tar --version) >&5 2>&5
3466 3500
    ac_status=$?
3467 3501
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 3502
    (exit $ac_status); } && break
3469
-    done
3470
-    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3471
-    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3472
-    am__untar="$_am_tar -xf -"
3473
-    ;;
3474
-  plaintar)
3475
-    # Must skip GNU tar: if it does not support --format= it doesn't create
3476
-    # ustar tarball either.
3477
-    (tar --version) >/dev/null 2>&1 && continue
3478
-    am__tar='tar chf - "$$tardir"'
3479
-    am__tar_='tar chf - "$tardir"'
3480
-    am__untar='tar xf -'
3481
-    ;;
3482
-  pax)
3483
-    am__tar='pax -L -x ustar -w "$$tardir"'
3484
-    am__tar_='pax -L -x ustar -w "$tardir"'
3485
-    am__untar='pax -r'
3486
-    ;;
3487
-  cpio)
3488
-    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3489
-    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3490
-    am__untar='cpio -i -H ustar -d'
3491
-    ;;
3492
-  none)
3493
-    am__tar=false
3494
-    am__tar_=false
3495
-    am__untar=false
3496
-    ;;
3497
-  esac
3503
+      done
3504
+      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3505
+      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3506
+      am__untar="$_am_tar -xf -"
3507
+      ;;
3508
+    plaintar)
3509
+      # Must skip GNU tar: if it does not support --format= it doesn't create
3510
+      # ustar tarball either.
3511
+      (tar --version) >/dev/null 2>&1 && continue
3512
+      am__tar='tar chf - "$$tardir"'
3513
+      am__tar_='tar chf - "$tardir"'
3514
+      am__untar='tar xf -'
3515
+      ;;
3516
+    pax)
3517
+      am__tar='pax -L -x ustar -w "$$tardir"'
3518
+      am__tar_='pax -L -x ustar -w "$tardir"'
3519
+      am__untar='pax -r'
3520
+      ;;
3521
+    cpio)
3522
+      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3523
+      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3524
+      am__untar='cpio -i -H ustar -d'
3525
+      ;;
3526
+    none)
3527
+      am__tar=false
3528
+      am__tar_=false
3529
+      am__untar=false
3530
+      ;;
3531
+    esac
3498 3532
 
3499
-  # If the value was cached, stop now.  We just wanted to have am__tar
3500
-  # and am__untar set.
3501
-  test -n "${am_cv_prog_tar_ustar}" && break
3533
+    # If the value was cached, stop now.  We just wanted to have am__tar
3534
+    # and am__untar set.
3535
+    test -n "${am_cv_prog_tar_ustar}" && break
3502 3536
 
3503
-  # tar/untar a dummy directory, and stop if the command works
3504
-  rm -rf conftest.dir
3505
-  mkdir conftest.dir
3506
-  echo GrepMe > conftest.dir/file
3507
-  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3537
+    # tar/untar a dummy directory, and stop if the command works.
3538
+    rm -rf conftest.dir
3539
+    mkdir conftest.dir
3540
+    echo GrepMe > conftest.dir/file
3541
+    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3508 3542
    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3509 3543
    ac_status=$?
3510 3544
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 3545
    (exit $ac_status); }
3512
-  rm -rf conftest.dir
3513
-  if test -s conftest.tar; then
3514
-    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3546
+    rm -rf conftest.dir
3547
+    if test -s conftest.tar; then
3548
+      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3515 3549
    ($am__untar <conftest.tar) >&5 2>&5
3516 3550
    ac_status=$?
3517 3551
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 3552
    (exit $ac_status); }
3519
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3520
-  fi
3521
-done
3522
-rm -rf conftest.dir
3553
+      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3554
+   (cat conftest.dir/file) >&5 2>&5
3555
+   ac_status=$?
3556
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
+   (exit $ac_status); }
3558
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3559
+    fi
3560
+  done
3561
+  rm -rf conftest.dir
3523 3562
 
3524
-if ${am_cv_prog_tar_ustar+:} false; then :
3563
+  if ${am_cv_prog_tar_ustar+:} false; then :
3525 3564
   $as_echo_n "(cached) " >&6
3526 3565
 else
3527 3566
   am_cv_prog_tar_ustar=$_am_tool
3528 3567
 fi
3529 3568
 
3530
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3569
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3531 3570
 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3532 3571
 
3533 3572
 
3534 3573
 
3535 3574
 
3536 3575
 
3576
+
3577
+# POSIX will say in a future version that running "rm -f" with no argument
3578
+# is OK; and we want to be able to make that assumption in our Makefile
3579
+# recipes.  So use an aggressive probe to check that the usage we want is
3580
+# actually supported "in the wild" to an acceptable degree.
3581
+# See automake bug#10828.
3582
+# To make any issue more visible, cause the running configure to be aborted
3583
+# by default if the 'rm' program in use doesn't match our expectations; the
3584
+# user can still override this though.
3585
+if rm -f && rm -fr && rm -rf; then : OK; else
3586
+  cat >&2 <<'END'
3587
+Oops!
3588
+
3589
+Your 'rm' program seems unable to run without file operands specified
3590
+on the command line, even when the '-f' option is present.  This is contrary
3591
+to the behaviour of most rm programs out there, and not conforming with
3592
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3593
+
3594
+Please tell bug-automake@gnu.org about your system, including the value
3595
+of your $PATH and any error possibly output before this message.  This
3596
+can help us improve future automake versions.
3597
+
3598
+END
3599
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3600
+    echo 'Configuration will proceed anyway, since you have set the' >&2
3601
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3602
+    echo >&2
3603
+  else
3604
+    cat >&2 <<'END'
3605
+Aborting the configuration process, to ensure you take notice of the issue.
3606
+
3607
+You can download and install GNU coreutils to get an 'rm' implementation
3608
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
3609
+
3610
+If you want to complete the configuration process using your problematic
3611
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3612
+to "yes", and re-run configure.
3613
+
3614
+END
3615
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3616
+  fi
3617
+fi
3537 3618
 # Check whether --enable-silent-rules was given.
3538 3619
 if test "${enable_silent_rules+set}" = set; then :
3539 3620
   enableval=$enable_silent_rules;
3540 3621
 fi
3541 3622
 
3542
-case $enable_silent_rules in
3543
-yes) AM_DEFAULT_VERBOSITY=0;;
3544
-no)  AM_DEFAULT_VERBOSITY=1;;
3545
-*)   AM_DEFAULT_VERBOSITY=0;;
3623
+case $enable_silent_rules in # (((
3624
+  yes) AM_DEFAULT_VERBOSITY=0;;
3625
+   no) AM_DEFAULT_VERBOSITY=1;;
3626
+    *) AM_DEFAULT_VERBOSITY=0;;
3546 3627
 esac
3547 3628
 am_make=${MAKE-make}
3548 3629
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
... ...
@@ -3596,7 +3733,7 @@ am__quote=
3596 3596
 _am_result=none
3597 3597
 # First try GNU make style include.
3598 3598
 echo "include confinc" > confmf
3599
-# Ignore all kinds of additional output from `make'.
3599
+# Ignore all kinds of additional output from 'make'.
3600 3600
 case `$am_make -s -f confmf 2> /dev/null` in #(
3601 3601
 *the\ am__doit\ target*)
3602 3602
   am__include=include
... ...
@@ -4429,6 +4566,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 4429
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 4430
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 4431
 
4432
+ac_ext=c
4433
+ac_cpp='$CPP $CPPFLAGS'
4434
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4438
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4439
+if ${am_cv_prog_cc_c_o+:} false; then :
4440
+  $as_echo_n "(cached) " >&6
4441
+else
4442
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443
+/* end confdefs.h.  */
4444
+
4445
+int
4446
+main ()
4447
+{
4448
+
4449
+  ;
4450
+  return 0;
4451
+}
4452
+_ACEOF
4453
+  # Make sure it works both with $CC and with simple cc.
4454
+  # Following AC_PROG_CC_C_O, we do the test twice because some
4455
+  # compilers refuse to overwrite an existing .o file with -o,
4456
+  # though they will create one.
4457
+  am_cv_prog_cc_c_o=yes
4458
+  for am_i in 1 2; do
4459
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4460
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4461
+   ac_status=$?
4462
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
+   (exit $ac_status); } \
4464
+         && test -f conftest2.$ac_objext; then
4465
+      : OK
4466
+    else
4467
+      am_cv_prog_cc_c_o=no
4468
+      break
4469
+    fi
4470
+  done
4471
+  rm -f core conftest*
4472
+  unset am_i
4473
+fi
4474
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4475
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
4476
+if test "$am_cv_prog_cc_c_o" != yes; then
4477
+   # Losing compiler, so override with the script.
4478
+   # FIXME: It is wrong to rewrite CC.
4479
+   # But if we don't then we get into trouble of one sort or another.
4480
+   # A longer-term fix would be to have automake use am__CC in this case,
4481
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4482
+   CC="$am_aux_dir/compile $CC"
4483
+fi
4484
+ac_ext=c
4485
+ac_cpp='$CPP $CPPFLAGS'
4486
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489
+
4490
+
4432 4491
 depcc="$CC"   am_compiler_list=
4433 4492
 
4434 4493
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -4440,8 +4636,8 @@ else
4440 4440
   # We make a subdir and do the tests there.  Otherwise we can end up
4441 4441
   # making bogus files that we don't know about and never remove.  For
4442 4442
   # instance it was reported that on HP-UX the gcc test will end up
4443
-  # making a dummy file named `D' -- because `-MD' means `put the output
4444
-  # in D'.
4443
+  # making a dummy file named 'D' -- because '-MD' means "put the output
4444
+  # in D".
4445 4445
   rm -rf conftest.dir
4446 4446
   mkdir conftest.dir
4447 4447
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -4476,16 +4672,16 @@ else
4476 4476
     : > sub/conftest.c
4477 4477
     for i in 1 2 3 4 5 6; do
4478 4478
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4479
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4480
-      # Solaris 8's {/usr,}/bin/sh.
4481
-      touch sub/conftst$i.h
4479
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4480
+      # Solaris 10 /bin/sh.
4481
+      echo '/* dummy */' > sub/conftst$i.h
4482 4482
     done
4483 4483
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4484 4484
 
4485
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4485
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4486 4486
     # mode.  It turns out that the SunPro C++ compiler does not properly
4487
-    # handle `-M -o', and we need to detect this.  Also, some Intel
4488
-    # versions had trouble with output in subdirs
4487
+    # handle '-M -o', and we need to detect this.  Also, some Intel
4488
+    # versions had trouble with output in subdirs.
4489 4489
     am__obj=sub/conftest.${OBJEXT-o}
4490 4490
     am__minus_obj="-o $am__obj"
4491 4491
     case $depmode in
... ...
@@ -4494,8 +4690,8 @@ else
4494 4494
       test "$am__universal" = false || continue
4495 4495
       ;;
4496 4496
     nosideeffect)
4497
-      # after this tag, mechanisms are not by side-effect, so they'll
4498
-      # only be used when explicitly requested
4497
+      # After this tag, mechanisms are not by side-effect, so they'll
4498
+      # only be used when explicitly requested.
4499 4499
       if test "x$enable_dependency_tracking" = xyes; then
4500 4500
 	continue
4501 4501
       else
... ...
@@ -4503,7 +4699,7 @@ else
4503 4503
       fi
4504 4504
       ;;
4505 4505
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4506
-      # This compiler won't grok `-c -o', but also, the minuso test has
4506
+      # This compiler won't grok '-c -o', but also, the minuso test has
4507 4507
       # not run yet.  These depmodes are late enough in the game, and
4508 4508
       # so weak that their functioning should not be impacted.
4509 4509
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -5742,8 +5938,7 @@ else
5742 5742
     ;;
5743 5743
   *)
5744 5744
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5745
-    if test -n "$lt_cv_sys_max_cmd_len" && \
5746
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
5745
+    if test -n "$lt_cv_sys_max_cmd_len"; then
5747 5746
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5748 5747
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5749 5748
     else
... ...
@@ -6144,6 +6339,10 @@ freebsd* | dragonfly*)
6144 6144
   fi
6145 6145
   ;;
6146 6146
 
6147
+gnu*)
6148
+  lt_cv_deplibs_check_method=pass_all
6149
+  ;;
6150
+
6147 6151
 haiku*)
6148 6152
   lt_cv_deplibs_check_method=pass_all
6149 6153
   ;;
... ...
@@ -6182,11 +6381,11 @@ irix5* | irix6* | nonstopux*)
6182 6182
   ;;
6183 6183
 
6184 6184
 # This must be glibc/ELF.
6185
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6185
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
6186 6186
   lt_cv_deplibs_check_method=pass_all
6187 6187
   ;;
6188 6188
 
6189
-netbsd* | netbsdelf*-gnu)
6189
+netbsd*)
6190 6190
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6191 6191
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6192 6192
   else
... ...
@@ -7263,7 +7462,7 @@ ia64-*-hpux*)
7263 7263
   rm -rf conftest*
7264 7264
   ;;
7265 7265
 
7266
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7266
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7267 7267
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7268 7268
   # Find out which ABI we are using.
7269 7269
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -7279,19 +7478,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7279 7279
 	    LD="${LD-ld} -m elf_i386_fbsd"
7280 7280
 	    ;;
7281 7281
 	  x86_64-*linux*)
7282
-	    case `/usr/bin/file conftest.o` in
7283
-	      *x86-64*)
7284
-		LD="${LD-ld} -m elf32_x86_64"
7285
-		;;
7286
-	      *)
7287
-		LD="${LD-ld} -m elf_i386"
7288
-		;;
7289
-	    esac
7290
-	    ;;
7291
-	  powerpc64le-*)
7292
-	    LD="${LD-ld} -m elf32lppclinux"
7282
+	    LD="${LD-ld} -m elf_i386"
7293 7283
 	    ;;
7294
-	  powerpc64-*)
7284
+	  ppc64-*linux*|powerpc64-*linux*)
7295 7285
 	    LD="${LD-ld} -m elf32ppclinux"
7296 7286
 	    ;;
7297 7287
 	  s390x-*linux*)
... ...
@@ -7310,10 +7499,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7310 7310
 	  x86_64-*linux*)
7311 7311
 	    LD="${LD-ld} -m elf_x86_64"
7312 7312
 	    ;;
7313
-	  powerpcle-*)
7314
-	    LD="${LD-ld} -m elf64lppc"
7315
-	    ;;
7316
-	  powerpc-*)
7313
+	  ppc*-*linux*|powerpc*-*linux*)
7317 7314
 	    LD="${LD-ld} -m elf64ppc"
7318 7315
 	    ;;
7319 7316
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -8852,7 +9038,7 @@ lt_prog_compiler_static=
8852 8852
       lt_prog_compiler_static='-non_shared'
8853 8853
       ;;
8854 8854
 
8855
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8855
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8856 8856
       case $cc_basename in
8857 8857
       # old Intel for x86_64 which still supported -KPIC.
8858 8858
       ecc*)
... ...
@@ -9330,9 +9516,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
9330 9330
   openbsd*)
9331 9331
     with_gnu_ld=no
9332 9332
     ;;
9333
-  linux* | k*bsd*-gnu | gnu*)
9334
-    link_all_deplibs=no
9335
-    ;;
9336 9333
   esac
9337 9334
 
9338 9335
   ld_shlibs=yes
... ...
@@ -9554,7 +9737,7 @@ _LT_EOF
9554 9554
       fi
9555 9555
       ;;
9556 9556
 
9557
-    netbsd* | netbsdelf*-gnu)
9557
+    netbsd*)
9558 9558
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9559 9559
 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9560 9560
 	wlarc=
... ...
@@ -9731,7 +9914,6 @@ _LT_EOF
9731 9731
 	if test "$aix_use_runtimelinking" = yes; then
9732 9732
 	  shared_flag="$shared_flag "'${wl}-G'
9733 9733
 	fi
9734
-	link_all_deplibs=no
9735 9734
       else
9736 9735
 	# not using gcc
9737 9736
 	if test "$host_cpu" = ia64; then
... ...
@@ -10185,7 +10367,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10185 10185
       link_all_deplibs=yes
10186 10186
       ;;
10187 10187
 
10188
-    netbsd* | netbsdelf*-gnu)
10188
+    netbsd*)
10189 10189
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10190 10190
 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10191 10191
       else
... ...
@@ -11022,6 +11204,17 @@ freebsd* | dragonfly*)
11022 11022
   esac
11023 11023
   ;;
11024 11024
 
11025
+gnu*)
11026
+  version_type=linux # correct to gnu/linux during the next big refactor
11027
+  need_lib_prefix=no
11028
+  need_version=no
11029
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11030
+  soname_spec='${libname}${release}${shared_ext}$major'
11031
+  shlibpath_var=LD_LIBRARY_PATH
11032
+  shlibpath_overrides_runpath=no
11033
+  hardcode_into_libs=yes
11034
+  ;;
11035
+
11025 11036
 haiku*)
11026 11037
   version_type=linux # correct to gnu/linux during the next big refactor
11027 11038
   need_lib_prefix=no
... ...
@@ -11138,7 +11331,7 @@ linux*oldld* | linux*aout* | linux*coff*)
11138 11138
   ;;
11139 11139
 
11140 11140
 # This must be glibc/ELF.
11141
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11141
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
11142 11142
   version_type=linux # correct to gnu/linux during the next big refactor
11143 11143
   need_lib_prefix=no
11144 11144
   need_version=no
... ...
@@ -11202,18 +11395,6 @@ fi
11202 11202
   dynamic_linker='GNU/Linux ld.so'
11203 11203
   ;;
11204 11204
 
11205
-netbsdelf*-gnu)
11206
-  version_type=linux
11207
-  need_lib_prefix=no
11208
-  need_version=no
11209
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11210
-  soname_spec='${libname}${release}${shared_ext}$major'
11211
-  shlibpath_var=LD_LIBRARY_PATH
11212
-  shlibpath_overrides_runpath=no
11213
-  hardcode_into_libs=yes
11214
-  dynamic_linker='NetBSD ld.elf_so'
11215
-  ;;
11216
-
11217 11205
 netbsd*)
11218 11206
   version_type=sunos
11219 11207
   need_lib_prefix=no
... ...
@@ -12794,7 +12975,7 @@ else
12794 12794
     # at 6.2 and later dlopen does load deplibs.
12795 12795
     lt_cv_sys_dlopen_deplibs=yes
12796 12796
     ;;
12797
-  netbsd* | netbsdelf*-gnu)
12797
+  netbsd*)
12798 12798
     lt_cv_sys_dlopen_deplibs=yes
12799 12799
     ;;
12800 12800
   openbsd*)
... ...
@@ -13794,6 +13975,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13794 13794
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13795 13795
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13796 13796
 
13797
+ac_ext=c
13798
+ac_cpp='$CPP $CPPFLAGS'
13799
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13800
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13801
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
13802
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13803
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13804
+if ${am_cv_prog_cc_c_o+:} false; then :
13805
+  $as_echo_n "(cached) " >&6
13806
+else
13807
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808
+/* end confdefs.h.  */
13809
+
13810
+int
13811
+main ()
13812
+{
13813
+
13814
+  ;
13815
+  return 0;
13816
+}
13817
+_ACEOF
13818
+  # Make sure it works both with $CC and with simple cc.
13819
+  # Following AC_PROG_CC_C_O, we do the test twice because some
13820
+  # compilers refuse to overwrite an existing .o file with -o,
13821
+  # though they will create one.
13822
+  am_cv_prog_cc_c_o=yes
13823
+  for am_i in 1 2; do
13824
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13825
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13826
+   ac_status=$?
13827
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828
+   (exit $ac_status); } \
13829
+         && test -f conftest2.$ac_objext; then
13830
+      : OK
13831
+    else
13832
+      am_cv_prog_cc_c_o=no
13833
+      break
13834
+    fi
13835
+  done
13836
+  rm -f core conftest*
13837
+  unset am_i
13838
+fi
13839
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13840
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
13841
+if test "$am_cv_prog_cc_c_o" != yes; then
13842
+   # Losing compiler, so override with the script.
13843
+   # FIXME: It is wrong to rewrite CC.
13844
+   # But if we don't then we get into trouble of one sort or another.
13845
+   # A longer-term fix would be to have automake use am__CC in this case,
13846
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13847
+   CC="$am_aux_dir/compile $CC"
13848
+fi
13849
+ac_ext=c
13850
+ac_cpp='$CPP $CPPFLAGS'
13851
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13852
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13853
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
13854
+
13855
+
13797 13856
 depcc="$CC"   am_compiler_list=
13798 13857
 
13799 13858
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -13805,8 +14045,8 @@ else
13805 13805
   # We make a subdir and do the tests there.  Otherwise we can end up
13806 13806
   # making bogus files that we don't know about and never remove.  For
13807 13807
   # instance it was reported that on HP-UX the gcc test will end up
13808
-  # making a dummy file named `D' -- because `-MD' means `put the output
13809
-  # in D'.
13808
+  # making a dummy file named 'D' -- because '-MD' means "put the output
13809
+  # in D".
13810 13810
   rm -rf conftest.dir
13811 13811
   mkdir conftest.dir
13812 13812
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -13841,16 +14081,16 @@ else
13841 13841
     : > sub/conftest.c
13842 13842
     for i in 1 2 3 4 5 6; do
13843 13843
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13844
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13845
-      # Solaris 8's {/usr,}/bin/sh.
13846
-      touch sub/conftst$i.h
13844
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13845
+      # Solaris 10 /bin/sh.
13846
+      echo '/* dummy */' > sub/conftst$i.h
13847 13847
     done
13848 13848
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13849 13849
 
13850
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
13850
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13851 13851
     # mode.  It turns out that the SunPro C++ compiler does not properly
13852
-    # handle `-M -o', and we need to detect this.  Also, some Intel
13853
-    # versions had trouble with output in subdirs
13852
+    # handle '-M -o', and we need to detect this.  Also, some Intel
13853
+    # versions had trouble with output in subdirs.
13854 13854
     am__obj=sub/conftest.${OBJEXT-o}
13855 13855
     am__minus_obj="-o $am__obj"
13856 13856
     case $depmode in
... ...
@@ -13859,8 +14099,8 @@ else
13859 13859
       test "$am__universal" = false || continue
13860 13860
       ;;
13861 13861
     nosideeffect)
13862
-      # after this tag, mechanisms are not by side-effect, so they'll
13863
-      # only be used when explicitly requested
13862
+      # After this tag, mechanisms are not by side-effect, so they'll
13863
+      # only be used when explicitly requested.
13864 13864
       if test "x$enable_dependency_tracking" = xyes; then
13865 13865
 	continue
13866 13866
       else
... ...
@@ -13868,7 +14108,7 @@ else
13868 13868
       fi
13869 13869
       ;;
13870 13870
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13871
-      # This compiler won't grok `-c -o', but also, the minuso test has
13871
+      # This compiler won't grok '-c -o', but also, the minuso test has
13872 13872
       # not run yet.  These depmodes are late enough in the game, and
13873 13873
       # so weak that their functioning should not be impacted.
13874 13874
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -24533,6 +24773,14 @@ LIBOBJS=$ac_libobjs
24533 24533
 LTLIBOBJS=$ac_ltlibobjs
24534 24534
 
24535 24535
 
24536
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24537
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
24538
+   if test -n "$am_sleep_pid"; then
24539
+     # Hide warnings about reused PIDs.
24540
+     wait $am_sleep_pid 2>/dev/null
24541
+   fi
24542
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24543
+$as_echo "done" >&6; }
24536 24544
  if test -n "$EXEEXT"; then
24537 24545
   am__EXEEXT_TRUE=
24538 24546
   am__EXEEXT_FALSE='#'
... ...
@@ -26149,7 +26397,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
26149 26149
 
26150 26150
   case $ac_file$ac_mode in
26151 26151
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26152
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
26152
+  # Older Autoconf quotes --file arguments for eval, but not when files
26153 26153
   # are listed without --file.  Let's play safe and only enable the eval
26154 26154
   # if we detect the quoting.
26155 26155
   case $CONFIG_FILES in
... ...
@@ -26162,7 +26410,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
26162 26162
     # Strip MF so we end up with the name of the file.
26163 26163
     mf=`echo "$mf" | sed -e 's/:.*$//'`
26164 26164
     # Check whether this is an Automake generated Makefile or not.
26165
-    # We used to match only the files named `Makefile.in', but
26165
+    # We used to match only the files named 'Makefile.in', but
26166 26166
     # some people rename them; so instead we look at the file content.
26167 26167
     # Grep'ing the first line is not enough: some people post-process
26168 26168
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -26196,21 +26444,19 @@ $as_echo X"$mf" |
26196 26196
       continue
26197 26197
     fi
26198 26198
     # Extract the definition of DEPDIR, am__include, and am__quote
26199
-    # from the Makefile without running `make'.
26199
+    # from the Makefile without running 'make'.
26200 26200
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26201 26201
     test -z "$DEPDIR" && continue
26202 26202
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26203
-    test -z "am__include" && continue
26203
+    test -z "$am__include" && continue
26204 26204
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26205
-    # When using ansi2knr, U may be empty or an underscore; expand it
26206
-    U=`sed -n 's/^U = //p' < "$mf"`
26207 26205
     # Find all dependency output files, they are included files with
26208 26206
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26209 26207
     # simplest approach to changing $(DEPDIR) to its actual value in the
26210 26208
     # expansion.
26211 26209
     for file in `sed -n "
26212 26210
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26213
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26211
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26214 26212
       # Make sure the directory exists.
26215 26213
       test -f "$dirpart/$file" && continue
26216 26214
       fdir=`$as_dirname -- "$file" ||
... ...
@@ -27205,6 +27451,14 @@ LIBOBJS=$ac_libobjs
27205 27205
 LTLIBOBJS=$ac_ltlibobjs
27206 27206
 
27207 27207
 
27208
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27209
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
27210
+   if test -n "$am_sleep_pid"; then
27211
+     # Hide warnings about reused PIDs.
27212
+     wait $am_sleep_pid 2>/dev/null
27213
+   fi
27214
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
27215
+$as_echo "done" >&6; }
27208 27216
  if test -n "$EXEEXT"; then
27209 27217
   am__EXEEXT_TRUE=
27210 27218
   am__EXEEXT_FALSE='#'
... ...
@@ -28839,7 +29093,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
28839 28839
 
28840 28840
   case $ac_file$ac_mode in
28841 28841
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28842
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
28842
+  # Older Autoconf quotes --file arguments for eval, but not when files
28843 28843
   # are listed without --file.  Let's play safe and only enable the eval
28844 28844
   # if we detect the quoting.
28845 28845
   case $CONFIG_FILES in
... ...
@@ -28852,7 +29106,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
28852 28852
     # Strip MF so we end up with the name of the file.
28853 28853
     mf=`echo "$mf" | sed -e 's/:.*$//'`
28854 28854
     # Check whether this is an Automake generated Makefile or not.
28855
-    # We used to match only the files named `Makefile.in', but
28855
+    # We used to match only the files named 'Makefile.in', but
28856 28856
     # some people rename them; so instead we look at the file content.
28857 28857
     # Grep'ing the first line is not enough: some people post-process
28858 28858
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -28886,21 +29140,19 @@ $as_echo X"$mf" |
28886 28886
       continue
28887 28887
     fi
28888 28888
     # Extract the definition of DEPDIR, am__include, and am__quote
28889
-    # from the Makefile without running `make'.
28889
+    # from the Makefile without running 'make'.
28890 28890
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28891 28891
     test -z "$DEPDIR" && continue
28892 28892
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
28893
-    test -z "am__include" && continue
28893
+    test -z "$am__include" && continue
28894 28894
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28895
-    # When using ansi2knr, U may be empty or an underscore; expand it
28896
-    U=`sed -n 's/^U = //p' < "$mf"`
28897 28895
     # Find all dependency output files, they are included files with
28898 28896
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
28899 28897
     # simplest approach to changing $(DEPDIR) to its actual value in the
28900 28898
     # expansion.
28901 28899
     for file in `sed -n "
28902 28900
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28903
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28901
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28904 28902
       # Make sure the directory exists.
28905 28903
       test -f "$dirpart/$file" && continue
28906 28904
       fdir=`$as_dirname -- "$file" ||
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  along with this program; if not, write to the Free Software
35 35
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +98,7 @@ build_triplet = @build@
71 71
 host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 subdir = database
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
75 75
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 76
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
77 77
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -155,12 +182,18 @@ mkinstalldirs = $(install_sh) -d
155 155
 CONFIG_HEADER = $(top_builddir)/clamav-config.h
156 156
 CONFIG_CLEAN_FILES =
157 157
 CONFIG_CLEAN_VPATH_FILES =
158
+AM_V_P = $(am__v_P_@AM_V@)
159
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
160
+am__v_P_0 = false
161
+am__v_P_1 = :
158 162
 AM_V_GEN = $(am__v_GEN_@AM_V@)
159 163
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
160
-am__v_GEN_0 = @echo "  GEN   " $@;
164
+am__v_GEN_0 = @echo "  GEN     " $@;
165
+am__v_GEN_1 = 
161 166
 AM_V_at = $(am__v_at_@AM_V@)
162 167
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
163 168
 am__v_at_0 = @
169
+am__v_at_1 = 
164 170
 SOURCES =
165 171
 DIST_SOURCES =
166 172
 am__can_run_installinfo = \
... ...
@@ -168,6 +201,7 @@ am__can_run_installinfo = \
168 168
     n|no|NO) false;; \
169 169
     *) (install-info --version) >/dev/null 2>&1;; \
170 170
   esac
171
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
171 172
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
172 173
 ACLOCAL = @ACLOCAL@
173 174
 AMTAR = @AMTAR@
... ...
@@ -431,11 +465,11 @@ mostlyclean-libtool:
431 431
 
432 432
 clean-libtool:
433 433
 	-rm -rf .libs _libs
434
-tags: TAGS
435
-TAGS:
434
+tags TAGS:
435
+
436
+ctags CTAGS:
436 437
 
437
-ctags: CTAGS
438
-CTAGS:
438
+cscope cscopelist:
439 439
 
440 440
 
441 441
 distdir: $(DISTFILES)
... ...
@@ -571,16 +605,17 @@ uninstall-am:
571 571
 .MAKE: install-am install-strip
572 572
 
573 573
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
574
-	distclean distclean-generic distclean-libtool distdir dvi \
575
-	dvi-am html html-am info info-am install install-am \
576
-	install-data install-data-am install-data-local install-dvi \
577
-	install-dvi-am install-exec install-exec-am install-html \
578
-	install-html-am install-info install-info-am install-man \
579
-	install-pdf install-pdf-am install-ps install-ps-am \
580
-	install-strip installcheck installcheck-am installdirs \
581
-	maintainer-clean maintainer-clean-generic mostlyclean \
582
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
583
-	uninstall uninstall-am
574
+	cscopelist-am ctags-am distclean distclean-generic \
575
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
576
+	install install-am install-data install-data-am \
577
+	install-data-local install-dvi install-dvi-am install-exec \
578
+	install-exec-am install-html install-html-am install-info \
579
+	install-info-am install-man install-pdf install-pdf-am \
580
+	install-ps install-ps-am install-strip installcheck \
581
+	installcheck-am installdirs maintainer-clean \
582
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
583
+	mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
584
+	uninstall-am
584 585
 
585 586
 
586 587
 install-data-local:
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -33,23 +32,51 @@
33 33
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34 34
 #  MA 02110-1301, USA.
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
50 54
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
76
+    esac; \
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +98,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 @ENABLE_CLAMSUBMIT_TRUE@am__append_1 = man/clamsubmit.1
73 73
 subdir = docs
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
75 75
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 76
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
77 77
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -155,12 +182,18 @@ mkinstalldirs = $(install_sh) -d
155 155
 CONFIG_HEADER = $(top_builddir)/clamav-config.h
156 156
 CONFIG_CLEAN_FILES =
157 157
 CONFIG_CLEAN_VPATH_FILES =
158
+AM_V_P = $(am__v_P_@AM_V@)
159
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
160
+am__v_P_0 = false
161
+am__v_P_1 = :
158 162
 AM_V_GEN = $(am__v_GEN_@AM_V@)
159 163
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
160
-am__v_GEN_0 = @echo "  GEN   " $@;
164
+am__v_GEN_0 = @echo "  GEN     " $@;
165
+am__v_GEN_1 = 
161 166
 AM_V_at = $(am__v_at_@AM_V@)
162 167
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
163 168
 am__v_at_0 = @
169
+am__v_at_1 = 
164 170
 SOURCES =
165 171
 DIST_SOURCES =
166 172
 am__can_run_installinfo = \
... ...
@@ -202,6 +235,7 @@ man5dir = $(mandir)/man5
202 202
 man8dir = $(mandir)/man8
203 203
 NROFF = nroff
204 204
 MANS = $(man_MANS)
205
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
205 206
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
206 207
 ACLOCAL = @ACLOCAL@
207 208
 AMTAR = @AMTAR@
... ...
@@ -597,27 +631,14 @@ uninstall-man8:
597 597
 	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
598 598
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
599 599
 	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
600
-tags: TAGS
601
-TAGS:
600
+tags TAGS:
601
+
602
+ctags CTAGS:
602 603
 
603
-ctags: CTAGS
604
-CTAGS:
604
+cscope cscopelist:
605 605
 
606 606
 
607 607
 distdir: $(DISTFILES)
608
-	@list='$(MANS)'; if test -n "$$list"; then \
609
-	  list=`for p in $$list; do \
610
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
611
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
612
-	  if test -n "$$list" && \
613
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
614
-	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
615
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
616
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
617
-	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
618
-	    exit 1; \
619
-	  else :; fi; \
620
-	else :; fi
621 608
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
622 609
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
623 610
 	list='$(DISTFILES)'; \
... ...
@@ -755,17 +776,18 @@ uninstall-man: uninstall-man1 uninstall-man5 uninstall-man8
755 755
 .MAKE: install-am install-strip
756 756
 
757 757
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
758
-	distclean distclean-generic distclean-libtool distdir dvi \
759
-	dvi-am html html-am info info-am install install-am \
760
-	install-data install-data-am install-dvi install-dvi-am \
761
-	install-exec install-exec-am install-html install-html-am \
762
-	install-info install-info-am install-man install-man1 \
763
-	install-man5 install-man8 install-pdf install-pdf-am \
764
-	install-ps install-ps-am install-strip installcheck \
765
-	installcheck-am installdirs maintainer-clean \
758
+	cscopelist-am ctags-am distclean distclean-generic \
759
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
760
+	install install-am install-data install-data-am install-dvi \
761
+	install-dvi-am install-exec install-exec-am install-html \
762
+	install-html-am install-info install-info-am install-man \
763
+	install-man1 install-man5 install-man8 install-pdf \
764
+	install-pdf-am install-ps install-ps-am install-strip \
765
+	installcheck installcheck-am installdirs maintainer-clean \
766 766
 	maintainer-clean-generic mostlyclean mostlyclean-generic \
767
-	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
768
-	uninstall-man uninstall-man1 uninstall-man5 uninstall-man8
767
+	mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
768
+	uninstall-am uninstall-man uninstall-man1 uninstall-man5 \
769
+	uninstall-man8
769 770
 
770 771
 
771 772
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
51 55
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
77
+    esac; \
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +99,7 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@am__append_1 = clamav-milter.conf.sample
74 74
 subdir = etc
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
78 78
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -156,12 +183,18 @@ mkinstalldirs = $(install_sh) -d
156 156
 CONFIG_HEADER = $(top_builddir)/clamav-config.h
157 157
 CONFIG_CLEAN_FILES =
158 158
 CONFIG_CLEAN_VPATH_FILES =
159
+AM_V_P = $(am__v_P_@AM_V@)
160
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
161
+am__v_P_0 = false
162
+am__v_P_1 = :
159 163
 AM_V_GEN = $(am__v_GEN_@AM_V@)
160 164
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
161
-am__v_GEN_0 = @echo "  GEN   " $@;
165
+am__v_GEN_0 = @echo "  GEN     " $@;
166
+am__v_GEN_1 = 
162 167
 AM_V_at = $(am__v_at_@AM_V@)
163 168
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
164 169
 am__v_at_0 = @
170
+am__v_at_1 = 
165 171
 SOURCES =
166 172
 DIST_SOURCES =
167 173
 am__can_run_installinfo = \
... ...
@@ -198,6 +231,7 @@ am__uninstall_files_from_dir = { \
198 198
   }
199 199
 am__installdirs = "$(DESTDIR)$(sysconfdir)"
200 200
 DATA = $(sysconf_DATA)
201
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
201 202
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
202 203
 ACLOCAL = @ACLOCAL@
203 204
 AMTAR = @AMTAR@
... ...
@@ -483,11 +517,11 @@ uninstall-sysconfDATA:
483 483
 	@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
484 484
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
485 485
 	dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
486
-tags: TAGS
487
-TAGS:
486
+tags TAGS:
487
+
488
+ctags CTAGS:
488 489
 
489
-ctags: CTAGS
490
-CTAGS:
490
+cscope cscopelist:
491 491
 
492 492
 
493 493
 distdir: $(DISTFILES)
... ...
@@ -626,16 +660,16 @@ uninstall-am: uninstall-sysconfDATA
626 626
 .MAKE: install-am install-strip
627 627
 
628 628
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
629
-	distclean distclean-generic distclean-libtool distdir dvi \
630
-	dvi-am html html-am info info-am install install-am \
631
-	install-data install-data-am install-dvi install-dvi-am \
632
-	install-exec install-exec-am install-html install-html-am \
633
-	install-info install-info-am install-man install-pdf \
634
-	install-pdf-am install-ps install-ps-am install-strip \
635
-	install-sysconfDATA installcheck installcheck-am installdirs \
636
-	maintainer-clean maintainer-clean-generic mostlyclean \
637
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
638
-	uninstall uninstall-am uninstall-sysconfDATA
629
+	cscopelist-am ctags-am distclean distclean-generic \
630
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
631
+	install install-am install-data install-data-am install-dvi \
632
+	install-dvi-am install-exec install-exec-am install-html \
633
+	install-html-am install-info install-info-am install-man \
634
+	install-pdf install-pdf-am install-ps install-ps-am \
635
+	install-strip install-sysconfDATA installcheck installcheck-am \
636
+	installdirs maintainer-clean maintainer-clean-generic \
637
+	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
638
+	ps ps-am tags-am uninstall uninstall-am uninstall-sysconfDATA
639 639
 
640 640
 
641 641
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -36,23 +35,51 @@
36 36
 
37 37
 
38 38
 VPATH = @srcdir@
39
-am__make_dryrun = \
40
-  { \
41
-    am__dry=no; \
39
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
40
+am__make_running_with_option = \
41
+  case $${target_option-} in \
42
+      ?) ;; \
43
+      *) echo "am__make_running_with_option: internal error: invalid" \
44
+              "target option '$${target_option-}' specified" >&2; \
45
+         exit 1;; \
46
+  esac; \
47
+  has_opt=no; \
48
+  sane_makeflags=$$MAKEFLAGS; \
49
+  if $(am__is_gnu_make); then \
50
+    sane_makeflags=$$MFLAGS; \
51
+  else \
42 52
     case $$MAKEFLAGS in \
43 53
       *\\[\ \	]*) \
44
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
45
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
46
-      *) \
47
-        for am__flg in $$MAKEFLAGS; do \
48
-          case $$am__flg in \
49
-            *=*|--*) ;; \
50
-            *n*) am__dry=yes; break;; \
51
-          esac; \
52
-        done;; \
54
+        bs=\\; \
55
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
56
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
53 57
     esac; \
54
-    test $$am__dry = yes; \
55
-  }
58
+  fi; \
59
+  skip_next=no; \
60
+  strip_trailopt () \
61
+  { \
62
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
63
+  }; \
64
+  for flg in $$sane_makeflags; do \
65
+    test $$skip_next = yes && { skip_next=no; continue; }; \
66
+    case $$flg in \
67
+      *=*|--*) continue;; \
68
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
69
+      -*I?*) strip_trailopt 'I';; \
70
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
71
+      -*O?*) strip_trailopt 'O';; \
72
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
73
+      -*l?*) strip_trailopt 'l';; \
74
+      -[dEDm]) skip_next=yes;; \
75
+      -[JT]) skip_next=yes;; \
76
+    esac; \
77
+    case $$flg in \
78
+      *$$target_option*) has_opt=yes; break;; \
79
+    esac; \
80
+  done; \
81
+  test $$has_opt = yes
82
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
83
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
56 84
 pkgdatadir = $(datadir)/@PACKAGE@
57 85
 pkgincludedir = $(includedir)/@PACKAGE@
58 86
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -74,8 +101,9 @@ host_triplet = @host@
74 74
 target_triplet = @target@
75 75
 bin_PROGRAMS = freshclam$(EXEEXT)
76 76
 subdir = freshclam
77
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
78
-	$(srcdir)/clamav-freshclam.service.in
77
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
78
+	$(srcdir)/clamav-freshclam.service.in \
79
+	$(top_srcdir)/config/depcomp
79 80
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
80 81
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
81 82
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -172,6 +200,19 @@ freshclam_LDADD = $(LDADD)
172 172
 AM_V_lt = $(am__v_lt_@AM_V@)
173 173
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
174 174
 am__v_lt_0 = --silent
175
+am__v_lt_1 = 
176
+AM_V_P = $(am__v_P_@AM_V@)
177
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
178
+am__v_P_0 = false
179
+am__v_P_1 = :
180
+AM_V_GEN = $(am__v_GEN_@AM_V@)
181
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
182
+am__v_GEN_0 = @echo "  GEN     " $@;
183
+am__v_GEN_1 = 
184
+AM_V_at = $(am__v_at_@AM_V@)
185
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
186
+am__v_at_0 = @
187
+am__v_at_1 = 
175 188
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
176 189
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
177 190
 am__depfiles_maybe = depfiles
... ...
@@ -184,20 +225,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
184 184
 	$(AM_CFLAGS) $(CFLAGS)
185 185
 AM_V_CC = $(am__v_CC_@AM_V@)
186 186
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
187
-am__v_CC_0 = @echo "  CC    " $@;
188
-AM_V_at = $(am__v_at_@AM_V@)
189
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
190
-am__v_at_0 = @
187
+am__v_CC_0 = @echo "  CC      " $@;
188
+am__v_CC_1 = 
191 189
 CCLD = $(CC)
192 190
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
193 191
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
194 192
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
195 193
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
196 194
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
197
-am__v_CCLD_0 = @echo "  CCLD  " $@;
198
-AM_V_GEN = $(am__v_GEN_@AM_V@)
199
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
200
-am__v_GEN_0 = @echo "  GEN   " $@;
195
+am__v_CCLD_0 = @echo "  CCLD    " $@;
196
+am__v_CCLD_1 = 
201 197
 SOURCES = $(freshclam_SOURCES)
202 198
 DIST_SOURCES = $(freshclam_SOURCES)
203 199
 am__can_run_installinfo = \
... ...
@@ -233,6 +270,23 @@ am__uninstall_files_from_dir = { \
233 233
          $(am__cd) "$$dir" && rm -f $$files; }; \
234 234
   }
235 235
 DATA = $(systemdsystemunit_DATA)
236
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
237
+# Read a list of newline-separated strings from the standard input,
238
+# and print each of them once, without duplicates.  Input order is
239
+# *not* preserved.
240
+am__uniquify_input = $(AWK) '\
241
+  BEGIN { nonempty = 0; } \
242
+  { items[$$0] = 1; nonempty = 1; } \
243
+  END { if (nonempty) { for (i in items) print i; }; } \
244
+'
245
+# Make sure the list of sources is unique.  This is necessary because,
246
+# e.g., the same source file might be shared among _SOURCES variables
247
+# for different programs/libraries.
248
+am__define_uniq_tagged_files = \
249
+  list='$(am__tagged_files)'; \
250
+  unique=`for i in $$list; do \
251
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
252
+  done | $(am__uniquify_input)`
236 253
 ETAGS = etags
237 254
 CTAGS = ctags
238 255
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -537,10 +591,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
537 537
 	fi; \
538 538
 	for p in $$list; do echo "$$p $$p"; done | \
539 539
 	sed 's/$(EXEEXT)$$//' | \
540
-	while read p p1; do if test -f $$p || test -f $$p1; \
541
-	  then echo "$$p"; echo "$$p"; else :; fi; \
540
+	while read p p1; do if test -f $$p \
541
+	 || test -f $$p1 \
542
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
542 543
 	done | \
543
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
544
+	sed -e 'p;s,.*/,,;n;h' \
545
+	    -e 's|.*|.|' \
544 546
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
545 547
 	sed 'N;N;N;s,\n, ,g' | \
546 548
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -561,7 +617,8 @@ uninstall-binPROGRAMS:
561 561
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
562 562
 	files=`for p in $$list; do echo "$$p"; done | \
563 563
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
564
-	      -e 's/$$/$(EXEEXT)/' `; \
564
+	      -e 's/$$/$(EXEEXT)/' \
565
+	`; \
565 566
 	test -n "$$list" || exit 0; \
566 567
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
567 568
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -590,6 +647,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
590 590
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
591 591
 	  done; \
592 592
 	done; rm -f c$${pid}_.???; exit $$bad
593
+
593 594
 freshclam$(EXEEXT): $(freshclam_OBJECTS) $(freshclam_DEPENDENCIES) $(EXTRA_freshclam_DEPENDENCIES) 
594 595
 	@rm -f freshclam$(EXEEXT)
595 596
 	$(AM_V_CCLD)$(LINK) $(freshclam_OBJECTS) $(freshclam_LDADD) $(LIBS)
... ...
@@ -620,14 +678,14 @@ distclean-compile:
620 620
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
621 621
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
622 622
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
623
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
623
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
624 624
 
625 625
 .c.obj:
626 626
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
627 627
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
628 628
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
629 629
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
630
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
630
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
631 631
 
632 632
 .c.lo:
633 633
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -761,26 +819,15 @@ uninstall-systemdsystemunitDATA:
761 761
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
762 762
 	dir='$(DESTDIR)$(systemdsystemunitdir)'; $(am__uninstall_files_from_dir)
763 763
 
764
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
765
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
766
-	unique=`for i in $$list; do \
767
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
768
-	  done | \
769
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
770
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
771
-	mkid -fID $$unique
772
-tags: TAGS
773
-
774
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
775
-		$(TAGS_FILES) $(LISP)
764
+ID: $(am__tagged_files)
765
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
766
+tags: tags-am
767
+TAGS: tags
768
+
769
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
776 770
 	set x; \
777 771
 	here=`pwd`; \
778
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
779
-	unique=`for i in $$list; do \
780
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
781
-	  done | \
782
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
783
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
772
+	$(am__define_uniq_tagged_files); \
784 773
 	shift; \
785 774
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
786 775
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -792,15 +839,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
792 792
 	      $$unique; \
793 793
 	  fi; \
794 794
 	fi
795
-ctags: CTAGS
796
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
797
-		$(TAGS_FILES) $(LISP)
798
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
799
-	unique=`for i in $$list; do \
800
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
801
-	  done | \
802
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
803
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
795
+ctags: ctags-am
796
+
797
+CTAGS: ctags
798
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
799
+	$(am__define_uniq_tagged_files); \
804 800
 	test -z "$(CTAGS_ARGS)$$unique" \
805 801
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
806 802
 	     $$unique
... ...
@@ -809,6 +852,21 @@ GTAGS:
809 809
 	here=`$(am__cd) $(top_builddir) && pwd` \
810 810
 	  && $(am__cd) $(top_srcdir) \
811 811
 	  && gtags -i $(GTAGS_ARGS) "$$here"
812
+cscopelist: cscopelist-am
813
+
814
+cscopelist-am: $(am__tagged_files)
815
+	list='$(am__tagged_files)'; \
816
+	case "$(srcdir)" in \
817
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
818
+	  *) sdir=$(subdir)/$(srcdir) ;; \
819
+	esac; \
820
+	for i in $$list; do \
821
+	  if test -f "$$i"; then \
822
+	    echo "$(subdir)/$$i"; \
823
+	  else \
824
+	    echo "$$sdir/$$i"; \
825
+	  fi; \
826
+	done >> $(top_builddir)/cscope.files
812 827
 
813 828
 distclean-tags:
814 829
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -953,20 +1011,21 @@ uninstall-am: uninstall-binPROGRAMS uninstall-systemdsystemunitDATA
953 953
 
954 954
 .MAKE: install-am install-strip
955 955
 
956
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
957
-	clean-generic clean-libtool ctags distclean distclean-compile \
958
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
959
-	dvi-am html html-am info info-am install install-am \
960
-	install-binPROGRAMS install-data install-data-am install-dvi \
961
-	install-dvi-am install-exec install-exec-am install-html \
962
-	install-html-am install-info install-info-am install-man \
963
-	install-pdf install-pdf-am install-ps install-ps-am \
964
-	install-strip install-systemdsystemunitDATA installcheck \
965
-	installcheck-am installcheck-binPROGRAMS installdirs \
966
-	maintainer-clean maintainer-clean-generic mostlyclean \
967
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
968
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
969
-	uninstall-binPROGRAMS uninstall-systemdsystemunitDATA
956
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
957
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
958
+	ctags ctags-am distclean distclean-compile distclean-generic \
959
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
960
+	html-am info info-am install install-am install-binPROGRAMS \
961
+	install-data install-data-am install-dvi install-dvi-am \
962
+	install-exec install-exec-am install-html install-html-am \
963
+	install-info install-info-am install-man install-pdf \
964
+	install-pdf-am install-ps install-ps-am install-strip \
965
+	install-systemdsystemunitDATA installcheck installcheck-am \
966
+	installcheck-binPROGRAMS installdirs maintainer-clean \
967
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
968
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
969
+	tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
970
+	uninstall-systemdsystemunitDATA
970 971
 
971 972
 
972 973
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -36,23 +35,51 @@
36 36
 
37 37
 
38 38
 VPATH = @srcdir@
39
-am__make_dryrun = \
40
-  { \
41
-    am__dry=no; \
39
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
40
+am__make_running_with_option = \
41
+  case $${target_option-} in \
42
+      ?) ;; \
43
+      *) echo "am__make_running_with_option: internal error: invalid" \
44
+              "target option '$${target_option-}' specified" >&2; \
45
+         exit 1;; \
46
+  esac; \
47
+  has_opt=no; \
48
+  sane_makeflags=$$MAKEFLAGS; \
49
+  if $(am__is_gnu_make); then \
50
+    sane_makeflags=$$MFLAGS; \
51
+  else \
42 52
     case $$MAKEFLAGS in \
43 53
       *\\[\ \	]*) \
44
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
45
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
46
-      *) \
47
-        for am__flg in $$MAKEFLAGS; do \
48
-          case $$am__flg in \
49
-            *=*|--*) ;; \
50
-            *n*) am__dry=yes; break;; \
51
-          esac; \
52
-        done;; \
54
+        bs=\\; \
55
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
56
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
53 57
     esac; \
54
-    test $$am__dry = yes; \
55
-  }
58
+  fi; \
59
+  skip_next=no; \
60
+  strip_trailopt () \
61
+  { \
62
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
63
+  }; \
64
+  for flg in $$sane_makeflags; do \
65
+    test $$skip_next = yes && { skip_next=no; continue; }; \
66
+    case $$flg in \
67
+      *=*|--*) continue;; \
68
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
69
+      -*I?*) strip_trailopt 'I';; \
70
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
71
+      -*O?*) strip_trailopt 'O';; \
72
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
73
+      -*l?*) strip_trailopt 'l';; \
74
+      -[dEDm]) skip_next=yes;; \
75
+      -[JT]) skip_next=yes;; \
76
+    esac; \
77
+    case $$flg in \
78
+      *$$target_option*) has_opt=yes; break;; \
79
+    esac; \
80
+  done; \
81
+  test $$has_opt = yes
82
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
83
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
56 84
 pkgdatadir = $(datadir)/@PACKAGE@
57 85
 pkgincludedir = $(includedir)/@PACKAGE@
58 86
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -104,9 +131,10 @@ target_triplet = @target@
104 104
 @ENABLE_YARA_TRUE@	yara_clam.h
105 105
 
106 106
 subdir = libclamav
107
-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
108
-	$(srcdir)/Makefile.in yara_grammar.c yara_grammar.h \
109
-	yara_lexer.c
107
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
108
+	yara_grammar.h yara_grammar.c yara_lexer.c \
109
+	$(top_srcdir)/config/depcomp $(top_srcdir)/config/ylwrap \
110
+	$(include_HEADERS)
110 111
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
111 112
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
112 113
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -476,6 +504,7 @@ libclamav_la_OBJECTS = $(am_libclamav_la_OBJECTS)
476 476
 AM_V_lt = $(am__v_lt_@AM_V@)
477 477
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
478 478
 am__v_lt_0 = --silent
479
+am__v_lt_1 = 
479 480
 libclamav_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
480 481
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libclamav_la_CFLAGS) \
481 482
 	$(CFLAGS) $(libclamav_la_LDFLAGS) $(LDFLAGS) -o $@
... ...
@@ -558,6 +587,18 @@ libclamunrar_iface_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
558 558
 	$(AM_CFLAGS) $(CFLAGS) $(libclamunrar_iface_la_LDFLAGS) \
559 559
 	$(LDFLAGS) -o $@
560 560
 @ENABLE_UNRAR_TRUE@am_libclamunrar_iface_la_rpath = -rpath $(libdir)
561
+AM_V_P = $(am__v_P_@AM_V@)
562
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
563
+am__v_P_0 = false
564
+am__v_P_1 = :
565
+AM_V_GEN = $(am__v_GEN_@AM_V@)
566
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
567
+am__v_GEN_0 = @echo "  GEN     " $@;
568
+am__v_GEN_1 = 
569
+AM_V_at = $(am__v_at_@AM_V@)
570
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
571
+am__v_at_0 = @
572
+am__v_at_1 = 
561 573
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
562 574
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
563 575
 am__depfiles_maybe = depfiles
... ...
@@ -570,35 +611,35 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
570 570
 	$(AM_CFLAGS) $(CFLAGS)
571 571
 AM_V_CC = $(am__v_CC_@AM_V@)
572 572
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
573
-am__v_CC_0 = @echo "  CC    " $@;
574
-AM_V_at = $(am__v_at_@AM_V@)
575
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
576
-am__v_at_0 = @
573
+am__v_CC_0 = @echo "  CC      " $@;
574
+am__v_CC_1 = 
577 575
 CCLD = $(CC)
578 576
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
579 577
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
580 578
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
581 579
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
582 580
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
583
-am__v_CCLD_0 = @echo "  CCLD  " $@;
581
+am__v_CCLD_0 = @echo "  CCLD    " $@;
582
+am__v_CCLD_1 = 
584 583
 @MAINTAINER_MODE_FALSE@am__skiplex = test -f $@ ||
585 584
 LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS)
586 585
 LTLEXCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
587 586
 	$(LIBTOOLFLAGS) --mode=compile $(LEX) $(AM_LFLAGS) $(LFLAGS)
588 587
 AM_V_LEX = $(am__v_LEX_@AM_V@)
589 588
 am__v_LEX_ = $(am__v_LEX_@AM_DEFAULT_V@)
590
-am__v_LEX_0 = @echo "  LEX   " $@;
589
+am__v_LEX_0 = @echo "  LEX     " $@;
590
+am__v_LEX_1 = 
591 591
 YLWRAP = $(top_srcdir)/config/ylwrap
592 592
 @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
593
+am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
594
+		   -e s/c++$$/h++/ -e s/c$$/h/
593 595
 YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
594 596
 LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
595 597
 	$(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS)
596 598
 AM_V_YACC = $(am__v_YACC_@AM_V@)
597 599
 am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
598
-am__v_YACC_0 = @echo "  YACC  " $@;
599
-AM_V_GEN = $(am__v_GEN_@AM_V@)
600
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
601
-am__v_GEN_0 = @echo "  GEN   " $@;
600
+am__v_YACC_0 = @echo "  YACC    " $@;
601
+am__v_YACC_1 = 
602 602
 SOURCES = $(libclamav_la_SOURCES) \
603 603
 	$(libclamav_internal_utils_la_SOURCES) \
604 604
 	$(libclamav_internal_utils_nothreads_la_SOURCES) \
... ...
@@ -610,13 +651,14 @@ DIST_SOURCES = $(am__libclamav_la_SOURCES_DIST) \
610 610
 	$(libclamav_nocxx_la_SOURCES) \
611 611
 	$(am__libclamunrar_la_SOURCES_DIST) \
612 612
 	$(am__libclamunrar_iface_la_SOURCES_DIST)
613
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
614
-	html-recursive info-recursive install-data-recursive \
615
-	install-dvi-recursive install-exec-recursive \
616
-	install-html-recursive install-info-recursive \
617
-	install-pdf-recursive install-ps-recursive install-recursive \
618
-	installcheck-recursive installdirs-recursive pdf-recursive \
619
-	ps-recursive uninstall-recursive
613
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
614
+	ctags-recursive dvi-recursive html-recursive info-recursive \
615
+	install-data-recursive install-dvi-recursive \
616
+	install-exec-recursive install-html-recursive \
617
+	install-info-recursive install-pdf-recursive \
618
+	install-ps-recursive install-recursive installcheck-recursive \
619
+	installdirs-recursive pdf-recursive ps-recursive \
620
+	tags-recursive uninstall-recursive
620 621
 am__can_run_installinfo = \
621 622
   case $$AM_UPDATE_INFO_DIR in \
622 623
     n|no|NO) false;; \
... ...
@@ -625,9 +667,29 @@ am__can_run_installinfo = \
625 625
 HEADERS = $(include_HEADERS)
626 626
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
627 627
   distclean-recursive maintainer-clean-recursive
628
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
629
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
628
+am__recursive_targets = \
629
+  $(RECURSIVE_TARGETS) \
630
+  $(RECURSIVE_CLEAN_TARGETS) \
631
+  $(am__extra_recursive_targets)
632
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
630 633
 	distdir
634
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
635
+# Read a list of newline-separated strings from the standard input,
636
+# and print each of them once, without duplicates.  Input order is
637
+# *not* preserved.
638
+am__uniquify_input = $(AWK) '\
639
+  BEGIN { nonempty = 0; } \
640
+  { items[$$0] = 1; nonempty = 1; } \
641
+  END { if (nonempty) { for (i in items) print i; }; } \
642
+'
643
+# Make sure the list of sources is unique.  This is necessary because,
644
+# e.g., the same source file might be shared among _SOURCES variables
645
+# for different programs/libraries.
646
+am__define_uniq_tagged_files = \
647
+  list='$(am__tagged_files)'; \
648
+  unique=`for i in $$list; do \
649
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
650
+  done | $(am__uniquify_input)`
631 651
 ETAGS = etags
632 652
 CTAGS = ctags
633 653
 DIST_SUBDIRS = c++ libmspack-0.5alpha
... ...
@@ -1157,6 +1219,7 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1157 1157
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1158 1158
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1159 1159
 $(am__aclocal_m4_deps):
1160
+
1160 1161
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
1161 1162
 	@$(NORMAL_INSTALL)
1162 1163
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -1183,34 +1246,44 @@ uninstall-libLTLIBRARIES:
1183 1183
 
1184 1184
 clean-libLTLIBRARIES:
1185 1185
 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
1186
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
1187
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
1188
-	  test "$$dir" != "$$p" || dir=.; \
1189
-	  echo "rm -f \"$${dir}/so_locations\""; \
1190
-	  rm -f "$${dir}/so_locations"; \
1191
-	done
1186
+	@list='$(lib_LTLIBRARIES)'; \
1187
+	locs=`for p in $$list; do echo $$p; done | \
1188
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
1189
+	      sort -u`; \
1190
+	test -z "$$locs" || { \
1191
+	  echo rm -f $${locs}; \
1192
+	  rm -f $${locs}; \
1193
+	}
1192 1194
 
1193 1195
 clean-noinstLTLIBRARIES:
1194 1196
 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
1195
-	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
1196
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
1197
-	  test "$$dir" != "$$p" || dir=.; \
1198
-	  echo "rm -f \"$${dir}/so_locations\""; \
1199
-	  rm -f "$${dir}/so_locations"; \
1200
-	done
1197
+	@list='$(noinst_LTLIBRARIES)'; \
1198
+	locs=`for p in $$list; do echo $$p; done | \
1199
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
1200
+	      sort -u`; \
1201
+	test -z "$$locs" || { \
1202
+	  echo rm -f $${locs}; \
1203
+	  rm -f $${locs}; \
1204
+	}
1201 1205
 yara_grammar.h: yara_grammar.c
1202 1206
 	@if test ! -f $@; then rm -f yara_grammar.c; else :; fi
1203 1207
 	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) yara_grammar.c; else :; fi
1208
+
1204 1209
 libclamav.la: $(libclamav_la_OBJECTS) $(libclamav_la_DEPENDENCIES) $(EXTRA_libclamav_la_DEPENDENCIES) 
1205 1210
 	$(AM_V_CCLD)$(libclamav_la_LINK) -rpath $(libdir) $(libclamav_la_OBJECTS) $(libclamav_la_LIBADD) $(LIBS)
1211
+
1206 1212
 libclamav_internal_utils.la: $(libclamav_internal_utils_la_OBJECTS) $(libclamav_internal_utils_la_DEPENDENCIES) $(EXTRA_libclamav_internal_utils_la_DEPENDENCIES) 
1207 1213
 	$(AM_V_CCLD)$(libclamav_internal_utils_la_LINK)  $(libclamav_internal_utils_la_OBJECTS) $(libclamav_internal_utils_la_LIBADD) $(LIBS)
1214
+
1208 1215
 libclamav_internal_utils_nothreads.la: $(libclamav_internal_utils_nothreads_la_OBJECTS) $(libclamav_internal_utils_nothreads_la_DEPENDENCIES) $(EXTRA_libclamav_internal_utils_nothreads_la_DEPENDENCIES) 
1209 1216
 	$(AM_V_CCLD)$(libclamav_internal_utils_nothreads_la_LINK)  $(libclamav_internal_utils_nothreads_la_OBJECTS) $(libclamav_internal_utils_nothreads_la_LIBADD) $(LIBS)
1217
+
1210 1218
 libclamav_nocxx.la: $(libclamav_nocxx_la_OBJECTS) $(libclamav_nocxx_la_DEPENDENCIES) $(EXTRA_libclamav_nocxx_la_DEPENDENCIES) 
1211 1219
 	$(AM_V_CCLD)$(libclamav_nocxx_la_LINK)  $(libclamav_nocxx_la_OBJECTS) $(libclamav_nocxx_la_LIBADD) $(LIBS)
1220
+
1212 1221
 libclamunrar.la: $(libclamunrar_la_OBJECTS) $(libclamunrar_la_DEPENDENCIES) $(EXTRA_libclamunrar_la_DEPENDENCIES) 
1213 1222
 	$(AM_V_CCLD)$(libclamunrar_la_LINK) $(am_libclamunrar_la_rpath) $(libclamunrar_la_OBJECTS) $(libclamunrar_la_LIBADD) $(LIBS)
1223
+
1214 1224
 libclamunrar_iface.la: $(libclamunrar_iface_la_OBJECTS) $(libclamunrar_iface_la_DEPENDENCIES) $(EXTRA_libclamunrar_iface_la_DEPENDENCIES) 
1215 1225
 	$(AM_V_CCLD)$(libclamunrar_iface_la_LINK) $(am_libclamunrar_iface_la_rpath) $(libclamunrar_iface_la_OBJECTS) $(libclamunrar_iface_la_LIBADD) $(LIBS)
1216 1226
 
... ...
@@ -1492,14 +1565,14 @@ distclean-compile:
1492 1492
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1493 1493
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1494 1494
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1495
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
1495
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1496 1496
 
1497 1497
 .c.obj:
1498 1498
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1499 1499
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1500 1500
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1501 1501
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1502
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
1502
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1503 1503
 
1504 1504
 .c.lo:
1505 1505
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -3374,7 +3447,7 @@ unrar_iface.lo: ../libclamunrar_iface/unrar_iface.c
3374 3374
 	$(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
3375 3375
 
3376 3376
 .y.c:
3377
-	$(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
3377
+	$(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE)
3378 3378
 
3379 3379
 mostlyclean-libtool:
3380 3380
 	-rm -f *.lo
... ...
@@ -3404,22 +3477,25 @@ uninstall-includeHEADERS:
3404 3404
 	dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
3405 3405
 
3406 3406
 # This directory's subdirectories are mostly independent; you can cd
3407
-# into them and run `make' without going through this Makefile.
3408
-# To change the values of `make' variables: instead of editing Makefiles,
3409
-# (1) if the variable is set in `config.status', edit `config.status'
3410
-#     (which will cause the Makefiles to be regenerated when you run `make');
3411
-# (2) otherwise, pass the desired values on the `make' command line.
3412
-$(RECURSIVE_TARGETS):
3413
-	@fail= failcom='exit 1'; \
3414
-	for f in x $$MAKEFLAGS; do \
3415
-	  case $$f in \
3416
-	    *=* | --[!k]*);; \
3417
-	    *k*) failcom='fail=yes';; \
3418
-	  esac; \
3419
-	done; \
3407
+# into them and run 'make' without going through this Makefile.
3408
+# To change the values of 'make' variables: instead of editing Makefiles,
3409
+# (1) if the variable is set in 'config.status', edit 'config.status'
3410
+#     (which will cause the Makefiles to be regenerated when you run 'make');
3411
+# (2) otherwise, pass the desired values on the 'make' command line.
3412
+$(am__recursive_targets):
3413
+	@fail=; \
3414
+	if $(am__make_keepgoing); then \
3415
+	  failcom='fail=yes'; \
3416
+	else \
3417
+	  failcom='exit 1'; \
3418
+	fi; \
3420 3419
 	dot_seen=no; \
3421 3420
 	target=`echo $@ | sed s/-recursive//`; \
3422
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3421
+	case "$@" in \
3422
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
3423
+	  *) list='$(SUBDIRS)' ;; \
3424
+	esac; \
3425
+	for subdir in $$list; do \
3423 3426
 	  echo "Making $$target in $$subdir"; \
3424 3427
 	  if test "$$subdir" = "."; then \
3425 3428
 	    dot_seen=yes; \
... ...
@@ -3434,57 +3510,12 @@ $(RECURSIVE_TARGETS):
3434 3434
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
3435 3435
 	fi; test -z "$$fail"
3436 3436
 
3437
-$(RECURSIVE_CLEAN_TARGETS):
3438
-	@fail= failcom='exit 1'; \
3439
-	for f in x $$MAKEFLAGS; do \
3440
-	  case $$f in \
3441
-	    *=* | --[!k]*);; \
3442
-	    *k*) failcom='fail=yes';; \
3443
-	  esac; \
3444
-	done; \
3445
-	dot_seen=no; \
3446
-	case "$@" in \
3447
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
3448
-	  *) list='$(SUBDIRS)' ;; \
3449
-	esac; \
3450
-	rev=''; for subdir in $$list; do \
3451
-	  if test "$$subdir" = "."; then :; else \
3452
-	    rev="$$subdir $$rev"; \
3453
-	  fi; \
3454
-	done; \
3455
-	rev="$$rev ."; \
3456
-	target=`echo $@ | sed s/-recursive//`; \
3457
-	for subdir in $$rev; do \
3458
-	  echo "Making $$target in $$subdir"; \
3459
-	  if test "$$subdir" = "."; then \
3460
-	    local_target="$$target-am"; \
3461
-	  else \
3462
-	    local_target="$$target"; \
3463
-	  fi; \
3464
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3465
-	  || eval $$failcom; \
3466
-	done && test -z "$$fail"
3467
-tags-recursive:
3468
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3469
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
3470
-	done
3471
-ctags-recursive:
3472
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3473
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
3474
-	done
3437
+ID: $(am__tagged_files)
3438
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
3439
+tags: tags-recursive
3440
+TAGS: tags
3475 3441
 
3476
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
3477
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
3478
-	unique=`for i in $$list; do \
3479
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3480
-	  done | \
3481
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3482
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3483
-	mkid -fID $$unique
3484
-tags: TAGS
3485
-
3486
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3487
-		$(TAGS_FILES) $(LISP)
3442
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
3488 3443
 	set x; \
3489 3444
 	here=`pwd`; \
3490 3445
 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
... ...
@@ -3500,12 +3531,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3500 3500
 	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
3501 3501
 	  fi; \
3502 3502
 	done; \
3503
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
3504
-	unique=`for i in $$list; do \
3505
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3506
-	  done | \
3507
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3508
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3503
+	$(am__define_uniq_tagged_files); \
3509 3504
 	shift; \
3510 3505
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
3511 3506
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -3517,15 +3543,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3517 3517
 	      $$unique; \
3518 3518
 	  fi; \
3519 3519
 	fi
3520
-ctags: CTAGS
3521
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3522
-		$(TAGS_FILES) $(LISP)
3523
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
3524
-	unique=`for i in $$list; do \
3525
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3526
-	  done | \
3527
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3528
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3520
+ctags: ctags-recursive
3521
+
3522
+CTAGS: ctags
3523
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
3524
+	$(am__define_uniq_tagged_files); \
3529 3525
 	test -z "$(CTAGS_ARGS)$$unique" \
3530 3526
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
3531 3527
 	     $$unique
... ...
@@ -3534,6 +3556,21 @@ GTAGS:
3534 3534
 	here=`$(am__cd) $(top_builddir) && pwd` \
3535 3535
 	  && $(am__cd) $(top_srcdir) \
3536 3536
 	  && gtags -i $(GTAGS_ARGS) "$$here"
3537
+cscopelist: cscopelist-recursive
3538
+
3539
+cscopelist-am: $(am__tagged_files)
3540
+	list='$(am__tagged_files)'; \
3541
+	case "$(srcdir)" in \
3542
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
3543
+	  *) sdir=$(subdir)/$(srcdir) ;; \
3544
+	esac; \
3545
+	for i in $$list; do \
3546
+	  if test -f "$$i"; then \
3547
+	    echo "$(subdir)/$$i"; \
3548
+	  else \
3549
+	    echo "$$sdir/$$i"; \
3550
+	  fi; \
3551
+	done >> $(top_builddir)/cscope.files
3537 3552
 
3538 3553
 distclean-tags:
3539 3554
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -3709,26 +3746,25 @@ ps-am:
3709 3709
 
3710 3710
 uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
3711 3711
 
3712
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
3713
-	ctags-recursive install install-am install-strip \
3714
-	tags-recursive
3715
-
3716
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
3717
-	all all-am check check-am clean clean-generic \
3718
-	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
3719
-	ctags ctags-recursive distclean distclean-compile \
3720
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
3721
-	dvi-am html html-am info info-am install install-am \
3722
-	install-data install-data-am install-dvi install-dvi-am \
3723
-	install-exec install-exec-am install-html install-html-am \
3712
+.MAKE: $(am__recursive_targets) all check install install-am \
3713
+	install-strip
3714
+
3715
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
3716
+	check-am clean clean-generic clean-libLTLIBRARIES \
3717
+	clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
3718
+	ctags-am distclean distclean-compile distclean-generic \
3719
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
3720
+	html-am info info-am install install-am install-data \
3721
+	install-data-am install-dvi install-dvi-am install-exec \
3722
+	install-exec-am install-html install-html-am \
3724 3723
 	install-includeHEADERS install-info install-info-am \
3725 3724
 	install-libLTLIBRARIES install-man install-pdf install-pdf-am \
3726 3725
 	install-ps install-ps-am install-strip installcheck \
3727 3726
 	installcheck-am installdirs installdirs-am maintainer-clean \
3728 3727
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
3729 3728
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
3730
-	tags tags-recursive uninstall uninstall-am \
3731
-	uninstall-includeHEADERS uninstall-libLTLIBRARIES
3729
+	tags tags-am uninstall uninstall-am uninstall-includeHEADERS \
3730
+	uninstall-libLTLIBRARIES
3732 3731
 
3733 3732
 @ENABLE_LLVM_FALSE@c++/Makefile: c++/Makefile.nollvm.in
3734 3733
 @ENABLE_LLVM_FALSE@	$(AM_V_at) cp $< $@
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -32,23 +31,51 @@
32 32
 
33 33
 
34 34
 VPATH = @srcdir@
35
-am__make_dryrun = \
36
-  { \
37
-    am__dry=no; \
35
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
36
+am__make_running_with_option = \
37
+  case $${target_option-} in \
38
+      ?) ;; \
39
+      *) echo "am__make_running_with_option: internal error: invalid" \
40
+              "target option '$${target_option-}' specified" >&2; \
41
+         exit 1;; \
42
+  esac; \
43
+  has_opt=no; \
44
+  sane_makeflags=$$MAKEFLAGS; \
45
+  if $(am__is_gnu_make); then \
46
+    sane_makeflags=$$MFLAGS; \
47
+  else \
38 48
     case $$MAKEFLAGS in \
39 49
       *\\[\ \	]*) \
40
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
41
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
42
-      *) \
43
-        for am__flg in $$MAKEFLAGS; do \
44
-          case $$am__flg in \
45
-            *=*|--*) ;; \
46
-            *n*) am__dry=yes; break;; \
47
-          esac; \
48
-        done;; \
50
+        bs=\\; \
51
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
53
+    esac; \
54
+  fi; \
55
+  skip_next=no; \
56
+  strip_trailopt () \
57
+  { \
58
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59
+  }; \
60
+  for flg in $$sane_makeflags; do \
61
+    test $$skip_next = yes && { skip_next=no; continue; }; \
62
+    case $$flg in \
63
+      *=*|--*) continue;; \
64
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
65
+      -*I?*) strip_trailopt 'I';; \
66
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
67
+      -*O?*) strip_trailopt 'O';; \
68
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
69
+      -*l?*) strip_trailopt 'l';; \
70
+      -[dEDm]) skip_next=yes;; \
71
+      -[JT]) skip_next=yes;; \
72
+    esac; \
73
+    case $$flg in \
74
+      *$$target_option*) has_opt=yes; break;; \
49 75
     esac; \
50
-    test $$am__dry = yes; \
51
-  }
76
+  done; \
77
+  test $$has_opt = yes
78
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
52 80
 pkgdatadir = $(datadir)/@PACKAGE@
53 81
 pkgincludedir = $(includedir)/@PACKAGE@
54 82
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -80,11 +107,16 @@ target_triplet = @target@
80 80
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@am__append_9 = $(TBLGENFILES)
81 81
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@noinst_PROGRAMS = tblgen$(EXEEXT)
82 82
 subdir = .
83
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
84
-	$(srcdir)/Makefile.in $(srcdir)/clamavcxx-config.h.in \
85
-	$(top_srcdir)/configure config/compile config/config.guess \
86
-	config/config.sub config/depcomp config/install-sh \
87
-	config/ltmain.sh config/missing
83
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84
+	$(top_srcdir)/configure $(am__configure_deps) \
85
+	$(srcdir)/clamavcxx-config.h.in $(top_srcdir)/config/depcomp \
86
+	config/compile config/config.guess config/config.sub \
87
+	config/depcomp config/install-sh config/missing \
88
+	config/ltmain.sh $(top_srcdir)/config/compile \
89
+	$(top_srcdir)/config/config.guess \
90
+	$(top_srcdir)/config/config.sub \
91
+	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
92
+	$(top_srcdir)/config/missing
88 93
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
89 94
 am__aclocal_m4_deps = $(top_srcdir)/m4/check_gnu_make.m4 \
90 95
 	$(top_srcdir)/m4/cxx_flag_check.m4 $(top_srcdir)/m4/libtool.m4 \
... ...
@@ -114,6 +146,7 @@ libclamavcxx_la_OBJECTS = $(am_libclamavcxx_la_OBJECTS)
114 114
 AM_V_lt = $(am__v_lt_@AM_V@)
115 115
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
116 116
 am__v_lt_0 = --silent
117
+am__v_lt_1 = 
117 118
 libclamavcxx_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
118 119
 	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
119 120
 	$(libclamavcxx_la_CXXFLAGS) $(CXXFLAGS) \
... ...
@@ -779,6 +812,18 @@ tblgen_LDADD = $(LDADD)
779 779
 tblgen_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
780 780
 	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(tblgen_CXXFLAGS) \
781 781
 	$(CXXFLAGS) $(tblgen_LDFLAGS) $(LDFLAGS) -o $@
782
+AM_V_P = $(am__v_P_@AM_V@)
783
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
784
+am__v_P_0 = false
785
+am__v_P_1 = :
786
+AM_V_GEN = $(am__v_GEN_@AM_V@)
787
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
788
+am__v_GEN_0 = @echo "  GEN     " $@;
789
+am__v_GEN_1 = 
790
+AM_V_at = $(am__v_at_@AM_V@)
791
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
792
+am__v_at_0 = @
793
+am__v_at_1 = 
782 794
 DEFAULT_INCLUDES = -I.@am__isrc@
783 795
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
784 796
 am__depfiles_maybe = depfiles
... ...
@@ -791,17 +836,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
791 791
 	$(AM_CFLAGS) $(CFLAGS)
792 792
 AM_V_CC = $(am__v_CC_@AM_V@)
793 793
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
794
-am__v_CC_0 = @echo "  CC    " $@;
795
-AM_V_at = $(am__v_at_@AM_V@)
796
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
797
-am__v_at_0 = @
794
+am__v_CC_0 = @echo "  CC      " $@;
795
+am__v_CC_1 = 
798 796
 CCLD = $(CC)
799 797
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
800 798
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
801 799
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
802 800
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
803 801
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
804
-am__v_CCLD_0 = @echo "  CCLD  " $@;
802
+am__v_CCLD_0 = @echo "  CCLD    " $@;
803
+am__v_CCLD_1 = 
805 804
 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
806 805
 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
807 806
 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
... ...
@@ -810,17 +854,16 @@ LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
810 810
 	$(AM_CXXFLAGS) $(CXXFLAGS)
811 811
 AM_V_CXX = $(am__v_CXX_@AM_V@)
812 812
 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
813
-am__v_CXX_0 = @echo "  CXX   " $@;
813
+am__v_CXX_0 = @echo "  CXX     " $@;
814
+am__v_CXX_1 = 
814 815
 CXXLD = $(CXX)
815 816
 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
816 817
 	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
817 818
 	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
818 819
 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
819 820
 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
820
-am__v_CXXLD_0 = @echo "  CXXLD " $@;
821
-AM_V_GEN = $(am__v_GEN_@AM_V@)
822
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
823
-am__v_GEN_0 = @echo "  GEN   " $@;
821
+am__v_CXXLD_0 = @echo "  CXXLD   " $@;
822
+am__v_CXXLD_1 = 
824 823
 SOURCES = $(libclamavcxx_la_SOURCES) $(libllvmcodegen_la_SOURCES) \
825 824
 	$(libllvmjit_la_SOURCES) $(libllvmpowerpccodegen_la_SOURCES) \
826 825
 	$(libllvmsystem_la_SOURCES) $(libllvmx86codegen_la_SOURCES) \
... ...
@@ -837,8 +880,28 @@ am__can_run_installinfo = \
837 837
     n|no|NO) false;; \
838 838
     *) (install-info --version) >/dev/null 2>&1;; \
839 839
   esac
840
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
841
+	$(LISP)clamavcxx-config.h.in
842
+# Read a list of newline-separated strings from the standard input,
843
+# and print each of them once, without duplicates.  Input order is
844
+# *not* preserved.
845
+am__uniquify_input = $(AWK) '\
846
+  BEGIN { nonempty = 0; } \
847
+  { items[$$0] = 1; nonempty = 1; } \
848
+  END { if (nonempty) { for (i in items) print i; }; } \
849
+'
850
+# Make sure the list of sources is unique.  This is necessary because,
851
+# e.g., the same source file might be shared among _SOURCES variables
852
+# for different programs/libraries.
853
+am__define_uniq_tagged_files = \
854
+  list='$(am__tagged_files)'; \
855
+  unique=`for i in $$list; do \
856
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
857
+  done | $(am__uniquify_input)`
840 858
 ETAGS = etags
841 859
 CTAGS = ctags
860
+CSCOPE = cscope
861
+AM_RECURSIVE_TARGETS = cscope
842 862
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
843 863
 distdir = $(PACKAGE)-$(VERSION)
844 864
 top_distdir = $(distdir)
... ...
@@ -848,8 +911,10 @@ am__remove_distdir = \
848 848
       && rm -rf "$(distdir)" \
849 849
       || { sleep 5 && rm -rf "$(distdir)"; }; \
850 850
   else :; fi
851
+am__post_remove_distdir = $(am__remove_distdir)
851 852
 DIST_ARCHIVES = $(distdir).tar.gz
852 853
 GZIP_ENV = --best
854
+DIST_TARGETS = dist-gzip
853 855
 distuninstallcheck_listfiles = find . -type f -print
854 856
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
855 857
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
... ...
@@ -1510,8 +1575,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1510 1510
 $(am__aclocal_m4_deps):
1511 1511
 
1512 1512
 clamavcxx-config.h: stamp-h1
1513
-	@if test ! -f $@; then rm -f stamp-h1; else :; fi
1514
-	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
1513
+	@test -f $@ || rm -f stamp-h1
1514
+	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
1515 1515
 
1516 1516
 stamp-h1: $(srcdir)/clamavcxx-config.h.in $(top_builddir)/config.status
1517 1517
 	@rm -f stamp-h1
... ...
@@ -1526,22 +1591,30 @@ distclean-hdr:
1526 1526
 
1527 1527
 clean-noinstLTLIBRARIES:
1528 1528
 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
1529
-	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
1530
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
1531
-	  test "$$dir" != "$$p" || dir=.; \
1532
-	  echo "rm -f \"$${dir}/so_locations\""; \
1533
-	  rm -f "$${dir}/so_locations"; \
1534
-	done
1529
+	@list='$(noinst_LTLIBRARIES)'; \
1530
+	locs=`for p in $$list; do echo $$p; done | \
1531
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
1532
+	      sort -u`; \
1533
+	test -z "$$locs" || { \
1534
+	  echo rm -f $${locs}; \
1535
+	  rm -f $${locs}; \
1536
+	}
1537
+
1535 1538
 libclamavcxx.la: $(libclamavcxx_la_OBJECTS) $(libclamavcxx_la_DEPENDENCIES) $(EXTRA_libclamavcxx_la_DEPENDENCIES) 
1536 1539
 	$(AM_V_CXXLD)$(libclamavcxx_la_LINK) $(am_libclamavcxx_la_rpath) $(libclamavcxx_la_OBJECTS) $(libclamavcxx_la_LIBADD) $(LIBS)
1540
+
1537 1541
 libllvmcodegen.la: $(libllvmcodegen_la_OBJECTS) $(libllvmcodegen_la_DEPENDENCIES) $(EXTRA_libllvmcodegen_la_DEPENDENCIES) 
1538 1542
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmcodegen_la_rpath) $(libllvmcodegen_la_OBJECTS) $(libllvmcodegen_la_LIBADD) $(LIBS)
1543
+
1539 1544
 libllvmjit.la: $(libllvmjit_la_OBJECTS) $(libllvmjit_la_DEPENDENCIES) $(EXTRA_libllvmjit_la_DEPENDENCIES) 
1540 1545
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmjit_la_rpath) $(libllvmjit_la_OBJECTS) $(libllvmjit_la_LIBADD) $(LIBS)
1546
+
1541 1547
 libllvmpowerpccodegen.la: $(libllvmpowerpccodegen_la_OBJECTS) $(libllvmpowerpccodegen_la_DEPENDENCIES) $(EXTRA_libllvmpowerpccodegen_la_DEPENDENCIES) 
1542 1548
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmpowerpccodegen_la_rpath) $(libllvmpowerpccodegen_la_OBJECTS) $(libllvmpowerpccodegen_la_LIBADD) $(LIBS)
1549
+
1543 1550
 libllvmsystem.la: $(libllvmsystem_la_OBJECTS) $(libllvmsystem_la_DEPENDENCIES) $(EXTRA_libllvmsystem_la_DEPENDENCIES) 
1544 1551
 	$(AM_V_CXXLD)$(libllvmsystem_la_LINK) $(am_libllvmsystem_la_rpath) $(libllvmsystem_la_OBJECTS) $(libllvmsystem_la_LIBADD) $(LIBS)
1552
+
1545 1553
 libllvmx86codegen.la: $(libllvmx86codegen_la_OBJECTS) $(libllvmx86codegen_la_DEPENDENCIES) $(EXTRA_libllvmx86codegen_la_DEPENDENCIES) 
1546 1554
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmx86codegen_la_rpath) $(libllvmx86codegen_la_OBJECTS) $(libllvmx86codegen_la_LIBADD) $(LIBS)
1547 1555
 
... ...
@@ -1553,6 +1626,7 @@ clean-noinstPROGRAMS:
1553 1553
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1554 1554
 	echo " rm -f" $$list; \
1555 1555
 	rm -f $$list
1556
+
1556 1557
 tblgen$(EXEEXT): $(tblgen_OBJECTS) $(tblgen_DEPENDENCIES) $(EXTRA_tblgen_DEPENDENCIES) 
1557 1558
 	@rm -f tblgen$(EXEEXT)
1558 1559
 	$(AM_V_CXXLD)$(tblgen_LINK) $(tblgen_OBJECTS) $(tblgen_LDADD) $(LIBS)
... ...
@@ -1963,14 +2037,14 @@ distclean-compile:
1963 1963
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1964 1964
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1965 1965
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1966
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
1966
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1967 1967
 
1968 1968
 .c.obj:
1969 1969
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1970 1970
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1971 1971
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1972 1972
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1973
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
1973
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1974 1974
 
1975 1975
 .c.lo:
1976 1976
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -5418,26 +5492,15 @@ clean-libtool:
5418 5418
 distclean-libtool:
5419 5419
 	-rm -f libtool config.lt
5420 5420
 
5421
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
5422
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
5423
-	unique=`for i in $$list; do \
5424
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5425
-	  done | \
5426
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5427
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5428
-	mkid -fID $$unique
5429
-tags: TAGS
5430
-
5431
-TAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5432
-		$(TAGS_FILES) $(LISP)
5421
+ID: $(am__tagged_files)
5422
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
5423
+tags: tags-am
5424
+TAGS: tags
5425
+
5426
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
5433 5427
 	set x; \
5434 5428
 	here=`pwd`; \
5435
-	list='$(SOURCES) $(HEADERS) clamavcxx-config.h.in $(LISP) $(TAGS_FILES)'; \
5436
-	unique=`for i in $$list; do \
5437
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5438
-	  done | \
5439
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5440
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5429
+	$(am__define_uniq_tagged_files); \
5441 5430
 	shift; \
5442 5431
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
5443 5432
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -5449,15 +5512,11 @@ TAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5449 5449
 	      $$unique; \
5450 5450
 	  fi; \
5451 5451
 	fi
5452
-ctags: CTAGS
5453
-CTAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5454
-		$(TAGS_FILES) $(LISP)
5455
-	list='$(SOURCES) $(HEADERS) clamavcxx-config.h.in $(LISP) $(TAGS_FILES)'; \
5456
-	unique=`for i in $$list; do \
5457
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5458
-	  done | \
5459
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5460
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5452
+ctags: ctags-am
5453
+
5454
+CTAGS: ctags
5455
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
5456
+	$(am__define_uniq_tagged_files); \
5461 5457
 	test -z "$(CTAGS_ARGS)$$unique" \
5462 5458
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
5463 5459
 	     $$unique
... ...
@@ -5466,9 +5525,31 @@ GTAGS:
5466 5466
 	here=`$(am__cd) $(top_builddir) && pwd` \
5467 5467
 	  && $(am__cd) $(top_srcdir) \
5468 5468
 	  && gtags -i $(GTAGS_ARGS) "$$here"
5469
+cscope: cscope.files
5470
+	test ! -s cscope.files \
5471
+	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
5472
+clean-cscope:
5473
+	-rm -f cscope.files
5474
+cscope.files: clean-cscope cscopelist
5475
+cscopelist: cscopelist-am
5476
+
5477
+cscopelist-am: $(am__tagged_files)
5478
+	list='$(am__tagged_files)'; \
5479
+	case "$(srcdir)" in \
5480
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
5481
+	  *) sdir=$(subdir)/$(srcdir) ;; \
5482
+	esac; \
5483
+	for i in $$list; do \
5484
+	  if test -f "$$i"; then \
5485
+	    echo "$(subdir)/$$i"; \
5486
+	  else \
5487
+	    echo "$$sdir/$$i"; \
5488
+	  fi; \
5489
+	done >> $(top_builddir)/cscope.files
5469 5490
 
5470 5491
 distclean-tags:
5471 5492
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
5493
+	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
5472 5494
 
5473 5495
 distdir: $(DISTFILES)
5474 5496
 	$(am__remove_distdir)
... ...
@@ -5514,40 +5595,42 @@ distdir: $(DISTFILES)
5514 5514
 	|| chmod -R a+r "$(distdir)"
5515 5515
 dist-gzip: distdir
5516 5516
 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
5517
-	$(am__remove_distdir)
5517
+	$(am__post_remove_distdir)
5518 5518
 
5519 5519
 dist-bzip2: distdir
5520 5520
 	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
5521
-	$(am__remove_distdir)
5521
+	$(am__post_remove_distdir)
5522 5522
 
5523 5523
 dist-lzip: distdir
5524 5524
 	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
5525
-	$(am__remove_distdir)
5526
-
5527
-dist-lzma: distdir
5528
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
5529
-	$(am__remove_distdir)
5525
+	$(am__post_remove_distdir)
5530 5526
 
5531 5527
 dist-xz: distdir
5532 5528
 	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
5533
-	$(am__remove_distdir)
5529
+	$(am__post_remove_distdir)
5534 5530
 
5535 5531
 dist-tarZ: distdir
5532
+	@echo WARNING: "Support for shar distribution archives is" \
5533
+	               "deprecated." >&2
5534
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
5536 5535
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
5537
-	$(am__remove_distdir)
5536
+	$(am__post_remove_distdir)
5538 5537
 
5539 5538
 dist-shar: distdir
5539
+	@echo WARNING: "Support for distribution archives compressed with" \
5540
+		       "legacy program 'compress' is deprecated." >&2
5541
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
5540 5542
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
5541
-	$(am__remove_distdir)
5543
+	$(am__post_remove_distdir)
5542 5544
 
5543 5545
 dist-zip: distdir
5544 5546
 	-rm -f $(distdir).zip
5545 5547
 	zip -rq $(distdir).zip $(distdir)
5546
-	$(am__remove_distdir)
5548
+	$(am__post_remove_distdir)
5547 5549
 
5548
-dist dist-all: distdir
5549
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
5550
-	$(am__remove_distdir)
5550
+dist dist-all:
5551
+	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
5552
+	$(am__post_remove_distdir)
5551 5553
 
5552 5554
 # This target untars the dist file and tries a VPATH configuration.  Then
5553 5555
 # it guarantees that the distribution is self-contained by making another
... ...
@@ -5558,8 +5641,6 @@ distcheck: dist
5558 5558
 	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
5559 5559
 	*.tar.bz2*) \
5560 5560
 	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
5561
-	*.tar.lzma*) \
5562
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
5563 5561
 	*.tar.lz*) \
5564 5562
 	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
5565 5563
 	*.tar.xz*) \
... ...
@@ -5571,18 +5652,19 @@ distcheck: dist
5571 5571
 	*.zip*) \
5572 5572
 	  unzip $(distdir).zip ;;\
5573 5573
 	esac
5574
-	chmod -R a-w $(distdir); chmod u+w $(distdir)
5575
-	mkdir $(distdir)/_build
5576
-	mkdir $(distdir)/_inst
5574
+	chmod -R a-w $(distdir)
5575
+	chmod u+w $(distdir)
5576
+	mkdir $(distdir)/_build $(distdir)/_inst
5577 5577
 	chmod a-w $(distdir)
5578 5578
 	test -d $(distdir)/_build || exit 0; \
5579 5579
 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
5580 5580
 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
5581 5581
 	  && am__cwd=`pwd` \
5582 5582
 	  && $(am__cd) $(distdir)/_build \
5583
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
5583
+	  && ../configure \
5584 5584
 	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
5585 5585
 	    $(DISTCHECK_CONFIGURE_FLAGS) \
5586
+	    --srcdir=.. --prefix="$$dc_install_base" \
5586 5587
 	  && $(MAKE) $(AM_MAKEFLAGS) \
5587 5588
 	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
5588 5589
 	  && $(MAKE) $(AM_MAKEFLAGS) check \
... ...
@@ -5605,7 +5687,7 @@ distcheck: dist
5605 5605
 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
5606 5606
 	  && cd "$$am__cwd" \
5607 5607
 	  || exit 1
5608
-	$(am__remove_distdir)
5608
+	$(am__post_remove_distdir)
5609 5609
 	@(echo "$(distdir) archives ready for distribution: "; \
5610 5610
 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
5611 5611
 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
... ...
@@ -5672,8 +5754,8 @@ maintainer-clean-generic:
5672 5672
 	@echo "This command is intended for maintainers to use"
5673 5673
 	@echo "it deletes files that may require special tools to rebuild."
5674 5674
 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
5675
-@BUILD_EXTERNAL_LLVM_TRUE@distclean-local:
5676 5675
 @BUILD_EXTERNAL_LLVM_TRUE@clean-local:
5676
+@BUILD_EXTERNAL_LLVM_TRUE@distclean-local:
5677 5677
 clean: clean-am
5678 5678
 
5679 5679
 clean-am: clean-generic clean-libtool clean-local \
... ...
@@ -5750,23 +5832,23 @@ uninstall-am:
5750 5750
 
5751 5751
 .MAKE: all check install install-am install-strip
5752 5752
 
5753
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
5754
-	clean-generic clean-libtool clean-local \
5755
-	clean-noinstLTLIBRARIES clean-noinstPROGRAMS ctags dist \
5756
-	dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-lzma \
5757
-	dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
5758
-	distclean-compile distclean-generic distclean-hdr \
5759
-	distclean-libtool distclean-local distclean-tags \
5760
-	distcleancheck distdir distuninstallcheck dvi dvi-am html \
5761
-	html-am info info-am install install-am install-data \
5762
-	install-data-am install-dvi install-dvi-am install-exec \
5763
-	install-exec-am install-html install-html-am install-info \
5764
-	install-info-am install-man install-pdf install-pdf-am \
5765
-	install-ps install-ps-am install-strip installcheck \
5766
-	installcheck-am installdirs maintainer-clean \
5767
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
5768
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
5769
-	tags uninstall uninstall-am
5753
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
5754
+	clean-cscope clean-generic clean-libtool clean-local \
5755
+	clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope \
5756
+	cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
5757
+	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
5758
+	dist-zip distcheck distclean distclean-compile \
5759
+	distclean-generic distclean-hdr distclean-libtool \
5760
+	distclean-local distclean-tags distcleancheck distdir \
5761
+	distuninstallcheck dvi dvi-am html html-am info info-am \
5762
+	install install-am install-data install-data-am install-dvi \
5763
+	install-dvi-am install-exec install-exec-am install-html \
5764
+	install-html-am install-info install-info-am install-man \
5765
+	install-pdf install-pdf-am install-ps install-ps-am \
5766
+	install-strip installcheck installcheck-am installdirs \
5767
+	maintainer-clean maintainer-clean-generic mostlyclean \
5768
+	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
5769
+	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
5770 5770
 
5771 5771
 
5772 5772
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@llvm/include/llvm/Intrinsics.gen: llvm/include/llvm/Intrinsics.td $(TBLGEN)
... ...
@@ -1,8 +1,7 @@
1
-# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996-2013 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 12
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 13
 # PARTICULAR PURPOSE.
14 14
 
15
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15 16
 m4_ifndef([AC_AUTOCONF_VERSION],
16 17
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17 18
 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18 19
 [m4_warning([this file was generated for autoconf 2.69.
19 20
 You have another version of autoconf.  It may work, but is not guaranteed to.
20 21
 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'.])])
22
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 23
 
23
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
-# Foundation, Inc.
24
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
25 25
 #
26 26
 # This file is free software; the Free Software Foundation
27 27
 # gives unlimited permission to copy and/or distribute it,
28 28
 # with or without modifications, as long as this notice is preserved.
29 29
 
30
-# serial 1
31
-
32 30
 # AM_AUTOMAKE_VERSION(VERSION)
33 31
 # ----------------------------
34 32
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
35 33
 # generated from the m4 files accompanying Automake X.Y.
36 34
 # (This private macro should not be called outside this file.)
37 35
 AC_DEFUN([AM_AUTOMAKE_VERSION],
38
-[am__api_version='1.11'
36
+[am__api_version='1.14'
39 37
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40 38
 dnl require some minimum version.  Point them to the right macro.
41
-m4_if([$1], [1.11.6], [],
39
+m4_if([$1], [1.14.1], [],
42 40
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43 41
 ])
44 42
 
... ...
@@ -54,24 +51,22 @@ m4_define([_AM_AUTOCONF_VERSION], [])
54 54
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55 55
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56 56
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
-[AM_AUTOMAKE_VERSION([1.11.6])dnl
57
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
58 58
 m4_ifndef([AC_AUTOCONF_VERSION],
59 59
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60 60
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61 61
 
62 62
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63 63
 
64
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
64
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
65 65
 #
66 66
 # This file is free software; the Free Software Foundation
67 67
 # gives unlimited permission to copy and/or distribute it,
68 68
 # with or without modifications, as long as this notice is preserved.
69 69
 
70
-# serial 1
71
-
72 70
 # 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/../..'.
71
+# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
72
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75 73
 #
76 74
 # Of course, Automake must honor this variable whenever it calls a
77 75
 # tool from the auxiliary directory.  The problem is that $srcdir (and
... ...
@@ -90,7 +85,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
90 90
 #
91 91
 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92 92
 # are both prefixed by $srcdir.  In an in-source build this is usually
93
-# harmless because $srcdir is `.', but things will broke when you
93
+# harmless because $srcdir is '.', but things will broke when you
94 94
 # start a VPATH build or use an absolute $srcdir.
95 95
 #
96 96
 # 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 116
 
117 117
 # AM_CONDITIONAL                                            -*- Autoconf -*-
118 118
 
119
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
-# Free Software Foundation, Inc.
119
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
121 120
 #
122 121
 # This file is free software; the Free Software Foundation
123 122
 # gives unlimited permission to copy and/or distribute it,
124 123
 # with or without modifications, as long as this notice is preserved.
125 124
 
126
-# serial 9
127
-
128 125
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
129 126
 # -------------------------------------
130 127
 # Define a conditional.
131 128
 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
129
+[AC_PREREQ([2.52])dnl
130
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
131
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135 132
 AC_SUBST([$1_TRUE])dnl
136 133
 AC_SUBST([$1_FALSE])dnl
137 134
 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
... ...
@@ -150,16 +142,14 @@ AC_CONFIG_COMMANDS_PRE(
150 150
 Usually this means the macro was only invoked conditionally.]])
151 151
 fi])])
152 152
 
153
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
-# 2010, 2011 Free Software Foundation, Inc.
153
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
155 154
 #
156 155
 # This file is free software; the Free Software Foundation
157 156
 # gives unlimited permission to copy and/or distribute it,
158 157
 # with or without modifications, as long as this notice is preserved.
159 158
 
160
-# serial 12
161 159
 
162
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
160
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
163 161
 # written in clear, in which case automake, when reading aclocal.m4,
164 162
 # will think it sees a *use*, and therefore will trigger all it's
165 163
 # C support machinery.  Also note that it means that autoscan, seeing
... ...
@@ -169,7 +159,7 @@ fi])])
169 169
 # _AM_DEPENDENCIES(NAME)
170 170
 # ----------------------
171 171
 # See how the compiler implements dependency checking.
172
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
172
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
173 173
 # We try a few techniques and use that to set a single cache variable.
174 174
 #
175 175
 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
... ...
@@ -182,12 +172,13 @@ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
182 182
 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183 183
 AC_REQUIRE([AM_DEP_TRACK])dnl
184 184
 
185
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
186
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
187
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
189
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
190
-                   [depcc="$$1"   am_compiler_list=])
185
+m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
186
+      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
187
+      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
189
+      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
190
+      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
191
+                    [depcc="$$1"   am_compiler_list=])
191 192
 
192 193
 AC_CACHE_CHECK([dependency style of $depcc],
193 194
                [am_cv_$1_dependencies_compiler_type],
... ...
@@ -195,8 +186,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
195 195
   # We make a subdir and do the tests there.  Otherwise we can end up
196 196
   # making bogus files that we don't know about and never remove.  For
197 197
   # instance it was reported that on HP-UX the gcc test will end up
198
-  # making a dummy file named `D' -- because `-MD' means `put the output
199
-  # in D'.
198
+  # making a dummy file named 'D' -- because '-MD' means "put the output
199
+  # in D".
200 200
   rm -rf conftest.dir
201 201
   mkdir conftest.dir
202 202
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -236,16 +227,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
236 236
     : > sub/conftest.c
237 237
     for i in 1 2 3 4 5 6; do
238 238
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240
-      # Solaris 8's {/usr,}/bin/sh.
241
-      touch sub/conftst$i.h
239
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
240
+      # Solaris 10 /bin/sh.
241
+      echo '/* dummy */' > sub/conftst$i.h
242 242
     done
243 243
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244 244
 
245
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
245
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
246 246
     # mode.  It turns out that the SunPro C++ compiler does not properly
247
-    # handle `-M -o', and we need to detect this.  Also, some Intel
248
-    # versions had trouble with output in subdirs
247
+    # handle '-M -o', and we need to detect this.  Also, some Intel
248
+    # versions had trouble with output in subdirs.
249 249
     am__obj=sub/conftest.${OBJEXT-o}
250 250
     am__minus_obj="-o $am__obj"
251 251
     case $depmode in
... ...
@@ -254,8 +245,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
254 254
       test "$am__universal" = false || continue
255 255
       ;;
256 256
     nosideeffect)
257
-      # after this tag, mechanisms are not by side-effect, so they'll
258
-      # only be used when explicitly requested
257
+      # After this tag, mechanisms are not by side-effect, so they'll
258
+      # only be used when explicitly requested.
259 259
       if test "x$enable_dependency_tracking" = xyes; then
260 260
 	continue
261 261
       else
... ...
@@ -263,7 +254,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
263 263
       fi
264 264
       ;;
265 265
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266
-      # This compiler won't grok `-c -o', but also, the minuso test has
266
+      # This compiler won't grok '-c -o', but also, the minuso test has
267 267
       # not run yet.  These depmodes are late enough in the game, and
268 268
       # so weak that their functioning should not be impacted.
269 269
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -311,7 +302,7 @@ AM_CONDITIONAL([am__fastdep$1], [
311 311
 # AM_SET_DEPDIR
312 312
 # -------------
313 313
 # Choose a directory name for dependency files.
314
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
314
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
315 315
 AC_DEFUN([AM_SET_DEPDIR],
316 316
 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317 317
 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
... ...
@@ -321,9 +312,13 @@ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
321 321
 # AM_DEP_TRACK
322 322
 # ------------
323 323
 AC_DEFUN([AM_DEP_TRACK],
324
-[AC_ARG_ENABLE(dependency-tracking,
325
-[  --disable-dependency-tracking  speeds up one-time build
326
-  --enable-dependency-tracking   do not reject slow dependency extractors])
324
+[AC_ARG_ENABLE([dependency-tracking], [dnl
325
+AS_HELP_STRING(
326
+  [--enable-dependency-tracking],
327
+  [do not reject slow dependency extractors])
328
+AS_HELP_STRING(
329
+  [--disable-dependency-tracking],
330
+  [speeds up one-time build])])
327 331
 if test "x$enable_dependency_tracking" != xno; then
328 332
   am_depcomp="$ac_aux_dir/depcomp"
329 333
   AMDEPBACKSLASH='\'
... ...
@@ -338,20 +333,18 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
338 338
 
339 339
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
340 340
 
341
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342
-# Free Software Foundation, Inc.
341
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
343 342
 #
344 343
 # This file is free software; the Free Software Foundation
345 344
 # gives unlimited permission to copy and/or distribute it,
346 345
 # with or without modifications, as long as this notice is preserved.
347 346
 
348
-#serial 5
349 347
 
350 348
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
351 349
 # ------------------------------
352 350
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
353 351
 [{
354
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
352
+  # Older Autoconf quotes --file arguments for eval, but not when files
355 353
   # are listed without --file.  Let's play safe and only enable the eval
356 354
   # if we detect the quoting.
357 355
   case $CONFIG_FILES in
... ...
@@ -364,7 +357,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
364 364
     # Strip MF so we end up with the name of the file.
365 365
     mf=`echo "$mf" | sed -e 's/:.*$//'`
366 366
     # Check whether this is an Automake generated Makefile or not.
367
-    # We used to match only the files named `Makefile.in', but
367
+    # We used to match only the files named 'Makefile.in', but
368 368
     # some people rename them; so instead we look at the file content.
369 369
     # Grep'ing the first line is not enough: some people post-process
370 370
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -376,21 +369,19 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
376 376
       continue
377 377
     fi
378 378
     # Extract the definition of DEPDIR, am__include, and am__quote
379
-    # from the Makefile without running `make'.
379
+    # from the Makefile without running 'make'.
380 380
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381 381
     test -z "$DEPDIR" && continue
382 382
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
383
-    test -z "am__include" && continue
383
+    test -z "$am__include" && continue
384 384
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385
-    # When using ansi2knr, U may be empty or an underscore; expand it
386
-    U=`sed -n 's/^U = //p' < "$mf"`
387 385
     # Find all dependency output files, they are included files with
388 386
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
389 387
     # simplest approach to changing $(DEPDIR) to its actual value in the
390 388
     # expansion.
391 389
     for file in `sed -n "
392 390
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
391
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
394 392
       # Make sure the directory exists.
395 393
       test -f "$dirpart/$file" && continue
396 394
       fdir=`AS_DIRNAME(["$file"])`
... ...
@@ -408,7 +399,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
408 408
 # This macro should only be invoked once -- use via AC_REQUIRE.
409 409
 #
410 410
 # This code is only required when automatic dependency tracking
411
-# is enabled.  FIXME.  This creates each `.P' file that we will
411
+# is enabled.  FIXME.  This creates each '.P' file that we will
412 412
 # need in order to bootstrap the dependency handling code.
413 413
 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414 414
 [AC_CONFIG_COMMANDS([depfiles],
... ...
@@ -418,18 +409,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
418 418
 
419 419
 # Do all the work for Automake.                             -*- Autoconf -*-
420 420
 
421
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
421
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
423 422
 #
424 423
 # This file is free software; the Free Software Foundation
425 424
 # gives unlimited permission to copy and/or distribute it,
426 425
 # with or without modifications, as long as this notice is preserved.
427 426
 
428
-# serial 16
429
-
430 427
 # This macro actually does too much.  Some checks are only needed if
431 428
 # your package does certain things.  But this isn't really a big deal.
432 429
 
430
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
431
+m4_define([AC_PROG_CC],
432
+m4_defn([AC_PROG_CC])
433
+[_AM_PROG_CC_C_O
434
+])
435
+
433 436
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
434 437
 # AM_INIT_AUTOMAKE([OPTIONS])
435 438
 # -----------------------------------------------
... ...
@@ -442,7 +436,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
442 442
 # arguments mandatory, and then we can depend on a new Autoconf
443 443
 # release and drop the old call support.
444 444
 AC_DEFUN([AM_INIT_AUTOMAKE],
445
-[AC_PREREQ([2.62])dnl
445
+[AC_PREREQ([2.65])dnl
446 446
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
447 447
 dnl the ones we care about.
448 448
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -471,31 +465,40 @@ AC_SUBST([CYGPATH_W])
471 471
 # Define the identity of the package.
472 472
 dnl Distinguish between old-style and new-style calls.
473 473
 m4_ifval([$2],
474
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
474
+[AC_DIAGNOSE([obsolete],
475
+             [$0: two- and three-arguments forms are deprecated.])
476
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
475 477
  AC_SUBST([PACKAGE], [$1])dnl
476 478
  AC_SUBST([VERSION], [$2])],
477 479
 [_AM_SET_OPTIONS([$1])dnl
478 480
 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
481
+m4_if(
482
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
483
+  [ok:ok],,
480 484
   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481 485
  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482 486
  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483 487
 
484 488
 _AM_IF_OPTION([no-define],,
485
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
489
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
490
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
487 491
 
488 492
 # Some tools Automake needs.
489 493
 AC_REQUIRE([AM_SANITY_CHECK])dnl
490 494
 AC_REQUIRE([AC_ARG_PROGRAM])dnl
491
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492
-AM_MISSING_PROG(AUTOCONF, autoconf)
493
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494
-AM_MISSING_PROG(AUTOHEADER, autoheader)
495
-AM_MISSING_PROG(MAKEINFO, makeinfo)
495
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
496
+AM_MISSING_PROG([AUTOCONF], [autoconf])
497
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
498
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
499
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
496 500
 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497 501
 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
502
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
503
+# For better backward compatibility.  To be removed once Automake 1.9.x
504
+# dies out for good.  For more background, see:
505
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
506
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
507
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
499 508
 # We need awk for the "check" target.  The system "awk" is bad on
500 509
 # some platforms.
501 510
 AC_REQUIRE([AC_PROG_AWK])dnl
... ...
@@ -506,34 +509,78 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
506 506
 			     [_AM_PROG_TAR([v7])])])
507 507
 _AM_IF_OPTION([no-dependencies],,
508 508
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
509
-		  [_AM_DEPENDENCIES(CC)],
510
-		  [define([AC_PROG_CC],
511
-			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
509
+		  [_AM_DEPENDENCIES([CC])],
510
+		  [m4_define([AC_PROG_CC],
511
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
512 512
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
513
-		  [_AM_DEPENDENCIES(CXX)],
514
-		  [define([AC_PROG_CXX],
515
-			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
513
+		  [_AM_DEPENDENCIES([CXX])],
514
+		  [m4_define([AC_PROG_CXX],
515
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
516 516
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517
-		  [_AM_DEPENDENCIES(OBJC)],
518
-		  [define([AC_PROG_OBJC],
519
-			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
517
+		  [_AM_DEPENDENCIES([OBJC])],
518
+		  [m4_define([AC_PROG_OBJC],
519
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
520
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
521
+		  [_AM_DEPENDENCIES([OBJCXX])],
522
+		  [m4_define([AC_PROG_OBJCXX],
523
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
520 524
 ])
521
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
524
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
+AC_REQUIRE([AM_SILENT_RULES])dnl
526
+dnl The testsuite driver may need to know about EXEEXT, so add the
527
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
528
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
525 529
 AC_CONFIG_COMMANDS_PRE(dnl
526 530
 [m4_provide_if([_AM_COMPILER_EXEEXT],
527 531
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528
-])
529 532
 
530
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
533
+# POSIX will say in a future version that running "rm -f" with no argument
534
+# is OK; and we want to be able to make that assumption in our Makefile
535
+# recipes.  So use an aggressive probe to check that the usage we want is
536
+# actually supported "in the wild" to an acceptable degree.
537
+# See automake bug#10828.
538
+# To make any issue more visible, cause the running configure to be aborted
539
+# by default if the 'rm' program in use doesn't match our expectations; the
540
+# user can still override this though.
541
+if rm -f && rm -fr && rm -rf; then : OK; else
542
+  cat >&2 <<'END'
543
+Oops!
544
+
545
+Your 'rm' program seems unable to run without file operands specified
546
+on the command line, even when the '-f' option is present.  This is contrary
547
+to the behaviour of most rm programs out there, and not conforming with
548
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
549
+
550
+Please tell bug-automake@gnu.org about your system, including the value
551
+of your $PATH and any error possibly output before this message.  This
552
+can help us improve future automake versions.
553
+
554
+END
555
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
556
+    echo 'Configuration will proceed anyway, since you have set the' >&2
557
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
558
+    echo >&2
559
+  else
560
+    cat >&2 <<'END'
561
+Aborting the configuration process, to ensure you take notice of the issue.
562
+
563
+You can download and install GNU coreutils to get an 'rm' implementation
564
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
565
+
566
+If you want to complete the configuration process using your problematic
567
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
568
+to "yes", and re-run configure.
569
+
570
+END
571
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
572
+  fi
573
+fi])
574
+
575
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
531 576
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532 577
 dnl mangled by Autoconf and run in a shell conditional statement.
533 578
 m4_define([_AC_COMPILER_EXEEXT],
534 579
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535 580
 
536
-
537 581
 # When config.status generates a header, we must update the stamp-h file.
538 582
 # This file resides in the same directory as the config header
539 583
 # that is generated.  The stamp files are numbered to have different names.
... ...
@@ -555,15 +602,12 @@ for _am_header in $config_headers :; do
555 555
 done
556 556
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557 557
 
558
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559
-# Inc.
558
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
560 559
 #
561 560
 # This file is free software; the Free Software Foundation
562 561
 # gives unlimited permission to copy and/or distribute it,
563 562
 # with or without modifications, as long as this notice is preserved.
564 563
 
565
-# serial 1
566
-
567 564
 # AM_PROG_INSTALL_SH
568 565
 # ------------------
569 566
 # Define $install_sh.
... ...
@@ -577,16 +621,14 @@ if test x"${install_sh}" != xset; then
577 577
     install_sh="\${SHELL} $am_aux_dir/install-sh"
578 578
   esac
579 579
 fi
580
-AC_SUBST(install_sh)])
580
+AC_SUBST([install_sh])])
581 581
 
582
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
582
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
583 583
 #
584 584
 # This file is free software; the Free Software Foundation
585 585
 # gives unlimited permission to copy and/or distribute it,
586 586
 # with or without modifications, as long as this notice is preserved.
587 587
 
588
-# serial 2
589
-
590 588
 # Check whether the underlying file-system supports filenames
591 589
 # with a leading dot.  For instance MS-DOS doesn't.
592 590
 AC_DEFUN([AM_SET_LEADING_DOT],
... ...
@@ -603,20 +645,17 @@ AC_SUBST([am__leading_dot])])
603 603
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
604 604
 # From Jim Meyering
605 605
 
606
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
-# 2011 Free Software Foundation, Inc.
606
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
608 607
 #
609 608
 # This file is free software; the Free Software Foundation
610 609
 # gives unlimited permission to copy and/or distribute it,
611 610
 # with or without modifications, as long as this notice is preserved.
612 611
 
613
-# serial 5
614
-
615 612
 # AM_MAINTAINER_MODE([DEFAULT-MODE])
616 613
 # ----------------------------------
617 614
 # Control maintainer-specific portions of Makefiles.
618
-# Default is to disable them, unless `enable' is passed literally.
619
-# For symmetry, `disable' may be passed as well.  Anyway, the user
615
+# Default is to disable them, unless 'enable' is passed literally.
616
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
620 617
 # can override the default with the --enable/--disable switch.
621 618
 AC_DEFUN([AM_MAINTAINER_MODE],
622 619
 [m4_case(m4_default([$1], [disable]),
... ...
@@ -627,10 +666,11 @@ AC_DEFUN([AM_MAINTAINER_MODE],
627 627
 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628 628
   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629 629
   AC_ARG_ENABLE([maintainer-mode],
630
-[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
631
-			  (and sometimes confusing) to the casual installer],
632
-      [USE_MAINTAINER_MODE=$enableval],
633
-      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
630
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
631
+      am_maintainer_other[ make rules and dependencies not useful
632
+      (and sometimes confusing) to the casual installer])],
633
+    [USE_MAINTAINER_MODE=$enableval],
634
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
634 635
   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
635 636
   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
636 637
   MAINT=$MAINTAINER_MODE_TRUE
... ...
@@ -638,18 +678,14 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
638 638
 ]
639 639
 )
640 640
 
641
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
642
-
643 641
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
644 642
 
645
-# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
643
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
646 644
 #
647 645
 # This file is free software; the Free Software Foundation
648 646
 # gives unlimited permission to copy and/or distribute it,
649 647
 # with or without modifications, as long as this notice is preserved.
650 648
 
651
-# serial 4
652
-
653 649
 # AM_MAKE_INCLUDE()
654 650
 # -----------------
655 651
 # Check to see how make treats includes.
... ...
@@ -667,7 +703,7 @@ am__quote=
667 667
 _am_result=none
668 668
 # First try GNU make style include.
669 669
 echo "include confinc" > confmf
670
-# Ignore all kinds of additional output from `make'.
670
+# Ignore all kinds of additional output from 'make'.
671 671
 case `$am_make -s -f confmf 2> /dev/null` in #(
672 672
 *the\ am__doit\ target*)
673 673
   am__include=include
... ...
@@ -694,15 +730,12 @@ rm -f confinc confmf
694 694
 
695 695
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
696 696
 
697
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
698
-# Free Software Foundation, Inc.
697
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
699 698
 #
700 699
 # This file is free software; the Free Software Foundation
701 700
 # gives unlimited permission to copy and/or distribute it,
702 701
 # with or without modifications, as long as this notice is preserved.
703 702
 
704
-# serial 6
705
-
706 703
 # AM_MISSING_PROG(NAME, PROGRAM)
707 704
 # ------------------------------
708 705
 AC_DEFUN([AM_MISSING_PROG],
... ...
@@ -710,11 +743,10 @@ AC_DEFUN([AM_MISSING_PROG],
710 710
 $1=${$1-"${am_missing_run}$2"}
711 711
 AC_SUBST($1)])
712 712
 
713
-
714 713
 # AM_MISSING_HAS_RUN
715 714
 # ------------------
716
-# Define MISSING if not defined so far and test if it supports --run.
717
-# If it does, set am_missing_run to use it, otherwise, to nothing.
715
+# Define MISSING if not defined so far and test if it is modern enough.
716
+# If it is, set am_missing_run to use it, otherwise, to nothing.
718 717
 AC_DEFUN([AM_MISSING_HAS_RUN],
719 718
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
720 719
 AC_REQUIRE_AUX_FILE([missing])dnl
... ...
@@ -727,54 +759,22 @@ if test x"${MISSING+set}" != xset; then
727 727
   esac
728 728
 fi
729 729
 # Use eval to expand $SHELL
730
-if eval "$MISSING --run true"; then
731
-  am_missing_run="$MISSING --run "
730
+if eval "$MISSING --is-lightweight"; then
731
+  am_missing_run="$MISSING "
732 732
 else
733 733
   am_missing_run=
734
-  AC_MSG_WARN([`missing' script is too old or missing])
734
+  AC_MSG_WARN(['missing' script is too old or missing])
735 735
 fi
736 736
 ])
737 737
 
738
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
739
-# Inc.
740
-#
741
-# This file is free software; the Free Software Foundation
742
-# gives unlimited permission to copy and/or distribute it,
743
-# with or without modifications, as long as this notice is preserved.
744
-
745
-# serial 1
746
-
747
-# AM_PROG_MKDIR_P
748
-# ---------------
749
-# Check for `mkdir -p'.
750
-AC_DEFUN([AM_PROG_MKDIR_P],
751
-[AC_PREREQ([2.60])dnl
752
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
753
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
754
-dnl while keeping a definition of mkdir_p for backward compatibility.
755
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
756
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
757
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
758
-dnl adjustment using top_builddir (which is defined more often than
759
-dnl MKDIR_P).
760
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
761
-case $mkdir_p in
762
-  [[\\/$]]* | ?:[[\\/]]*) ;;
763
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
764
-esac
765
-])
766
-
767 738
 # Helper functions for option handling.                     -*- Autoconf -*-
768 739
 
769
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
770
-# Foundation, Inc.
740
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
771 741
 #
772 742
 # This file is free software; the Free Software Foundation
773 743
 # gives unlimited permission to copy and/or distribute it,
774 744
 # with or without modifications, as long as this notice is preserved.
775 745
 
776
-# serial 5
777
-
778 746
 # _AM_MANGLE_OPTION(NAME)
779 747
 # -----------------------
780 748
 AC_DEFUN([_AM_MANGLE_OPTION],
... ...
@@ -784,7 +784,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
784 784
 # --------------------
785 785
 # Set option NAME.  Presently that only means defining a flag for this option.
786 786
 AC_DEFUN([_AM_SET_OPTION],
787
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
787
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
788 788
 
789 789
 # _AM_SET_OPTIONS(OPTIONS)
790 790
 # ------------------------
... ...
@@ -798,13 +798,58 @@ AC_DEFUN([_AM_SET_OPTIONS],
798 798
 AC_DEFUN([_AM_IF_OPTION],
799 799
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
800 800
 
801
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
801
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
802 802
 #
803 803
 # This file is free software; the Free Software Foundation
804 804
 # gives unlimited permission to copy and/or distribute it,
805 805
 # with or without modifications, as long as this notice is preserved.
806 806
 
807
-# serial 1
807
+# _AM_PROG_CC_C_O
808
+# ---------------
809
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
810
+# to automatically call this.
811
+AC_DEFUN([_AM_PROG_CC_C_O],
812
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
813
+AC_REQUIRE_AUX_FILE([compile])dnl
814
+AC_LANG_PUSH([C])dnl
815
+AC_CACHE_CHECK(
816
+  [whether $CC understands -c and -o together],
817
+  [am_cv_prog_cc_c_o],
818
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
819
+  # Make sure it works both with $CC and with simple cc.
820
+  # Following AC_PROG_CC_C_O, we do the test twice because some
821
+  # compilers refuse to overwrite an existing .o file with -o,
822
+  # though they will create one.
823
+  am_cv_prog_cc_c_o=yes
824
+  for am_i in 1 2; do
825
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
826
+         && test -f conftest2.$ac_objext; then
827
+      : OK
828
+    else
829
+      am_cv_prog_cc_c_o=no
830
+      break
831
+    fi
832
+  done
833
+  rm -f core conftest*
834
+  unset am_i])
835
+if test "$am_cv_prog_cc_c_o" != yes; then
836
+   # Losing compiler, so override with the script.
837
+   # FIXME: It is wrong to rewrite CC.
838
+   # But if we don't then we get into trouble of one sort or another.
839
+   # A longer-term fix would be to have automake use am__CC in this case,
840
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
841
+   CC="$am_aux_dir/compile $CC"
842
+fi
843
+AC_LANG_POP([C])])
844
+
845
+# For backward compatibility.
846
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
847
+
848
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
849
+#
850
+# This file is free software; the Free Software Foundation
851
+# gives unlimited permission to copy and/or distribute it,
852
+# with or without modifications, as long as this notice is preserved.
808 853
 
809 854
 # AM_RUN_LOG(COMMAND)
810 855
 # -------------------
... ...
@@ -819,22 +864,16 @@ AC_DEFUN([AM_RUN_LOG],
819 819
 
820 820
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
821 821
 
822
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
823
-# Free Software Foundation, Inc.
822
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
824 823
 #
825 824
 # This file is free software; the Free Software Foundation
826 825
 # gives unlimited permission to copy and/or distribute it,
827 826
 # with or without modifications, as long as this notice is preserved.
828 827
 
829
-# serial 5
830
-
831 828
 # AM_SANITY_CHECK
832 829
 # ---------------
833 830
 AC_DEFUN([AM_SANITY_CHECK],
834 831
 [AC_MSG_CHECKING([whether build environment is sane])
835
-# Just in case
836
-sleep 1
837
-echo timestamp > conftest.file
838 832
 # Reject unsafe characters in $srcdir or the absolute working directory
839 833
 # name.  Accept space and tab only in the latter.
840 834
 am_lf='
... ...
@@ -845,32 +884,40 @@ case `pwd` in
845 845
 esac
846 846
 case $srcdir in
847 847
   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
848
-    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
848
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
849 849
 esac
850 850
 
851
-# Do `set' in a subshell so we don't clobber the current shell's
851
+# Do 'set' in a subshell so we don't clobber the current shell's
852 852
 # arguments.  Must try -L first in case configure is actually a
853 853
 # symlink; some systems play weird games with the mod time of symlinks
854 854
 # (eg FreeBSD returns the mod time of the symlink's containing
855 855
 # directory).
856 856
 if (
857
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
858
-   if test "$[*]" = "X"; then
859
-      # -L didn't work.
860
-      set X `ls -t "$srcdir/configure" conftest.file`
861
-   fi
862
-   rm -f conftest.file
863
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
864
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
865
-
866
-      # If neither matched, then we have a broken ls.  This can happen
867
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
868
-      # broken ls alias from the environment.  This has actually
869
-      # happened.  Such a system could not be considered "sane".
870
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
871
-alias in your environment])
872
-   fi
873
-
857
+   am_has_slept=no
858
+   for am_try in 1 2; do
859
+     echo "timestamp, slept: $am_has_slept" > conftest.file
860
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
861
+     if test "$[*]" = "X"; then
862
+	# -L didn't work.
863
+	set X `ls -t "$srcdir/configure" conftest.file`
864
+     fi
865
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
866
+	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
867
+
868
+	# If neither matched, then we have a broken ls.  This can happen
869
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
870
+	# broken ls alias from the environment.  This has actually
871
+	# happened.  Such a system could not be considered "sane".
872
+	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
873
+  alias in your environment])
874
+     fi
875
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
876
+       break
877
+     fi
878
+     # Just in case.
879
+     sleep 1
880
+     am_has_slept=yes
881
+   done
874 882
    test "$[2]" = conftest.file
875 883
    )
876 884
 then
... ...
@@ -880,31 +927,50 @@ else
880 880
    AC_MSG_ERROR([newly created file is older than distributed files!
881 881
 Check your system clock])
882 882
 fi
883
-AC_MSG_RESULT(yes)])
883
+AC_MSG_RESULT([yes])
884
+# If we didn't sleep, we still need to ensure time stamps of config.status and
885
+# generated files are strictly newer.
886
+am_sleep_pid=
887
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
888
+  ( sleep 1 ) &
889
+  am_sleep_pid=$!
890
+fi
891
+AC_CONFIG_COMMANDS_PRE(
892
+  [AC_MSG_CHECKING([that generated files are newer than configure])
893
+   if test -n "$am_sleep_pid"; then
894
+     # Hide warnings about reused PIDs.
895
+     wait $am_sleep_pid 2>/dev/null
896
+   fi
897
+   AC_MSG_RESULT([done])])
898
+rm -f conftest.file
899
+])
884 900
 
885
-# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
901
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
886 902
 #
887 903
 # This file is free software; the Free Software Foundation
888 904
 # gives unlimited permission to copy and/or distribute it,
889 905
 # with or without modifications, as long as this notice is preserved.
890 906
 
891
-# serial 2
892
-
893 907
 # AM_SILENT_RULES([DEFAULT])
894 908
 # --------------------------
895 909
 # Enable less verbose build rules; with the default set to DEFAULT
896
-# (`yes' being less verbose, `no' or empty being verbose).
910
+# ("yes" being less verbose, "no" or empty being verbose).
897 911
 AC_DEFUN([AM_SILENT_RULES],
898
-[AC_ARG_ENABLE([silent-rules],
899
-[  --enable-silent-rules          less verbose build output (undo: `make V=1')
900
-  --disable-silent-rules         verbose build output (undo: `make V=0')])
901
-case $enable_silent_rules in
902
-yes) AM_DEFAULT_VERBOSITY=0;;
903
-no)  AM_DEFAULT_VERBOSITY=1;;
904
-*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
912
+[AC_ARG_ENABLE([silent-rules], [dnl
913
+AS_HELP_STRING(
914
+  [--enable-silent-rules],
915
+  [less verbose build output (undo: "make V=1")])
916
+AS_HELP_STRING(
917
+  [--disable-silent-rules],
918
+  [verbose build output (undo: "make V=0")])dnl
919
+])
920
+case $enable_silent_rules in @%:@ (((
921
+  yes) AM_DEFAULT_VERBOSITY=0;;
922
+   no) AM_DEFAULT_VERBOSITY=1;;
923
+    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
905 924
 esac
906 925
 dnl
907
-dnl A few `make' implementations (e.g., NonStop OS and NextStep)
926
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
908 927
 dnl do not support nested variable expansions.
909 928
 dnl See automake bug#9928 and bug#10237.
910 929
 am_make=${MAKE-make}
... ...
@@ -922,7 +988,7 @@ else
922 922
   am_cv_make_support_nested_variables=no
923 923
 fi])
924 924
 if test $am_cv_make_support_nested_variables = yes; then
925
-  dnl Using `$V' instead of `$(V)' breaks IRIX make.
925
+  dnl Using '$V' instead of '$(V)' breaks IRIX make.
926 926
   AM_V='$(V)'
927 927
   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
928 928
 else
... ...
@@ -939,44 +1005,40 @@ AC_SUBST([AM_BACKSLASH])dnl
939 939
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
940 940
 ])
941 941
 
942
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
942
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
943 943
 #
944 944
 # This file is free software; the Free Software Foundation
945 945
 # gives unlimited permission to copy and/or distribute it,
946 946
 # with or without modifications, as long as this notice is preserved.
947 947
 
948
-# serial 1
949
-
950 948
 # AM_PROG_INSTALL_STRIP
951 949
 # ---------------------
952
-# One issue with vendor `install' (even GNU) is that you can't
950
+# One issue with vendor 'install' (even GNU) is that you can't
953 951
 # specify the program used to strip binaries.  This is especially
954 952
 # annoying in cross-compiling environments, where the build's strip
955 953
 # is unlikely to handle the host's binaries.
956 954
 # Fortunately install-sh will honor a STRIPPROG variable, so we
957
-# always use install-sh in `make install-strip', and initialize
955
+# always use install-sh in "make install-strip", and initialize
958 956
 # STRIPPROG with the value of the STRIP variable (set by the user).
959 957
 AC_DEFUN([AM_PROG_INSTALL_STRIP],
960 958
 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
961
-# Installed binaries are usually stripped using `strip' when the user
962
-# run `make install-strip'.  However `strip' might not be the right
959
+# Installed binaries are usually stripped using 'strip' when the user
960
+# run "make install-strip".  However 'strip' might not be the right
963 961
 # tool to use in cross-compilation environments, therefore Automake
964
-# will honor the `STRIP' environment variable to overrule this program.
965
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
962
+# will honor the 'STRIP' environment variable to overrule this program.
963
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
966 964
 if test "$cross_compiling" != no; then
967 965
   AC_CHECK_TOOL([STRIP], [strip], :)
968 966
 fi
969 967
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
970 968
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
971 969
 
972
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
970
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
973 971
 #
974 972
 # This file is free software; the Free Software Foundation
975 973
 # gives unlimited permission to copy and/or distribute it,
976 974
 # with or without modifications, as long as this notice is preserved.
977 975
 
978
-# serial 3
979
-
980 976
 # _AM_SUBST_NOTMAKE(VARIABLE)
981 977
 # ---------------------------
982 978
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
... ...
@@ -990,18 +1052,16 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
990 990
 
991 991
 # Check how to create a tarball.                            -*- Autoconf -*-
992 992
 
993
-# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
993
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
994 994
 #
995 995
 # This file is free software; the Free Software Foundation
996 996
 # gives unlimited permission to copy and/or distribute it,
997 997
 # with or without modifications, as long as this notice is preserved.
998 998
 
999
-# serial 2
1000
-
1001 999
 # _AM_PROG_TAR(FORMAT)
1002 1000
 # --------------------
1003 1001
 # Check how to create a tarball in format FORMAT.
1004
-# FORMAT should be one of `v7', `ustar', or `pax'.
1002
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1005 1003
 #
1006 1004
 # Substitute a variable $(am__tar) that is a command
1007 1005
 # writing to stdout a FORMAT-tarball containing the directory
... ...
@@ -1011,76 +1071,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1011 1011
 # Substitute a variable $(am__untar) that extract such
1012 1012
 # a tarball read from stdin.
1013 1013
 #     $(am__untar) < result.tar
1014
+#
1014 1015
 AC_DEFUN([_AM_PROG_TAR],
1015 1016
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
1016 1017
 # in the wild :-(  We should find a proper way to deprecate it ...
1017 1018
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1018
-m4_if([$1], [v7],
1019
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1020
-     [m4_case([$1], [ustar],, [pax],,
1021
-              [m4_fatal([Unknown tar format])])
1022
-AC_MSG_CHECKING([how to create a $1 tar archive])
1023
-# Loop over all known methods to create a tar archive until one works.
1019
+
1020
+# We'll loop over all known methods to create a tar archive until one works.
1024 1021
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1025
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1026
-# Do not fold the above two line into one, because Tru64 sh and
1027
-# Solaris sh will not grok spaces in the rhs of `-'.
1028
-for _am_tool in $_am_tools
1029
-do
1030
-  case $_am_tool in
1031
-  gnutar)
1032
-    for _am_tar in tar gnutar gtar;
1033
-    do
1034
-      AM_RUN_LOG([$_am_tar --version]) && break
1035
-    done
1036
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1037
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1038
-    am__untar="$_am_tar -xf -"
1039
-    ;;
1040
-  plaintar)
1041
-    # Must skip GNU tar: if it does not support --format= it doesn't create
1042
-    # ustar tarball either.
1043
-    (tar --version) >/dev/null 2>&1 && continue
1044
-    am__tar='tar chf - "$$tardir"'
1045
-    am__tar_='tar chf - "$tardir"'
1046
-    am__untar='tar xf -'
1047
-    ;;
1048
-  pax)
1049
-    am__tar='pax -L -x $1 -w "$$tardir"'
1050
-    am__tar_='pax -L -x $1 -w "$tardir"'
1051
-    am__untar='pax -r'
1052
-    ;;
1053
-  cpio)
1054
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1055
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1056
-    am__untar='cpio -i -H $1 -d'
1057
-    ;;
1058
-  none)
1059
-    am__tar=false
1060
-    am__tar_=false
1061
-    am__untar=false
1062
-    ;;
1063
-  esac
1064 1022
 
1065
-  # If the value was cached, stop now.  We just wanted to have am__tar
1066
-  # and am__untar set.
1067
-  test -n "${am_cv_prog_tar_$1}" && break
1023
+m4_if([$1], [v7],
1024
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1025
+
1026
+  [m4_case([$1],
1027
+    [ustar],
1028
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1029
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1030
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1031
+      # and bug#13588).
1032
+      am_max_uid=2097151 # 2^21 - 1
1033
+      am_max_gid=$am_max_uid
1034
+      # The $UID and $GID variables are not portable, so we need to resort
1035
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1036
+      # below are definitely unexpected, so allow the users to see them
1037
+      # (that is, avoid stderr redirection).
1038
+      am_uid=`id -u || echo unknown`
1039
+      am_gid=`id -g || echo unknown`
1040
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1041
+      if test $am_uid -le $am_max_uid; then
1042
+         AC_MSG_RESULT([yes])
1043
+      else
1044
+         AC_MSG_RESULT([no])
1045
+         _am_tools=none
1046
+      fi
1047
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1048
+      if test $am_gid -le $am_max_gid; then
1049
+         AC_MSG_RESULT([yes])
1050
+      else
1051
+        AC_MSG_RESULT([no])
1052
+        _am_tools=none
1053
+      fi],
1054
+
1055
+  [pax],
1056
+    [],
1057
+
1058
+  [m4_fatal([Unknown tar format])])
1059
+
1060
+  AC_MSG_CHECKING([how to create a $1 tar archive])
1061
+
1062
+  # Go ahead even if we have the value already cached.  We do so because we
1063
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
1064
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1065
+
1066
+  for _am_tool in $_am_tools; do
1067
+    case $_am_tool in
1068
+    gnutar)
1069
+      for _am_tar in tar gnutar gtar; do
1070
+        AM_RUN_LOG([$_am_tar --version]) && break
1071
+      done
1072
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1073
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1074
+      am__untar="$_am_tar -xf -"
1075
+      ;;
1076
+    plaintar)
1077
+      # Must skip GNU tar: if it does not support --format= it doesn't create
1078
+      # ustar tarball either.
1079
+      (tar --version) >/dev/null 2>&1 && continue
1080
+      am__tar='tar chf - "$$tardir"'
1081
+      am__tar_='tar chf - "$tardir"'
1082
+      am__untar='tar xf -'
1083
+      ;;
1084
+    pax)
1085
+      am__tar='pax -L -x $1 -w "$$tardir"'
1086
+      am__tar_='pax -L -x $1 -w "$tardir"'
1087
+      am__untar='pax -r'
1088
+      ;;
1089
+    cpio)
1090
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1091
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1092
+      am__untar='cpio -i -H $1 -d'
1093
+      ;;
1094
+    none)
1095
+      am__tar=false
1096
+      am__tar_=false
1097
+      am__untar=false
1098
+      ;;
1099
+    esac
1068 1100
 
1069
-  # tar/untar a dummy directory, and stop if the command works
1070
-  rm -rf conftest.dir
1071
-  mkdir conftest.dir
1072
-  echo GrepMe > conftest.dir/file
1073
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1101
+    # If the value was cached, stop now.  We just wanted to have am__tar
1102
+    # and am__untar set.
1103
+    test -n "${am_cv_prog_tar_$1}" && break
1104
+
1105
+    # tar/untar a dummy directory, and stop if the command works.
1106
+    rm -rf conftest.dir
1107
+    mkdir conftest.dir
1108
+    echo GrepMe > conftest.dir/file
1109
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1110
+    rm -rf conftest.dir
1111
+    if test -s conftest.tar; then
1112
+      AM_RUN_LOG([$am__untar <conftest.tar])
1113
+      AM_RUN_LOG([cat conftest.dir/file])
1114
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1115
+    fi
1116
+  done
1074 1117
   rm -rf conftest.dir
1075
-  if test -s conftest.tar; then
1076
-    AM_RUN_LOG([$am__untar <conftest.tar])
1077
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1078
-  fi
1079
-done
1080
-rm -rf conftest.dir
1081 1118
 
1082
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1083
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1119
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1120
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1121
+
1084 1122
 AC_SUBST([am__tar])
1085 1123
 AC_SUBST([am__untar])
1086 1124
 ]) # _AM_PROG_TAR
... ...
@@ -1,10 +1,9 @@
1 1
 #! /bin/sh
2 2
 # depcomp - compile a program generating dependencies as side-effects
3 3
 
4
-scriptversion=2012-03-27.16; # UTC
4
+scriptversion=2013-05-30.07; # UTC
5 5
 
6
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
7
-# 2011, 2012 Free Software Foundation, Inc.
6
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
8 7
 
9 8
 # This program is free software; you can redistribute it and/or modify
10 9
 # it under the terms of the GNU General Public License as published by
... ...
@@ -28,9 +27,9 @@ scriptversion=2012-03-27.16; # UTC
28 28
 
29 29
 case $1 in
30 30
   '')
31
-     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
-     exit 1;
33
-     ;;
31
+    echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
+    exit 1;
33
+    ;;
34 34
   -h | --h*)
35 35
     cat <<\EOF
36 36
 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
... ...
@@ -57,11 +56,65 @@ EOF
57 57
     ;;
58 58
 esac
59 59
 
60
+# Get the directory component of the given path, and save it in the
61
+# global variables '$dir'.  Note that this directory component will
62
+# be either empty or ending with a '/' character.  This is deliberate.
63
+set_dir_from ()
64
+{
65
+  case $1 in
66
+    */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
67
+      *) dir=;;
68
+  esac
69
+}
70
+
71
+# Get the suffix-stripped basename of the given path, and save it the
72
+# global variable '$base'.
73
+set_base_from ()
74
+{
75
+  base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
76
+}
77
+
78
+# If no dependency file was actually created by the compiler invocation,
79
+# we still have to create a dummy depfile, to avoid errors with the
80
+# Makefile "include basename.Plo" scheme.
81
+make_dummy_depfile ()
82
+{
83
+  echo "#dummy" > "$depfile"
84
+}
85
+
86
+# Factor out some common post-processing of the generated depfile.
87
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
88
+aix_post_process_depfile ()
89
+{
90
+  # If the compiler actually managed to produce a dependency file,
91
+  # post-process it.
92
+  if test -f "$tmpdepfile"; then
93
+    # Each line is of the form 'foo.o: dependency.h'.
94
+    # Do two passes, one to just change these to
95
+    #   $object: dependency.h
96
+    # and one to simply output
97
+    #   dependency.h:
98
+    # which is needed to avoid the deleted-header problem.
99
+    { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
100
+      sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
101
+    } > "$depfile"
102
+    rm -f "$tmpdepfile"
103
+  else
104
+    make_dummy_depfile
105
+  fi
106
+}
107
+
60 108
 # A tabulation character.
61 109
 tab='	'
62 110
 # A newline character.
63 111
 nl='
64 112
 '
113
+# Character ranges might be problematic outside the C locale.
114
+# These definitions help.
115
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
116
+lower=abcdefghijklmnopqrstuvwxyz
117
+digits=0123456789
118
+alpha=${upper}${lower}
65 119
 
66 120
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
67 121
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
... ...
@@ -75,6 +128,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
75 75
 
76 76
 rm -f "$tmpdepfile"
77 77
 
78
+# Avoid interferences from the environment.
79
+gccflag= dashmflag=
80
+
78 81
 # Some modes work just like other modes, but use different flags.  We
79 82
 # parameterize here, but still list the modes in the big case below,
80 83
 # to make depend.m4 easier to write.  Note that we *cannot* use a case
... ...
@@ -86,32 +142,32 @@ if test "$depmode" = hp; then
86 86
 fi
87 87
 
88 88
 if test "$depmode" = dashXmstdout; then
89
-   # This is just like dashmstdout with a different argument.
90
-   dashmflag=-xM
91
-   depmode=dashmstdout
89
+  # This is just like dashmstdout with a different argument.
90
+  dashmflag=-xM
91
+  depmode=dashmstdout
92 92
 fi
93 93
 
94 94
 cygpath_u="cygpath -u -f -"
95 95
 if test "$depmode" = msvcmsys; then
96
-   # This is just like msvisualcpp but w/o cygpath translation.
97
-   # Just convert the backslash-escaped backslashes to single forward
98
-   # slashes to satisfy depend.m4
99
-   cygpath_u='sed s,\\\\,/,g'
100
-   depmode=msvisualcpp
96
+  # This is just like msvisualcpp but w/o cygpath translation.
97
+  # Just convert the backslash-escaped backslashes to single forward
98
+  # slashes to satisfy depend.m4
99
+  cygpath_u='sed s,\\\\,/,g'
100
+  depmode=msvisualcpp
101 101
 fi
102 102
 
103 103
 if test "$depmode" = msvc7msys; then
104
-   # This is just like msvc7 but w/o cygpath translation.
105
-   # Just convert the backslash-escaped backslashes to single forward
106
-   # slashes to satisfy depend.m4
107
-   cygpath_u='sed s,\\\\,/,g'
108
-   depmode=msvc7
104
+  # This is just like msvc7 but w/o cygpath translation.
105
+  # Just convert the backslash-escaped backslashes to single forward
106
+  # slashes to satisfy depend.m4
107
+  cygpath_u='sed s,\\\\,/,g'
108
+  depmode=msvc7
109 109
 fi
110 110
 
111 111
 if test "$depmode" = xlc; then
112
-   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
113
-   gccflag=-qmakedep=gcc,-MF
114
-   depmode=gcc
112
+  # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
113
+  gccflag=-qmakedep=gcc,-MF
114
+  depmode=gcc
115 115
 fi
116 116
 
117 117
 case "$depmode" in
... ...
@@ -134,8 +190,7 @@ gcc3)
134 134
   done
135 135
   "$@"
136 136
   stat=$?
137
-  if test $stat -eq 0; then :
138
-  else
137
+  if test $stat -ne 0; then
139 138
     rm -f "$tmpdepfile"
140 139
     exit $stat
141 140
   fi
... ...
@@ -143,13 +198,17 @@ gcc3)
143 143
   ;;
144 144
 
145 145
 gcc)
146
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
147
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
148
+## (see the conditional assignment to $gccflag above).
146 149
 ## There are various ways to get dependency output from gcc.  Here's
147 150
 ## why we pick this rather obscure method:
148 151
 ## - Don't want to use -MD because we'd like the dependencies to end
149 152
 ##   up in a subdir.  Having to rename by hand is ugly.
150 153
 ##   (We might end up doing this anyway to support other compilers.)
151 154
 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
152
-##   -MM, not -M (despite what the docs say).
155
+##   -MM, not -M (despite what the docs say).  Also, it might not be
156
+##   supported by the other compilers which use the 'gcc' depmode.
153 157
 ## - Using -M directly means running the compiler twice (even worse
154 158
 ##   than renaming).
155 159
   if test -z "$gccflag"; then
... ...
@@ -157,15 +216,14 @@ gcc)
157 157
   fi
158 158
   "$@" -Wp,"$gccflag$tmpdepfile"
159 159
   stat=$?
160
-  if test $stat -eq 0; then :
161
-  else
160
+  if test $stat -ne 0; then
162 161
     rm -f "$tmpdepfile"
163 162
     exit $stat
164 163
   fi
165 164
   rm -f "$depfile"
166 165
   echo "$object : \\" > "$depfile"
167
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
168
-## The second -e expression handles DOS-style file names with drive letters.
166
+  # The second -e expression handles DOS-style file names with drive
167
+  # letters.
169 168
   sed -e 's/^[^:]*: / /' \
170 169
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
171 170
 ## This next piece of magic avoids the "deleted header file" problem.
... ...
@@ -174,15 +232,15 @@ gcc)
174 174
 ## typically no way to rebuild the header).  We avoid this by adding
175 175
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
176 176
 ## this for us directly.
177
-  tr ' ' "$nl" < "$tmpdepfile" |
178 177
 ## Some versions of gcc put a space before the ':'.  On the theory
179 178
 ## that the space means something, we add a space to the output as
180 179
 ## well.  hp depmode also adds that space, but also prefixes the VPATH
181 180
 ## to the object.  Take care to not repeat it in the output.
182 181
 ## Some versions of the HPUX 10.20 sed can't process this invocation
183 182
 ## correctly.  Breaking it into two sed invocations is a workaround.
184
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
-      | sed -e 's/$/ :/' >> "$depfile"
183
+  tr ' ' "$nl" < "$tmpdepfile" \
184
+    | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
+    | sed -e 's/$/ :/' >> "$depfile"
186 186
   rm -f "$tmpdepfile"
187 187
   ;;
188 188
 
... ...
@@ -200,8 +258,7 @@ sgi)
200 200
     "$@" -MDupdate "$tmpdepfile"
201 201
   fi
202 202
   stat=$?
203
-  if test $stat -eq 0; then :
204
-  else
203
+  if test $stat -ne 0; then
205 204
     rm -f "$tmpdepfile"
206 205
     exit $stat
207 206
   fi
... ...
@@ -209,7 +266,6 @@ sgi)
209 209
 
210 210
   if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
211 211
     echo "$object : \\" > "$depfile"
212
-
213 212
     # Clip off the initial element (the dependent).  Don't try to be
214 213
     # clever and replace this with sed code, as IRIX sed won't handle
215 214
     # lines with more than a fixed number of characters (4096 in
... ...
@@ -217,19 +273,15 @@ sgi)
217 217
     # the IRIX cc adds comments like '#:fec' to the end of the
218 218
     # dependency line.
219 219
     tr ' ' "$nl" < "$tmpdepfile" \
220
-    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
221
-    tr "$nl" ' ' >> "$depfile"
220
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
221
+      | tr "$nl" ' ' >> "$depfile"
222 222
     echo >> "$depfile"
223
-
224 223
     # The second pass generates a dummy entry for each header file.
225 224
     tr ' ' "$nl" < "$tmpdepfile" \
226
-   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
227
-   >> "$depfile"
225
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
226
+      >> "$depfile"
228 227
   else
229
-    # The sourcefile does not contain any dependencies, so just
230
-    # store a dummy comment line, to avoid errors with the Makefile
231
-    # "include basename.Plo" scheme.
232
-    echo "#dummy" > "$depfile"
228
+    make_dummy_depfile
233 229
   fi
234 230
   rm -f "$tmpdepfile"
235 231
   ;;
... ...
@@ -247,9 +299,8 @@ aix)
247 247
   # current directory.  Also, the AIX compiler puts '$object:' at the
248 248
   # start of each line; $object doesn't have directory information.
249 249
   # Version 6 uses the directory in both cases.
250
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
251
-  test "x$dir" = "x$object" && dir=
252
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
250
+  set_dir_from "$object"
251
+  set_base_from "$object"
253 252
   if test "$libtool" = yes; then
254 253
     tmpdepfile1=$dir$base.u
255 254
     tmpdepfile2=$base.u
... ...
@@ -262,9 +313,7 @@ aix)
262 262
     "$@" -M
263 263
   fi
264 264
   stat=$?
265
-
266
-  if test $stat -eq 0; then :
267
-  else
265
+  if test $stat -ne 0; then
268 266
     rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
269 267
     exit $stat
270 268
   fi
... ...
@@ -273,65 +322,113 @@ aix)
273 273
   do
274 274
     test -f "$tmpdepfile" && break
275 275
   done
276
-  if test -f "$tmpdepfile"; then
277
-    # Each line is of the form 'foo.o: dependent.h'.
278
-    # Do two passes, one to just change these to
279
-    # '$object: dependent.h' and one to simply 'dependent.h:'.
280
-    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
281
-    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
282
-  else
283
-    # The sourcefile does not contain any dependencies, so just
284
-    # store a dummy comment line, to avoid errors with the Makefile
285
-    # "include basename.Plo" scheme.
286
-    echo "#dummy" > "$depfile"
276
+  aix_post_process_depfile
277
+  ;;
278
+
279
+tcc)
280
+  # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
281
+  # FIXME: That version still under development at the moment of writing.
282
+  #        Make that this statement remains true also for stable, released
283
+  #        versions.
284
+  # It will wrap lines (doesn't matter whether long or short) with a
285
+  # trailing '\', as in:
286
+  #
287
+  #   foo.o : \
288
+  #    foo.c \
289
+  #    foo.h \
290
+  #
291
+  # It will put a trailing '\' even on the last line, and will use leading
292
+  # spaces rather than leading tabs (at least since its commit 0394caf7
293
+  # "Emit spaces for -MD").
294
+  "$@" -MD -MF "$tmpdepfile"
295
+  stat=$?
296
+  if test $stat -ne 0; then
297
+    rm -f "$tmpdepfile"
298
+    exit $stat
287 299
   fi
300
+  rm -f "$depfile"
301
+  # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
302
+  # We have to change lines of the first kind to '$object: \'.
303
+  sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
304
+  # And for each line of the second kind, we have to emit a 'dep.h:'
305
+  # dummy dependency, to avoid the deleted-header problem.
306
+  sed -n -e 's|^  *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
288 307
   rm -f "$tmpdepfile"
289 308
   ;;
290 309
 
291
-icc)
292
-  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
293
-  # However on
294
-  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
295
-  # ICC 7.0 will fill foo.d with something like
296
-  #    foo.o: sub/foo.c
297
-  #    foo.o: sub/foo.h
298
-  # which is wrong.  We want
299
-  #    sub/foo.o: sub/foo.c
300
-  #    sub/foo.o: sub/foo.h
301
-  #    sub/foo.c:
302
-  #    sub/foo.h:
303
-  # ICC 7.1 will output
310
+## The order of this option in the case statement is important, since the
311
+## shell code in configure will try each of these formats in the order
312
+## listed in this file.  A plain '-MD' option would be understood by many
313
+## compilers, so we must ensure this comes after the gcc and icc options.
314
+pgcc)
315
+  # Portland's C compiler understands '-MD'.
316
+  # Will always output deps to 'file.d' where file is the root name of the
317
+  # source file under compilation, even if file resides in a subdirectory.
318
+  # The object file name does not affect the name of the '.d' file.
319
+  # pgcc 10.2 will output
304 320
   #    foo.o: sub/foo.c sub/foo.h
305
-  # and will wrap long lines using '\':
321
+  # and will wrap long lines using '\' :
306 322
   #    foo.o: sub/foo.c ... \
307 323
   #     sub/foo.h ... \
308 324
   #     ...
309
-  # tcc 0.9.26 (FIXME still under development at the moment of writing)
310
-  # will emit a similar output, but also prepend the continuation lines
311
-  # with horizontal tabulation characters.
312
-  "$@" -MD -MF "$tmpdepfile"
313
-  stat=$?
314
-  if test $stat -eq 0; then :
315
-  else
325
+  set_dir_from "$object"
326
+  # Use the source, not the object, to determine the base name, since
327
+  # that's sadly what pgcc will do too.
328
+  set_base_from "$source"
329
+  tmpdepfile=$base.d
330
+
331
+  # For projects that build the same source file twice into different object
332
+  # files, the pgcc approach of using the *source* file root name can cause
333
+  # problems in parallel builds.  Use a locking strategy to avoid stomping on
334
+  # the same $tmpdepfile.
335
+  lockdir=$base.d-lock
336
+  trap "
337
+    echo '$0: caught signal, cleaning up...' >&2
338
+    rmdir '$lockdir'
339
+    exit 1
340
+  " 1 2 13 15
341
+  numtries=100
342
+  i=$numtries
343
+  while test $i -gt 0; do
344
+    # mkdir is a portable test-and-set.
345
+    if mkdir "$lockdir" 2>/dev/null; then
346
+      # This process acquired the lock.
347
+      "$@" -MD
348
+      stat=$?
349
+      # Release the lock.
350
+      rmdir "$lockdir"
351
+      break
352
+    else
353
+      # If the lock is being held by a different process, wait
354
+      # until the winning process is done or we timeout.
355
+      while test -d "$lockdir" && test $i -gt 0; do
356
+        sleep 1
357
+        i=`expr $i - 1`
358
+      done
359
+    fi
360
+    i=`expr $i - 1`
361
+  done
362
+  trap - 1 2 13 15
363
+  if test $i -le 0; then
364
+    echo "$0: failed to acquire lock after $numtries attempts" >&2
365
+    echo "$0: check lockdir '$lockdir'" >&2
366
+    exit 1
367
+  fi
368
+
369
+  if test $stat -ne 0; then
316 370
     rm -f "$tmpdepfile"
317 371
     exit $stat
318 372
   fi
319 373
   rm -f "$depfile"
320
-  # Each line is of the form 'foo.o: dependent.h',
321
-  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
374
+  # Each line is of the form `foo.o: dependent.h',
375
+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
322 376
   # Do two passes, one to just change these to
323
-  # '$object: dependent.h' and one to simply 'dependent.h:'.
324
-  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
325
-    < "$tmpdepfile" > "$depfile"
326
-  sed '
327
-    s/[ '"$tab"'][ '"$tab"']*/ /g
328
-    s/^ *//
329
-    s/ *\\*$//
330
-    s/^[^:]*: *//
331
-    /^$/d
332
-    /:$/d
333
-    s/$/ :/
334
-  ' < "$tmpdepfile" >> "$depfile"
377
+  # `$object: dependent.h' and one to simply `dependent.h:'.
378
+  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
379
+  # Some versions of the HPUX 10.20 sed can't process this invocation
380
+  # correctly.  Breaking it into two sed invocations is a workaround.
381
+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
382
+    | sed -e 's/$/ :/' >> "$depfile"
335 383
   rm -f "$tmpdepfile"
336 384
   ;;
337 385
 
... ...
@@ -342,9 +439,8 @@ hp2)
342 342
   # 'foo.d', which lands next to the object file, wherever that
343 343
   # happens to be.
344 344
   # Much of this is similar to the tru64 case; see comments there.
345
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
346
-  test "x$dir" = "x$object" && dir=
347
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
345
+  set_dir_from  "$object"
346
+  set_base_from "$object"
348 347
   if test "$libtool" = yes; then
349 348
     tmpdepfile1=$dir$base.d
350 349
     tmpdepfile2=$dir.libs/$base.d
... ...
@@ -355,8 +451,7 @@ hp2)
355 355
     "$@" +Maked
356 356
   fi
357 357
   stat=$?
358
-  if test $stat -eq 0; then :
359
-  else
358
+  if test $stat -ne 0; then
360 359
      rm -f "$tmpdepfile1" "$tmpdepfile2"
361 360
      exit $stat
362 361
   fi
... ...
@@ -366,76 +461,61 @@ hp2)
366 366
     test -f "$tmpdepfile" && break
367 367
   done
368 368
   if test -f "$tmpdepfile"; then
369
-    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
369
+    sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
370 370
     # Add 'dependent.h:' lines.
371 371
     sed -ne '2,${
372
-	       s/^ *//
373
-	       s/ \\*$//
374
-	       s/$/:/
375
-	       p
376
-	     }' "$tmpdepfile" >> "$depfile"
372
+               s/^ *//
373
+               s/ \\*$//
374
+               s/$/:/
375
+               p
376
+             }' "$tmpdepfile" >> "$depfile"
377 377
   else
378
-    echo "#dummy" > "$depfile"
378
+    make_dummy_depfile
379 379
   fi
380 380
   rm -f "$tmpdepfile" "$tmpdepfile2"
381 381
   ;;
382 382
 
383 383
 tru64)
384
-   # The Tru64 compiler uses -MD to generate dependencies as a side
385
-   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
-   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
-   # dependencies in 'foo.d' instead, so we check for that too.
388
-   # Subdirectories are respected.
389
-   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
390
-   test "x$dir" = "x$object" && dir=
391
-   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
392
-
393
-   if test "$libtool" = yes; then
394
-      # With Tru64 cc, shared objects can also be used to make a
395
-      # static library.  This mechanism is used in libtool 1.4 series to
396
-      # handle both shared and static libraries in a single compilation.
397
-      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
398
-      #
399
-      # With libtool 1.5 this exception was removed, and libtool now
400
-      # generates 2 separate objects for the 2 libraries.  These two
401
-      # compilations output dependencies in $dir.libs/$base.o.d and
402
-      # in $dir$base.o.d.  We have to check for both files, because
403
-      # one of the two compilations can be disabled.  We should prefer
404
-      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
405
-      # automatically cleaned when .libs/ is deleted, while ignoring
406
-      # the former would cause a distcleancheck panic.
407
-      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
408
-      tmpdepfile2=$dir$base.o.d          # libtool 1.5
409
-      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
410
-      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
411
-      "$@" -Wc,-MD
412
-   else
413
-      tmpdepfile1=$dir$base.o.d
414
-      tmpdepfile2=$dir$base.d
415
-      tmpdepfile3=$dir$base.d
416
-      tmpdepfile4=$dir$base.d
417
-      "$@" -MD
418
-   fi
419
-
420
-   stat=$?
421
-   if test $stat -eq 0; then :
422
-   else
423
-      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
424
-      exit $stat
425
-   fi
426
-
427
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
428
-   do
429
-     test -f "$tmpdepfile" && break
430
-   done
431
-   if test -f "$tmpdepfile"; then
432
-      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
433
-      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
434
-   else
435
-      echo "#dummy" > "$depfile"
436
-   fi
437
-   rm -f "$tmpdepfile"
438
-   ;;
384
+  # The Tru64 compiler uses -MD to generate dependencies as a side
385
+  # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
+  # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
+  # dependencies in 'foo.d' instead, so we check for that too.
388
+  # Subdirectories are respected.
389
+  set_dir_from  "$object"
390
+  set_base_from "$object"
391
+
392
+  if test "$libtool" = yes; then
393
+    # Libtool generates 2 separate objects for the 2 libraries.  These
394
+    # two compilations output dependencies in $dir.libs/$base.o.d and
395
+    # in $dir$base.o.d.  We have to check for both files, because
396
+    # one of the two compilations can be disabled.  We should prefer
397
+    # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
398
+    # automatically cleaned when .libs/ is deleted, while ignoring
399
+    # the former would cause a distcleancheck panic.
400
+    tmpdepfile1=$dir$base.o.d          # libtool 1.5
401
+    tmpdepfile2=$dir.libs/$base.o.d    # Likewise.
402
+    tmpdepfile3=$dir.libs/$base.d      # Compaq CCC V6.2-504
403
+    "$@" -Wc,-MD
404
+  else
405
+    tmpdepfile1=$dir$base.d
406
+    tmpdepfile2=$dir$base.d
407
+    tmpdepfile3=$dir$base.d
408
+    "$@" -MD
409
+  fi
410
+
411
+  stat=$?
412
+  if test $stat -ne 0; then
413
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
414
+    exit $stat
415
+  fi
416
+
417
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
418
+  do
419
+    test -f "$tmpdepfile" && break
420
+  done
421
+  # Same post-processing that is required for AIX mode.
422
+  aix_post_process_depfile
423
+  ;;
439 424
 
440 425
 msvc7)
441 426
   if test "$libtool" = yes; then
... ...
@@ -446,8 +526,7 @@ msvc7)
446 446
   "$@" $showIncludes > "$tmpdepfile"
447 447
   stat=$?
448 448
   grep -v '^Note: including file: ' "$tmpdepfile"
449
-  if test "$stat" = 0; then :
450
-  else
449
+  if test $stat -ne 0; then
451 450
     rm -f "$tmpdepfile"
452 451
     exit $stat
453 452
   fi
... ...
@@ -473,6 +552,7 @@ $ {
473 473
   G
474 474
   p
475 475
 }' >> "$depfile"
476
+  echo >> "$depfile" # make sure the fragment doesn't end with a backslash
476 477
   rm -f "$tmpdepfile"
477 478
   ;;
478 479
 
... ...
@@ -524,13 +604,14 @@ dashmstdout)
524 524
   # in the target name.  This is to cope with DOS-style filenames:
525 525
   # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
526 526
   "$@" $dashmflag |
527
-    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
527
+    sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
528 528
   rm -f "$depfile"
529 529
   cat < "$tmpdepfile" > "$depfile"
530
-  tr ' ' "$nl" < "$tmpdepfile" | \
531
-## Some versions of the HPUX 10.20 sed can't process this invocation
532
-## correctly.  Breaking it into two sed invocations is a workaround.
533
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
530
+  # Some versions of the HPUX 10.20 sed can't process this sed invocation
531
+  # correctly.  Breaking it into two sed invocations is a workaround.
532
+  tr ' ' "$nl" < "$tmpdepfile" \
533
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
534
+    | sed -e 's/$/ :/' >> "$depfile"
534 535
   rm -f "$tmpdepfile"
535 536
   ;;
536 537
 
... ...
@@ -583,10 +664,12 @@ makedepend)
583 583
   # makedepend may prepend the VPATH from the source file name to the object.
584 584
   # No need to regex-escape $object, excess matching of '.' is harmless.
585 585
   sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
586
-  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
587
-## Some versions of the HPUX 10.20 sed can't process this invocation
588
-## correctly.  Breaking it into two sed invocations is a workaround.
589
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
586
+  # Some versions of the HPUX 10.20 sed can't process the last invocation
587
+  # correctly.  Breaking it into two sed invocations is a workaround.
588
+  sed '1,2d' "$tmpdepfile" \
589
+    | tr ' ' "$nl" \
590
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
591
+    | sed -e 's/$/ :/' >> "$depfile"
590 592
   rm -f "$tmpdepfile" "$tmpdepfile".bak
591 593
   ;;
592 594
 
... ...
@@ -622,10 +705,10 @@ cpp)
622 622
     esac
623 623
   done
624 624
 
625
-  "$@" -E |
626
-    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
-       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
628
-    sed '$ s: \\$::' > "$tmpdepfile"
625
+  "$@" -E \
626
+    | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
+             -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
628
+    | sed '$ s: \\$::' > "$tmpdepfile"
629 629
   rm -f "$depfile"
630 630
   echo "$object : \\" > "$depfile"
631 631
   cat < "$tmpdepfile" >> "$depfile"
... ...
@@ -657,15 +740,15 @@ msvisualcpp)
657 657
       shift
658 658
       ;;
659 659
     "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
660
-	set fnord "$@"
661
-	shift
662
-	shift
663
-	;;
660
+        set fnord "$@"
661
+        shift
662
+        shift
663
+        ;;
664 664
     *)
665
-	set fnord "$@" "$arg"
666
-	shift
667
-	shift
668
-	;;
665
+        set fnord "$@" "$arg"
666
+        shift
667
+        shift
668
+        ;;
669 669
     esac
670 670
   done
671 671
   "$@" -E 2>/dev/null |
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 # install - install a program, script, or datafile
3 3
 
4
-scriptversion=2011-01-19.21; # UTC
4
+scriptversion=2011-11-20.07; # UTC
5 5
 
6 6
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
7 7
 # later released in X11R6 (xc/config/util/install.sh) with the
... ...
@@ -35,7 +35,7 @@ scriptversion=2011-01-19.21; # UTC
35 35
 # FSF changes to this file are in the public domain.
36 36
 #
37 37
 # Calling this script install-sh is preferred over install.sh, to prevent
38
-# `make' implicit rules from creating a file called install from it
38
+# 'make' implicit rules from creating a file called install from it
39 39
 # when there is no Makefile.
40 40
 #
41 41
 # This script is compatible with the BSD install script, but was written
... ...
@@ -156,7 +156,7 @@ while test $# -ne 0; do
156 156
     -s) stripcmd=$stripprog;;
157 157
 
158 158
     -t) dst_arg=$2
159
-	# Protect names problematic for `test' and other utilities.
159
+	# Protect names problematic for 'test' and other utilities.
160 160
 	case $dst_arg in
161 161
 	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
162 162
 	esac
... ...
@@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
190 190
     fi
191 191
     shift # arg
192 192
     dst_arg=$arg
193
-    # Protect names problematic for `test' and other utilities.
193
+    # Protect names problematic for 'test' and other utilities.
194 194
     case $dst_arg in
195 195
       -* | [=\(\)!]) dst_arg=./$dst_arg;;
196 196
     esac
... ...
@@ -202,7 +202,7 @@ if test $# -eq 0; then
202 202
     echo "$0: no input file specified." >&2
203 203
     exit 1
204 204
   fi
205
-  # It's OK to call `install-sh -d' without argument.
205
+  # It's OK to call 'install-sh -d' without argument.
206 206
   # This can happen when creating conditional directories.
207 207
   exit 0
208 208
 fi
... ...
@@ -240,7 +240,7 @@ fi
240 240
 
241 241
 for src
242 242
 do
243
-  # Protect names problematic for `test' and other utilities.
243
+  # Protect names problematic for 'test' and other utilities.
244 244
   case $src in
245 245
     -* | [=\(\)!]) src=./$src;;
246 246
   esac
... ...
@@ -354,7 +354,7 @@ do
354 354
 	      if test -z "$dir_arg" || {
355 355
 		   # Check for POSIX incompatibilities with -m.
356 356
 		   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357
-		   # other-writeable bit of parent directory when it shouldn't.
357
+		   # other-writable bit of parent directory when it shouldn't.
358 358
 		   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 359
 		   ls_ld_tmpdir=`ls -ld "$tmpdir"`
360 360
 		   case $ls_ld_tmpdir in
... ...
@@ -70,7 +70,7 @@
70 70
 #         compiler:		$LTCC
71 71
 #         compiler flags:		$LTCFLAGS
72 72
 #         linker:		$LD (gnu? $with_gnu_ld)
73
-#         $progname:	(GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
73
+#         $progname:	(GNU libtool) 2.4.2
74 74
 #         automake:	$automake_version
75 75
 #         autoconf:	$autoconf_version
76 76
 #
... ...
@@ -80,7 +80,7 @@
80 80
 
81 81
 PROGRAM=libtool
82 82
 PACKAGE=libtool
83
-VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
83
+VERSION=2.4.2
84 84
 TIMESTAMP=""
85 85
 package_revision=1.3337
86 86
 
... ...
@@ -6124,10 +6124,7 @@ func_mode_link ()
6124 6124
 	case $pass in
6125 6125
 	dlopen) libs="$dlfiles" ;;
6126 6126
 	dlpreopen) libs="$dlprefiles" ;;
6127
-	link)
6128
-	  libs="$deplibs %DEPLIBS%"
6129
-	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
6130
-	  ;;
6127
+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
6131 6128
 	esac
6132 6129
       fi
6133 6130
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
... ...
@@ -6447,19 +6444,19 @@ func_mode_link ()
6447 6447
 	    # It is a libtool convenience library, so add in its objects.
6448 6448
 	    func_append convenience " $ladir/$objdir/$old_library"
6449 6449
 	    func_append old_convenience " $ladir/$objdir/$old_library"
6450
-	    tmp_libs=
6451
-	    for deplib in $dependency_libs; do
6452
-	      deplibs="$deplib $deplibs"
6453
-	      if $opt_preserve_dup_deps ; then
6454
-		case "$tmp_libs " in
6455
-		*" $deplib "*) func_append specialdeplibs " $deplib" ;;
6456
-		esac
6457
-	      fi
6458
-	      func_append tmp_libs " $deplib"
6459
-	    done
6460 6450
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
6461 6451
 	    func_fatal_error "\`$lib' is not a convenience library"
6462 6452
 	  fi
6453
+	  tmp_libs=
6454
+	  for deplib in $dependency_libs; do
6455
+	    deplibs="$deplib $deplibs"
6456
+	    if $opt_preserve_dup_deps ; then
6457
+	      case "$tmp_libs " in
6458
+	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
6459
+	      esac
6460
+	    fi
6461
+	    func_append tmp_libs " $deplib"
6462
+	  done
6463 6463
 	  continue
6464 6464
 	fi # $pass = conv
6465 6465
 
... ...
@@ -7352,9 +7349,6 @@ func_mode_link ()
7352 7352
 	    revision="$number_minor"
7353 7353
 	    lt_irix_increment=no
7354 7354
 	    ;;
7355
-	  *)
7356
-	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
7357
-	    ;;
7358 7355
 	  esac
7359 7356
 	  ;;
7360 7357
 	no)
... ...
@@ -1,11 +1,10 @@
1 1
 #! /bin/sh
2
-# Common stub for a few missing GNU programs while installing.
2
+# Common wrapper for a few potentially missing GNU programs.
3 3
 
4
-scriptversion=2012-01-06.13; # UTC
4
+scriptversion=2013-10-28.13; # UTC
5 5
 
6
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
6
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
7
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9 8
 
10 9
 # This program is free software; you can redistribute it and/or modify
11 10
 # it under the terms of the GNU General Public License as published by
... ...
@@ -26,68 +25,40 @@ scriptversion=2012-01-06.13; # UTC
26 26
 # the same distribution terms that you use for the rest of that program.
27 27
 
28 28
 if test $# -eq 0; then
29
-  echo 1>&2 "Try \`$0 --help' for more information"
29
+  echo 1>&2 "Try '$0 --help' for more information"
30 30
   exit 1
31 31
 fi
32 32
 
33
-run=:
34
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
35
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
36
-
37
-# In the cases where this matters, `missing' is being run in the
38
-# srcdir already.
39
-if test -f configure.ac; then
40
-  configure_ac=configure.ac
41
-else
42
-  configure_ac=configure.in
43
-fi
33
+case $1 in
44 34
 
45
-msg="missing on your system"
35
+  --is-lightweight)
36
+    # Used by our autoconf macros to check whether the available missing
37
+    # script is modern enough.
38
+    exit 0
39
+    ;;
46 40
 
47
-case $1 in
48
-  # Try to run requested program, and just exit if it succeeds.
49
-  run=
50
-  shift
51
-  "$@" && exit 0
52
-  # Exit code 63 means version mismatch.  This often happens
53
-  # when the user try to use an ancient version of a tool on
54
-  # a file that requires a minimum version.  In this case we
55
-  # we should proceed has if the program had been absent, or
56
-  # if --run hadn't been passed.
57
-  if test $? = 63; then
58
-    run=:
59
-    msg="probably too old"
60
-  fi
61
-  ;;
41
+  --run)
42
+    # Back-compat with the calling convention used by older automake.
43
+    shift
44
+    ;;
62 45
 
63 46
   -h|--h|--he|--hel|--help)
64 47
     echo "\
65 48
 $0 [OPTION]... PROGRAM [ARGUMENT]...
66 49
 
67
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
68
-error status if there is no known handling for PROGRAM.
50
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
51
+to PROGRAM being missing or too old.
69 52
 
70 53
 Options:
71 54
   -h, --help      display this help and exit
72 55
   -v, --version   output version information and exit
73
-  --run           try to run the given command, and emulate it if it fails
74 56
 
75 57
 Supported PROGRAM values:
76
-  aclocal      touch file \`aclocal.m4'
77
-  autoconf     touch file \`configure'
78
-  autoheader   touch file \`config.h.in'
79
-  autom4te     touch the output file, or create a stub one
80
-  automake     touch all \`Makefile.in' files
81
-  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
82
-  flex         create \`lex.yy.c', if possible, from existing .c
83
-  help2man     touch the output file
84
-  lex          create \`lex.yy.c', if possible, from existing .c
85
-  makeinfo     touch the output file
86
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
58
+  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
59
+  bison     yacc      flex         lex       help2man
87 60
 
88
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
89
-\`g' are ignored when checking the name.
61
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
62
+'g' are ignored when checking the name.
90 63
 
91 64
 Send bug reports to <bug-automake@gnu.org>."
92 65
     exit $?
... ...
@@ -99,228 +70,141 @@ Send bug reports to <bug-automake@gnu.org>."
99 99
     ;;
100 100
 
101 101
   -*)
102
-    echo 1>&2 "$0: Unknown \`$1' option"
103
-    echo 1>&2 "Try \`$0 --help' for more information"
102
+    echo 1>&2 "$0: unknown '$1' option"
103
+    echo 1>&2 "Try '$0 --help' for more information"
104 104
     exit 1
105 105
     ;;
106 106
 
107 107
 esac
108 108
 
109
-# normalize program name to check for.
110
-program=`echo "$1" | sed '
111
-  s/^gnu-//; t
112
-  s/^gnu//; t
113
-  s/^g//; t'`
114
-
115
-# Now exit if we have it, but it failed.  Also exit now if we
116
-# don't have it and --version was passed (most likely to detect
117
-# the program).  This is about non-GNU programs, so use $1 not
118
-# $program.
119
-case $1 in
120
-  lex*|yacc*)
121
-    # Not GNU programs, they don't have --version.
122
-    ;;
123
-
124
-  *)
125
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
126
-       # We have it, but it failed.
127
-       exit 1
128
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
129
-       # Could not run --version or --help.  This is probably someone
130
-       # running `$TOOL --version' or `$TOOL --help' to check whether
131
-       # $TOOL exists and not knowing $TOOL uses missing.
132
-       exit 1
133
-    fi
134
-    ;;
135
-esac
136
-
137
-# If it does not exist, or fails to run (possibly an outdated version),
138
-# try to emulate it.
139
-case $program in
140
-  aclocal*)
141
-    echo 1>&2 "\
142
-WARNING: \`$1' is $msg.  You should only need it if
143
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
144
-         to install the \`Automake' and \`Perl' packages.  Grab them from
145
-         any GNU archive site."
146
-    touch aclocal.m4
147
-    ;;
148
-
149
-  autoconf*)
150
-    echo 1>&2 "\
151
-WARNING: \`$1' is $msg.  You should only need it if
152
-         you modified \`${configure_ac}'.  You might want to install the
153
-         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
154
-         archive site."
155
-    touch configure
156
-    ;;
157
-
158
-  autoheader*)
159
-    echo 1>&2 "\
160
-WARNING: \`$1' is $msg.  You should only need it if
161
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
162
-         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
163
-         from any GNU archive site."
164
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
165
-    test -z "$files" && files="config.h"
166
-    touch_files=
167
-    for f in $files; do
168
-      case $f in
169
-      *:*) touch_files="$touch_files "`echo "$f" |
170
-				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
171
-      *) touch_files="$touch_files $f.in";;
172
-      esac
173
-    done
174
-    touch $touch_files
175
-    ;;
176
-
177
-  automake*)
178
-    echo 1>&2 "\
179
-WARNING: \`$1' is $msg.  You should only need it if
180
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
181
-         You might want to install the \`Automake' and \`Perl' packages.
182
-         Grab them from any GNU archive site."
183
-    find . -type f -name Makefile.am -print |
184
-	   sed 's/\.am$/.in/' |
185
-	   while read f; do touch "$f"; done
186
-    ;;
187
-
188
-  autom4te*)
189
-    echo 1>&2 "\
190
-WARNING: \`$1' is needed, but is $msg.
191
-         You might have modified some files without having the
192
-         proper tools for further handling them.
193
-         You can get \`$1' as part of \`Autoconf' from any GNU
194
-         archive site."
195
-
196
-    file=`echo "$*" | sed -n "$sed_output"`
197
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
198
-    if test -f "$file"; then
199
-	touch $file
200
-    else
201
-	test -z "$file" || exec >$file
202
-	echo "#! /bin/sh"
203
-	echo "# Created by GNU Automake missing as a replacement of"
204
-	echo "#  $ $@"
205
-	echo "exit 0"
206
-	chmod +x $file
207
-	exit 1
208
-    fi
209
-    ;;
210
-
211
-  bison*|yacc*)
212
-    echo 1>&2 "\
213
-WARNING: \`$1' $msg.  You should only need it if
214
-         you modified a \`.y' file.  You may need the \`Bison' package
215
-         in order for those modifications to take effect.  You can get
216
-         \`Bison' from any GNU archive site."
217
-    rm -f y.tab.c y.tab.h
218
-    if test $# -ne 1; then
219
-        eval LASTARG=\${$#}
220
-	case $LASTARG in
221
-	*.y)
222
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
223
-	    if test -f "$SRCFILE"; then
224
-	         cp "$SRCFILE" y.tab.c
225
-	    fi
226
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
227
-	    if test -f "$SRCFILE"; then
228
-	         cp "$SRCFILE" y.tab.h
229
-	    fi
230
-	  ;;
231
-	esac
232
-    fi
233
-    if test ! -f y.tab.h; then
234
-	echo >y.tab.h
235
-    fi
236
-    if test ! -f y.tab.c; then
237
-	echo 'main() { return 0; }' >y.tab.c
238
-    fi
239
-    ;;
240
-
241
-  lex*|flex*)
242
-    echo 1>&2 "\
243
-WARNING: \`$1' is $msg.  You should only need it if
244
-         you modified a \`.l' file.  You may need the \`Flex' package
245
-         in order for those modifications to take effect.  You can get
246
-         \`Flex' from any GNU archive site."
247
-    rm -f lex.yy.c
248
-    if test $# -ne 1; then
249
-        eval LASTARG=\${$#}
250
-	case $LASTARG in
251
-	*.l)
252
-	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
253
-	    if test -f "$SRCFILE"; then
254
-	         cp "$SRCFILE" lex.yy.c
255
-	    fi
256
-	  ;;
257
-	esac
258
-    fi
259
-    if test ! -f lex.yy.c; then
260
-	echo 'main() { return 0; }' >lex.yy.c
261
-    fi
262
-    ;;
263
-
264
-  help2man*)
265
-    echo 1>&2 "\
266
-WARNING: \`$1' is $msg.  You should only need it if
267
-	 you modified a dependency of a manual page.  You may need the
268
-	 \`Help2man' package in order for those modifications to take
269
-	 effect.  You can get \`Help2man' from any GNU archive site."
270
-
271
-    file=`echo "$*" | sed -n "$sed_output"`
272
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
273
-    if test -f "$file"; then
274
-	touch $file
275
-    else
276
-	test -z "$file" || exec >$file
277
-	echo ".ab help2man is required to generate this page"
278
-	exit $?
279
-    fi
280
-    ;;
281
-
282
-  makeinfo*)
283
-    echo 1>&2 "\
284
-WARNING: \`$1' is $msg.  You should only need it if
285
-         you modified a \`.texi' or \`.texinfo' file, or any other file
286
-         indirectly affecting the aspect of the manual.  The spurious
287
-         call might also be the consequence of using a buggy \`make' (AIX,
288
-         DU, IRIX).  You might want to install the \`Texinfo' package or
289
-         the \`GNU make' package.  Grab either from any GNU archive site."
290
-    # The file to touch is that specified with -o ...
291
-    file=`echo "$*" | sed -n "$sed_output"`
292
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
293
-    if test -z "$file"; then
294
-      # ... or it is the one specified with @setfilename ...
295
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296
-      file=`sed -n '
297
-	/^@setfilename/{
298
-	  s/.* \([^ ]*\) *$/\1/
299
-	  p
300
-	  q
301
-	}' $infile`
302
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
303
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
304
-    fi
305
-    # If the file does not exist, the user really needs makeinfo;
306
-    # let's fail without touching anything.
307
-    test -f $file || exit 1
308
-    touch $file
309
-    ;;
109
+# Run the given program, remember its exit status.
110
+"$@"; st=$?
111
+
112
+# If it succeeded, we are done.
113
+test $st -eq 0 && exit 0
114
+
115
+# Also exit now if we it failed (or wasn't found), and '--version' was
116
+# passed; such an option is passed most likely to detect whether the
117
+# program is present and works.
118
+case $2 in --version|--help) exit $st;; esac
119
+
120
+# Exit code 63 means version mismatch.  This often happens when the user
121
+# tries to use an ancient version of a tool on a file that requires a
122
+# minimum version.
123
+if test $st -eq 63; then
124
+  msg="probably too old"
125
+elif test $st -eq 127; then
126
+  # Program was missing.
127
+  msg="missing on your system"
128
+else
129
+  # Program was found and executed, but failed.  Give up.
130
+  exit $st
131
+fi
310 132
 
311
-  *)
312
-    echo 1>&2 "\
313
-WARNING: \`$1' is needed, and is $msg.
314
-         You might have modified some files without having the
315
-         proper tools for further handling them.  Check the \`README' file,
316
-         it often tells you about the needed prerequisites for installing
317
-         this package.  You may also peek at any GNU archive site, in case
318
-         some other package would contain this missing \`$1' program."
319
-    exit 1
133
+perl_URL=http://www.perl.org/
134
+flex_URL=http://flex.sourceforge.net/
135
+gnu_software_URL=http://www.gnu.org/software
136
+
137
+program_details ()
138
+{
139
+  case $1 in
140
+    aclocal|automake)
141
+      echo "The '$1' program is part of the GNU Automake package:"
142
+      echo "<$gnu_software_URL/automake>"
143
+      echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
144
+      echo "<$gnu_software_URL/autoconf>"
145
+      echo "<$gnu_software_URL/m4/>"
146
+      echo "<$perl_URL>"
147
+      ;;
148
+    autoconf|autom4te|autoheader)
149
+      echo "The '$1' program is part of the GNU Autoconf package:"
150
+      echo "<$gnu_software_URL/autoconf/>"
151
+      echo "It also requires GNU m4 and Perl in order to run:"
152
+      echo "<$gnu_software_URL/m4/>"
153
+      echo "<$perl_URL>"
154
+      ;;
155
+  esac
156
+}
157
+
158
+give_advice ()
159
+{
160
+  # Normalize program name to check for.
161
+  normalized_program=`echo "$1" | sed '
162
+    s/^gnu-//; t
163
+    s/^gnu//; t
164
+    s/^g//; t'`
165
+
166
+  printf '%s\n' "'$1' is $msg."
167
+
168
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
169
+  case $normalized_program in
170
+    autoconf*)
171
+      echo "You should only need it if you modified 'configure.ac',"
172
+      echo "or m4 files included by it."
173
+      program_details 'autoconf'
174
+      ;;
175
+    autoheader*)
176
+      echo "You should only need it if you modified 'acconfig.h' or"
177
+      echo "$configure_deps."
178
+      program_details 'autoheader'
179
+      ;;
180
+    automake*)
181
+      echo "You should only need it if you modified 'Makefile.am' or"
182
+      echo "$configure_deps."
183
+      program_details 'automake'
184
+      ;;
185
+    aclocal*)
186
+      echo "You should only need it if you modified 'acinclude.m4' or"
187
+      echo "$configure_deps."
188
+      program_details 'aclocal'
189
+      ;;
190
+   autom4te*)
191
+      echo "You might have modified some maintainer files that require"
192
+      echo "the 'autom4te' program to be rebuilt."
193
+      program_details 'autom4te'
194
+      ;;
195
+    bison*|yacc*)
196
+      echo "You should only need it if you modified a '.y' file."
197
+      echo "You may want to install the GNU Bison package:"
198
+      echo "<$gnu_software_URL/bison/>"
199
+      ;;
200
+    lex*|flex*)
201
+      echo "You should only need it if you modified a '.l' file."
202
+      echo "You may want to install the Fast Lexical Analyzer package:"
203
+      echo "<$flex_URL>"
204
+      ;;
205
+    help2man*)
206
+      echo "You should only need it if you modified a dependency" \
207
+           "of a man page."
208
+      echo "You may want to install the GNU Help2man package:"
209
+      echo "<$gnu_software_URL/help2man/>"
320 210
     ;;
321
-esac
322
-
323
-exit 0
211
+    makeinfo*)
212
+      echo "You should only need it if you modified a '.texi' file, or"
213
+      echo "any other file indirectly affecting the aspect of the manual."
214
+      echo "You might want to install the Texinfo package:"
215
+      echo "<$gnu_software_URL/texinfo/>"
216
+      echo "The spurious makeinfo call might also be the consequence of"
217
+      echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
218
+      echo "want to install GNU make:"
219
+      echo "<$gnu_software_URL/make/>"
220
+      ;;
221
+    *)
222
+      echo "You might have modified some files without having the proper"
223
+      echo "tools for further handling them.  Check the 'README' file, it"
224
+      echo "often tells you about the needed prerequisites for installing"
225
+      echo "this package.  You may also peek at any GNU archive site, in"
226
+      echo "case some other package contains this missing '$1' program."
227
+      ;;
228
+  esac
229
+}
230
+
231
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
232
+                       -e '2,$s/^/         /' >&2
233
+
234
+# Propagate the correct exit status (expected to be 127 for a program
235
+# not found, 63 for a program that failed due to version mismatch).
236
+exit $st
324 237
 
325 238
 # Local variables:
326 239
 # eval: (add-hook 'write-file-hooks 'time-stamp)
... ...
@@ -275,10 +275,10 @@ fi
275 275
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 276
   else
277 277
     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
-$0: https://bugzilla.clamav.net about your system, including any
279
-$0: error possibly output before this message. Then install
280
-$0: a modern shell, or manually run the script under such a
281
-$0: shell if you do have one."
278
+$0: https://bugzilla.clamav.net about your system,
279
+$0: including any error possibly output before this
280
+$0: message. Then install a modern shell, or manually run
281
+$0: the script under such a shell if you do have one."
282 282
   fi
283 283
   exit 1
284 284
 fi
... ...
@@ -1435,12 +1435,15 @@ Optional Features:
1435 1435
   --disable-option-checking  ignore unrecognized --enable/--with options
1436 1436
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1437 1437
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1438
-  --enable-silent-rules          less verbose build output (undo: `make V=1')
1439
-  --disable-silent-rules         verbose build output (undo: `make V=0')
1440
-  --disable-dependency-tracking  speeds up one-time build
1441
-  --enable-dependency-tracking   do not reject slow dependency extractors
1442
-  --enable-maintainer-mode  enable make rules and dependencies not useful
1443
-			  (and sometimes confusing) to the casual installer
1438
+  --enable-silent-rules   less verbose build output (undo: "make V=1")
1439
+  --disable-silent-rules  verbose build output (undo: "make V=0")
1440
+  --enable-dependency-tracking
1441
+                          do not reject slow dependency extractors
1442
+  --disable-dependency-tracking
1443
+                          speeds up one-time build
1444
+  --enable-maintainer-mode
1445
+                          enable make rules and dependencies not useful (and
1446
+                          sometimes confusing) to the casual installer
1444 1447
   --enable-static[=PKGS]  build static libraries [default=no]
1445 1448
   --enable-shared[=PKGS]  build shared libraries [default=yes]
1446 1449
   --enable-fast-install[=PKGS]
... ...
@@ -2479,7 +2482,7 @@ test -n "$target_alias" &&
2479 2479
   test "$program_prefix$program_suffix$program_transform_name" = \
2480 2480
     NONENONEs,x,x, &&
2481 2481
   program_prefix=${target_alias}-
2482
-am__api_version='1.11'
2482
+am__api_version='1.14'
2483 2483
 
2484 2484
 # Find a good install program.  We prefer a C program (faster),
2485 2485
 # so one script is as good as another.  But avoid the broken or
... ...
@@ -2576,9 +2579,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2576 2576
 
2577 2577
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2578 2578
 $as_echo_n "checking whether build environment is sane... " >&6; }
2579
-# Just in case
2580
-sleep 1
2581
-echo timestamp > conftest.file
2582 2579
 # Reject unsafe characters in $srcdir or the absolute working directory
2583 2580
 # name.  Accept space and tab only in the latter.
2584 2581
 am_lf='
... ...
@@ -2589,32 +2589,40 @@ case `pwd` in
2589 2589
 esac
2590 2590
 case $srcdir in
2591 2591
   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2592
-    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2592
+    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2593 2593
 esac
2594 2594
 
2595
-# Do `set' in a subshell so we don't clobber the current shell's
2595
+# Do 'set' in a subshell so we don't clobber the current shell's
2596 2596
 # arguments.  Must try -L first in case configure is actually a
2597 2597
 # symlink; some systems play weird games with the mod time of symlinks
2598 2598
 # (eg FreeBSD returns the mod time of the symlink's containing
2599 2599
 # directory).
2600 2600
 if (
2601
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2602
-   if test "$*" = "X"; then
2603
-      # -L didn't work.
2604
-      set X `ls -t "$srcdir/configure" conftest.file`
2605
-   fi
2606
-   rm -f conftest.file
2607
-   if test "$*" != "X $srcdir/configure conftest.file" \
2608
-      && test "$*" != "X conftest.file $srcdir/configure"; then
2609
-
2610
-      # If neither matched, then we have a broken ls.  This can happen
2611
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
2612
-      # broken ls alias from the environment.  This has actually
2613
-      # happened.  Such a system could not be considered "sane".
2614
-      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615
-alias in your environment" "$LINENO" 5
2616
-   fi
2617
-
2601
+   am_has_slept=no
2602
+   for am_try in 1 2; do
2603
+     echo "timestamp, slept: $am_has_slept" > conftest.file
2604
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2605
+     if test "$*" = "X"; then
2606
+	# -L didn't work.
2607
+	set X `ls -t "$srcdir/configure" conftest.file`
2608
+     fi
2609
+     if test "$*" != "X $srcdir/configure conftest.file" \
2610
+	&& test "$*" != "X conftest.file $srcdir/configure"; then
2611
+
2612
+	# If neither matched, then we have a broken ls.  This can happen
2613
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
2614
+	# broken ls alias from the environment.  This has actually
2615
+	# happened.  Such a system could not be considered "sane".
2616
+	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617
+  alias in your environment" "$LINENO" 5
2618
+     fi
2619
+     if test "$2" = conftest.file || test $am_try -eq 2; then
2620
+       break
2621
+     fi
2622
+     # Just in case.
2623
+     sleep 1
2624
+     am_has_slept=yes
2625
+   done
2618 2626
    test "$2" = conftest.file
2619 2627
    )
2620 2628
 then
... ...
@@ -2626,6 +2634,16 @@ Check your system clock" "$LINENO" 5
2626 2626
 fi
2627 2627
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2628 2628
 $as_echo "yes" >&6; }
2629
+# If we didn't sleep, we still need to ensure time stamps of config.status and
2630
+# generated files are strictly newer.
2631
+am_sleep_pid=
2632
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2633
+  ( sleep 1 ) &
2634
+  am_sleep_pid=$!
2635
+fi
2636
+
2637
+rm -f conftest.file
2638
+
2629 2639
 test "$program_prefix" != NONE &&
2630 2640
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2631 2641
 # Use a double $ so make ignores it.
... ...
@@ -2648,12 +2666,12 @@ if test x"${MISSING+set}" != xset; then
2648 2648
   esac
2649 2649
 fi
2650 2650
 # Use eval to expand $SHELL
2651
-if eval "$MISSING --run true"; then
2652
-  am_missing_run="$MISSING --run "
2651
+if eval "$MISSING --is-lightweight"; then
2652
+  am_missing_run="$MISSING "
2653 2653
 else
2654 2654
   am_missing_run=
2655
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2656
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2655
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2656
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2657 2657
 fi
2658 2658
 
2659 2659
 if test x"${install_sh}" != xset; then
... ...
@@ -2665,10 +2683,10 @@ if test x"${install_sh}" != xset; then
2665 2665
   esac
2666 2666
 fi
2667 2667
 
2668
-# Installed binaries are usually stripped using `strip' when the user
2669
-# run `make install-strip'.  However `strip' might not be the right
2668
+# Installed binaries are usually stripped using 'strip' when the user
2669
+# run "make install-strip".  However 'strip' might not be the right
2670 2670
 # tool to use in cross-compilation environments, therefore Automake
2671
-# will honor the `STRIP' environment variable to overrule this program.
2671
+# will honor the 'STRIP' environment variable to overrule this program.
2672 2672
 if test "$cross_compiling" != no; then
2673 2673
   if test -n "$ac_tool_prefix"; then
2674 2674
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
... ...
@@ -2807,12 +2825,6 @@ fi
2807 2807
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2808 2808
 $as_echo "$MKDIR_P" >&6; }
2809 2809
 
2810
-mkdir_p="$MKDIR_P"
2811
-case $mkdir_p in
2812
-  [\\/$]* | ?:[\\/]*) ;;
2813
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2814
-esac
2815
-
2816 2810
 for ac_prog in gawk mawk nawk awk
2817 2811
 do
2818 2812
   # Extract the first word of "$ac_prog", so it can be a program name with args.
... ...
@@ -2895,6 +2907,45 @@ else
2895 2895
 fi
2896 2896
 rmdir .tst 2>/dev/null
2897 2897
 
2898
+# Check whether --enable-silent-rules was given.
2899
+if test "${enable_silent_rules+set}" = set; then :
2900
+  enableval=$enable_silent_rules;
2901
+fi
2902
+
2903
+case $enable_silent_rules in # (((
2904
+  yes) AM_DEFAULT_VERBOSITY=0;;
2905
+   no) AM_DEFAULT_VERBOSITY=1;;
2906
+    *) AM_DEFAULT_VERBOSITY=1;;
2907
+esac
2908
+am_make=${MAKE-make}
2909
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2910
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2911
+if ${am_cv_make_support_nested_variables+:} false; then :
2912
+  $as_echo_n "(cached) " >&6
2913
+else
2914
+  if $as_echo 'TRUE=$(BAR$(V))
2915
+BAR0=false
2916
+BAR1=true
2917
+V=1
2918
+am__doit:
2919
+	@$(TRUE)
2920
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2921
+  am_cv_make_support_nested_variables=yes
2922
+else
2923
+  am_cv_make_support_nested_variables=no
2924
+fi
2925
+fi
2926
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2927
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
2928
+if test $am_cv_make_support_nested_variables = yes; then
2929
+    AM_V='$(V)'
2930
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2931
+else
2932
+  AM_V=$AM_DEFAULT_VERBOSITY
2933
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2934
+fi
2935
+AM_BACKSLASH='\'
2936
+
2898 2937
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2899 2938
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2900 2939
   # is not polluted with repeated "-I."
... ...
@@ -2936,6 +2987,12 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2936 2936
 
2937 2937
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2938 2938
 
2939
+# For better backward compatibility.  To be removed once Automake 1.9.x
2940
+# dies out for good.  For more background, see:
2941
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2942
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2943
+mkdir_p='$(MKDIR_P)'
2944
+
2939 2945
 # We need awk for the "check" target.  The system "awk" is bad on
2940 2946
 # some platforms.
2941 2947
 # Always define AMTAR for backward compatibility.  Yes, it's still used
... ...
@@ -2943,101 +3000,151 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2943 2943
 AMTAR='$${TAR-tar}'
2944 2944
 
2945 2945
 
2946
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2947
-$as_echo_n "checking how to create a pax tar archive... " >&6; }
2948
-# Loop over all known methods to create a tar archive until one works.
2946
+# We'll loop over all known methods to create a tar archive until one works.
2949 2947
 _am_tools='gnutar  pax cpio none'
2950
-_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2951
-# Do not fold the above two line into one, because Tru64 sh and
2952
-# Solaris sh will not grok spaces in the rhs of `-'.
2953
-for _am_tool in $_am_tools
2954
-do
2955
-  case $_am_tool in
2956
-  gnutar)
2957
-    for _am_tar in tar gnutar gtar;
2958
-    do
2959
-      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2948
+
2949
+
2950
+
2951
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2952
+$as_echo_n "checking how to create a pax tar archive... " >&6; }
2953
+
2954
+  # Go ahead even if we have the value already cached.  We do so because we
2955
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
2956
+  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2957
+
2958
+  for _am_tool in $_am_tools; do
2959
+    case $_am_tool in
2960
+    gnutar)
2961
+      for _am_tar in tar gnutar gtar; do
2962
+        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2960 2963
    ($_am_tar --version) >&5 2>&5
2961 2964
    ac_status=$?
2962 2965
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 2966
    (exit $ac_status); } && break
2964
-    done
2965
-    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2966
-    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2967
-    am__untar="$_am_tar -xf -"
2968
-    ;;
2969
-  plaintar)
2970
-    # Must skip GNU tar: if it does not support --format= it doesn't create
2971
-    # ustar tarball either.
2972
-    (tar --version) >/dev/null 2>&1 && continue
2973
-    am__tar='tar chf - "$$tardir"'
2974
-    am__tar_='tar chf - "$tardir"'
2975
-    am__untar='tar xf -'
2976
-    ;;
2977
-  pax)
2978
-    am__tar='pax -L -x pax -w "$$tardir"'
2979
-    am__tar_='pax -L -x pax -w "$tardir"'
2980
-    am__untar='pax -r'
2981
-    ;;
2982
-  cpio)
2983
-    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2984
-    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2985
-    am__untar='cpio -i -H pax -d'
2986
-    ;;
2987
-  none)
2988
-    am__tar=false
2989
-    am__tar_=false
2990
-    am__untar=false
2991
-    ;;
2992
-  esac
2967
+      done
2968
+      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2969
+      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2970
+      am__untar="$_am_tar -xf -"
2971
+      ;;
2972
+    plaintar)
2973
+      # Must skip GNU tar: if it does not support --format= it doesn't create
2974
+      # ustar tarball either.
2975
+      (tar --version) >/dev/null 2>&1 && continue
2976
+      am__tar='tar chf - "$$tardir"'
2977
+      am__tar_='tar chf - "$tardir"'
2978
+      am__untar='tar xf -'
2979
+      ;;
2980
+    pax)
2981
+      am__tar='pax -L -x pax -w "$$tardir"'
2982
+      am__tar_='pax -L -x pax -w "$tardir"'
2983
+      am__untar='pax -r'
2984
+      ;;
2985
+    cpio)
2986
+      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2987
+      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2988
+      am__untar='cpio -i -H pax -d'
2989
+      ;;
2990
+    none)
2991
+      am__tar=false
2992
+      am__tar_=false
2993
+      am__untar=false
2994
+      ;;
2995
+    esac
2993 2996
 
2994
-  # If the value was cached, stop now.  We just wanted to have am__tar
2995
-  # and am__untar set.
2996
-  test -n "${am_cv_prog_tar_pax}" && break
2997
+    # If the value was cached, stop now.  We just wanted to have am__tar
2998
+    # and am__untar set.
2999
+    test -n "${am_cv_prog_tar_pax}" && break
2997 3000
 
2998
-  # tar/untar a dummy directory, and stop if the command works
2999
-  rm -rf conftest.dir
3000
-  mkdir conftest.dir
3001
-  echo GrepMe > conftest.dir/file
3002
-  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3001
+    # tar/untar a dummy directory, and stop if the command works.
3002
+    rm -rf conftest.dir
3003
+    mkdir conftest.dir
3004
+    echo GrepMe > conftest.dir/file
3005
+    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3003 3006
    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3004 3007
    ac_status=$?
3005 3008
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 3009
    (exit $ac_status); }
3007
-  rm -rf conftest.dir
3008
-  if test -s conftest.tar; then
3009
-    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3010
+    rm -rf conftest.dir
3011
+    if test -s conftest.tar; then
3012
+      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3010 3013
    ($am__untar <conftest.tar) >&5 2>&5
3011 3014
    ac_status=$?
3012 3015
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 3016
    (exit $ac_status); }
3014
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3015
-  fi
3016
-done
3017
-rm -rf conftest.dir
3017
+      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3018
+   (cat conftest.dir/file) >&5 2>&5
3019
+   ac_status=$?
3020
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021
+   (exit $ac_status); }
3022
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3023
+    fi
3024
+  done
3025
+  rm -rf conftest.dir
3018 3026
 
3019
-if ${am_cv_prog_tar_pax+:} false; then :
3027
+  if ${am_cv_prog_tar_pax+:} false; then :
3020 3028
   $as_echo_n "(cached) " >&6
3021 3029
 else
3022 3030
   am_cv_prog_tar_pax=$_am_tool
3023 3031
 fi
3024 3032
 
3025
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3033
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3026 3034
 $as_echo "$am_cv_prog_tar_pax" >&6; }
3027 3035
 
3028 3036
 
3029 3037
 
3030 3038
 
3031 3039
 
3040
+
3041
+# POSIX will say in a future version that running "rm -f" with no argument
3042
+# is OK; and we want to be able to make that assumption in our Makefile
3043
+# recipes.  So use an aggressive probe to check that the usage we want is
3044
+# actually supported "in the wild" to an acceptable degree.
3045
+# See automake bug#10828.
3046
+# To make any issue more visible, cause the running configure to be aborted
3047
+# by default if the 'rm' program in use doesn't match our expectations; the
3048
+# user can still override this though.
3049
+if rm -f && rm -fr && rm -rf; then : OK; else
3050
+  cat >&2 <<'END'
3051
+Oops!
3052
+
3053
+Your 'rm' program seems unable to run without file operands specified
3054
+on the command line, even when the '-f' option is present.  This is contrary
3055
+to the behaviour of most rm programs out there, and not conforming with
3056
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3057
+
3058
+Please tell bug-automake@gnu.org about your system, including the value
3059
+of your $PATH and any error possibly output before this message.  This
3060
+can help us improve future automake versions.
3061
+
3062
+END
3063
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3064
+    echo 'Configuration will proceed anyway, since you have set the' >&2
3065
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3066
+    echo >&2
3067
+  else
3068
+    cat >&2 <<'END'
3069
+Aborting the configuration process, to ensure you take notice of the issue.
3070
+
3071
+You can download and install GNU coreutils to get an 'rm' implementation
3072
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
3073
+
3074
+If you want to complete the configuration process using your problematic
3075
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3076
+to "yes", and re-run configure.
3077
+
3078
+END
3079
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3080
+  fi
3081
+fi
3032 3082
 # Check whether --enable-silent-rules was given.
3033 3083
 if test "${enable_silent_rules+set}" = set; then :
3034 3084
   enableval=$enable_silent_rules;
3035 3085
 fi
3036 3086
 
3037
-case $enable_silent_rules in
3038
-yes) AM_DEFAULT_VERBOSITY=0;;
3039
-no)  AM_DEFAULT_VERBOSITY=1;;
3040
-*)   AM_DEFAULT_VERBOSITY=0;;
3087
+case $enable_silent_rules in # (((
3088
+  yes) AM_DEFAULT_VERBOSITY=0;;
3089
+   no) AM_DEFAULT_VERBOSITY=1;;
3090
+    *) AM_DEFAULT_VERBOSITY=0;;
3041 3091
 esac
3042 3092
 am_make=${MAKE-make}
3043 3093
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
... ...
@@ -3595,7 +3702,7 @@ am__quote=
3595 3595
 _am_result=none
3596 3596
 # First try GNU make style include.
3597 3597
 echo "include confinc" > confmf
3598
-# Ignore all kinds of additional output from `make'.
3598
+# Ignore all kinds of additional output from 'make'.
3599 3599
 case `$am_make -s -f confmf 2> /dev/null` in #(
3600 3600
 *the\ am__doit\ target*)
3601 3601
   am__include=include
... ...
@@ -3651,8 +3758,8 @@ else
3651 3651
   # We make a subdir and do the tests there.  Otherwise we can end up
3652 3652
   # making bogus files that we don't know about and never remove.  For
3653 3653
   # instance it was reported that on HP-UX the gcc test will end up
3654
-  # making a dummy file named `D' -- because `-MD' means `put the output
3655
-  # in D'.
3654
+  # making a dummy file named 'D' -- because '-MD' means "put the output
3655
+  # in D".
3656 3656
   rm -rf conftest.dir
3657 3657
   mkdir conftest.dir
3658 3658
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -3687,16 +3794,16 @@ else
3687 3687
     : > sub/conftest.c
3688 3688
     for i in 1 2 3 4 5 6; do
3689 3689
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3690
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3691
-      # Solaris 8's {/usr,}/bin/sh.
3692
-      touch sub/conftst$i.h
3690
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3691
+      # Solaris 10 /bin/sh.
3692
+      echo '/* dummy */' > sub/conftst$i.h
3693 3693
     done
3694 3694
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3695 3695
 
3696
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3696
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3697 3697
     # mode.  It turns out that the SunPro C++ compiler does not properly
3698
-    # handle `-M -o', and we need to detect this.  Also, some Intel
3699
-    # versions had trouble with output in subdirs
3698
+    # handle '-M -o', and we need to detect this.  Also, some Intel
3699
+    # versions had trouble with output in subdirs.
3700 3700
     am__obj=sub/conftest.${OBJEXT-o}
3701 3701
     am__minus_obj="-o $am__obj"
3702 3702
     case $depmode in
... ...
@@ -3705,8 +3812,8 @@ else
3705 3705
       test "$am__universal" = false || continue
3706 3706
       ;;
3707 3707
     nosideeffect)
3708
-      # after this tag, mechanisms are not by side-effect, so they'll
3709
-      # only be used when explicitly requested
3708
+      # After this tag, mechanisms are not by side-effect, so they'll
3709
+      # only be used when explicitly requested.
3710 3710
       if test "x$enable_dependency_tracking" = xyes; then
3711 3711
 	continue
3712 3712
       else
... ...
@@ -3714,7 +3821,7 @@ else
3714 3714
       fi
3715 3715
       ;;
3716 3716
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3717
-      # This compiler won't grok `-c -o', but also, the minuso test has
3717
+      # This compiler won't grok '-c -o', but also, the minuso test has
3718 3718
       # not run yet.  These depmodes are late enough in the game, and
3719 3719
       # so weak that their functioning should not be impacted.
3720 3720
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -4307,6 +4414,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 4307
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 4308
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4309 4309
 
4310
+ac_ext=c
4311
+ac_cpp='$CPP $CPPFLAGS'
4312
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4315
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4316
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4317
+if ${am_cv_prog_cc_c_o+:} false; then :
4318
+  $as_echo_n "(cached) " >&6
4319
+else
4320
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321
+/* end confdefs.h.  */
4322
+
4323
+int
4324
+main ()
4325
+{
4326
+
4327
+  ;
4328
+  return 0;
4329
+}
4330
+_ACEOF
4331
+  # Make sure it works both with $CC and with simple cc.
4332
+  # Following AC_PROG_CC_C_O, we do the test twice because some
4333
+  # compilers refuse to overwrite an existing .o file with -o,
4334
+  # though they will create one.
4335
+  am_cv_prog_cc_c_o=yes
4336
+  for am_i in 1 2; do
4337
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4338
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4339
+   ac_status=$?
4340
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341
+   (exit $ac_status); } \
4342
+         && test -f conftest2.$ac_objext; then
4343
+      : OK
4344
+    else
4345
+      am_cv_prog_cc_c_o=no
4346
+      break
4347
+    fi
4348
+  done
4349
+  rm -f core conftest*
4350
+  unset am_i
4351
+fi
4352
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4353
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
4354
+if test "$am_cv_prog_cc_c_o" != yes; then
4355
+   # Losing compiler, so override with the script.
4356
+   # FIXME: It is wrong to rewrite CC.
4357
+   # But if we don't then we get into trouble of one sort or another.
4358
+   # A longer-term fix would be to have automake use am__CC in this case,
4359
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4360
+   CC="$am_aux_dir/compile $CC"
4361
+fi
4362
+ac_ext=c
4363
+ac_cpp='$CPP $CPPFLAGS'
4364
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4367
+
4368
+
4310 4369
 depcc="$CC"   am_compiler_list=
4311 4370
 
4312 4371
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -4318,8 +4484,8 @@ else
4318 4318
   # We make a subdir and do the tests there.  Otherwise we can end up
4319 4319
   # making bogus files that we don't know about and never remove.  For
4320 4320
   # instance it was reported that on HP-UX the gcc test will end up
4321
-  # making a dummy file named `D' -- because `-MD' means `put the output
4322
-  # in D'.
4321
+  # making a dummy file named 'D' -- because '-MD' means "put the output
4322
+  # in D".
4323 4323
   rm -rf conftest.dir
4324 4324
   mkdir conftest.dir
4325 4325
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -4354,16 +4520,16 @@ else
4354 4354
     : > sub/conftest.c
4355 4355
     for i in 1 2 3 4 5 6; do
4356 4356
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4357
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4358
-      # Solaris 8's {/usr,}/bin/sh.
4359
-      touch sub/conftst$i.h
4357
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4358
+      # Solaris 10 /bin/sh.
4359
+      echo '/* dummy */' > sub/conftst$i.h
4360 4360
     done
4361 4361
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4362 4362
 
4363
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4363
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4364 4364
     # mode.  It turns out that the SunPro C++ compiler does not properly
4365
-    # handle `-M -o', and we need to detect this.  Also, some Intel
4366
-    # versions had trouble with output in subdirs
4365
+    # handle '-M -o', and we need to detect this.  Also, some Intel
4366
+    # versions had trouble with output in subdirs.
4367 4367
     am__obj=sub/conftest.${OBJEXT-o}
4368 4368
     am__minus_obj="-o $am__obj"
4369 4369
     case $depmode in
... ...
@@ -4372,8 +4538,8 @@ else
4372 4372
       test "$am__universal" = false || continue
4373 4373
       ;;
4374 4374
     nosideeffect)
4375
-      # after this tag, mechanisms are not by side-effect, so they'll
4376
-      # only be used when explicitly requested
4375
+      # After this tag, mechanisms are not by side-effect, so they'll
4376
+      # only be used when explicitly requested.
4377 4377
       if test "x$enable_dependency_tracking" = xyes; then
4378 4378
 	continue
4379 4379
       else
... ...
@@ -4381,7 +4547,7 @@ else
4381 4381
       fi
4382 4382
       ;;
4383 4383
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4384
-      # This compiler won't grok `-c -o', but also, the minuso test has
4384
+      # This compiler won't grok '-c -o', but also, the minuso test has
4385 4385
       # not run yet.  These depmodes are late enough in the game, and
4386 4386
       # so weak that their functioning should not be impacted.
4387 4387
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -5944,8 +6110,7 @@ else
5944 5944
     ;;
5945 5945
   *)
5946 5946
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5947
-    if test -n "$lt_cv_sys_max_cmd_len" && \
5948
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
5947
+    if test -n "$lt_cv_sys_max_cmd_len"; then
5949 5948
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 5949
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 5950
     else
... ...
@@ -6346,6 +6511,10 @@ freebsd* | dragonfly*)
6346 6346
   fi
6347 6347
   ;;
6348 6348
 
6349
+gnu*)
6350
+  lt_cv_deplibs_check_method=pass_all
6351
+  ;;
6352
+
6349 6353
 haiku*)
6350 6354
   lt_cv_deplibs_check_method=pass_all
6351 6355
   ;;
... ...
@@ -6384,11 +6553,11 @@ irix5* | irix6* | nonstopux*)
6384 6384
   ;;
6385 6385
 
6386 6386
 # This must be glibc/ELF.
6387
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6387
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
6388 6388
   lt_cv_deplibs_check_method=pass_all
6389 6389
   ;;
6390 6390
 
6391
-netbsd* | netbsdelf*-gnu)
6391
+netbsd*)
6392 6392
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6393 6393
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6394 6394
   else
... ...
@@ -7465,7 +7634,7 @@ ia64-*-hpux*)
7465 7465
   rm -rf conftest*
7466 7466
   ;;
7467 7467
 
7468
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7468
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7469 7469
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7470 7470
   # Find out which ABI we are using.
7471 7471
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -7481,19 +7650,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7481 7481
 	    LD="${LD-ld} -m elf_i386_fbsd"
7482 7482
 	    ;;
7483 7483
 	  x86_64-*linux*)
7484
-	    case `/usr/bin/file conftest.o` in
7485
-	      *x86-64*)
7486
-		LD="${LD-ld} -m elf32_x86_64"
7487
-		;;
7488
-	      *)
7489
-		LD="${LD-ld} -m elf_i386"
7490
-		;;
7491
-	    esac
7484
+	    LD="${LD-ld} -m elf_i386"
7492 7485
 	    ;;
7493
-	  powerpc64le-*)
7494
-	    LD="${LD-ld} -m elf32lppclinux"
7495
-	    ;;
7496
-	  powerpc64-*)
7486
+	  ppc64-*linux*|powerpc64-*linux*)
7497 7487
 	    LD="${LD-ld} -m elf32ppclinux"
7498 7488
 	    ;;
7499 7489
 	  s390x-*linux*)
... ...
@@ -7512,10 +7671,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7512 7512
 	  x86_64-*linux*)
7513 7513
 	    LD="${LD-ld} -m elf_x86_64"
7514 7514
 	    ;;
7515
-	  powerpcle-*)
7516
-	    LD="${LD-ld} -m elf64lppc"
7517
-	    ;;
7518
-	  powerpc-*)
7515
+	  ppc*-*linux*|powerpc*-*linux*)
7519 7516
 	    LD="${LD-ld} -m elf64ppc"
7520 7517
 	    ;;
7521 7518
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -9066,7 +9222,7 @@ lt_prog_compiler_static=
9066 9066
       lt_prog_compiler_static='-non_shared'
9067 9067
       ;;
9068 9068
 
9069
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9069
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9070 9070
       case $cc_basename in
9071 9071
       # old Intel for x86_64 which still supported -KPIC.
9072 9072
       ecc*)
... ...
@@ -9544,9 +9700,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
9544 9544
   openbsd*)
9545 9545
     with_gnu_ld=no
9546 9546
     ;;
9547
-  linux* | k*bsd*-gnu | gnu*)
9548
-    link_all_deplibs=no
9549
-    ;;
9550 9547
   esac
9551 9548
 
9552 9549
   ld_shlibs=yes
... ...
@@ -9768,7 +9921,7 @@ _LT_EOF
9768 9768
       fi
9769 9769
       ;;
9770 9770
 
9771
-    netbsd* | netbsdelf*-gnu)
9771
+    netbsd*)
9772 9772
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9773 9773
 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9774 9774
 	wlarc=
... ...
@@ -9945,7 +10098,6 @@ _LT_EOF
9945 9945
 	if test "$aix_use_runtimelinking" = yes; then
9946 9946
 	  shared_flag="$shared_flag "'${wl}-G'
9947 9947
 	fi
9948
-	link_all_deplibs=no
9949 9948
       else
9950 9949
 	# not using gcc
9951 9950
 	if test "$host_cpu" = ia64; then
... ...
@@ -10399,7 +10551,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10399 10399
       link_all_deplibs=yes
10400 10400
       ;;
10401 10401
 
10402
-    netbsd* | netbsdelf*-gnu)
10402
+    netbsd*)
10403 10403
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10404 10404
 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10405 10405
       else
... ...
@@ -11236,6 +11388,17 @@ freebsd* | dragonfly*)
11236 11236
   esac
11237 11237
   ;;
11238 11238
 
11239
+gnu*)
11240
+  version_type=linux # correct to gnu/linux during the next big refactor
11241
+  need_lib_prefix=no
11242
+  need_version=no
11243
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11244
+  soname_spec='${libname}${release}${shared_ext}$major'
11245
+  shlibpath_var=LD_LIBRARY_PATH
11246
+  shlibpath_overrides_runpath=no
11247
+  hardcode_into_libs=yes
11248
+  ;;
11249
+
11239 11250
 haiku*)
11240 11251
   version_type=linux # correct to gnu/linux during the next big refactor
11241 11252
   need_lib_prefix=no
... ...
@@ -11352,7 +11515,7 @@ linux*oldld* | linux*aout* | linux*coff*)
11352 11352
   ;;
11353 11353
 
11354 11354
 # This must be glibc/ELF.
11355
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11355
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
11356 11356
   version_type=linux # correct to gnu/linux during the next big refactor
11357 11357
   need_lib_prefix=no
11358 11358
   need_version=no
... ...
@@ -11416,18 +11579,6 @@ fi
11416 11416
   dynamic_linker='GNU/Linux ld.so'
11417 11417
   ;;
11418 11418
 
11419
-netbsdelf*-gnu)
11420
-  version_type=linux
11421
-  need_lib_prefix=no
11422
-  need_version=no
11423
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11424
-  soname_spec='${libname}${release}${shared_ext}$major'
11425
-  shlibpath_var=LD_LIBRARY_PATH
11426
-  shlibpath_overrides_runpath=no
11427
-  hardcode_into_libs=yes
11428
-  dynamic_linker='NetBSD ld.elf_so'
11429
-  ;;
11430
-
11431 11419
 netbsd*)
11432 11420
   version_type=sunos
11433 11421
   need_lib_prefix=no
... ...
@@ -13175,6 +13326,9 @@ fi
13175 13175
         ld_shlibs_CXX=yes
13176 13176
         ;;
13177 13177
 
13178
+      gnu*)
13179
+        ;;
13180
+
13178 13181
       haiku*)
13179 13182
         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13180 13183
         link_all_deplibs_CXX=yes
... ...
@@ -13336,7 +13490,7 @@ fi
13336 13336
         inherit_rpath_CXX=yes
13337 13337
         ;;
13338 13338
 
13339
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13339
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13340 13340
         case $cc_basename in
13341 13341
           KCC*)
13342 13342
 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
... ...
@@ -14196,7 +14350,7 @@ lt_prog_compiler_static_CXX=
14196 14196
 	    ;;
14197 14197
 	esac
14198 14198
 	;;
14199
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14199
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14200 14200
 	case $cc_basename in
14201 14201
 	  KCC*)
14202 14202
 	    # KAI C++ Compiler
... ...
@@ -14260,7 +14414,7 @@ lt_prog_compiler_static_CXX=
14260 14260
 	    ;;
14261 14261
 	esac
14262 14262
 	;;
14263
-      netbsd* | netbsdelf*-gnu)
14263
+      netbsd*)
14264 14264
 	;;
14265 14265
       *qnx* | *nto*)
14266 14266
         # QNX uses GNU C++, but need to define -shared option too, otherwise
... ...
@@ -14631,9 +14785,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
14631 14631
       ;;
14632 14632
     esac
14633 14633
     ;;
14634
-  linux* | k*bsd*-gnu | gnu*)
14635
-    link_all_deplibs_CXX=no
14636
-    ;;
14637 14634
   *)
14638 14635
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14639 14636
     ;;
... ...
@@ -15068,6 +15219,17 @@ freebsd* | dragonfly*)
15068 15068
   esac
15069 15069
   ;;
15070 15070
 
15071
+gnu*)
15072
+  version_type=linux # correct to gnu/linux during the next big refactor
15073
+  need_lib_prefix=no
15074
+  need_version=no
15075
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15076
+  soname_spec='${libname}${release}${shared_ext}$major'
15077
+  shlibpath_var=LD_LIBRARY_PATH
15078
+  shlibpath_overrides_runpath=no
15079
+  hardcode_into_libs=yes
15080
+  ;;
15081
+
15071 15082
 haiku*)
15072 15083
   version_type=linux # correct to gnu/linux during the next big refactor
15073 15084
   need_lib_prefix=no
... ...
@@ -15184,7 +15346,7 @@ linux*oldld* | linux*aout* | linux*coff*)
15184 15184
   ;;
15185 15185
 
15186 15186
 # This must be glibc/ELF.
15187
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15187
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
15188 15188
   version_type=linux # correct to gnu/linux during the next big refactor
15189 15189
   need_lib_prefix=no
15190 15190
   need_version=no
... ...
@@ -15248,18 +15410,6 @@ fi
15248 15248
   dynamic_linker='GNU/Linux ld.so'
15249 15249
   ;;
15250 15250
 
15251
-netbsdelf*-gnu)
15252
-  version_type=linux
15253
-  need_lib_prefix=no
15254
-  need_version=no
15255
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15256
-  soname_spec='${libname}${release}${shared_ext}$major'
15257
-  shlibpath_var=LD_LIBRARY_PATH
15258
-  shlibpath_overrides_runpath=no
15259
-  hardcode_into_libs=yes
15260
-  dynamic_linker='NetBSD ld.elf_so'
15261
-  ;;
15262
-
15263 15251
 netbsd*)
15264 15252
   version_type=sunos
15265 15253
   need_lib_prefix=no
... ...
@@ -16204,6 +16354,14 @@ LIBOBJS=$ac_libobjs
16204 16204
 LTLIBOBJS=$ac_ltlibobjs
16205 16205
 
16206 16206
 
16207
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16208
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
16209
+   if test -n "$am_sleep_pid"; then
16210
+     # Hide warnings about reused PIDs.
16211
+     wait $am_sleep_pid 2>/dev/null
16212
+   fi
16213
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16214
+$as_echo "done" >&6; }
16207 16215
  if test -n "$EXEEXT"; then
16208 16216
   am__EXEEXT_TRUE=
16209 16217
   am__EXEEXT_FALSE='#'
... ...
@@ -17812,7 +17970,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
17812 17812
 
17813 17813
   case $ac_file$ac_mode in
17814 17814
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17815
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17815
+  # Older Autoconf quotes --file arguments for eval, but not when files
17816 17816
   # are listed without --file.  Let's play safe and only enable the eval
17817 17817
   # if we detect the quoting.
17818 17818
   case $CONFIG_FILES in
... ...
@@ -17825,7 +17983,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
17825 17825
     # Strip MF so we end up with the name of the file.
17826 17826
     mf=`echo "$mf" | sed -e 's/:.*$//'`
17827 17827
     # Check whether this is an Automake generated Makefile or not.
17828
-    # We used to match only the files named `Makefile.in', but
17828
+    # We used to match only the files named 'Makefile.in', but
17829 17829
     # some people rename them; so instead we look at the file content.
17830 17830
     # Grep'ing the first line is not enough: some people post-process
17831 17831
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -17859,21 +18017,19 @@ $as_echo X"$mf" |
17859 17859
       continue
17860 17860
     fi
17861 17861
     # Extract the definition of DEPDIR, am__include, and am__quote
17862
-    # from the Makefile without running `make'.
17862
+    # from the Makefile without running 'make'.
17863 17863
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17864 17864
     test -z "$DEPDIR" && continue
17865 17865
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17866
-    test -z "am__include" && continue
17866
+    test -z "$am__include" && continue
17867 17867
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17868
-    # When using ansi2knr, U may be empty or an underscore; expand it
17869
-    U=`sed -n 's/^U = //p' < "$mf"`
17870 17868
     # Find all dependency output files, they are included files with
17871 17869
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17872 17870
     # simplest approach to changing $(DEPDIR) to its actual value in the
17873 17871
     # expansion.
17874 17872
     for file in `sed -n "
17875 17873
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17876
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17874
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17877 17875
       # Make sure the directory exists.
17878 17876
       test -f "$dirpart/$file" && continue
17879 17877
       fdir=`$as_dirname -- "$file" ||
... ...
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
1312 1312
   rm -rf conftest*
1313 1313
   ;;
1314 1314
 
1315
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1315
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1316 1316
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1317 1317
   # Find out which ABI we are using.
1318 1318
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -1324,19 +1324,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1324 1324
 	    LD="${LD-ld} -m elf_i386_fbsd"
1325 1325
 	    ;;
1326 1326
 	  x86_64-*linux*)
1327
-	    case `/usr/bin/file conftest.o` in
1328
-	      *x86-64*)
1329
-		LD="${LD-ld} -m elf32_x86_64"
1330
-		;;
1331
-	      *)
1332
-		LD="${LD-ld} -m elf_i386"
1333
-		;;
1334
-	    esac
1335
-	    ;;
1336
-	  powerpc64le-*)
1337
-	    LD="${LD-ld} -m elf32lppclinux"
1327
+	    LD="${LD-ld} -m elf_i386"
1338 1328
 	    ;;
1339
-	  powerpc64-*)
1329
+	  ppc64-*linux*|powerpc64-*linux*)
1340 1330
 	    LD="${LD-ld} -m elf32ppclinux"
1341 1331
 	    ;;
1342 1332
 	  s390x-*linux*)
... ...
@@ -1355,10 +1345,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1355 1355
 	  x86_64-*linux*)
1356 1356
 	    LD="${LD-ld} -m elf_x86_64"
1357 1357
 	    ;;
1358
-	  powerpcle-*)
1359
-	    LD="${LD-ld} -m elf64lppc"
1360
-	    ;;
1361
-	  powerpc-*)
1358
+	  ppc*-*linux*|powerpc*-*linux*)
1362 1359
 	    LD="${LD-ld} -m elf64ppc"
1363 1360
 	    ;;
1364 1361
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -1701,8 +1688,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1701 1701
     ;;
1702 1702
   *)
1703 1703
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1704
-    if test -n "$lt_cv_sys_max_cmd_len" && \
1705
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
1704
+    if test -n "$lt_cv_sys_max_cmd_len"; then
1706 1705
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1707 1706
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1708 1707
     else
... ...
@@ -2526,6 +2512,17 @@ freebsd* | dragonfly*)
2526 2526
   esac
2527 2527
   ;;
2528 2528
 
2529
+gnu*)
2530
+  version_type=linux # correct to gnu/linux during the next big refactor
2531
+  need_lib_prefix=no
2532
+  need_version=no
2533
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2534
+  soname_spec='${libname}${release}${shared_ext}$major'
2535
+  shlibpath_var=LD_LIBRARY_PATH
2536
+  shlibpath_overrides_runpath=no
2537
+  hardcode_into_libs=yes
2538
+  ;;
2539
+
2529 2540
 haiku*)
2530 2541
   version_type=linux # correct to gnu/linux during the next big refactor
2531 2542
   need_lib_prefix=no
... ...
@@ -2642,7 +2639,7 @@ linux*oldld* | linux*aout* | linux*coff*)
2642 2642
   ;;
2643 2643
 
2644 2644
 # This must be glibc/ELF.
2645
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2645
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
2646 2646
   version_type=linux # correct to gnu/linux during the next big refactor
2647 2647
   need_lib_prefix=no
2648 2648
   need_version=no
... ...
@@ -2687,18 +2684,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2687 2687
   dynamic_linker='GNU/Linux ld.so'
2688 2688
   ;;
2689 2689
 
2690
-netbsdelf*-gnu)
2691
-  version_type=linux
2692
-  need_lib_prefix=no
2693
-  need_version=no
2694
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2695
-  soname_spec='${libname}${release}${shared_ext}$major'
2696
-  shlibpath_var=LD_LIBRARY_PATH
2697
-  shlibpath_overrides_runpath=no
2698
-  hardcode_into_libs=yes
2699
-  dynamic_linker='NetBSD ld.elf_so'
2700
-  ;;
2701
-
2702 2690
 netbsd*)
2703 2691
   version_type=sunos
2704 2692
   need_lib_prefix=no
... ...
@@ -3258,6 +3243,10 @@ freebsd* | dragonfly*)
3258 3258
   fi
3259 3259
   ;;
3260 3260
 
3261
+gnu*)
3262
+  lt_cv_deplibs_check_method=pass_all
3263
+  ;;
3264
+
3261 3265
 haiku*)
3262 3266
   lt_cv_deplibs_check_method=pass_all
3263 3267
   ;;
... ...
@@ -3296,11 +3285,11 @@ irix5* | irix6* | nonstopux*)
3296 3296
   ;;
3297 3297
 
3298 3298
 # This must be glibc/ELF.
3299
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3299
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
3300 3300
   lt_cv_deplibs_check_method=pass_all
3301 3301
   ;;
3302 3302
 
3303
-netbsd* | netbsdelf*-gnu)
3303
+netbsd*)
3304 3304
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3305 3305
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3306 3306
   else
... ...
@@ -4048,7 +4037,7 @@ m4_if([$1], [CXX], [
4048 4048
 	    ;;
4049 4049
 	esac
4050 4050
 	;;
4051
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4051
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
4052 4052
 	case $cc_basename in
4053 4053
 	  KCC*)
4054 4054
 	    # KAI C++ Compiler
... ...
@@ -4112,7 +4101,7 @@ m4_if([$1], [CXX], [
4112 4112
 	    ;;
4113 4113
 	esac
4114 4114
 	;;
4115
-      netbsd* | netbsdelf*-gnu)
4115
+      netbsd*)
4116 4116
 	;;
4117 4117
       *qnx* | *nto*)
4118 4118
         # QNX uses GNU C++, but need to define -shared option too, otherwise
... ...
@@ -4347,7 +4336,7 @@ m4_if([$1], [CXX], [
4347 4347
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4348 4348
       ;;
4349 4349
 
4350
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4350
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
4351 4351
       case $cc_basename in
4352 4352
       # old Intel for x86_64 which still supported -KPIC.
4353 4353
       ecc*)
... ...
@@ -4589,9 +4578,6 @@ m4_if([$1], [CXX], [
4589 4589
       ;;
4590 4590
     esac
4591 4591
     ;;
4592
-  linux* | k*bsd*-gnu | gnu*)
4593
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4594
-    ;;
4595 4592
   *)
4596 4593
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4597 4594
     ;;
... ...
@@ -4654,9 +4640,6 @@ dnl Note also adjust exclude_expsyms for C++ above.
4654 4654
   openbsd*)
4655 4655
     with_gnu_ld=no
4656 4656
     ;;
4657
-  linux* | k*bsd*-gnu | gnu*)
4658
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4659
-    ;;
4660 4657
   esac
4661 4658
 
4662 4659
   _LT_TAGVAR(ld_shlibs, $1)=yes
... ...
@@ -4878,7 +4861,7 @@ _LT_EOF
4878 4878
       fi
4879 4879
       ;;
4880 4880
 
4881
-    netbsd* | netbsdelf*-gnu)
4881
+    netbsd*)
4882 4882
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4883 4883
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4884 4884
 	wlarc=
... ...
@@ -5055,7 +5038,6 @@ _LT_EOF
5055 5055
 	if test "$aix_use_runtimelinking" = yes; then
5056 5056
 	  shared_flag="$shared_flag "'${wl}-G'
5057 5057
 	fi
5058
-	_LT_TAGVAR(link_all_deplibs, $1)=no
5059 5058
       else
5060 5059
 	# not using gcc
5061 5060
 	if test "$host_cpu" = ia64; then
... ...
@@ -5360,7 +5342,7 @@ _LT_EOF
5360 5360
       _LT_TAGVAR(link_all_deplibs, $1)=yes
5361 5361
       ;;
5362 5362
 
5363
-    netbsd* | netbsdelf*-gnu)
5363
+    netbsd*)
5364 5364
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5365 5365
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5366 5366
       else
... ...
@@ -6240,6 +6222,9 @@ if test "$_lt_caught_CXX_error" != yes; then
6240 6240
         _LT_TAGVAR(ld_shlibs, $1)=yes
6241 6241
         ;;
6242 6242
 
6243
+      gnu*)
6244
+        ;;
6245
+
6243 6246
       haiku*)
6244 6247
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6245 6248
         _LT_TAGVAR(link_all_deplibs, $1)=yes
... ...
@@ -6401,7 +6386,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6401 6401
         _LT_TAGVAR(inherit_rpath, $1)=yes
6402 6402
         ;;
6403 6403
 
6404
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6404
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
6405 6405
         case $cc_basename in
6406 6406
           KCC*)
6407 6407
 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -17,23 +16,51 @@
17 17
 
18 18
 
19 19
 VPATH = @srcdir@
20
-am__make_dryrun = \
21
-  { \
22
-    am__dry=no; \
20
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
21
+am__make_running_with_option = \
22
+  case $${target_option-} in \
23
+      ?) ;; \
24
+      *) echo "am__make_running_with_option: internal error: invalid" \
25
+              "target option '$${target_option-}' specified" >&2; \
26
+         exit 1;; \
27
+  esac; \
28
+  has_opt=no; \
29
+  sane_makeflags=$$MAKEFLAGS; \
30
+  if $(am__is_gnu_make); then \
31
+    sane_makeflags=$$MFLAGS; \
32
+  else \
23 33
     case $$MAKEFLAGS in \
24 34
       *\\[\ \	]*) \
25
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
26
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
27
-      *) \
28
-        for am__flg in $$MAKEFLAGS; do \
29
-          case $$am__flg in \
30
-            *=*|--*) ;; \
31
-            *n*) am__dry=yes; break;; \
32
-          esac; \
33
-        done;; \
35
+        bs=\\; \
36
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
37
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
34 38
     esac; \
35
-    test $$am__dry = yes; \
36
-  }
39
+  fi; \
40
+  skip_next=no; \
41
+  strip_trailopt () \
42
+  { \
43
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
44
+  }; \
45
+  for flg in $$sane_makeflags; do \
46
+    test $$skip_next = yes && { skip_next=no; continue; }; \
47
+    case $$flg in \
48
+      *=*|--*) continue;; \
49
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
50
+      -*I?*) strip_trailopt 'I';; \
51
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
52
+      -*O?*) strip_trailopt 'O';; \
53
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
54
+      -*l?*) strip_trailopt 'l';; \
55
+      -[dEDm]) skip_next=yes;; \
56
+      -[JT]) skip_next=yes;; \
57
+    esac; \
58
+    case $$flg in \
59
+      *$$target_option*) has_opt=yes; break;; \
60
+    esac; \
61
+  done; \
62
+  test $$has_opt = yes
63
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
64
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
37 65
 pkgdatadir = $(datadir)/@PACKAGE@
38 66
 pkgincludedir = $(includedir)/@PACKAGE@
39 67
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -56,11 +83,11 @@ host_triplet = @host@
56 56
 @DEBUG_TRUE@am__append_1 = -DDEBUG
57 57
 @GCC_TRUE@am__append_2 = -Wall -Wextra -Wno-unused-parameter
58 58
 subdir = .
59
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
60
-	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
61
-	$(srcdir)/libclammspack.pc.in $(top_srcdir)/configure AUTHORS \
62
-	COPYING.LIB ChangeLog INSTALL NEWS TODO compile config.guess \
63
-	config.sub depcomp install-sh ltmain.sh missing
59
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
60
+	$(top_srcdir)/configure $(am__configure_deps) \
61
+	$(srcdir)/config.h.in $(srcdir)/libclammspack.pc.in depcomp \
62
+	AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README TODO compile \
63
+	config.guess config.sub install-sh missing ltmain.sh
64 64
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65 65
 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
66 66
 	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
... ...
@@ -112,6 +139,7 @@ libclammspack_la_OBJECTS = $(am_libclammspack_la_OBJECTS)
112 112
 AM_V_lt = $(am__v_lt_@AM_V@)
113 113
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
114 114
 am__v_lt_0 = --silent
115
+am__v_lt_1 = 
115 116
 libclammspack_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
116 117
 	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
117 118
 	$(AM_CFLAGS) $(CFLAGS) $(libclammspack_la_LDFLAGS) $(LDFLAGS) \
... ...
@@ -128,6 +156,18 @@ libmschmd_la_OBJECTS = $(am_libmschmd_la_OBJECTS)
128 128
 libmschmd_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
129 129
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
130 130
 	$(libmschmd_la_LDFLAGS) $(LDFLAGS) -o $@
131
+AM_V_P = $(am__v_P_@AM_V@)
132
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
133
+am__v_P_0 = false
134
+am__v_P_1 = :
135
+AM_V_GEN = $(am__v_GEN_@AM_V@)
136
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
137
+am__v_GEN_0 = @echo "  GEN     " $@;
138
+am__v_GEN_1 = 
139
+AM_V_at = $(am__v_at_@AM_V@)
140
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
141
+am__v_at_0 = @
142
+am__v_at_1 = 
131 143
 DEFAULT_INCLUDES = -I.@am__isrc@
132 144
 depcomp = $(SHELL) $(top_srcdir)/depcomp
133 145
 am__depfiles_maybe = depfiles
... ...
@@ -140,20 +180,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
140 140
 	$(AM_CFLAGS) $(CFLAGS)
141 141
 AM_V_CC = $(am__v_CC_@AM_V@)
142 142
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
143
-am__v_CC_0 = @echo "  CC    " $@;
144
-AM_V_at = $(am__v_at_@AM_V@)
145
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
146
-am__v_at_0 = @
143
+am__v_CC_0 = @echo "  CC      " $@;
144
+am__v_CC_1 = 
147 145
 CCLD = $(CC)
148 146
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
149 147
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
150 148
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
151 149
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
152 150
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
153
-am__v_CCLD_0 = @echo "  CCLD  " $@;
154
-AM_V_GEN = $(am__v_GEN_@AM_V@)
155
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
156
-am__v_GEN_0 = @echo "  GEN   " $@;
151
+am__v_CCLD_0 = @echo "  CCLD    " $@;
152
+am__v_CCLD_1 = 
157 153
 SOURCES = $(libclammspack_la_SOURCES) $(libmscabd_la_SOURCES) \
158 154
 	$(libmschmd_la_SOURCES)
159 155
 DIST_SOURCES = $(libclammspack_la_SOURCES) $(libmscabd_la_SOURCES) \
... ...
@@ -164,8 +200,28 @@ am__can_run_installinfo = \
164 164
     *) (install-info --version) >/dev/null 2>&1;; \
165 165
   esac
166 166
 DATA = $(pkgconfig_DATA)
167
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
168
+	$(LISP)config.h.in
169
+# Read a list of newline-separated strings from the standard input,
170
+# and print each of them once, without duplicates.  Input order is
171
+# *not* preserved.
172
+am__uniquify_input = $(AWK) '\
173
+  BEGIN { nonempty = 0; } \
174
+  { items[$$0] = 1; nonempty = 1; } \
175
+  END { if (nonempty) { for (i in items) print i; }; } \
176
+'
177
+# Make sure the list of sources is unique.  This is necessary because,
178
+# e.g., the same source file might be shared among _SOURCES variables
179
+# for different programs/libraries.
180
+am__define_uniq_tagged_files = \
181
+  list='$(am__tagged_files)'; \
182
+  unique=`for i in $$list; do \
183
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
184
+  done | $(am__uniquify_input)`
167 185
 ETAGS = etags
168 186
 CTAGS = ctags
187
+CSCOPE = cscope
188
+AM_RECURSIVE_TARGETS = cscope
169 189
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
170 190
 distdir = $(PACKAGE)-$(VERSION)
171 191
 top_distdir = $(distdir)
... ...
@@ -175,8 +231,10 @@ am__remove_distdir = \
175 175
       && rm -rf "$(distdir)" \
176 176
       || { sleep 5 && rm -rf "$(distdir)"; }; \
177 177
   else :; fi
178
+am__post_remove_distdir = $(am__remove_distdir)
178 179
 DIST_ARCHIVES = $(distdir).tar.gz
179 180
 GZIP_ENV = --best
181
+DIST_TARGETS = dist-gzip
180 182
 distuninstallcheck_listfiles = find . -type f -print
181 183
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
182 184
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
... ...
@@ -379,8 +437,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
379 379
 $(am__aclocal_m4_deps):
380 380
 
381 381
 config.h: stamp-h1
382
-	@if test ! -f $@; then rm -f stamp-h1; else :; fi
383
-	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
382
+	@test -f $@ || rm -f stamp-h1
383
+	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
384 384
 
385 385
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
386 386
 	@rm -f stamp-h1
... ...
@@ -394,6 +452,7 @@ distclean-hdr:
394 394
 	-rm -f config.h stamp-h1
395 395
 libclammspack.pc: $(top_builddir)/config.status $(srcdir)/libclammspack.pc.in
396 396
 	cd $(top_builddir) && $(SHELL) ./config.status $@
397
+
397 398
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
398 399
 	@$(NORMAL_INSTALL)
399 400
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -420,25 +479,32 @@ uninstall-libLTLIBRARIES:
420 420
 
421 421
 clean-libLTLIBRARIES:
422 422
 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
423
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
424
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
425
-	  test "$$dir" != "$$p" || dir=.; \
426
-	  echo "rm -f \"$${dir}/so_locations\""; \
427
-	  rm -f "$${dir}/so_locations"; \
428
-	done
423
+	@list='$(lib_LTLIBRARIES)'; \
424
+	locs=`for p in $$list; do echo $$p; done | \
425
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
426
+	      sort -u`; \
427
+	test -z "$$locs" || { \
428
+	  echo rm -f $${locs}; \
429
+	  rm -f $${locs}; \
430
+	}
429 431
 
430 432
 clean-noinstLTLIBRARIES:
431 433
 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
432
-	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
433
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
434
-	  test "$$dir" != "$$p" || dir=.; \
435
-	  echo "rm -f \"$${dir}/so_locations\""; \
436
-	  rm -f "$${dir}/so_locations"; \
437
-	done
434
+	@list='$(noinst_LTLIBRARIES)'; \
435
+	locs=`for p in $$list; do echo $$p; done | \
436
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
437
+	      sort -u`; \
438
+	test -z "$$locs" || { \
439
+	  echo rm -f $${locs}; \
440
+	  rm -f $${locs}; \
441
+	}
442
+
438 443
 libclammspack.la: $(libclammspack_la_OBJECTS) $(libclammspack_la_DEPENDENCIES) $(EXTRA_libclammspack_la_DEPENDENCIES) 
439 444
 	$(AM_V_CCLD)$(libclammspack_la_LINK) -rpath $(libdir) $(libclammspack_la_OBJECTS) $(libclammspack_la_LIBADD) $(LIBS)
445
+
440 446
 libmscabd.la: $(libmscabd_la_OBJECTS) $(libmscabd_la_DEPENDENCIES) $(EXTRA_libmscabd_la_DEPENDENCIES) 
441 447
 	$(AM_V_CCLD)$(libmscabd_la_LINK)  $(libmscabd_la_OBJECTS) $(libmscabd_la_LIBADD) $(LIBS)
448
+
442 449
 libmschmd.la: $(libmschmd_la_OBJECTS) $(libmschmd_la_DEPENDENCIES) $(EXTRA_libmschmd_la_DEPENDENCIES) 
443 450
 	$(AM_V_CCLD)$(libmschmd_la_LINK)  $(libmschmd_la_OBJECTS) $(libmschmd_la_LIBADD) $(LIBS)
444 451
 
... ...
@@ -476,14 +542,14 @@ distclean-compile:
476 476
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
477 477
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
478 478
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
479
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
479
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
480 480
 
481 481
 .c.obj:
482 482
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
483 483
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
484 484
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
485 485
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
486
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
486
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
487 487
 
488 488
 .c.lo:
489 489
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -676,26 +742,15 @@ uninstall-pkgconfigDATA:
676 676
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
677 677
 	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
678 678
 
679
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
680
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
681
-	unique=`for i in $$list; do \
682
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683
-	  done | \
684
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
686
-	mkid -fID $$unique
687
-tags: TAGS
688
-
689
-TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
690
-		$(TAGS_FILES) $(LISP)
679
+ID: $(am__tagged_files)
680
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
681
+tags: tags-am
682
+TAGS: tags
683
+
684
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
691 685
 	set x; \
692 686
 	here=`pwd`; \
693
-	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
694
-	unique=`for i in $$list; do \
695
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696
-	  done | \
697
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
687
+	$(am__define_uniq_tagged_files); \
699 688
 	shift; \
700 689
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
701 690
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -707,15 +762,11 @@ TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
707 707
 	      $$unique; \
708 708
 	  fi; \
709 709
 	fi
710
-ctags: CTAGS
711
-CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
712
-		$(TAGS_FILES) $(LISP)
713
-	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
714
-	unique=`for i in $$list; do \
715
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
716
-	  done | \
717
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
718
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
710
+ctags: ctags-am
711
+
712
+CTAGS: ctags
713
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
714
+	$(am__define_uniq_tagged_files); \
719 715
 	test -z "$(CTAGS_ARGS)$$unique" \
720 716
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721 717
 	     $$unique
... ...
@@ -724,9 +775,31 @@ GTAGS:
724 724
 	here=`$(am__cd) $(top_builddir) && pwd` \
725 725
 	  && $(am__cd) $(top_srcdir) \
726 726
 	  && gtags -i $(GTAGS_ARGS) "$$here"
727
+cscope: cscope.files
728
+	test ! -s cscope.files \
729
+	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
730
+clean-cscope:
731
+	-rm -f cscope.files
732
+cscope.files: clean-cscope cscopelist
733
+cscopelist: cscopelist-am
734
+
735
+cscopelist-am: $(am__tagged_files)
736
+	list='$(am__tagged_files)'; \
737
+	case "$(srcdir)" in \
738
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
739
+	  *) sdir=$(subdir)/$(srcdir) ;; \
740
+	esac; \
741
+	for i in $$list; do \
742
+	  if test -f "$$i"; then \
743
+	    echo "$(subdir)/$$i"; \
744
+	  else \
745
+	    echo "$$sdir/$$i"; \
746
+	  fi; \
747
+	done >> $(top_builddir)/cscope.files
727 748
 
728 749
 distclean-tags:
729 750
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
751
+	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
730 752
 
731 753
 distdir: $(DISTFILES)
732 754
 	$(am__remove_distdir)
... ...
@@ -772,40 +845,42 @@ distdir: $(DISTFILES)
772 772
 	|| chmod -R a+r "$(distdir)"
773 773
 dist-gzip: distdir
774 774
 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
775
-	$(am__remove_distdir)
775
+	$(am__post_remove_distdir)
776 776
 
777 777
 dist-bzip2: distdir
778 778
 	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
779
-	$(am__remove_distdir)
779
+	$(am__post_remove_distdir)
780 780
 
781 781
 dist-lzip: distdir
782 782
 	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
783
-	$(am__remove_distdir)
784
-
785
-dist-lzma: distdir
786
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
787
-	$(am__remove_distdir)
783
+	$(am__post_remove_distdir)
788 784
 
789 785
 dist-xz: distdir
790 786
 	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
791
-	$(am__remove_distdir)
787
+	$(am__post_remove_distdir)
792 788
 
793 789
 dist-tarZ: distdir
790
+	@echo WARNING: "Support for shar distribution archives is" \
791
+	               "deprecated." >&2
792
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
794 793
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
795
-	$(am__remove_distdir)
794
+	$(am__post_remove_distdir)
796 795
 
797 796
 dist-shar: distdir
797
+	@echo WARNING: "Support for distribution archives compressed with" \
798
+		       "legacy program 'compress' is deprecated." >&2
799
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
798 800
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
799
-	$(am__remove_distdir)
801
+	$(am__post_remove_distdir)
800 802
 
801 803
 dist-zip: distdir
802 804
 	-rm -f $(distdir).zip
803 805
 	zip -rq $(distdir).zip $(distdir)
804
-	$(am__remove_distdir)
806
+	$(am__post_remove_distdir)
805 807
 
806
-dist dist-all: distdir
807
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
808
-	$(am__remove_distdir)
808
+dist dist-all:
809
+	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
810
+	$(am__post_remove_distdir)
809 811
 
810 812
 # This target untars the dist file and tries a VPATH configuration.  Then
811 813
 # it guarantees that the distribution is self-contained by making another
... ...
@@ -816,8 +891,6 @@ distcheck: dist
816 816
 	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
817 817
 	*.tar.bz2*) \
818 818
 	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
819
-	*.tar.lzma*) \
820
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
821 819
 	*.tar.lz*) \
822 820
 	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
823 821
 	*.tar.xz*) \
... ...
@@ -829,18 +902,19 @@ distcheck: dist
829 829
 	*.zip*) \
830 830
 	  unzip $(distdir).zip ;;\
831 831
 	esac
832
-	chmod -R a-w $(distdir); chmod u+w $(distdir)
833
-	mkdir $(distdir)/_build
834
-	mkdir $(distdir)/_inst
832
+	chmod -R a-w $(distdir)
833
+	chmod u+w $(distdir)
834
+	mkdir $(distdir)/_build $(distdir)/_inst
835 835
 	chmod a-w $(distdir)
836 836
 	test -d $(distdir)/_build || exit 0; \
837 837
 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
838 838
 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
839 839
 	  && am__cwd=`pwd` \
840 840
 	  && $(am__cd) $(distdir)/_build \
841
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
841
+	  && ../configure \
842 842
 	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
843 843
 	    $(DISTCHECK_CONFIGURE_FLAGS) \
844
+	    --srcdir=.. --prefix="$$dc_install_base" \
844 845
 	  && $(MAKE) $(AM_MAKEFLAGS) \
845 846
 	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
846 847
 	  && $(MAKE) $(AM_MAKEFLAGS) check \
... ...
@@ -863,7 +937,7 @@ distcheck: dist
863 863
 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
864 864
 	  && cd "$$am__cwd" \
865 865
 	  || exit 1
866
-	$(am__remove_distdir)
866
+	$(am__post_remove_distdir)
867 867
 	@(echo "$(distdir) archives ready for distribution: "; \
868 868
 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
869 869
 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
... ...
@@ -1006,23 +1080,23 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgconfigDATA
1006 1006
 
1007 1007
 .MAKE: all install-am install-strip
1008 1008
 
1009
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
1010
-	clean-generic clean-libLTLIBRARIES clean-libtool \
1011
-	clean-noinstLTLIBRARIES ctags dist dist-all dist-bzip2 \
1012
-	dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \
1013
-	dist-xz dist-zip distcheck distclean distclean-compile \
1014
-	distclean-generic distclean-hdr distclean-libtool \
1015
-	distclean-tags distcleancheck distdir distuninstallcheck dvi \
1016
-	dvi-am html html-am info info-am install install-am \
1017
-	install-data install-data-am install-dvi install-dvi-am \
1018
-	install-exec install-exec-am install-html install-html-am \
1019
-	install-info install-info-am install-libLTLIBRARIES \
1020
-	install-man install-pdf install-pdf-am install-pkgconfigDATA \
1021
-	install-ps install-ps-am install-strip installcheck \
1022
-	installcheck-am installdirs maintainer-clean \
1009
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
1010
+	clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
1011
+	clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \
1012
+	dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
1013
+	dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1014
+	distclean-compile distclean-generic distclean-hdr \
1015
+	distclean-libtool distclean-tags distcleancheck distdir \
1016
+	distuninstallcheck dvi dvi-am html html-am info info-am \
1017
+	install install-am install-data install-data-am install-dvi \
1018
+	install-dvi-am install-exec install-exec-am install-html \
1019
+	install-html-am install-info install-info-am \
1020
+	install-libLTLIBRARIES install-man install-pdf install-pdf-am \
1021
+	install-pkgconfigDATA install-ps install-ps-am install-strip \
1022
+	installcheck installcheck-am installdirs maintainer-clean \
1023 1023
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
1024 1024
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1025
-	tags uninstall uninstall-am uninstall-libLTLIBRARIES \
1025
+	tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \
1026 1026
 	uninstall-pkgconfigDATA
1027 1027
 
1028 1028
 
... ...
@@ -1,8 +1,7 @@
1
-# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996-2013 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 12
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 13
 # PARTICULAR PURPOSE.
14 14
 
15
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15 16
 m4_ifndef([AC_AUTOCONF_VERSION],
16 17
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17 18
 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18 19
 [m4_warning([this file was generated for autoconf 2.69.
19 20
 You have another version of autoconf.  It may work, but is not guaranteed to.
20 21
 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'.])])
22
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 23
 
23
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
-# Foundation, Inc.
24
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
25 25
 #
26 26
 # This file is free software; the Free Software Foundation
27 27
 # gives unlimited permission to copy and/or distribute it,
28 28
 # with or without modifications, as long as this notice is preserved.
29 29
 
30
-# serial 1
31
-
32 30
 # AM_AUTOMAKE_VERSION(VERSION)
33 31
 # ----------------------------
34 32
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
35 33
 # generated from the m4 files accompanying Automake X.Y.
36 34
 # (This private macro should not be called outside this file.)
37 35
 AC_DEFUN([AM_AUTOMAKE_VERSION],
38
-[am__api_version='1.11'
36
+[am__api_version='1.14'
39 37
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40 38
 dnl require some minimum version.  Point them to the right macro.
41
-m4_if([$1], [1.11.6], [],
39
+m4_if([$1], [1.14.1], [],
42 40
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43 41
 ])
44 42
 
... ...
@@ -54,24 +51,22 @@ m4_define([_AM_AUTOCONF_VERSION], [])
54 54
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55 55
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56 56
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
-[AM_AUTOMAKE_VERSION([1.11.6])dnl
57
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
58 58
 m4_ifndef([AC_AUTOCONF_VERSION],
59 59
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60 60
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61 61
 
62 62
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63 63
 
64
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
64
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
65 65
 #
66 66
 # This file is free software; the Free Software Foundation
67 67
 # gives unlimited permission to copy and/or distribute it,
68 68
 # with or without modifications, as long as this notice is preserved.
69 69
 
70
-# serial 1
71
-
72 70
 # 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/../..'.
71
+# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
72
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75 73
 #
76 74
 # Of course, Automake must honor this variable whenever it calls a
77 75
 # tool from the auxiliary directory.  The problem is that $srcdir (and
... ...
@@ -90,7 +85,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
90 90
 #
91 91
 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92 92
 # are both prefixed by $srcdir.  In an in-source build this is usually
93
-# harmless because $srcdir is `.', but things will broke when you
93
+# harmless because $srcdir is '.', but things will broke when you
94 94
 # start a VPATH build or use an absolute $srcdir.
95 95
 #
96 96
 # 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 116
 
117 117
 # AM_CONDITIONAL                                            -*- Autoconf -*-
118 118
 
119
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
-# Free Software Foundation, Inc.
119
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
121 120
 #
122 121
 # This file is free software; the Free Software Foundation
123 122
 # gives unlimited permission to copy and/or distribute it,
124 123
 # with or without modifications, as long as this notice is preserved.
125 124
 
126
-# serial 9
127
-
128 125
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
129 126
 # -------------------------------------
130 127
 # Define a conditional.
131 128
 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
129
+[AC_PREREQ([2.52])dnl
130
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
131
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135 132
 AC_SUBST([$1_TRUE])dnl
136 133
 AC_SUBST([$1_FALSE])dnl
137 134
 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
... ...
@@ -150,16 +142,14 @@ AC_CONFIG_COMMANDS_PRE(
150 150
 Usually this means the macro was only invoked conditionally.]])
151 151
 fi])])
152 152
 
153
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
-# 2010, 2011 Free Software Foundation, Inc.
153
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
155 154
 #
156 155
 # This file is free software; the Free Software Foundation
157 156
 # gives unlimited permission to copy and/or distribute it,
158 157
 # with or without modifications, as long as this notice is preserved.
159 158
 
160
-# serial 12
161 159
 
162
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
160
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
163 161
 # written in clear, in which case automake, when reading aclocal.m4,
164 162
 # will think it sees a *use*, and therefore will trigger all it's
165 163
 # C support machinery.  Also note that it means that autoscan, seeing
... ...
@@ -169,7 +159,7 @@ fi])])
169 169
 # _AM_DEPENDENCIES(NAME)
170 170
 # ----------------------
171 171
 # See how the compiler implements dependency checking.
172
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
172
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
173 173
 # We try a few techniques and use that to set a single cache variable.
174 174
 #
175 175
 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
... ...
@@ -182,12 +172,13 @@ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
182 182
 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183 183
 AC_REQUIRE([AM_DEP_TRACK])dnl
184 184
 
185
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
186
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
187
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
189
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
190
-                   [depcc="$$1"   am_compiler_list=])
185
+m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
186
+      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
187
+      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
189
+      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
190
+      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
191
+                    [depcc="$$1"   am_compiler_list=])
191 192
 
192 193
 AC_CACHE_CHECK([dependency style of $depcc],
193 194
                [am_cv_$1_dependencies_compiler_type],
... ...
@@ -195,8 +186,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
195 195
   # We make a subdir and do the tests there.  Otherwise we can end up
196 196
   # making bogus files that we don't know about and never remove.  For
197 197
   # instance it was reported that on HP-UX the gcc test will end up
198
-  # making a dummy file named `D' -- because `-MD' means `put the output
199
-  # in D'.
198
+  # making a dummy file named 'D' -- because '-MD' means "put the output
199
+  # in D".
200 200
   rm -rf conftest.dir
201 201
   mkdir conftest.dir
202 202
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -236,16 +227,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
236 236
     : > sub/conftest.c
237 237
     for i in 1 2 3 4 5 6; do
238 238
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240
-      # Solaris 8's {/usr,}/bin/sh.
241
-      touch sub/conftst$i.h
239
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
240
+      # Solaris 10 /bin/sh.
241
+      echo '/* dummy */' > sub/conftst$i.h
242 242
     done
243 243
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244 244
 
245
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
245
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
246 246
     # mode.  It turns out that the SunPro C++ compiler does not properly
247
-    # handle `-M -o', and we need to detect this.  Also, some Intel
248
-    # versions had trouble with output in subdirs
247
+    # handle '-M -o', and we need to detect this.  Also, some Intel
248
+    # versions had trouble with output in subdirs.
249 249
     am__obj=sub/conftest.${OBJEXT-o}
250 250
     am__minus_obj="-o $am__obj"
251 251
     case $depmode in
... ...
@@ -254,8 +245,8 @@ AC_CACHE_CHECK([dependency style of $depcc],
254 254
       test "$am__universal" = false || continue
255 255
       ;;
256 256
     nosideeffect)
257
-      # after this tag, mechanisms are not by side-effect, so they'll
258
-      # only be used when explicitly requested
257
+      # After this tag, mechanisms are not by side-effect, so they'll
258
+      # only be used when explicitly requested.
259 259
       if test "x$enable_dependency_tracking" = xyes; then
260 260
 	continue
261 261
       else
... ...
@@ -263,7 +254,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
263 263
       fi
264 264
       ;;
265 265
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266
-      # This compiler won't grok `-c -o', but also, the minuso test has
266
+      # This compiler won't grok '-c -o', but also, the minuso test has
267 267
       # not run yet.  These depmodes are late enough in the game, and
268 268
       # so weak that their functioning should not be impacted.
269 269
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -311,7 +302,7 @@ AM_CONDITIONAL([am__fastdep$1], [
311 311
 # AM_SET_DEPDIR
312 312
 # -------------
313 313
 # Choose a directory name for dependency files.
314
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
314
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
315 315
 AC_DEFUN([AM_SET_DEPDIR],
316 316
 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317 317
 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
... ...
@@ -321,9 +312,13 @@ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
321 321
 # AM_DEP_TRACK
322 322
 # ------------
323 323
 AC_DEFUN([AM_DEP_TRACK],
324
-[AC_ARG_ENABLE(dependency-tracking,
325
-[  --disable-dependency-tracking  speeds up one-time build
326
-  --enable-dependency-tracking   do not reject slow dependency extractors])
324
+[AC_ARG_ENABLE([dependency-tracking], [dnl
325
+AS_HELP_STRING(
326
+  [--enable-dependency-tracking],
327
+  [do not reject slow dependency extractors])
328
+AS_HELP_STRING(
329
+  [--disable-dependency-tracking],
330
+  [speeds up one-time build])])
327 331
 if test "x$enable_dependency_tracking" != xno; then
328 332
   am_depcomp="$ac_aux_dir/depcomp"
329 333
   AMDEPBACKSLASH='\'
... ...
@@ -338,20 +333,18 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
338 338
 
339 339
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
340 340
 
341
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342
-# Free Software Foundation, Inc.
341
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
343 342
 #
344 343
 # This file is free software; the Free Software Foundation
345 344
 # gives unlimited permission to copy and/or distribute it,
346 345
 # with or without modifications, as long as this notice is preserved.
347 346
 
348
-#serial 5
349 347
 
350 348
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
351 349
 # ------------------------------
352 350
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
353 351
 [{
354
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
352
+  # Older Autoconf quotes --file arguments for eval, but not when files
355 353
   # are listed without --file.  Let's play safe and only enable the eval
356 354
   # if we detect the quoting.
357 355
   case $CONFIG_FILES in
... ...
@@ -364,7 +357,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
364 364
     # Strip MF so we end up with the name of the file.
365 365
     mf=`echo "$mf" | sed -e 's/:.*$//'`
366 366
     # Check whether this is an Automake generated Makefile or not.
367
-    # We used to match only the files named `Makefile.in', but
367
+    # We used to match only the files named 'Makefile.in', but
368 368
     # some people rename them; so instead we look at the file content.
369 369
     # Grep'ing the first line is not enough: some people post-process
370 370
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -376,21 +369,19 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
376 376
       continue
377 377
     fi
378 378
     # Extract the definition of DEPDIR, am__include, and am__quote
379
-    # from the Makefile without running `make'.
379
+    # from the Makefile without running 'make'.
380 380
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381 381
     test -z "$DEPDIR" && continue
382 382
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
383
-    test -z "am__include" && continue
383
+    test -z "$am__include" && continue
384 384
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385
-    # When using ansi2knr, U may be empty or an underscore; expand it
386
-    U=`sed -n 's/^U = //p' < "$mf"`
387 385
     # Find all dependency output files, they are included files with
388 386
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
389 387
     # simplest approach to changing $(DEPDIR) to its actual value in the
390 388
     # expansion.
391 389
     for file in `sed -n "
392 390
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
391
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
394 392
       # Make sure the directory exists.
395 393
       test -f "$dirpart/$file" && continue
396 394
       fdir=`AS_DIRNAME(["$file"])`
... ...
@@ -408,7 +399,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
408 408
 # This macro should only be invoked once -- use via AC_REQUIRE.
409 409
 #
410 410
 # This code is only required when automatic dependency tracking
411
-# is enabled.  FIXME.  This creates each `.P' file that we will
411
+# is enabled.  FIXME.  This creates each '.P' file that we will
412 412
 # need in order to bootstrap the dependency handling code.
413 413
 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414 414
 [AC_CONFIG_COMMANDS([depfiles],
... ...
@@ -418,18 +409,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
418 418
 
419 419
 # Do all the work for Automake.                             -*- Autoconf -*-
420 420
 
421
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
421
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
423 422
 #
424 423
 # This file is free software; the Free Software Foundation
425 424
 # gives unlimited permission to copy and/or distribute it,
426 425
 # with or without modifications, as long as this notice is preserved.
427 426
 
428
-# serial 16
429
-
430 427
 # This macro actually does too much.  Some checks are only needed if
431 428
 # your package does certain things.  But this isn't really a big deal.
432 429
 
430
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
431
+m4_define([AC_PROG_CC],
432
+m4_defn([AC_PROG_CC])
433
+[_AM_PROG_CC_C_O
434
+])
435
+
433 436
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
434 437
 # AM_INIT_AUTOMAKE([OPTIONS])
435 438
 # -----------------------------------------------
... ...
@@ -442,7 +436,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
442 442
 # arguments mandatory, and then we can depend on a new Autoconf
443 443
 # release and drop the old call support.
444 444
 AC_DEFUN([AM_INIT_AUTOMAKE],
445
-[AC_PREREQ([2.62])dnl
445
+[AC_PREREQ([2.65])dnl
446 446
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
447 447
 dnl the ones we care about.
448 448
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -471,31 +465,40 @@ AC_SUBST([CYGPATH_W])
471 471
 # Define the identity of the package.
472 472
 dnl Distinguish between old-style and new-style calls.
473 473
 m4_ifval([$2],
474
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
474
+[AC_DIAGNOSE([obsolete],
475
+             [$0: two- and three-arguments forms are deprecated.])
476
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
475 477
  AC_SUBST([PACKAGE], [$1])dnl
476 478
  AC_SUBST([VERSION], [$2])],
477 479
 [_AM_SET_OPTIONS([$1])dnl
478 480
 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
481
+m4_if(
482
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
483
+  [ok:ok],,
480 484
   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481 485
  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482 486
  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483 487
 
484 488
 _AM_IF_OPTION([no-define],,
485
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
489
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
490
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
487 491
 
488 492
 # Some tools Automake needs.
489 493
 AC_REQUIRE([AM_SANITY_CHECK])dnl
490 494
 AC_REQUIRE([AC_ARG_PROGRAM])dnl
491
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492
-AM_MISSING_PROG(AUTOCONF, autoconf)
493
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494
-AM_MISSING_PROG(AUTOHEADER, autoheader)
495
-AM_MISSING_PROG(MAKEINFO, makeinfo)
495
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
496
+AM_MISSING_PROG([AUTOCONF], [autoconf])
497
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
498
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
499
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
496 500
 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497 501
 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
502
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
503
+# For better backward compatibility.  To be removed once Automake 1.9.x
504
+# dies out for good.  For more background, see:
505
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
506
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
507
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
499 508
 # We need awk for the "check" target.  The system "awk" is bad on
500 509
 # some platforms.
501 510
 AC_REQUIRE([AC_PROG_AWK])dnl
... ...
@@ -506,34 +509,78 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
506 506
 			     [_AM_PROG_TAR([v7])])])
507 507
 _AM_IF_OPTION([no-dependencies],,
508 508
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
509
-		  [_AM_DEPENDENCIES(CC)],
510
-		  [define([AC_PROG_CC],
511
-			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
509
+		  [_AM_DEPENDENCIES([CC])],
510
+		  [m4_define([AC_PROG_CC],
511
+			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
512 512
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
513
-		  [_AM_DEPENDENCIES(CXX)],
514
-		  [define([AC_PROG_CXX],
515
-			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
513
+		  [_AM_DEPENDENCIES([CXX])],
514
+		  [m4_define([AC_PROG_CXX],
515
+			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
516 516
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517
-		  [_AM_DEPENDENCIES(OBJC)],
518
-		  [define([AC_PROG_OBJC],
519
-			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
517
+		  [_AM_DEPENDENCIES([OBJC])],
518
+		  [m4_define([AC_PROG_OBJC],
519
+			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
520
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
521
+		  [_AM_DEPENDENCIES([OBJCXX])],
522
+		  [m4_define([AC_PROG_OBJCXX],
523
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
520 524
 ])
521
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
524
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
+AC_REQUIRE([AM_SILENT_RULES])dnl
526
+dnl The testsuite driver may need to know about EXEEXT, so add the
527
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
528
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
525 529
 AC_CONFIG_COMMANDS_PRE(dnl
526 530
 [m4_provide_if([_AM_COMPILER_EXEEXT],
527 531
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528
-])
529 532
 
530
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
533
+# POSIX will say in a future version that running "rm -f" with no argument
534
+# is OK; and we want to be able to make that assumption in our Makefile
535
+# recipes.  So use an aggressive probe to check that the usage we want is
536
+# actually supported "in the wild" to an acceptable degree.
537
+# See automake bug#10828.
538
+# To make any issue more visible, cause the running configure to be aborted
539
+# by default if the 'rm' program in use doesn't match our expectations; the
540
+# user can still override this though.
541
+if rm -f && rm -fr && rm -rf; then : OK; else
542
+  cat >&2 <<'END'
543
+Oops!
544
+
545
+Your 'rm' program seems unable to run without file operands specified
546
+on the command line, even when the '-f' option is present.  This is contrary
547
+to the behaviour of most rm programs out there, and not conforming with
548
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
549
+
550
+Please tell bug-automake@gnu.org about your system, including the value
551
+of your $PATH and any error possibly output before this message.  This
552
+can help us improve future automake versions.
553
+
554
+END
555
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
556
+    echo 'Configuration will proceed anyway, since you have set the' >&2
557
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
558
+    echo >&2
559
+  else
560
+    cat >&2 <<'END'
561
+Aborting the configuration process, to ensure you take notice of the issue.
562
+
563
+You can download and install GNU coreutils to get an 'rm' implementation
564
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
565
+
566
+If you want to complete the configuration process using your problematic
567
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
568
+to "yes", and re-run configure.
569
+
570
+END
571
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
572
+  fi
573
+fi])
574
+
575
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
531 576
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532 577
 dnl mangled by Autoconf and run in a shell conditional statement.
533 578
 m4_define([_AC_COMPILER_EXEEXT],
534 579
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535 580
 
536
-
537 581
 # When config.status generates a header, we must update the stamp-h file.
538 582
 # This file resides in the same directory as the config header
539 583
 # that is generated.  The stamp files are numbered to have different names.
... ...
@@ -555,15 +602,12 @@ for _am_header in $config_headers :; do
555 555
 done
556 556
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557 557
 
558
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559
-# Inc.
558
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
560 559
 #
561 560
 # This file is free software; the Free Software Foundation
562 561
 # gives unlimited permission to copy and/or distribute it,
563 562
 # with or without modifications, as long as this notice is preserved.
564 563
 
565
-# serial 1
566
-
567 564
 # AM_PROG_INSTALL_SH
568 565
 # ------------------
569 566
 # Define $install_sh.
... ...
@@ -577,16 +621,14 @@ if test x"${install_sh}" != xset; then
577 577
     install_sh="\${SHELL} $am_aux_dir/install-sh"
578 578
   esac
579 579
 fi
580
-AC_SUBST(install_sh)])
580
+AC_SUBST([install_sh])])
581 581
 
582
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
582
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
583 583
 #
584 584
 # This file is free software; the Free Software Foundation
585 585
 # gives unlimited permission to copy and/or distribute it,
586 586
 # with or without modifications, as long as this notice is preserved.
587 587
 
588
-# serial 2
589
-
590 588
 # Check whether the underlying file-system supports filenames
591 589
 # with a leading dot.  For instance MS-DOS doesn't.
592 590
 AC_DEFUN([AM_SET_LEADING_DOT],
... ...
@@ -603,20 +645,17 @@ AC_SUBST([am__leading_dot])])
603 603
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
604 604
 # From Jim Meyering
605 605
 
606
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
-# 2011 Free Software Foundation, Inc.
606
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
608 607
 #
609 608
 # This file is free software; the Free Software Foundation
610 609
 # gives unlimited permission to copy and/or distribute it,
611 610
 # with or without modifications, as long as this notice is preserved.
612 611
 
613
-# serial 5
614
-
615 612
 # AM_MAINTAINER_MODE([DEFAULT-MODE])
616 613
 # ----------------------------------
617 614
 # Control maintainer-specific portions of Makefiles.
618
-# Default is to disable them, unless `enable' is passed literally.
619
-# For symmetry, `disable' may be passed as well.  Anyway, the user
615
+# Default is to disable them, unless 'enable' is passed literally.
616
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
620 617
 # can override the default with the --enable/--disable switch.
621 618
 AC_DEFUN([AM_MAINTAINER_MODE],
622 619
 [m4_case(m4_default([$1], [disable]),
... ...
@@ -627,10 +666,11 @@ AC_DEFUN([AM_MAINTAINER_MODE],
627 627
 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628 628
   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629 629
   AC_ARG_ENABLE([maintainer-mode],
630
-[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
631
-			  (and sometimes confusing) to the casual installer],
632
-      [USE_MAINTAINER_MODE=$enableval],
633
-      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
630
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
631
+      am_maintainer_other[ make rules and dependencies not useful
632
+      (and sometimes confusing) to the casual installer])],
633
+    [USE_MAINTAINER_MODE=$enableval],
634
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
634 635
   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
635 636
   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
636 637
   MAINT=$MAINTAINER_MODE_TRUE
... ...
@@ -638,18 +678,14 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
638 638
 ]
639 639
 )
640 640
 
641
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
642
-
643 641
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
644 642
 
645
-# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
643
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
646 644
 #
647 645
 # This file is free software; the Free Software Foundation
648 646
 # gives unlimited permission to copy and/or distribute it,
649 647
 # with or without modifications, as long as this notice is preserved.
650 648
 
651
-# serial 4
652
-
653 649
 # AM_MAKE_INCLUDE()
654 650
 # -----------------
655 651
 # Check to see how make treats includes.
... ...
@@ -667,7 +703,7 @@ am__quote=
667 667
 _am_result=none
668 668
 # First try GNU make style include.
669 669
 echo "include confinc" > confmf
670
-# Ignore all kinds of additional output from `make'.
670
+# Ignore all kinds of additional output from 'make'.
671 671
 case `$am_make -s -f confmf 2> /dev/null` in #(
672 672
 *the\ am__doit\ target*)
673 673
   am__include=include
... ...
@@ -694,15 +730,12 @@ rm -f confinc confmf
694 694
 
695 695
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
696 696
 
697
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
698
-# Free Software Foundation, Inc.
697
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
699 698
 #
700 699
 # This file is free software; the Free Software Foundation
701 700
 # gives unlimited permission to copy and/or distribute it,
702 701
 # with or without modifications, as long as this notice is preserved.
703 702
 
704
-# serial 6
705
-
706 703
 # AM_MISSING_PROG(NAME, PROGRAM)
707 704
 # ------------------------------
708 705
 AC_DEFUN([AM_MISSING_PROG],
... ...
@@ -710,11 +743,10 @@ AC_DEFUN([AM_MISSING_PROG],
710 710
 $1=${$1-"${am_missing_run}$2"}
711 711
 AC_SUBST($1)])
712 712
 
713
-
714 713
 # AM_MISSING_HAS_RUN
715 714
 # ------------------
716
-# Define MISSING if not defined so far and test if it supports --run.
717
-# If it does, set am_missing_run to use it, otherwise, to nothing.
715
+# Define MISSING if not defined so far and test if it is modern enough.
716
+# If it is, set am_missing_run to use it, otherwise, to nothing.
718 717
 AC_DEFUN([AM_MISSING_HAS_RUN],
719 718
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
720 719
 AC_REQUIRE_AUX_FILE([missing])dnl
... ...
@@ -727,54 +759,22 @@ if test x"${MISSING+set}" != xset; then
727 727
   esac
728 728
 fi
729 729
 # Use eval to expand $SHELL
730
-if eval "$MISSING --run true"; then
731
-  am_missing_run="$MISSING --run "
730
+if eval "$MISSING --is-lightweight"; then
731
+  am_missing_run="$MISSING "
732 732
 else
733 733
   am_missing_run=
734
-  AC_MSG_WARN([`missing' script is too old or missing])
734
+  AC_MSG_WARN(['missing' script is too old or missing])
735 735
 fi
736 736
 ])
737 737
 
738
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
739
-# Inc.
740
-#
741
-# This file is free software; the Free Software Foundation
742
-# gives unlimited permission to copy and/or distribute it,
743
-# with or without modifications, as long as this notice is preserved.
744
-
745
-# serial 1
746
-
747
-# AM_PROG_MKDIR_P
748
-# ---------------
749
-# Check for `mkdir -p'.
750
-AC_DEFUN([AM_PROG_MKDIR_P],
751
-[AC_PREREQ([2.60])dnl
752
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
753
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
754
-dnl while keeping a definition of mkdir_p for backward compatibility.
755
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
756
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
757
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
758
-dnl adjustment using top_builddir (which is defined more often than
759
-dnl MKDIR_P).
760
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
761
-case $mkdir_p in
762
-  [[\\/$]]* | ?:[[\\/]]*) ;;
763
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
764
-esac
765
-])
766
-
767 738
 # Helper functions for option handling.                     -*- Autoconf -*-
768 739
 
769
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
770
-# Foundation, Inc.
740
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
771 741
 #
772 742
 # This file is free software; the Free Software Foundation
773 743
 # gives unlimited permission to copy and/or distribute it,
774 744
 # with or without modifications, as long as this notice is preserved.
775 745
 
776
-# serial 5
777
-
778 746
 # _AM_MANGLE_OPTION(NAME)
779 747
 # -----------------------
780 748
 AC_DEFUN([_AM_MANGLE_OPTION],
... ...
@@ -784,7 +784,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
784 784
 # --------------------
785 785
 # Set option NAME.  Presently that only means defining a flag for this option.
786 786
 AC_DEFUN([_AM_SET_OPTION],
787
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
787
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
788 788
 
789 789
 # _AM_SET_OPTIONS(OPTIONS)
790 790
 # ------------------------
... ...
@@ -798,24 +798,82 @@ AC_DEFUN([_AM_SET_OPTIONS],
798 798
 AC_DEFUN([_AM_IF_OPTION],
799 799
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
800 800
 
801
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
801
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
802
+#
803
+# This file is free software; the Free Software Foundation
804
+# gives unlimited permission to copy and/or distribute it,
805
+# with or without modifications, as long as this notice is preserved.
802 806
 
803
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
804
-# Free Software Foundation, Inc.
807
+# _AM_PROG_CC_C_O
808
+# ---------------
809
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
810
+# to automatically call this.
811
+AC_DEFUN([_AM_PROG_CC_C_O],
812
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
813
+AC_REQUIRE_AUX_FILE([compile])dnl
814
+AC_LANG_PUSH([C])dnl
815
+AC_CACHE_CHECK(
816
+  [whether $CC understands -c and -o together],
817
+  [am_cv_prog_cc_c_o],
818
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
819
+  # Make sure it works both with $CC and with simple cc.
820
+  # Following AC_PROG_CC_C_O, we do the test twice because some
821
+  # compilers refuse to overwrite an existing .o file with -o,
822
+  # though they will create one.
823
+  am_cv_prog_cc_c_o=yes
824
+  for am_i in 1 2; do
825
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
826
+         && test -f conftest2.$ac_objext; then
827
+      : OK
828
+    else
829
+      am_cv_prog_cc_c_o=no
830
+      break
831
+    fi
832
+  done
833
+  rm -f core conftest*
834
+  unset am_i])
835
+if test "$am_cv_prog_cc_c_o" != yes; then
836
+   # Losing compiler, so override with the script.
837
+   # FIXME: It is wrong to rewrite CC.
838
+   # But if we don't then we get into trouble of one sort or another.
839
+   # A longer-term fix would be to have automake use am__CC in this case,
840
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
841
+   CC="$am_aux_dir/compile $CC"
842
+fi
843
+AC_LANG_POP([C])])
844
+
845
+# For backward compatibility.
846
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
847
+
848
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
805 849
 #
806 850
 # This file is free software; the Free Software Foundation
807 851
 # gives unlimited permission to copy and/or distribute it,
808 852
 # with or without modifications, as long as this notice is preserved.
809 853
 
810
-# serial 5
854
+# AM_RUN_LOG(COMMAND)
855
+# -------------------
856
+# Run COMMAND, save the exit status in ac_status, and log it.
857
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
858
+AC_DEFUN([AM_RUN_LOG],
859
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
860
+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
861
+   ac_status=$?
862
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
863
+   (exit $ac_status); }])
864
+
865
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
866
+
867
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
868
+#
869
+# This file is free software; the Free Software Foundation
870
+# gives unlimited permission to copy and/or distribute it,
871
+# with or without modifications, as long as this notice is preserved.
811 872
 
812 873
 # AM_SANITY_CHECK
813 874
 # ---------------
814 875
 AC_DEFUN([AM_SANITY_CHECK],
815 876
 [AC_MSG_CHECKING([whether build environment is sane])
816
-# Just in case
817
-sleep 1
818
-echo timestamp > conftest.file
819 877
 # Reject unsafe characters in $srcdir or the absolute working directory
820 878
 # name.  Accept space and tab only in the latter.
821 879
 am_lf='
... ...
@@ -826,32 +884,40 @@ case `pwd` in
826 826
 esac
827 827
 case $srcdir in
828 828
   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
829
-    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
829
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
830 830
 esac
831 831
 
832
-# Do `set' in a subshell so we don't clobber the current shell's
832
+# Do 'set' in a subshell so we don't clobber the current shell's
833 833
 # arguments.  Must try -L first in case configure is actually a
834 834
 # symlink; some systems play weird games with the mod time of symlinks
835 835
 # (eg FreeBSD returns the mod time of the symlink's containing
836 836
 # directory).
837 837
 if (
838
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
839
-   if test "$[*]" = "X"; then
840
-      # -L didn't work.
841
-      set X `ls -t "$srcdir/configure" conftest.file`
842
-   fi
843
-   rm -f conftest.file
844
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
845
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
846
-
847
-      # If neither matched, then we have a broken ls.  This can happen
848
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
849
-      # broken ls alias from the environment.  This has actually
850
-      # happened.  Such a system could not be considered "sane".
851
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
852
-alias in your environment])
853
-   fi
854
-
838
+   am_has_slept=no
839
+   for am_try in 1 2; do
840
+     echo "timestamp, slept: $am_has_slept" > conftest.file
841
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
842
+     if test "$[*]" = "X"; then
843
+	# -L didn't work.
844
+	set X `ls -t "$srcdir/configure" conftest.file`
845
+     fi
846
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
847
+	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
848
+
849
+	# If neither matched, then we have a broken ls.  This can happen
850
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
851
+	# broken ls alias from the environment.  This has actually
852
+	# happened.  Such a system could not be considered "sane".
853
+	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
854
+  alias in your environment])
855
+     fi
856
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
857
+       break
858
+     fi
859
+     # Just in case.
860
+     sleep 1
861
+     am_has_slept=yes
862
+   done
855 863
    test "$[2]" = conftest.file
856 864
    )
857 865
 then
... ...
@@ -861,31 +927,50 @@ else
861 861
    AC_MSG_ERROR([newly created file is older than distributed files!
862 862
 Check your system clock])
863 863
 fi
864
-AC_MSG_RESULT(yes)])
864
+AC_MSG_RESULT([yes])
865
+# If we didn't sleep, we still need to ensure time stamps of config.status and
866
+# generated files are strictly newer.
867
+am_sleep_pid=
868
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
869
+  ( sleep 1 ) &
870
+  am_sleep_pid=$!
871
+fi
872
+AC_CONFIG_COMMANDS_PRE(
873
+  [AC_MSG_CHECKING([that generated files are newer than configure])
874
+   if test -n "$am_sleep_pid"; then
875
+     # Hide warnings about reused PIDs.
876
+     wait $am_sleep_pid 2>/dev/null
877
+   fi
878
+   AC_MSG_RESULT([done])])
879
+rm -f conftest.file
880
+])
865 881
 
866
-# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
882
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
867 883
 #
868 884
 # This file is free software; the Free Software Foundation
869 885
 # gives unlimited permission to copy and/or distribute it,
870 886
 # with or without modifications, as long as this notice is preserved.
871 887
 
872
-# serial 2
873
-
874 888
 # AM_SILENT_RULES([DEFAULT])
875 889
 # --------------------------
876 890
 # Enable less verbose build rules; with the default set to DEFAULT
877
-# (`yes' being less verbose, `no' or empty being verbose).
891
+# ("yes" being less verbose, "no" or empty being verbose).
878 892
 AC_DEFUN([AM_SILENT_RULES],
879
-[AC_ARG_ENABLE([silent-rules],
880
-[  --enable-silent-rules          less verbose build output (undo: `make V=1')
881
-  --disable-silent-rules         verbose build output (undo: `make V=0')])
882
-case $enable_silent_rules in
883
-yes) AM_DEFAULT_VERBOSITY=0;;
884
-no)  AM_DEFAULT_VERBOSITY=1;;
885
-*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
893
+[AC_ARG_ENABLE([silent-rules], [dnl
894
+AS_HELP_STRING(
895
+  [--enable-silent-rules],
896
+  [less verbose build output (undo: "make V=1")])
897
+AS_HELP_STRING(
898
+  [--disable-silent-rules],
899
+  [verbose build output (undo: "make V=0")])dnl
900
+])
901
+case $enable_silent_rules in @%:@ (((
902
+  yes) AM_DEFAULT_VERBOSITY=0;;
903
+   no) AM_DEFAULT_VERBOSITY=1;;
904
+    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
886 905
 esac
887 906
 dnl
888
-dnl A few `make' implementations (e.g., NonStop OS and NextStep)
907
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
889 908
 dnl do not support nested variable expansions.
890 909
 dnl See automake bug#9928 and bug#10237.
891 910
 am_make=${MAKE-make}
... ...
@@ -903,7 +988,7 @@ else
903 903
   am_cv_make_support_nested_variables=no
904 904
 fi])
905 905
 if test $am_cv_make_support_nested_variables = yes; then
906
-  dnl Using `$V' instead of `$(V)' breaks IRIX make.
906
+  dnl Using '$V' instead of '$(V)' breaks IRIX make.
907 907
   AM_V='$(V)'
908 908
   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
909 909
 else
... ...
@@ -920,44 +1005,40 @@ AC_SUBST([AM_BACKSLASH])dnl
920 920
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
921 921
 ])
922 922
 
923
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
923
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
924 924
 #
925 925
 # This file is free software; the Free Software Foundation
926 926
 # gives unlimited permission to copy and/or distribute it,
927 927
 # with or without modifications, as long as this notice is preserved.
928 928
 
929
-# serial 1
930
-
931 929
 # AM_PROG_INSTALL_STRIP
932 930
 # ---------------------
933
-# One issue with vendor `install' (even GNU) is that you can't
931
+# One issue with vendor 'install' (even GNU) is that you can't
934 932
 # specify the program used to strip binaries.  This is especially
935 933
 # annoying in cross-compiling environments, where the build's strip
936 934
 # is unlikely to handle the host's binaries.
937 935
 # Fortunately install-sh will honor a STRIPPROG variable, so we
938
-# always use install-sh in `make install-strip', and initialize
936
+# always use install-sh in "make install-strip", and initialize
939 937
 # STRIPPROG with the value of the STRIP variable (set by the user).
940 938
 AC_DEFUN([AM_PROG_INSTALL_STRIP],
941 939
 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
942
-# Installed binaries are usually stripped using `strip' when the user
943
-# run `make install-strip'.  However `strip' might not be the right
940
+# Installed binaries are usually stripped using 'strip' when the user
941
+# run "make install-strip".  However 'strip' might not be the right
944 942
 # tool to use in cross-compilation environments, therefore Automake
945
-# will honor the `STRIP' environment variable to overrule this program.
946
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
943
+# will honor the 'STRIP' environment variable to overrule this program.
944
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
947 945
 if test "$cross_compiling" != no; then
948 946
   AC_CHECK_TOOL([STRIP], [strip], :)
949 947
 fi
950 948
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
951 949
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
952 950
 
953
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
951
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
954 952
 #
955 953
 # This file is free software; the Free Software Foundation
956 954
 # gives unlimited permission to copy and/or distribute it,
957 955
 # with or without modifications, as long as this notice is preserved.
958 956
 
959
-# serial 3
960
-
961 957
 # _AM_SUBST_NOTMAKE(VARIABLE)
962 958
 # ---------------------------
963 959
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
... ...
@@ -971,18 +1052,16 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
971 971
 
972 972
 # Check how to create a tarball.                            -*- Autoconf -*-
973 973
 
974
-# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
974
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
975 975
 #
976 976
 # This file is free software; the Free Software Foundation
977 977
 # gives unlimited permission to copy and/or distribute it,
978 978
 # with or without modifications, as long as this notice is preserved.
979 979
 
980
-# serial 2
981
-
982 980
 # _AM_PROG_TAR(FORMAT)
983 981
 # --------------------
984 982
 # Check how to create a tarball in format FORMAT.
985
-# FORMAT should be one of `v7', `ustar', or `pax'.
983
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
986 984
 #
987 985
 # Substitute a variable $(am__tar) that is a command
988 986
 # writing to stdout a FORMAT-tarball containing the directory
... ...
@@ -992,76 +1071,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
992 992
 # Substitute a variable $(am__untar) that extract such
993 993
 # a tarball read from stdin.
994 994
 #     $(am__untar) < result.tar
995
+#
995 996
 AC_DEFUN([_AM_PROG_TAR],
996 997
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
997 998
 # in the wild :-(  We should find a proper way to deprecate it ...
998 999
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
999
-m4_if([$1], [v7],
1000
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1001
-     [m4_case([$1], [ustar],, [pax],,
1002
-              [m4_fatal([Unknown tar format])])
1003
-AC_MSG_CHECKING([how to create a $1 tar archive])
1004
-# Loop over all known methods to create a tar archive until one works.
1000
+
1001
+# We'll loop over all known methods to create a tar archive until one works.
1005 1002
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1006
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1007
-# Do not fold the above two line into one, because Tru64 sh and
1008
-# Solaris sh will not grok spaces in the rhs of `-'.
1009
-for _am_tool in $_am_tools
1010
-do
1011
-  case $_am_tool in
1012
-  gnutar)
1013
-    for _am_tar in tar gnutar gtar;
1014
-    do
1015
-      AM_RUN_LOG([$_am_tar --version]) && break
1016
-    done
1017
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1018
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1019
-    am__untar="$_am_tar -xf -"
1020
-    ;;
1021
-  plaintar)
1022
-    # Must skip GNU tar: if it does not support --format= it doesn't create
1023
-    # ustar tarball either.
1024
-    (tar --version) >/dev/null 2>&1 && continue
1025
-    am__tar='tar chf - "$$tardir"'
1026
-    am__tar_='tar chf - "$tardir"'
1027
-    am__untar='tar xf -'
1028
-    ;;
1029
-  pax)
1030
-    am__tar='pax -L -x $1 -w "$$tardir"'
1031
-    am__tar_='pax -L -x $1 -w "$tardir"'
1032
-    am__untar='pax -r'
1033
-    ;;
1034
-  cpio)
1035
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1036
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1037
-    am__untar='cpio -i -H $1 -d'
1038
-    ;;
1039
-  none)
1040
-    am__tar=false
1041
-    am__tar_=false
1042
-    am__untar=false
1043
-    ;;
1044
-  esac
1045 1003
 
1046
-  # If the value was cached, stop now.  We just wanted to have am__tar
1047
-  # and am__untar set.
1048
-  test -n "${am_cv_prog_tar_$1}" && break
1004
+m4_if([$1], [v7],
1005
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1006
+
1007
+  [m4_case([$1],
1008
+    [ustar],
1009
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1010
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1011
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1012
+      # and bug#13588).
1013
+      am_max_uid=2097151 # 2^21 - 1
1014
+      am_max_gid=$am_max_uid
1015
+      # The $UID and $GID variables are not portable, so we need to resort
1016
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1017
+      # below are definitely unexpected, so allow the users to see them
1018
+      # (that is, avoid stderr redirection).
1019
+      am_uid=`id -u || echo unknown`
1020
+      am_gid=`id -g || echo unknown`
1021
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1022
+      if test $am_uid -le $am_max_uid; then
1023
+         AC_MSG_RESULT([yes])
1024
+      else
1025
+         AC_MSG_RESULT([no])
1026
+         _am_tools=none
1027
+      fi
1028
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1029
+      if test $am_gid -le $am_max_gid; then
1030
+         AC_MSG_RESULT([yes])
1031
+      else
1032
+        AC_MSG_RESULT([no])
1033
+        _am_tools=none
1034
+      fi],
1035
+
1036
+  [pax],
1037
+    [],
1038
+
1039
+  [m4_fatal([Unknown tar format])])
1040
+
1041
+  AC_MSG_CHECKING([how to create a $1 tar archive])
1042
+
1043
+  # Go ahead even if we have the value already cached.  We do so because we
1044
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
1045
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1046
+
1047
+  for _am_tool in $_am_tools; do
1048
+    case $_am_tool in
1049
+    gnutar)
1050
+      for _am_tar in tar gnutar gtar; do
1051
+        AM_RUN_LOG([$_am_tar --version]) && break
1052
+      done
1053
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1054
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1055
+      am__untar="$_am_tar -xf -"
1056
+      ;;
1057
+    plaintar)
1058
+      # Must skip GNU tar: if it does not support --format= it doesn't create
1059
+      # ustar tarball either.
1060
+      (tar --version) >/dev/null 2>&1 && continue
1061
+      am__tar='tar chf - "$$tardir"'
1062
+      am__tar_='tar chf - "$tardir"'
1063
+      am__untar='tar xf -'
1064
+      ;;
1065
+    pax)
1066
+      am__tar='pax -L -x $1 -w "$$tardir"'
1067
+      am__tar_='pax -L -x $1 -w "$tardir"'
1068
+      am__untar='pax -r'
1069
+      ;;
1070
+    cpio)
1071
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1072
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1073
+      am__untar='cpio -i -H $1 -d'
1074
+      ;;
1075
+    none)
1076
+      am__tar=false
1077
+      am__tar_=false
1078
+      am__untar=false
1079
+      ;;
1080
+    esac
1049 1081
 
1050
-  # tar/untar a dummy directory, and stop if the command works
1051
-  rm -rf conftest.dir
1052
-  mkdir conftest.dir
1053
-  echo GrepMe > conftest.dir/file
1054
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1082
+    # If the value was cached, stop now.  We just wanted to have am__tar
1083
+    # and am__untar set.
1084
+    test -n "${am_cv_prog_tar_$1}" && break
1085
+
1086
+    # tar/untar a dummy directory, and stop if the command works.
1087
+    rm -rf conftest.dir
1088
+    mkdir conftest.dir
1089
+    echo GrepMe > conftest.dir/file
1090
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1091
+    rm -rf conftest.dir
1092
+    if test -s conftest.tar; then
1093
+      AM_RUN_LOG([$am__untar <conftest.tar])
1094
+      AM_RUN_LOG([cat conftest.dir/file])
1095
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1096
+    fi
1097
+  done
1055 1098
   rm -rf conftest.dir
1056
-  if test -s conftest.tar; then
1057
-    AM_RUN_LOG([$am__untar <conftest.tar])
1058
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1059
-  fi
1060
-done
1061
-rm -rf conftest.dir
1062 1099
 
1063
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1064
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1100
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1101
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1102
+
1065 1103
 AC_SUBST([am__tar])
1066 1104
 AC_SUBST([am__untar])
1067 1105
 ]) # _AM_PROG_TAR
... ...
@@ -686,13 +686,13 @@ CFLAGS
686 686
 CC
687 687
 DEBUG_FALSE
688 688
 DEBUG_TRUE
689
+MAINT
690
+MAINTAINER_MODE_FALSE
691
+MAINTAINER_MODE_TRUE
689 692
 AM_BACKSLASH
690 693
 AM_DEFAULT_VERBOSITY
691 694
 AM_DEFAULT_V
692 695
 AM_V
693
-MAINT
694
-MAINTAINER_MODE_FALSE
695
-MAINTAINER_MODE_TRUE
696 696
 am__untar
697 697
 am__tar
698 698
 AMTAR
... ...
@@ -757,8 +757,8 @@ SHELL'
757 757
 ac_subst_files=''
758 758
 ac_user_opts='
759 759
 enable_option_checking
760
-enable_maintainer_mode
761 760
 enable_silent_rules
761
+enable_maintainer_mode
762 762
 enable_debug
763 763
 enable_dependency_tracking
764 764
 enable_shared
... ...
@@ -1397,13 +1397,16 @@ Optional Features:
1397 1397
   --disable-option-checking  ignore unrecognized --enable/--with options
1398 1398
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1399 1399
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1400
-  --enable-maintainer-mode  enable make rules and dependencies not useful
1401
-			  (and sometimes confusing) to the casual installer
1402
-  --enable-silent-rules          less verbose build output (undo: `make V=1')
1403
-  --disable-silent-rules         verbose build output (undo: `make V=0')
1400
+  --enable-silent-rules   less verbose build output (undo: "make V=1")
1401
+  --disable-silent-rules  verbose build output (undo: "make V=0")
1402
+  --enable-maintainer-mode
1403
+                          enable make rules and dependencies not useful (and
1404
+                          sometimes confusing) to the casual installer
1404 1405
   --enable-debug          enable debugging
1405
-  --disable-dependency-tracking  speeds up one-time build
1406
-  --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
1407 1410
   --enable-shared[=PKGS]  build shared libraries [default=yes]
1408 1411
   --enable-static[=PKGS]  build static libraries [default=yes]
1409 1412
   --enable-fast-install[=PKGS]
... ...
@@ -2451,7 +2454,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 2451
 
2452 2452
 
2453 2453
 
2454
-am__api_version='1.11'
2454
+am__api_version='1.14'
2455 2455
 
2456 2456
 ac_aux_dir=
2457 2457
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
... ...
@@ -2577,9 +2580,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2577 2577
 
2578 2578
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579 2579
 $as_echo_n "checking whether build environment is sane... " >&6; }
2580
-# Just in case
2581
-sleep 1
2582
-echo timestamp > conftest.file
2583 2580
 # Reject unsafe characters in $srcdir or the absolute working directory
2584 2581
 # name.  Accept space and tab only in the latter.
2585 2582
 am_lf='
... ...
@@ -2590,32 +2590,40 @@ case `pwd` in
2590 2590
 esac
2591 2591
 case $srcdir in
2592 2592
   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2593
-    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593
+    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594 2594
 esac
2595 2595
 
2596
-# Do `set' in a subshell so we don't clobber the current shell's
2596
+# Do 'set' in a subshell so we don't clobber the current shell's
2597 2597
 # arguments.  Must try -L first in case configure is actually a
2598 2598
 # symlink; some systems play weird games with the mod time of symlinks
2599 2599
 # (eg FreeBSD returns the mod time of the symlink's containing
2600 2600
 # directory).
2601 2601
 if (
2602
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603
-   if test "$*" = "X"; then
2604
-      # -L didn't work.
2605
-      set X `ls -t "$srcdir/configure" conftest.file`
2606
-   fi
2607
-   rm -f conftest.file
2608
-   if test "$*" != "X $srcdir/configure conftest.file" \
2609
-      && test "$*" != "X conftest.file $srcdir/configure"; then
2610
-
2611
-      # If neither matched, then we have a broken ls.  This can happen
2612
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
2613
-      # broken ls alias from the environment.  This has actually
2614
-      # happened.  Such a system could not be considered "sane".
2615
-      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2616
-alias in your environment" "$LINENO" 5
2617
-   fi
2618
-
2602
+   am_has_slept=no
2603
+   for am_try in 1 2; do
2604
+     echo "timestamp, slept: $am_has_slept" > conftest.file
2605
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606
+     if test "$*" = "X"; then
2607
+	# -L didn't work.
2608
+	set X `ls -t "$srcdir/configure" conftest.file`
2609
+     fi
2610
+     if test "$*" != "X $srcdir/configure conftest.file" \
2611
+	&& test "$*" != "X conftest.file $srcdir/configure"; then
2612
+
2613
+	# If neither matched, then we have a broken ls.  This can happen
2614
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
2615
+	# broken ls alias from the environment.  This has actually
2616
+	# happened.  Such a system could not be considered "sane".
2617
+	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618
+  alias in your environment" "$LINENO" 5
2619
+     fi
2620
+     if test "$2" = conftest.file || test $am_try -eq 2; then
2621
+       break
2622
+     fi
2623
+     # Just in case.
2624
+     sleep 1
2625
+     am_has_slept=yes
2626
+   done
2619 2627
    test "$2" = conftest.file
2620 2628
    )
2621 2629
 then
... ...
@@ -2627,6 +2635,16 @@ Check your system clock" "$LINENO" 5
2627 2627
 fi
2628 2628
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2629 2629
 $as_echo "yes" >&6; }
2630
+# If we didn't sleep, we still need to ensure time stamps of config.status and
2631
+# generated files are strictly newer.
2632
+am_sleep_pid=
2633
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2634
+  ( sleep 1 ) &
2635
+  am_sleep_pid=$!
2636
+fi
2637
+
2638
+rm -f conftest.file
2639
+
2630 2640
 test "$program_prefix" != NONE &&
2631 2641
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2632 2642
 # Use a double $ so make ignores it.
... ...
@@ -2649,12 +2667,12 @@ if test x"${MISSING+set}" != xset; then
2649 2649
   esac
2650 2650
 fi
2651 2651
 # Use eval to expand $SHELL
2652
-if eval "$MISSING --run true"; then
2653
-  am_missing_run="$MISSING --run "
2652
+if eval "$MISSING --is-lightweight"; then
2653
+  am_missing_run="$MISSING "
2654 2654
 else
2655 2655
   am_missing_run=
2656
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2657
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2656
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2657
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2658 2658
 fi
2659 2659
 
2660 2660
 if test x"${install_sh}" != xset; then
... ...
@@ -2666,10 +2684,10 @@ if test x"${install_sh}" != xset; then
2666 2666
   esac
2667 2667
 fi
2668 2668
 
2669
-# Installed binaries are usually stripped using `strip' when the user
2670
-# run `make install-strip'.  However `strip' might not be the right
2669
+# Installed binaries are usually stripped using 'strip' when the user
2670
+# run "make install-strip".  However 'strip' might not be the right
2671 2671
 # tool to use in cross-compilation environments, therefore Automake
2672
-# will honor the `STRIP' environment variable to overrule this program.
2672
+# will honor the 'STRIP' environment variable to overrule this program.
2673 2673
 if test "$cross_compiling" != no; then
2674 2674
   if test -n "$ac_tool_prefix"; then
2675 2675
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
... ...
@@ -2808,12 +2826,6 @@ fi
2808 2808
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2809 2809
 $as_echo "$MKDIR_P" >&6; }
2810 2810
 
2811
-mkdir_p="$MKDIR_P"
2812
-case $mkdir_p in
2813
-  [\\/$]* | ?:[\\/]*) ;;
2814
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2815
-esac
2816
-
2817 2811
 for ac_prog in gawk mawk nawk awk
2818 2812
 do
2819 2813
   # Extract the first word of "$ac_prog", so it can be a program name with args.
... ...
@@ -2896,6 +2908,45 @@ else
2896 2896
 fi
2897 2897
 rmdir .tst 2>/dev/null
2898 2898
 
2899
+# Check whether --enable-silent-rules was given.
2900
+if test "${enable_silent_rules+set}" = set; then :
2901
+  enableval=$enable_silent_rules;
2902
+fi
2903
+
2904
+case $enable_silent_rules in # (((
2905
+  yes) AM_DEFAULT_VERBOSITY=0;;
2906
+   no) AM_DEFAULT_VERBOSITY=1;;
2907
+    *) AM_DEFAULT_VERBOSITY=1;;
2908
+esac
2909
+am_make=${MAKE-make}
2910
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2911
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2912
+if ${am_cv_make_support_nested_variables+:} false; then :
2913
+  $as_echo_n "(cached) " >&6
2914
+else
2915
+  if $as_echo 'TRUE=$(BAR$(V))
2916
+BAR0=false
2917
+BAR1=true
2918
+V=1
2919
+am__doit:
2920
+	@$(TRUE)
2921
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2922
+  am_cv_make_support_nested_variables=yes
2923
+else
2924
+  am_cv_make_support_nested_variables=no
2925
+fi
2926
+fi
2927
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2928
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
2929
+if test $am_cv_make_support_nested_variables = yes; then
2930
+    AM_V='$(V)'
2931
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2932
+else
2933
+  AM_V=$AM_DEFAULT_VERBOSITY
2934
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2935
+fi
2936
+AM_BACKSLASH='\'
2937
+
2899 2938
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2900 2939
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2901 2940
   # is not polluted with repeated "-I."
... ...
@@ -2946,12 +2997,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2946 2946
 
2947 2947
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2948 2948
 
2949
+# For better backward compatibility.  To be removed once Automake 1.9.x
2950
+# dies out for good.  For more background, see:
2951
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2952
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2953
+mkdir_p='$(MKDIR_P)'
2954
+
2949 2955
 # We need awk for the "check" target.  The system "awk" is bad on
2950 2956
 # some platforms.
2951 2957
 # Always define AMTAR for backward compatibility.  Yes, it's still used
2952 2958
 # in the wild :-(  We should find a proper way to deprecate it ...
2953 2959
 AMTAR='$${TAR-tar}'
2954 2960
 
2961
+
2962
+# We'll loop over all known methods to create a tar archive until one works.
2963
+_am_tools='gnutar  pax cpio none'
2964
+
2955 2965
 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2956 2966
 
2957 2967
 
... ...
@@ -2959,6 +3020,48 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2959 2959
 
2960 2960
 
2961 2961
 
2962
+# POSIX will say in a future version that running "rm -f" with no argument
2963
+# is OK; and we want to be able to make that assumption in our Makefile
2964
+# recipes.  So use an aggressive probe to check that the usage we want is
2965
+# actually supported "in the wild" to an acceptable degree.
2966
+# See automake bug#10828.
2967
+# To make any issue more visible, cause the running configure to be aborted
2968
+# by default if the 'rm' program in use doesn't match our expectations; the
2969
+# user can still override this though.
2970
+if rm -f && rm -fr && rm -rf; then : OK; else
2971
+  cat >&2 <<'END'
2972
+Oops!
2973
+
2974
+Your 'rm' program seems unable to run without file operands specified
2975
+on the command line, even when the '-f' option is present.  This is contrary
2976
+to the behaviour of most rm programs out there, and not conforming with
2977
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2978
+
2979
+Please tell bug-automake@gnu.org about your system, including the value
2980
+of your $PATH and any error possibly output before this message.  This
2981
+can help us improve future automake versions.
2982
+
2983
+END
2984
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2985
+    echo 'Configuration will proceed anyway, since you have set the' >&2
2986
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2987
+    echo >&2
2988
+  else
2989
+    cat >&2 <<'END'
2990
+Aborting the configuration process, to ensure you take notice of the issue.
2991
+
2992
+You can download and install GNU coreutils to get an 'rm' implementation
2993
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
2994
+
2995
+If you want to complete the configuration process using your problematic
2996
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2997
+to "yes", and re-run configure.
2998
+
2999
+END
3000
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3001
+  fi
3002
+fi
3003
+
2962 3004
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2963 3005
 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2964 3006
     # Check whether --enable-maintainer-mode was given.
... ...
@@ -2990,10 +3093,10 @@ if test "${enable_silent_rules+set}" = set; then :
2990 2990
   enableval=$enable_silent_rules;
2991 2991
 fi
2992 2992
 
2993
-case $enable_silent_rules in
2994
-yes) AM_DEFAULT_VERBOSITY=0;;
2995
-no)  AM_DEFAULT_VERBOSITY=1;;
2996
-*)   AM_DEFAULT_VERBOSITY=0;;
2993
+case $enable_silent_rules in # (((
2994
+  yes) AM_DEFAULT_VERBOSITY=0;;
2995
+   no) AM_DEFAULT_VERBOSITY=1;;
2996
+    *) AM_DEFAULT_VERBOSITY=0;;
2997 2997
 esac
2998 2998
 am_make=${MAKE-make}
2999 2999
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
... ...
@@ -3836,6 +3939,65 @@ ac_cpp='$CPP $CPPFLAGS'
3836 3836
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 3837
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 3838
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839
+
3840
+ac_ext=c
3841
+ac_cpp='$CPP $CPPFLAGS'
3842
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3846
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3847
+if ${am_cv_prog_cc_c_o+:} false; then :
3848
+  $as_echo_n "(cached) " >&6
3849
+else
3850
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851
+/* end confdefs.h.  */
3852
+
3853
+int
3854
+main ()
3855
+{
3856
+
3857
+  ;
3858
+  return 0;
3859
+}
3860
+_ACEOF
3861
+  # Make sure it works both with $CC and with simple cc.
3862
+  # Following AC_PROG_CC_C_O, we do the test twice because some
3863
+  # compilers refuse to overwrite an existing .o file with -o,
3864
+  # though they will create one.
3865
+  am_cv_prog_cc_c_o=yes
3866
+  for am_i in 1 2; do
3867
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3868
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3869
+   ac_status=$?
3870
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871
+   (exit $ac_status); } \
3872
+         && test -f conftest2.$ac_objext; then
3873
+      : OK
3874
+    else
3875
+      am_cv_prog_cc_c_o=no
3876
+      break
3877
+    fi
3878
+  done
3879
+  rm -f core conftest*
3880
+  unset am_i
3881
+fi
3882
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3883
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
3884
+if test "$am_cv_prog_cc_c_o" != yes; then
3885
+   # Losing compiler, so override with the script.
3886
+   # FIXME: It is wrong to rewrite CC.
3887
+   # But if we don't then we get into trouble of one sort or another.
3888
+   # A longer-term fix would be to have automake use am__CC in this case,
3889
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3890
+   CC="$am_aux_dir/compile $CC"
3891
+fi
3892
+ac_ext=c
3893
+ac_cpp='$CPP $CPPFLAGS'
3894
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3895
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3896
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3897
+
3839 3898
 DEPDIR="${am__leading_dot}deps"
3840 3899
 
3841 3900
 ac_config_commands="$ac_config_commands depfiles"
... ...
@@ -3855,7 +4017,7 @@ am__quote=
3855 3855
 _am_result=none
3856 3856
 # First try GNU make style include.
3857 3857
 echo "include confinc" > confmf
3858
-# Ignore all kinds of additional output from `make'.
3858
+# Ignore all kinds of additional output from 'make'.
3859 3859
 case `$am_make -s -f confmf 2> /dev/null` in #(
3860 3860
 *the\ am__doit\ target*)
3861 3861
   am__include=include
... ...
@@ -3911,8 +4073,8 @@ else
3911 3911
   # We make a subdir and do the tests there.  Otherwise we can end up
3912 3912
   # making bogus files that we don't know about and never remove.  For
3913 3913
   # instance it was reported that on HP-UX the gcc test will end up
3914
-  # making a dummy file named `D' -- because `-MD' means `put the output
3915
-  # in D'.
3914
+  # making a dummy file named 'D' -- because '-MD' means "put the output
3915
+  # in D".
3916 3916
   rm -rf conftest.dir
3917 3917
   mkdir conftest.dir
3918 3918
   # Copy depcomp to subdir because otherwise we won't find it if we're
... ...
@@ -3947,16 +4109,16 @@ else
3947 3947
     : > sub/conftest.c
3948 3948
     for i in 1 2 3 4 5 6; do
3949 3949
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3950
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3951
-      # Solaris 8's {/usr,}/bin/sh.
3952
-      touch sub/conftst$i.h
3950
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3951
+      # Solaris 10 /bin/sh.
3952
+      echo '/* dummy */' > sub/conftst$i.h
3953 3953
     done
3954 3954
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3955 3955
 
3956
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3956
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3957 3957
     # mode.  It turns out that the SunPro C++ compiler does not properly
3958
-    # handle `-M -o', and we need to detect this.  Also, some Intel
3959
-    # versions had trouble with output in subdirs
3958
+    # handle '-M -o', and we need to detect this.  Also, some Intel
3959
+    # versions had trouble with output in subdirs.
3960 3960
     am__obj=sub/conftest.${OBJEXT-o}
3961 3961
     am__minus_obj="-o $am__obj"
3962 3962
     case $depmode in
... ...
@@ -3965,8 +4127,8 @@ else
3965 3965
       test "$am__universal" = false || continue
3966 3966
       ;;
3967 3967
     nosideeffect)
3968
-      # after this tag, mechanisms are not by side-effect, so they'll
3969
-      # only be used when explicitly requested
3968
+      # After this tag, mechanisms are not by side-effect, so they'll
3969
+      # only be used when explicitly requested.
3970 3970
       if test "x$enable_dependency_tracking" = xyes; then
3971 3971
 	continue
3972 3972
       else
... ...
@@ -3974,7 +4136,7 @@ else
3974 3974
       fi
3975 3975
       ;;
3976 3976
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3977
-      # This compiler won't grok `-c -o', but also, the minuso test has
3977
+      # This compiler won't grok '-c -o', but also, the minuso test has
3978 3978
       # not run yet.  These depmodes are late enough in the game, and
3979 3979
       # so weak that their functioning should not be impacted.
3980 3980
       am__obj=conftest.${OBJEXT-o}
... ...
@@ -4922,8 +5084,7 @@ else
4922 4922
     ;;
4923 4923
   *)
4924 4924
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4925
-    if test -n "$lt_cv_sys_max_cmd_len" && \
4926
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
4925
+    if test -n "$lt_cv_sys_max_cmd_len"; then
4927 4926
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4928 4927
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4929 4928
     else
... ...
@@ -5324,6 +5485,10 @@ freebsd* | dragonfly*)
5324 5324
   fi
5325 5325
   ;;
5326 5326
 
5327
+gnu*)
5328
+  lt_cv_deplibs_check_method=pass_all
5329
+  ;;
5330
+
5327 5331
 haiku*)
5328 5332
   lt_cv_deplibs_check_method=pass_all
5329 5333
   ;;
... ...
@@ -5362,11 +5527,11 @@ irix5* | irix6* | nonstopux*)
5362 5362
   ;;
5363 5363
 
5364 5364
 # This must be glibc/ELF.
5365
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5365
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
5366 5366
   lt_cv_deplibs_check_method=pass_all
5367 5367
   ;;
5368 5368
 
5369
-netbsd* | netbsdelf*-gnu)
5369
+netbsd*)
5370 5370
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5371 5371
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5372 5372
   else
... ...
@@ -6444,7 +6609,7 @@ ia64-*-hpux*)
6444 6444
   rm -rf conftest*
6445 6445
   ;;
6446 6446
 
6447
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6447
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6448 6448
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6449 6449
   # Find out which ABI we are using.
6450 6450
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -6460,19 +6625,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6460 6460
 	    LD="${LD-ld} -m elf_i386_fbsd"
6461 6461
 	    ;;
6462 6462
 	  x86_64-*linux*)
6463
-	    case `/usr/bin/file conftest.o` in
6464
-	      *x86-64*)
6465
-		LD="${LD-ld} -m elf32_x86_64"
6466
-		;;
6467
-	      *)
6468
-		LD="${LD-ld} -m elf_i386"
6469
-		;;
6470
-	    esac
6471
-	    ;;
6472
-	  powerpc64le-*)
6473
-	    LD="${LD-ld} -m elf32lppclinux"
6463
+	    LD="${LD-ld} -m elf_i386"
6474 6464
 	    ;;
6475
-	  powerpc64-*)
6465
+	  ppc64-*linux*|powerpc64-*linux*)
6476 6466
 	    LD="${LD-ld} -m elf32ppclinux"
6477 6467
 	    ;;
6478 6468
 	  s390x-*linux*)
... ...
@@ -6491,10 +6646,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6491 6491
 	  x86_64-*linux*)
6492 6492
 	    LD="${LD-ld} -m elf_x86_64"
6493 6493
 	    ;;
6494
-	  powerpcle-*)
6495
-	    LD="${LD-ld} -m elf64lppc"
6496
-	    ;;
6497
-	  powerpc-*)
6494
+	  ppc*-*linux*|powerpc*-*linux*)
6498 6495
 	    LD="${LD-ld} -m elf64ppc"
6499 6496
 	    ;;
6500 6497
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -8302,7 +8454,7 @@ lt_prog_compiler_static=
8302 8302
       lt_prog_compiler_static='-non_shared'
8303 8303
       ;;
8304 8304
 
8305
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8305
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8306 8306
       case $cc_basename in
8307 8307
       # old Intel for x86_64 which still supported -KPIC.
8308 8308
       ecc*)
... ...
@@ -8780,9 +8932,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8780 8780
   openbsd*)
8781 8781
     with_gnu_ld=no
8782 8782
     ;;
8783
-  linux* | k*bsd*-gnu | gnu*)
8784
-    link_all_deplibs=no
8785
-    ;;
8786 8783
   esac
8787 8784
 
8788 8785
   ld_shlibs=yes
... ...
@@ -9004,7 +9153,7 @@ _LT_EOF
9004 9004
       fi
9005 9005
       ;;
9006 9006
 
9007
-    netbsd* | netbsdelf*-gnu)
9007
+    netbsd*)
9008 9008
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9009 9009
 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9010 9010
 	wlarc=
... ...
@@ -9181,7 +9330,6 @@ _LT_EOF
9181 9181
 	if test "$aix_use_runtimelinking" = yes; then
9182 9182
 	  shared_flag="$shared_flag "'${wl}-G'
9183 9183
 	fi
9184
-	link_all_deplibs=no
9185 9184
       else
9186 9185
 	# not using gcc
9187 9186
 	if test "$host_cpu" = ia64; then
... ...
@@ -9635,7 +9783,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9635 9635
       link_all_deplibs=yes
9636 9636
       ;;
9637 9637
 
9638
-    netbsd* | netbsdelf*-gnu)
9638
+    netbsd*)
9639 9639
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9640 9640
 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9641 9641
       else
... ...
@@ -10472,6 +10620,17 @@ freebsd* | dragonfly*)
10472 10472
   esac
10473 10473
   ;;
10474 10474
 
10475
+gnu*)
10476
+  version_type=linux # correct to gnu/linux during the next big refactor
10477
+  need_lib_prefix=no
10478
+  need_version=no
10479
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10480
+  soname_spec='${libname}${release}${shared_ext}$major'
10481
+  shlibpath_var=LD_LIBRARY_PATH
10482
+  shlibpath_overrides_runpath=no
10483
+  hardcode_into_libs=yes
10484
+  ;;
10485
+
10475 10486
 haiku*)
10476 10487
   version_type=linux # correct to gnu/linux during the next big refactor
10477 10488
   need_lib_prefix=no
... ...
@@ -10588,7 +10747,7 @@ linux*oldld* | linux*aout* | linux*coff*)
10588 10588
   ;;
10589 10589
 
10590 10590
 # This must be glibc/ELF.
10591
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10591
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
10592 10592
   version_type=linux # correct to gnu/linux during the next big refactor
10593 10593
   need_lib_prefix=no
10594 10594
   need_version=no
... ...
@@ -10652,18 +10811,6 @@ fi
10652 10652
   dynamic_linker='GNU/Linux ld.so'
10653 10653
   ;;
10654 10654
 
10655
-netbsdelf*-gnu)
10656
-  version_type=linux
10657
-  need_lib_prefix=no
10658
-  need_version=no
10659
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10660
-  soname_spec='${libname}${release}${shared_ext}$major'
10661
-  shlibpath_var=LD_LIBRARY_PATH
10662
-  shlibpath_overrides_runpath=no
10663
-  hardcode_into_libs=yes
10664
-  dynamic_linker='NetBSD ld.elf_so'
10665
-  ;;
10666
-
10667 10655
 netbsd*)
10668 10656
   version_type=sunos
10669 10657
   need_lib_prefix=no
... ...
@@ -12348,6 +12495,14 @@ LIBOBJS=$ac_libobjs
12348 12348
 LTLIBOBJS=$ac_ltlibobjs
12349 12349
 
12350 12350
 
12351
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12352
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
12353
+   if test -n "$am_sleep_pid"; then
12354
+     # Hide warnings about reused PIDs.
12355
+     wait $am_sleep_pid 2>/dev/null
12356
+   fi
12357
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12358
+$as_echo "done" >&6; }
12351 12359
  if test -n "$EXEEXT"; then
12352 12360
   am__EXEEXT_TRUE=
12353 12361
   am__EXEEXT_FALSE='#'
... ...
@@ -13846,7 +14001,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
13846 13846
 
13847 13847
   case $ac_file$ac_mode in
13848 13848
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13849
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13849
+  # Older Autoconf quotes --file arguments for eval, but not when files
13850 13850
   # are listed without --file.  Let's play safe and only enable the eval
13851 13851
   # if we detect the quoting.
13852 13852
   case $CONFIG_FILES in
... ...
@@ -13859,7 +14014,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
13859 13859
     # Strip MF so we end up with the name of the file.
13860 13860
     mf=`echo "$mf" | sed -e 's/:.*$//'`
13861 13861
     # Check whether this is an Automake generated Makefile or not.
13862
-    # We used to match only the files named `Makefile.in', but
13862
+    # We used to match only the files named 'Makefile.in', but
13863 13863
     # some people rename them; so instead we look at the file content.
13864 13864
     # Grep'ing the first line is not enough: some people post-process
13865 13865
     # each Makefile.in and add a new line on top of each file to say so.
... ...
@@ -13893,21 +14048,19 @@ $as_echo X"$mf" |
13893 13893
       continue
13894 13894
     fi
13895 13895
     # Extract the definition of DEPDIR, am__include, and am__quote
13896
-    # from the Makefile without running `make'.
13896
+    # from the Makefile without running 'make'.
13897 13897
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13898 13898
     test -z "$DEPDIR" && continue
13899 13899
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13900
-    test -z "am__include" && continue
13900
+    test -z "$am__include" && continue
13901 13901
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13902
-    # When using ansi2knr, U may be empty or an underscore; expand it
13903
-    U=`sed -n 's/^U = //p' < "$mf"`
13904 13902
     # Find all dependency output files, they are included files with
13905 13903
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13906 13904
     # simplest approach to changing $(DEPDIR) to its actual value in the
13907 13905
     # expansion.
13908 13906
     for file in `sed -n "
13909 13907
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13910
-	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13908
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13911 13909
       # Make sure the directory exists.
13912 13910
       test -f "$dirpart/$file" && continue
13913 13911
       fdir=`$as_dirname -- "$file" ||
... ...
@@ -1,10 +1,9 @@
1 1
 #! /bin/sh
2 2
 # depcomp - compile a program generating dependencies as side-effects
3 3
 
4
-scriptversion=2012-03-27.16; # UTC
4
+scriptversion=2013-05-30.07; # UTC
5 5
 
6
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
7
-# 2011, 2012 Free Software Foundation, Inc.
6
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
8 7
 
9 8
 # This program is free software; you can redistribute it and/or modify
10 9
 # it under the terms of the GNU General Public License as published by
... ...
@@ -28,9 +27,9 @@ scriptversion=2012-03-27.16; # UTC
28 28
 
29 29
 case $1 in
30 30
   '')
31
-     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
-     exit 1;
33
-     ;;
31
+    echo "$0: No command.  Try '$0 --help' for more information." 1>&2
32
+    exit 1;
33
+    ;;
34 34
   -h | --h*)
35 35
     cat <<\EOF
36 36
 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
... ...
@@ -57,11 +56,65 @@ EOF
57 57
     ;;
58 58
 esac
59 59
 
60
+# Get the directory component of the given path, and save it in the
61
+# global variables '$dir'.  Note that this directory component will
62
+# be either empty or ending with a '/' character.  This is deliberate.
63
+set_dir_from ()
64
+{
65
+  case $1 in
66
+    */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
67
+      *) dir=;;
68
+  esac
69
+}
70
+
71
+# Get the suffix-stripped basename of the given path, and save it the
72
+# global variable '$base'.
73
+set_base_from ()
74
+{
75
+  base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
76
+}
77
+
78
+# If no dependency file was actually created by the compiler invocation,
79
+# we still have to create a dummy depfile, to avoid errors with the
80
+# Makefile "include basename.Plo" scheme.
81
+make_dummy_depfile ()
82
+{
83
+  echo "#dummy" > "$depfile"
84
+}
85
+
86
+# Factor out some common post-processing of the generated depfile.
87
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
88
+aix_post_process_depfile ()
89
+{
90
+  # If the compiler actually managed to produce a dependency file,
91
+  # post-process it.
92
+  if test -f "$tmpdepfile"; then
93
+    # Each line is of the form 'foo.o: dependency.h'.
94
+    # Do two passes, one to just change these to
95
+    #   $object: dependency.h
96
+    # and one to simply output
97
+    #   dependency.h:
98
+    # which is needed to avoid the deleted-header problem.
99
+    { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
100
+      sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
101
+    } > "$depfile"
102
+    rm -f "$tmpdepfile"
103
+  else
104
+    make_dummy_depfile
105
+  fi
106
+}
107
+
60 108
 # A tabulation character.
61 109
 tab='	'
62 110
 # A newline character.
63 111
 nl='
64 112
 '
113
+# Character ranges might be problematic outside the C locale.
114
+# These definitions help.
115
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
116
+lower=abcdefghijklmnopqrstuvwxyz
117
+digits=0123456789
118
+alpha=${upper}${lower}
65 119
 
66 120
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
67 121
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
... ...
@@ -75,6 +128,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
75 75
 
76 76
 rm -f "$tmpdepfile"
77 77
 
78
+# Avoid interferences from the environment.
79
+gccflag= dashmflag=
80
+
78 81
 # Some modes work just like other modes, but use different flags.  We
79 82
 # parameterize here, but still list the modes in the big case below,
80 83
 # to make depend.m4 easier to write.  Note that we *cannot* use a case
... ...
@@ -86,32 +142,32 @@ if test "$depmode" = hp; then
86 86
 fi
87 87
 
88 88
 if test "$depmode" = dashXmstdout; then
89
-   # This is just like dashmstdout with a different argument.
90
-   dashmflag=-xM
91
-   depmode=dashmstdout
89
+  # This is just like dashmstdout with a different argument.
90
+  dashmflag=-xM
91
+  depmode=dashmstdout
92 92
 fi
93 93
 
94 94
 cygpath_u="cygpath -u -f -"
95 95
 if test "$depmode" = msvcmsys; then
96
-   # This is just like msvisualcpp but w/o cygpath translation.
97
-   # Just convert the backslash-escaped backslashes to single forward
98
-   # slashes to satisfy depend.m4
99
-   cygpath_u='sed s,\\\\,/,g'
100
-   depmode=msvisualcpp
96
+  # This is just like msvisualcpp but w/o cygpath translation.
97
+  # Just convert the backslash-escaped backslashes to single forward
98
+  # slashes to satisfy depend.m4
99
+  cygpath_u='sed s,\\\\,/,g'
100
+  depmode=msvisualcpp
101 101
 fi
102 102
 
103 103
 if test "$depmode" = msvc7msys; then
104
-   # This is just like msvc7 but w/o cygpath translation.
105
-   # Just convert the backslash-escaped backslashes to single forward
106
-   # slashes to satisfy depend.m4
107
-   cygpath_u='sed s,\\\\,/,g'
108
-   depmode=msvc7
104
+  # This is just like msvc7 but w/o cygpath translation.
105
+  # Just convert the backslash-escaped backslashes to single forward
106
+  # slashes to satisfy depend.m4
107
+  cygpath_u='sed s,\\\\,/,g'
108
+  depmode=msvc7
109 109
 fi
110 110
 
111 111
 if test "$depmode" = xlc; then
112
-   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
113
-   gccflag=-qmakedep=gcc,-MF
114
-   depmode=gcc
112
+  # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
113
+  gccflag=-qmakedep=gcc,-MF
114
+  depmode=gcc
115 115
 fi
116 116
 
117 117
 case "$depmode" in
... ...
@@ -134,8 +190,7 @@ gcc3)
134 134
   done
135 135
   "$@"
136 136
   stat=$?
137
-  if test $stat -eq 0; then :
138
-  else
137
+  if test $stat -ne 0; then
139 138
     rm -f "$tmpdepfile"
140 139
     exit $stat
141 140
   fi
... ...
@@ -143,13 +198,17 @@ gcc3)
143 143
   ;;
144 144
 
145 145
 gcc)
146
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
147
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
148
+## (see the conditional assignment to $gccflag above).
146 149
 ## There are various ways to get dependency output from gcc.  Here's
147 150
 ## why we pick this rather obscure method:
148 151
 ## - Don't want to use -MD because we'd like the dependencies to end
149 152
 ##   up in a subdir.  Having to rename by hand is ugly.
150 153
 ##   (We might end up doing this anyway to support other compilers.)
151 154
 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
152
-##   -MM, not -M (despite what the docs say).
155
+##   -MM, not -M (despite what the docs say).  Also, it might not be
156
+##   supported by the other compilers which use the 'gcc' depmode.
153 157
 ## - Using -M directly means running the compiler twice (even worse
154 158
 ##   than renaming).
155 159
   if test -z "$gccflag"; then
... ...
@@ -157,15 +216,14 @@ gcc)
157 157
   fi
158 158
   "$@" -Wp,"$gccflag$tmpdepfile"
159 159
   stat=$?
160
-  if test $stat -eq 0; then :
161
-  else
160
+  if test $stat -ne 0; then
162 161
     rm -f "$tmpdepfile"
163 162
     exit $stat
164 163
   fi
165 164
   rm -f "$depfile"
166 165
   echo "$object : \\" > "$depfile"
167
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
168
-## The second -e expression handles DOS-style file names with drive letters.
166
+  # The second -e expression handles DOS-style file names with drive
167
+  # letters.
169 168
   sed -e 's/^[^:]*: / /' \
170 169
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
171 170
 ## This next piece of magic avoids the "deleted header file" problem.
... ...
@@ -174,15 +232,15 @@ gcc)
174 174
 ## typically no way to rebuild the header).  We avoid this by adding
175 175
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
176 176
 ## this for us directly.
177
-  tr ' ' "$nl" < "$tmpdepfile" |
178 177
 ## Some versions of gcc put a space before the ':'.  On the theory
179 178
 ## that the space means something, we add a space to the output as
180 179
 ## well.  hp depmode also adds that space, but also prefixes the VPATH
181 180
 ## to the object.  Take care to not repeat it in the output.
182 181
 ## Some versions of the HPUX 10.20 sed can't process this invocation
183 182
 ## correctly.  Breaking it into two sed invocations is a workaround.
184
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
-      | sed -e 's/$/ :/' >> "$depfile"
183
+  tr ' ' "$nl" < "$tmpdepfile" \
184
+    | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
185
+    | sed -e 's/$/ :/' >> "$depfile"
186 186
   rm -f "$tmpdepfile"
187 187
   ;;
188 188
 
... ...
@@ -200,8 +258,7 @@ sgi)
200 200
     "$@" -MDupdate "$tmpdepfile"
201 201
   fi
202 202
   stat=$?
203
-  if test $stat -eq 0; then :
204
-  else
203
+  if test $stat -ne 0; then
205 204
     rm -f "$tmpdepfile"
206 205
     exit $stat
207 206
   fi
... ...
@@ -209,7 +266,6 @@ sgi)
209 209
 
210 210
   if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
211 211
     echo "$object : \\" > "$depfile"
212
-
213 212
     # Clip off the initial element (the dependent).  Don't try to be
214 213
     # clever and replace this with sed code, as IRIX sed won't handle
215 214
     # lines with more than a fixed number of characters (4096 in
... ...
@@ -217,19 +273,15 @@ sgi)
217 217
     # the IRIX cc adds comments like '#:fec' to the end of the
218 218
     # dependency line.
219 219
     tr ' ' "$nl" < "$tmpdepfile" \
220
-    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
221
-    tr "$nl" ' ' >> "$depfile"
220
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
221
+      | tr "$nl" ' ' >> "$depfile"
222 222
     echo >> "$depfile"
223
-
224 223
     # The second pass generates a dummy entry for each header file.
225 224
     tr ' ' "$nl" < "$tmpdepfile" \
226
-   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
227
-   >> "$depfile"
225
+      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
226
+      >> "$depfile"
228 227
   else
229
-    # The sourcefile does not contain any dependencies, so just
230
-    # store a dummy comment line, to avoid errors with the Makefile
231
-    # "include basename.Plo" scheme.
232
-    echo "#dummy" > "$depfile"
228
+    make_dummy_depfile
233 229
   fi
234 230
   rm -f "$tmpdepfile"
235 231
   ;;
... ...
@@ -247,9 +299,8 @@ aix)
247 247
   # current directory.  Also, the AIX compiler puts '$object:' at the
248 248
   # start of each line; $object doesn't have directory information.
249 249
   # Version 6 uses the directory in both cases.
250
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
251
-  test "x$dir" = "x$object" && dir=
252
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
250
+  set_dir_from "$object"
251
+  set_base_from "$object"
253 252
   if test "$libtool" = yes; then
254 253
     tmpdepfile1=$dir$base.u
255 254
     tmpdepfile2=$base.u
... ...
@@ -262,9 +313,7 @@ aix)
262 262
     "$@" -M
263 263
   fi
264 264
   stat=$?
265
-
266
-  if test $stat -eq 0; then :
267
-  else
265
+  if test $stat -ne 0; then
268 266
     rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
269 267
     exit $stat
270 268
   fi
... ...
@@ -273,65 +322,113 @@ aix)
273 273
   do
274 274
     test -f "$tmpdepfile" && break
275 275
   done
276
-  if test -f "$tmpdepfile"; then
277
-    # Each line is of the form 'foo.o: dependent.h'.
278
-    # Do two passes, one to just change these to
279
-    # '$object: dependent.h' and one to simply 'dependent.h:'.
280
-    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
281
-    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
282
-  else
283
-    # The sourcefile does not contain any dependencies, so just
284
-    # store a dummy comment line, to avoid errors with the Makefile
285
-    # "include basename.Plo" scheme.
286
-    echo "#dummy" > "$depfile"
276
+  aix_post_process_depfile
277
+  ;;
278
+
279
+tcc)
280
+  # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
281
+  # FIXME: That version still under development at the moment of writing.
282
+  #        Make that this statement remains true also for stable, released
283
+  #        versions.
284
+  # It will wrap lines (doesn't matter whether long or short) with a
285
+  # trailing '\', as in:
286
+  #
287
+  #   foo.o : \
288
+  #    foo.c \
289
+  #    foo.h \
290
+  #
291
+  # It will put a trailing '\' even on the last line, and will use leading
292
+  # spaces rather than leading tabs (at least since its commit 0394caf7
293
+  # "Emit spaces for -MD").
294
+  "$@" -MD -MF "$tmpdepfile"
295
+  stat=$?
296
+  if test $stat -ne 0; then
297
+    rm -f "$tmpdepfile"
298
+    exit $stat
287 299
   fi
300
+  rm -f "$depfile"
301
+  # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
302
+  # We have to change lines of the first kind to '$object: \'.
303
+  sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
304
+  # And for each line of the second kind, we have to emit a 'dep.h:'
305
+  # dummy dependency, to avoid the deleted-header problem.
306
+  sed -n -e 's|^  *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
288 307
   rm -f "$tmpdepfile"
289 308
   ;;
290 309
 
291
-icc)
292
-  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
293
-  # However on
294
-  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
295
-  # ICC 7.0 will fill foo.d with something like
296
-  #    foo.o: sub/foo.c
297
-  #    foo.o: sub/foo.h
298
-  # which is wrong.  We want
299
-  #    sub/foo.o: sub/foo.c
300
-  #    sub/foo.o: sub/foo.h
301
-  #    sub/foo.c:
302
-  #    sub/foo.h:
303
-  # ICC 7.1 will output
310
+## The order of this option in the case statement is important, since the
311
+## shell code in configure will try each of these formats in the order
312
+## listed in this file.  A plain '-MD' option would be understood by many
313
+## compilers, so we must ensure this comes after the gcc and icc options.
314
+pgcc)
315
+  # Portland's C compiler understands '-MD'.
316
+  # Will always output deps to 'file.d' where file is the root name of the
317
+  # source file under compilation, even if file resides in a subdirectory.
318
+  # The object file name does not affect the name of the '.d' file.
319
+  # pgcc 10.2 will output
304 320
   #    foo.o: sub/foo.c sub/foo.h
305
-  # and will wrap long lines using '\':
321
+  # and will wrap long lines using '\' :
306 322
   #    foo.o: sub/foo.c ... \
307 323
   #     sub/foo.h ... \
308 324
   #     ...
309
-  # tcc 0.9.26 (FIXME still under development at the moment of writing)
310
-  # will emit a similar output, but also prepend the continuation lines
311
-  # with horizontal tabulation characters.
312
-  "$@" -MD -MF "$tmpdepfile"
313
-  stat=$?
314
-  if test $stat -eq 0; then :
315
-  else
325
+  set_dir_from "$object"
326
+  # Use the source, not the object, to determine the base name, since
327
+  # that's sadly what pgcc will do too.
328
+  set_base_from "$source"
329
+  tmpdepfile=$base.d
330
+
331
+  # For projects that build the same source file twice into different object
332
+  # files, the pgcc approach of using the *source* file root name can cause
333
+  # problems in parallel builds.  Use a locking strategy to avoid stomping on
334
+  # the same $tmpdepfile.
335
+  lockdir=$base.d-lock
336
+  trap "
337
+    echo '$0: caught signal, cleaning up...' >&2
338
+    rmdir '$lockdir'
339
+    exit 1
340
+  " 1 2 13 15
341
+  numtries=100
342
+  i=$numtries
343
+  while test $i -gt 0; do
344
+    # mkdir is a portable test-and-set.
345
+    if mkdir "$lockdir" 2>/dev/null; then
346
+      # This process acquired the lock.
347
+      "$@" -MD
348
+      stat=$?
349
+      # Release the lock.
350
+      rmdir "$lockdir"
351
+      break
352
+    else
353
+      # If the lock is being held by a different process, wait
354
+      # until the winning process is done or we timeout.
355
+      while test -d "$lockdir" && test $i -gt 0; do
356
+        sleep 1
357
+        i=`expr $i - 1`
358
+      done
359
+    fi
360
+    i=`expr $i - 1`
361
+  done
362
+  trap - 1 2 13 15
363
+  if test $i -le 0; then
364
+    echo "$0: failed to acquire lock after $numtries attempts" >&2
365
+    echo "$0: check lockdir '$lockdir'" >&2
366
+    exit 1
367
+  fi
368
+
369
+  if test $stat -ne 0; then
316 370
     rm -f "$tmpdepfile"
317 371
     exit $stat
318 372
   fi
319 373
   rm -f "$depfile"
320
-  # Each line is of the form 'foo.o: dependent.h',
321
-  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
374
+  # Each line is of the form `foo.o: dependent.h',
375
+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
322 376
   # Do two passes, one to just change these to
323
-  # '$object: dependent.h' and one to simply 'dependent.h:'.
324
-  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
325
-    < "$tmpdepfile" > "$depfile"
326
-  sed '
327
-    s/[ '"$tab"'][ '"$tab"']*/ /g
328
-    s/^ *//
329
-    s/ *\\*$//
330
-    s/^[^:]*: *//
331
-    /^$/d
332
-    /:$/d
333
-    s/$/ :/
334
-  ' < "$tmpdepfile" >> "$depfile"
377
+  # `$object: dependent.h' and one to simply `dependent.h:'.
378
+  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
379
+  # Some versions of the HPUX 10.20 sed can't process this invocation
380
+  # correctly.  Breaking it into two sed invocations is a workaround.
381
+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
382
+    | sed -e 's/$/ :/' >> "$depfile"
335 383
   rm -f "$tmpdepfile"
336 384
   ;;
337 385
 
... ...
@@ -342,9 +439,8 @@ hp2)
342 342
   # 'foo.d', which lands next to the object file, wherever that
343 343
   # happens to be.
344 344
   # Much of this is similar to the tru64 case; see comments there.
345
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
346
-  test "x$dir" = "x$object" && dir=
347
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
345
+  set_dir_from  "$object"
346
+  set_base_from "$object"
348 347
   if test "$libtool" = yes; then
349 348
     tmpdepfile1=$dir$base.d
350 349
     tmpdepfile2=$dir.libs/$base.d
... ...
@@ -355,8 +451,7 @@ hp2)
355 355
     "$@" +Maked
356 356
   fi
357 357
   stat=$?
358
-  if test $stat -eq 0; then :
359
-  else
358
+  if test $stat -ne 0; then
360 359
      rm -f "$tmpdepfile1" "$tmpdepfile2"
361 360
      exit $stat
362 361
   fi
... ...
@@ -366,76 +461,61 @@ hp2)
366 366
     test -f "$tmpdepfile" && break
367 367
   done
368 368
   if test -f "$tmpdepfile"; then
369
-    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
369
+    sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
370 370
     # Add 'dependent.h:' lines.
371 371
     sed -ne '2,${
372
-	       s/^ *//
373
-	       s/ \\*$//
374
-	       s/$/:/
375
-	       p
376
-	     }' "$tmpdepfile" >> "$depfile"
372
+               s/^ *//
373
+               s/ \\*$//
374
+               s/$/:/
375
+               p
376
+             }' "$tmpdepfile" >> "$depfile"
377 377
   else
378
-    echo "#dummy" > "$depfile"
378
+    make_dummy_depfile
379 379
   fi
380 380
   rm -f "$tmpdepfile" "$tmpdepfile2"
381 381
   ;;
382 382
 
383 383
 tru64)
384
-   # The Tru64 compiler uses -MD to generate dependencies as a side
385
-   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
-   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
-   # dependencies in 'foo.d' instead, so we check for that too.
388
-   # Subdirectories are respected.
389
-   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
390
-   test "x$dir" = "x$object" && dir=
391
-   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
392
-
393
-   if test "$libtool" = yes; then
394
-      # With Tru64 cc, shared objects can also be used to make a
395
-      # static library.  This mechanism is used in libtool 1.4 series to
396
-      # handle both shared and static libraries in a single compilation.
397
-      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
398
-      #
399
-      # With libtool 1.5 this exception was removed, and libtool now
400
-      # generates 2 separate objects for the 2 libraries.  These two
401
-      # compilations output dependencies in $dir.libs/$base.o.d and
402
-      # in $dir$base.o.d.  We have to check for both files, because
403
-      # one of the two compilations can be disabled.  We should prefer
404
-      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
405
-      # automatically cleaned when .libs/ is deleted, while ignoring
406
-      # the former would cause a distcleancheck panic.
407
-      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
408
-      tmpdepfile2=$dir$base.o.d          # libtool 1.5
409
-      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
410
-      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
411
-      "$@" -Wc,-MD
412
-   else
413
-      tmpdepfile1=$dir$base.o.d
414
-      tmpdepfile2=$dir$base.d
415
-      tmpdepfile3=$dir$base.d
416
-      tmpdepfile4=$dir$base.d
417
-      "$@" -MD
418
-   fi
419
-
420
-   stat=$?
421
-   if test $stat -eq 0; then :
422
-   else
423
-      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
424
-      exit $stat
425
-   fi
426
-
427
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
428
-   do
429
-     test -f "$tmpdepfile" && break
430
-   done
431
-   if test -f "$tmpdepfile"; then
432
-      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
433
-      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
434
-   else
435
-      echo "#dummy" > "$depfile"
436
-   fi
437
-   rm -f "$tmpdepfile"
438
-   ;;
384
+  # The Tru64 compiler uses -MD to generate dependencies as a side
385
+  # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
386
+  # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
387
+  # dependencies in 'foo.d' instead, so we check for that too.
388
+  # Subdirectories are respected.
389
+  set_dir_from  "$object"
390
+  set_base_from "$object"
391
+
392
+  if test "$libtool" = yes; then
393
+    # Libtool generates 2 separate objects for the 2 libraries.  These
394
+    # two compilations output dependencies in $dir.libs/$base.o.d and
395
+    # in $dir$base.o.d.  We have to check for both files, because
396
+    # one of the two compilations can be disabled.  We should prefer
397
+    # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
398
+    # automatically cleaned when .libs/ is deleted, while ignoring
399
+    # the former would cause a distcleancheck panic.
400
+    tmpdepfile1=$dir$base.o.d          # libtool 1.5
401
+    tmpdepfile2=$dir.libs/$base.o.d    # Likewise.
402
+    tmpdepfile3=$dir.libs/$base.d      # Compaq CCC V6.2-504
403
+    "$@" -Wc,-MD
404
+  else
405
+    tmpdepfile1=$dir$base.d
406
+    tmpdepfile2=$dir$base.d
407
+    tmpdepfile3=$dir$base.d
408
+    "$@" -MD
409
+  fi
410
+
411
+  stat=$?
412
+  if test $stat -ne 0; then
413
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
414
+    exit $stat
415
+  fi
416
+
417
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
418
+  do
419
+    test -f "$tmpdepfile" && break
420
+  done
421
+  # Same post-processing that is required for AIX mode.
422
+  aix_post_process_depfile
423
+  ;;
439 424
 
440 425
 msvc7)
441 426
   if test "$libtool" = yes; then
... ...
@@ -446,8 +526,7 @@ msvc7)
446 446
   "$@" $showIncludes > "$tmpdepfile"
447 447
   stat=$?
448 448
   grep -v '^Note: including file: ' "$tmpdepfile"
449
-  if test "$stat" = 0; then :
450
-  else
449
+  if test $stat -ne 0; then
451 450
     rm -f "$tmpdepfile"
452 451
     exit $stat
453 452
   fi
... ...
@@ -473,6 +552,7 @@ $ {
473 473
   G
474 474
   p
475 475
 }' >> "$depfile"
476
+  echo >> "$depfile" # make sure the fragment doesn't end with a backslash
476 477
   rm -f "$tmpdepfile"
477 478
   ;;
478 479
 
... ...
@@ -524,13 +604,14 @@ dashmstdout)
524 524
   # in the target name.  This is to cope with DOS-style filenames:
525 525
   # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
526 526
   "$@" $dashmflag |
527
-    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
527
+    sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
528 528
   rm -f "$depfile"
529 529
   cat < "$tmpdepfile" > "$depfile"
530
-  tr ' ' "$nl" < "$tmpdepfile" | \
531
-## Some versions of the HPUX 10.20 sed can't process this invocation
532
-## correctly.  Breaking it into two sed invocations is a workaround.
533
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
530
+  # Some versions of the HPUX 10.20 sed can't process this sed invocation
531
+  # correctly.  Breaking it into two sed invocations is a workaround.
532
+  tr ' ' "$nl" < "$tmpdepfile" \
533
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
534
+    | sed -e 's/$/ :/' >> "$depfile"
534 535
   rm -f "$tmpdepfile"
535 536
   ;;
536 537
 
... ...
@@ -583,10 +664,12 @@ makedepend)
583 583
   # makedepend may prepend the VPATH from the source file name to the object.
584 584
   # No need to regex-escape $object, excess matching of '.' is harmless.
585 585
   sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
586
-  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
587
-## Some versions of the HPUX 10.20 sed can't process this invocation
588
-## correctly.  Breaking it into two sed invocations is a workaround.
589
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
586
+  # Some versions of the HPUX 10.20 sed can't process the last invocation
587
+  # correctly.  Breaking it into two sed invocations is a workaround.
588
+  sed '1,2d' "$tmpdepfile" \
589
+    | tr ' ' "$nl" \
590
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
591
+    | sed -e 's/$/ :/' >> "$depfile"
590 592
   rm -f "$tmpdepfile" "$tmpdepfile".bak
591 593
   ;;
592 594
 
... ...
@@ -622,10 +705,10 @@ cpp)
622 622
     esac
623 623
   done
624 624
 
625
-  "$@" -E |
626
-    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
-       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
628
-    sed '$ s: \\$::' > "$tmpdepfile"
625
+  "$@" -E \
626
+    | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
627
+             -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
628
+    | sed '$ s: \\$::' > "$tmpdepfile"
629 629
   rm -f "$depfile"
630 630
   echo "$object : \\" > "$depfile"
631 631
   cat < "$tmpdepfile" >> "$depfile"
... ...
@@ -657,15 +740,15 @@ msvisualcpp)
657 657
       shift
658 658
       ;;
659 659
     "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
660
-	set fnord "$@"
661
-	shift
662
-	shift
663
-	;;
660
+        set fnord "$@"
661
+        shift
662
+        shift
663
+        ;;
664 664
     *)
665
-	set fnord "$@" "$arg"
666
-	shift
667
-	shift
668
-	;;
665
+        set fnord "$@" "$arg"
666
+        shift
667
+        shift
668
+        ;;
669 669
     esac
670 670
   done
671 671
   "$@" -E 2>/dev/null |
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 # install - install a program, script, or datafile
3 3
 
4
-scriptversion=2011-01-19.21; # UTC
4
+scriptversion=2011-11-20.07; # UTC
5 5
 
6 6
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
7 7
 # later released in X11R6 (xc/config/util/install.sh) with the
... ...
@@ -35,7 +35,7 @@ scriptversion=2011-01-19.21; # UTC
35 35
 # FSF changes to this file are in the public domain.
36 36
 #
37 37
 # Calling this script install-sh is preferred over install.sh, to prevent
38
-# `make' implicit rules from creating a file called install from it
38
+# 'make' implicit rules from creating a file called install from it
39 39
 # when there is no Makefile.
40 40
 #
41 41
 # This script is compatible with the BSD install script, but was written
... ...
@@ -156,7 +156,7 @@ while test $# -ne 0; do
156 156
     -s) stripcmd=$stripprog;;
157 157
 
158 158
     -t) dst_arg=$2
159
-	# Protect names problematic for `test' and other utilities.
159
+	# Protect names problematic for 'test' and other utilities.
160 160
 	case $dst_arg in
161 161
 	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
162 162
 	esac
... ...
@@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
190 190
     fi
191 191
     shift # arg
192 192
     dst_arg=$arg
193
-    # Protect names problematic for `test' and other utilities.
193
+    # Protect names problematic for 'test' and other utilities.
194 194
     case $dst_arg in
195 195
       -* | [=\(\)!]) dst_arg=./$dst_arg;;
196 196
     esac
... ...
@@ -202,7 +202,7 @@ if test $# -eq 0; then
202 202
     echo "$0: no input file specified." >&2
203 203
     exit 1
204 204
   fi
205
-  # It's OK to call `install-sh -d' without argument.
205
+  # It's OK to call 'install-sh -d' without argument.
206 206
   # This can happen when creating conditional directories.
207 207
   exit 0
208 208
 fi
... ...
@@ -240,7 +240,7 @@ fi
240 240
 
241 241
 for src
242 242
 do
243
-  # Protect names problematic for `test' and other utilities.
243
+  # Protect names problematic for 'test' and other utilities.
244 244
   case $src in
245 245
     -* | [=\(\)!]) src=./$src;;
246 246
   esac
... ...
@@ -354,7 +354,7 @@ do
354 354
 	      if test -z "$dir_arg" || {
355 355
 		   # Check for POSIX incompatibilities with -m.
356 356
 		   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357
-		   # other-writeable bit of parent directory when it shouldn't.
357
+		   # other-writable bit of parent directory when it shouldn't.
358 358
 		   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 359
 		   ls_ld_tmpdir=`ls -ld "$tmpdir"`
360 360
 		   case $ls_ld_tmpdir in
... ...
@@ -70,7 +70,7 @@
70 70
 #         compiler:		$LTCC
71 71
 #         compiler flags:		$LTCFLAGS
72 72
 #         linker:		$LD (gnu? $with_gnu_ld)
73
-#         $progname:	(GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
73
+#         $progname:	(GNU libtool) 2.4.2
74 74
 #         automake:	$automake_version
75 75
 #         autoconf:	$autoconf_version
76 76
 #
... ...
@@ -80,7 +80,7 @@
80 80
 
81 81
 PROGRAM=libtool
82 82
 PACKAGE=libtool
83
-VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
83
+VERSION=2.4.2
84 84
 TIMESTAMP=""
85 85
 package_revision=1.3337
86 86
 
... ...
@@ -6124,10 +6124,7 @@ func_mode_link ()
6124 6124
 	case $pass in
6125 6125
 	dlopen) libs="$dlfiles" ;;
6126 6126
 	dlpreopen) libs="$dlprefiles" ;;
6127
-	link)
6128
-	  libs="$deplibs %DEPLIBS%"
6129
-	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
6130
-	  ;;
6127
+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
6131 6128
 	esac
6132 6129
       fi
6133 6130
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
... ...
@@ -6447,19 +6444,19 @@ func_mode_link ()
6447 6447
 	    # It is a libtool convenience library, so add in its objects.
6448 6448
 	    func_append convenience " $ladir/$objdir/$old_library"
6449 6449
 	    func_append old_convenience " $ladir/$objdir/$old_library"
6450
-	    tmp_libs=
6451
-	    for deplib in $dependency_libs; do
6452
-	      deplibs="$deplib $deplibs"
6453
-	      if $opt_preserve_dup_deps ; then
6454
-		case "$tmp_libs " in
6455
-		*" $deplib "*) func_append specialdeplibs " $deplib" ;;
6456
-		esac
6457
-	      fi
6458
-	      func_append tmp_libs " $deplib"
6459
-	    done
6460 6450
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
6461 6451
 	    func_fatal_error "\`$lib' is not a convenience library"
6462 6452
 	  fi
6453
+	  tmp_libs=
6454
+	  for deplib in $dependency_libs; do
6455
+	    deplibs="$deplib $deplibs"
6456
+	    if $opt_preserve_dup_deps ; then
6457
+	      case "$tmp_libs " in
6458
+	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
6459
+	      esac
6460
+	    fi
6461
+	    func_append tmp_libs " $deplib"
6462
+	  done
6463 6463
 	  continue
6464 6464
 	fi # $pass = conv
6465 6465
 
... ...
@@ -7352,9 +7349,6 @@ func_mode_link ()
7352 7352
 	    revision="$number_minor"
7353 7353
 	    lt_irix_increment=no
7354 7354
 	    ;;
7355
-	  *)
7356
-	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
7357
-	    ;;
7358 7355
 	  esac
7359 7356
 	  ;;
7360 7357
 	no)
... ...
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
1312 1312
   rm -rf conftest*
1313 1313
   ;;
1314 1314
 
1315
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1315
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1316 1316
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1317 1317
   # Find out which ABI we are using.
1318 1318
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -1324,19 +1324,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1324 1324
 	    LD="${LD-ld} -m elf_i386_fbsd"
1325 1325
 	    ;;
1326 1326
 	  x86_64-*linux*)
1327
-	    case `/usr/bin/file conftest.o` in
1328
-	      *x86-64*)
1329
-		LD="${LD-ld} -m elf32_x86_64"
1330
-		;;
1331
-	      *)
1332
-		LD="${LD-ld} -m elf_i386"
1333
-		;;
1334
-	    esac
1335
-	    ;;
1336
-	  powerpc64le-*)
1337
-	    LD="${LD-ld} -m elf32lppclinux"
1327
+	    LD="${LD-ld} -m elf_i386"
1338 1328
 	    ;;
1339
-	  powerpc64-*)
1329
+	  ppc64-*linux*|powerpc64-*linux*)
1340 1330
 	    LD="${LD-ld} -m elf32ppclinux"
1341 1331
 	    ;;
1342 1332
 	  s390x-*linux*)
... ...
@@ -1355,10 +1345,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1355 1355
 	  x86_64-*linux*)
1356 1356
 	    LD="${LD-ld} -m elf_x86_64"
1357 1357
 	    ;;
1358
-	  powerpcle-*)
1359
-	    LD="${LD-ld} -m elf64lppc"
1360
-	    ;;
1361
-	  powerpc-*)
1358
+	  ppc*-*linux*|powerpc*-*linux*)
1362 1359
 	    LD="${LD-ld} -m elf64ppc"
1363 1360
 	    ;;
1364 1361
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -1701,8 +1688,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1701 1701
     ;;
1702 1702
   *)
1703 1703
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1704
-    if test -n "$lt_cv_sys_max_cmd_len" && \
1705
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
1704
+    if test -n "$lt_cv_sys_max_cmd_len"; then
1706 1705
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1707 1706
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1708 1707
     else
... ...
@@ -2526,6 +2512,17 @@ freebsd* | dragonfly*)
2526 2526
   esac
2527 2527
   ;;
2528 2528
 
2529
+gnu*)
2530
+  version_type=linux # correct to gnu/linux during the next big refactor
2531
+  need_lib_prefix=no
2532
+  need_version=no
2533
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2534
+  soname_spec='${libname}${release}${shared_ext}$major'
2535
+  shlibpath_var=LD_LIBRARY_PATH
2536
+  shlibpath_overrides_runpath=no
2537
+  hardcode_into_libs=yes
2538
+  ;;
2539
+
2529 2540
 haiku*)
2530 2541
   version_type=linux # correct to gnu/linux during the next big refactor
2531 2542
   need_lib_prefix=no
... ...
@@ -2642,7 +2639,7 @@ linux*oldld* | linux*aout* | linux*coff*)
2642 2642
   ;;
2643 2643
 
2644 2644
 # This must be glibc/ELF.
2645
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2645
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
2646 2646
   version_type=linux # correct to gnu/linux during the next big refactor
2647 2647
   need_lib_prefix=no
2648 2648
   need_version=no
... ...
@@ -2687,18 +2684,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2687 2687
   dynamic_linker='GNU/Linux ld.so'
2688 2688
   ;;
2689 2689
 
2690
-netbsdelf*-gnu)
2691
-  version_type=linux
2692
-  need_lib_prefix=no
2693
-  need_version=no
2694
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2695
-  soname_spec='${libname}${release}${shared_ext}$major'
2696
-  shlibpath_var=LD_LIBRARY_PATH
2697
-  shlibpath_overrides_runpath=no
2698
-  hardcode_into_libs=yes
2699
-  dynamic_linker='NetBSD ld.elf_so'
2700
-  ;;
2701
-
2702 2690
 netbsd*)
2703 2691
   version_type=sunos
2704 2692
   need_lib_prefix=no
... ...
@@ -3258,6 +3243,10 @@ freebsd* | dragonfly*)
3258 3258
   fi
3259 3259
   ;;
3260 3260
 
3261
+gnu*)
3262
+  lt_cv_deplibs_check_method=pass_all
3263
+  ;;
3264
+
3261 3265
 haiku*)
3262 3266
   lt_cv_deplibs_check_method=pass_all
3263 3267
   ;;
... ...
@@ -3296,11 +3285,11 @@ irix5* | irix6* | nonstopux*)
3296 3296
   ;;
3297 3297
 
3298 3298
 # This must be glibc/ELF.
3299
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3299
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
3300 3300
   lt_cv_deplibs_check_method=pass_all
3301 3301
   ;;
3302 3302
 
3303
-netbsd* | netbsdelf*-gnu)
3303
+netbsd*)
3304 3304
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3305 3305
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3306 3306
   else
... ...
@@ -4048,7 +4037,7 @@ m4_if([$1], [CXX], [
4048 4048
 	    ;;
4049 4049
 	esac
4050 4050
 	;;
4051
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4051
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
4052 4052
 	case $cc_basename in
4053 4053
 	  KCC*)
4054 4054
 	    # KAI C++ Compiler
... ...
@@ -4112,7 +4101,7 @@ m4_if([$1], [CXX], [
4112 4112
 	    ;;
4113 4113
 	esac
4114 4114
 	;;
4115
-      netbsd* | netbsdelf*-gnu)
4115
+      netbsd*)
4116 4116
 	;;
4117 4117
       *qnx* | *nto*)
4118 4118
         # QNX uses GNU C++, but need to define -shared option too, otherwise
... ...
@@ -4347,7 +4336,7 @@ m4_if([$1], [CXX], [
4347 4347
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4348 4348
       ;;
4349 4349
 
4350
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4350
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
4351 4351
       case $cc_basename in
4352 4352
       # old Intel for x86_64 which still supported -KPIC.
4353 4353
       ecc*)
... ...
@@ -4589,9 +4578,6 @@ m4_if([$1], [CXX], [
4589 4589
       ;;
4590 4590
     esac
4591 4591
     ;;
4592
-  linux* | k*bsd*-gnu | gnu*)
4593
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4594
-    ;;
4595 4592
   *)
4596 4593
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4597 4594
     ;;
... ...
@@ -4654,9 +4640,6 @@ dnl Note also adjust exclude_expsyms for C++ above.
4654 4654
   openbsd*)
4655 4655
     with_gnu_ld=no
4656 4656
     ;;
4657
-  linux* | k*bsd*-gnu | gnu*)
4658
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4659
-    ;;
4660 4657
   esac
4661 4658
 
4662 4659
   _LT_TAGVAR(ld_shlibs, $1)=yes
... ...
@@ -4878,7 +4861,7 @@ _LT_EOF
4878 4878
       fi
4879 4879
       ;;
4880 4880
 
4881
-    netbsd* | netbsdelf*-gnu)
4881
+    netbsd*)
4882 4882
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4883 4883
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4884 4884
 	wlarc=
... ...
@@ -5055,7 +5038,6 @@ _LT_EOF
5055 5055
 	if test "$aix_use_runtimelinking" = yes; then
5056 5056
 	  shared_flag="$shared_flag "'${wl}-G'
5057 5057
 	fi
5058
-	_LT_TAGVAR(link_all_deplibs, $1)=no
5059 5058
       else
5060 5059
 	# not using gcc
5061 5060
 	if test "$host_cpu" = ia64; then
... ...
@@ -5360,7 +5342,7 @@ _LT_EOF
5360 5360
       _LT_TAGVAR(link_all_deplibs, $1)=yes
5361 5361
       ;;
5362 5362
 
5363
-    netbsd* | netbsdelf*-gnu)
5363
+    netbsd*)
5364 5364
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5365 5365
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5366 5366
       else
... ...
@@ -6240,6 +6222,9 @@ if test "$_lt_caught_CXX_error" != yes; then
6240 6240
         _LT_TAGVAR(ld_shlibs, $1)=yes
6241 6241
         ;;
6242 6242
 
6243
+      gnu*)
6244
+        ;;
6245
+
6243 6246
       haiku*)
6244 6247
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6245 6248
         _LT_TAGVAR(link_all_deplibs, $1)=yes
... ...
@@ -6401,7 +6386,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6401 6401
         _LT_TAGVAR(inherit_rpath, $1)=yes
6402 6402
         ;;
6403 6403
 
6404
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6404
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
6405 6405
         case $cc_basename in
6406 6406
           KCC*)
6407 6407
 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
... ...
@@ -1,11 +1,10 @@
1 1
 #! /bin/sh
2
-# Common stub for a few missing GNU programs while installing.
2
+# Common wrapper for a few potentially missing GNU programs.
3 3
 
4
-scriptversion=2012-01-06.13; # UTC
4
+scriptversion=2013-10-28.13; # UTC
5 5
 
6
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
6
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
7
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9 8
 
10 9
 # This program is free software; you can redistribute it and/or modify
11 10
 # it under the terms of the GNU General Public License as published by
... ...
@@ -26,68 +25,40 @@ scriptversion=2012-01-06.13; # UTC
26 26
 # the same distribution terms that you use for the rest of that program.
27 27
 
28 28
 if test $# -eq 0; then
29
-  echo 1>&2 "Try \`$0 --help' for more information"
29
+  echo 1>&2 "Try '$0 --help' for more information"
30 30
   exit 1
31 31
 fi
32 32
 
33
-run=:
34
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
35
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
36
-
37
-# In the cases where this matters, `missing' is being run in the
38
-# srcdir already.
39
-if test -f configure.ac; then
40
-  configure_ac=configure.ac
41
-else
42
-  configure_ac=configure.in
43
-fi
33
+case $1 in
44 34
 
45
-msg="missing on your system"
35
+  --is-lightweight)
36
+    # Used by our autoconf macros to check whether the available missing
37
+    # script is modern enough.
38
+    exit 0
39
+    ;;
46 40
 
47
-case $1 in
48
-  # Try to run requested program, and just exit if it succeeds.
49
-  run=
50
-  shift
51
-  "$@" && exit 0
52
-  # Exit code 63 means version mismatch.  This often happens
53
-  # when the user try to use an ancient version of a tool on
54
-  # a file that requires a minimum version.  In this case we
55
-  # we should proceed has if the program had been absent, or
56
-  # if --run hadn't been passed.
57
-  if test $? = 63; then
58
-    run=:
59
-    msg="probably too old"
60
-  fi
61
-  ;;
41
+  --run)
42
+    # Back-compat with the calling convention used by older automake.
43
+    shift
44
+    ;;
62 45
 
63 46
   -h|--h|--he|--hel|--help)
64 47
     echo "\
65 48
 $0 [OPTION]... PROGRAM [ARGUMENT]...
66 49
 
67
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
68
-error status if there is no known handling for PROGRAM.
50
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
51
+to PROGRAM being missing or too old.
69 52
 
70 53
 Options:
71 54
   -h, --help      display this help and exit
72 55
   -v, --version   output version information and exit
73
-  --run           try to run the given command, and emulate it if it fails
74 56
 
75 57
 Supported PROGRAM values:
76
-  aclocal      touch file \`aclocal.m4'
77
-  autoconf     touch file \`configure'
78
-  autoheader   touch file \`config.h.in'
79
-  autom4te     touch the output file, or create a stub one
80
-  automake     touch all \`Makefile.in' files
81
-  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
82
-  flex         create \`lex.yy.c', if possible, from existing .c
83
-  help2man     touch the output file
84
-  lex          create \`lex.yy.c', if possible, from existing .c
85
-  makeinfo     touch the output file
86
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
58
+  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
59
+  bison     yacc      flex         lex       help2man
87 60
 
88
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
89
-\`g' are ignored when checking the name.
61
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
62
+'g' are ignored when checking the name.
90 63
 
91 64
 Send bug reports to <bug-automake@gnu.org>."
92 65
     exit $?
... ...
@@ -99,228 +70,141 @@ Send bug reports to <bug-automake@gnu.org>."
99 99
     ;;
100 100
 
101 101
   -*)
102
-    echo 1>&2 "$0: Unknown \`$1' option"
103
-    echo 1>&2 "Try \`$0 --help' for more information"
102
+    echo 1>&2 "$0: unknown '$1' option"
103
+    echo 1>&2 "Try '$0 --help' for more information"
104 104
     exit 1
105 105
     ;;
106 106
 
107 107
 esac
108 108
 
109
-# normalize program name to check for.
110
-program=`echo "$1" | sed '
111
-  s/^gnu-//; t
112
-  s/^gnu//; t
113
-  s/^g//; t'`
114
-
115
-# Now exit if we have it, but it failed.  Also exit now if we
116
-# don't have it and --version was passed (most likely to detect
117
-# the program).  This is about non-GNU programs, so use $1 not
118
-# $program.
119
-case $1 in
120
-  lex*|yacc*)
121
-    # Not GNU programs, they don't have --version.
122
-    ;;
123
-
124
-  *)
125
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
126
-       # We have it, but it failed.
127
-       exit 1
128
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
129
-       # Could not run --version or --help.  This is probably someone
130
-       # running `$TOOL --version' or `$TOOL --help' to check whether
131
-       # $TOOL exists and not knowing $TOOL uses missing.
132
-       exit 1
133
-    fi
134
-    ;;
135
-esac
136
-
137
-# If it does not exist, or fails to run (possibly an outdated version),
138
-# try to emulate it.
139
-case $program in
140
-  aclocal*)
141
-    echo 1>&2 "\
142
-WARNING: \`$1' is $msg.  You should only need it if
143
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
144
-         to install the \`Automake' and \`Perl' packages.  Grab them from
145
-         any GNU archive site."
146
-    touch aclocal.m4
147
-    ;;
148
-
149
-  autoconf*)
150
-    echo 1>&2 "\
151
-WARNING: \`$1' is $msg.  You should only need it if
152
-         you modified \`${configure_ac}'.  You might want to install the
153
-         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
154
-         archive site."
155
-    touch configure
156
-    ;;
157
-
158
-  autoheader*)
159
-    echo 1>&2 "\
160
-WARNING: \`$1' is $msg.  You should only need it if
161
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
162
-         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
163
-         from any GNU archive site."
164
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
165
-    test -z "$files" && files="config.h"
166
-    touch_files=
167
-    for f in $files; do
168
-      case $f in
169
-      *:*) touch_files="$touch_files "`echo "$f" |
170
-				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
171
-      *) touch_files="$touch_files $f.in";;
172
-      esac
173
-    done
174
-    touch $touch_files
175
-    ;;
176
-
177
-  automake*)
178
-    echo 1>&2 "\
179
-WARNING: \`$1' is $msg.  You should only need it if
180
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
181
-         You might want to install the \`Automake' and \`Perl' packages.
182
-         Grab them from any GNU archive site."
183
-    find . -type f -name Makefile.am -print |
184
-	   sed 's/\.am$/.in/' |
185
-	   while read f; do touch "$f"; done
186
-    ;;
187
-
188
-  autom4te*)
189
-    echo 1>&2 "\
190
-WARNING: \`$1' is needed, but is $msg.
191
-         You might have modified some files without having the
192
-         proper tools for further handling them.
193
-         You can get \`$1' as part of \`Autoconf' from any GNU
194
-         archive site."
195
-
196
-    file=`echo "$*" | sed -n "$sed_output"`
197
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
198
-    if test -f "$file"; then
199
-	touch $file
200
-    else
201
-	test -z "$file" || exec >$file
202
-	echo "#! /bin/sh"
203
-	echo "# Created by GNU Automake missing as a replacement of"
204
-	echo "#  $ $@"
205
-	echo "exit 0"
206
-	chmod +x $file
207
-	exit 1
208
-    fi
209
-    ;;
210
-
211
-  bison*|yacc*)
212
-    echo 1>&2 "\
213
-WARNING: \`$1' $msg.  You should only need it if
214
-         you modified a \`.y' file.  You may need the \`Bison' package
215
-         in order for those modifications to take effect.  You can get
216
-         \`Bison' from any GNU archive site."
217
-    rm -f y.tab.c y.tab.h
218
-    if test $# -ne 1; then
219
-        eval LASTARG=\${$#}
220
-	case $LASTARG in
221
-	*.y)
222
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
223
-	    if test -f "$SRCFILE"; then
224
-	         cp "$SRCFILE" y.tab.c
225
-	    fi
226
-	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
227
-	    if test -f "$SRCFILE"; then
228
-	         cp "$SRCFILE" y.tab.h
229
-	    fi
230
-	  ;;
231
-	esac
232
-    fi
233
-    if test ! -f y.tab.h; then
234
-	echo >y.tab.h
235
-    fi
236
-    if test ! -f y.tab.c; then
237
-	echo 'main() { return 0; }' >y.tab.c
238
-    fi
239
-    ;;
240
-
241
-  lex*|flex*)
242
-    echo 1>&2 "\
243
-WARNING: \`$1' is $msg.  You should only need it if
244
-         you modified a \`.l' file.  You may need the \`Flex' package
245
-         in order for those modifications to take effect.  You can get
246
-         \`Flex' from any GNU archive site."
247
-    rm -f lex.yy.c
248
-    if test $# -ne 1; then
249
-        eval LASTARG=\${$#}
250
-	case $LASTARG in
251
-	*.l)
252
-	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
253
-	    if test -f "$SRCFILE"; then
254
-	         cp "$SRCFILE" lex.yy.c
255
-	    fi
256
-	  ;;
257
-	esac
258
-    fi
259
-    if test ! -f lex.yy.c; then
260
-	echo 'main() { return 0; }' >lex.yy.c
261
-    fi
262
-    ;;
263
-
264
-  help2man*)
265
-    echo 1>&2 "\
266
-WARNING: \`$1' is $msg.  You should only need it if
267
-	 you modified a dependency of a manual page.  You may need the
268
-	 \`Help2man' package in order for those modifications to take
269
-	 effect.  You can get \`Help2man' from any GNU archive site."
270
-
271
-    file=`echo "$*" | sed -n "$sed_output"`
272
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
273
-    if test -f "$file"; then
274
-	touch $file
275
-    else
276
-	test -z "$file" || exec >$file
277
-	echo ".ab help2man is required to generate this page"
278
-	exit $?
279
-    fi
280
-    ;;
281
-
282
-  makeinfo*)
283
-    echo 1>&2 "\
284
-WARNING: \`$1' is $msg.  You should only need it if
285
-         you modified a \`.texi' or \`.texinfo' file, or any other file
286
-         indirectly affecting the aspect of the manual.  The spurious
287
-         call might also be the consequence of using a buggy \`make' (AIX,
288
-         DU, IRIX).  You might want to install the \`Texinfo' package or
289
-         the \`GNU make' package.  Grab either from any GNU archive site."
290
-    # The file to touch is that specified with -o ...
291
-    file=`echo "$*" | sed -n "$sed_output"`
292
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
293
-    if test -z "$file"; then
294
-      # ... or it is the one specified with @setfilename ...
295
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296
-      file=`sed -n '
297
-	/^@setfilename/{
298
-	  s/.* \([^ ]*\) *$/\1/
299
-	  p
300
-	  q
301
-	}' $infile`
302
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
303
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
304
-    fi
305
-    # If the file does not exist, the user really needs makeinfo;
306
-    # let's fail without touching anything.
307
-    test -f $file || exit 1
308
-    touch $file
309
-    ;;
109
+# Run the given program, remember its exit status.
110
+"$@"; st=$?
111
+
112
+# If it succeeded, we are done.
113
+test $st -eq 0 && exit 0
114
+
115
+# Also exit now if we it failed (or wasn't found), and '--version' was
116
+# passed; such an option is passed most likely to detect whether the
117
+# program is present and works.
118
+case $2 in --version|--help) exit $st;; esac
119
+
120
+# Exit code 63 means version mismatch.  This often happens when the user
121
+# tries to use an ancient version of a tool on a file that requires a
122
+# minimum version.
123
+if test $st -eq 63; then
124
+  msg="probably too old"
125
+elif test $st -eq 127; then
126
+  # Program was missing.
127
+  msg="missing on your system"
128
+else
129
+  # Program was found and executed, but failed.  Give up.
130
+  exit $st
131
+fi
310 132
 
311
-  *)
312
-    echo 1>&2 "\
313
-WARNING: \`$1' is needed, and is $msg.
314
-         You might have modified some files without having the
315
-         proper tools for further handling them.  Check the \`README' file,
316
-         it often tells you about the needed prerequisites for installing
317
-         this package.  You may also peek at any GNU archive site, in case
318
-         some other package would contain this missing \`$1' program."
319
-    exit 1
133
+perl_URL=http://www.perl.org/
134
+flex_URL=http://flex.sourceforge.net/
135
+gnu_software_URL=http://www.gnu.org/software
136
+
137
+program_details ()
138
+{
139
+  case $1 in
140
+    aclocal|automake)
141
+      echo "The '$1' program is part of the GNU Automake package:"
142
+      echo "<$gnu_software_URL/automake>"
143
+      echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
144
+      echo "<$gnu_software_URL/autoconf>"
145
+      echo "<$gnu_software_URL/m4/>"
146
+      echo "<$perl_URL>"
147
+      ;;
148
+    autoconf|autom4te|autoheader)
149
+      echo "The '$1' program is part of the GNU Autoconf package:"
150
+      echo "<$gnu_software_URL/autoconf/>"
151
+      echo "It also requires GNU m4 and Perl in order to run:"
152
+      echo "<$gnu_software_URL/m4/>"
153
+      echo "<$perl_URL>"
154
+      ;;
155
+  esac
156
+}
157
+
158
+give_advice ()
159
+{
160
+  # Normalize program name to check for.
161
+  normalized_program=`echo "$1" | sed '
162
+    s/^gnu-//; t
163
+    s/^gnu//; t
164
+    s/^g//; t'`
165
+
166
+  printf '%s\n' "'$1' is $msg."
167
+
168
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
169
+  case $normalized_program in
170
+    autoconf*)
171
+      echo "You should only need it if you modified 'configure.ac',"
172
+      echo "or m4 files included by it."
173
+      program_details 'autoconf'
174
+      ;;
175
+    autoheader*)
176
+      echo "You should only need it if you modified 'acconfig.h' or"
177
+      echo "$configure_deps."
178
+      program_details 'autoheader'
179
+      ;;
180
+    automake*)
181
+      echo "You should only need it if you modified 'Makefile.am' or"
182
+      echo "$configure_deps."
183
+      program_details 'automake'
184
+      ;;
185
+    aclocal*)
186
+      echo "You should only need it if you modified 'acinclude.m4' or"
187
+      echo "$configure_deps."
188
+      program_details 'aclocal'
189
+      ;;
190
+   autom4te*)
191
+      echo "You might have modified some maintainer files that require"
192
+      echo "the 'autom4te' program to be rebuilt."
193
+      program_details 'autom4te'
194
+      ;;
195
+    bison*|yacc*)
196
+      echo "You should only need it if you modified a '.y' file."
197
+      echo "You may want to install the GNU Bison package:"
198
+      echo "<$gnu_software_URL/bison/>"
199
+      ;;
200
+    lex*|flex*)
201
+      echo "You should only need it if you modified a '.l' file."
202
+      echo "You may want to install the Fast Lexical Analyzer package:"
203
+      echo "<$flex_URL>"
204
+      ;;
205
+    help2man*)
206
+      echo "You should only need it if you modified a dependency" \
207
+           "of a man page."
208
+      echo "You may want to install the GNU Help2man package:"
209
+      echo "<$gnu_software_URL/help2man/>"
320 210
     ;;
321
-esac
322
-
323
-exit 0
211
+    makeinfo*)
212
+      echo "You should only need it if you modified a '.texi' file, or"
213
+      echo "any other file indirectly affecting the aspect of the manual."
214
+      echo "You might want to install the Texinfo package:"
215
+      echo "<$gnu_software_URL/texinfo/>"
216
+      echo "The spurious makeinfo call might also be the consequence of"
217
+      echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
218
+      echo "want to install GNU make:"
219
+      echo "<$gnu_software_URL/make/>"
220
+      ;;
221
+    *)
222
+      echo "You might have modified some files without having the proper"
223
+      echo "tools for further handling them.  Check the 'README' file, it"
224
+      echo "often tells you about the needed prerequisites for installing"
225
+      echo "this package.  You may also peek at any GNU archive site, in"
226
+      echo "case some other package contains this missing '$1' program."
227
+      ;;
228
+  esac
229
+}
230
+
231
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
232
+                       -e '2,$s/^/         /' >&2
233
+
234
+# Propagate the correct exit status (expected to be 127 for a program
235
+# not found, 63 for a program that failed due to version mismatch).
236
+exit $st
324 237
 
325 238
 # Local variables:
326 239
 # eval: (add-hook 'write-file-hooks 'time-stamp)
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
51 55
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
77
+    esac; \
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +98,8 @@ build_triplet = @build@
71 71
 host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 subdir = libfreshclam
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75
+	$(top_srcdir)/config/depcomp
75 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
77 78
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -192,6 +220,19 @@ libfreshclam_la_OBJECTS = $(am_libfreshclam_la_OBJECTS)
192 192
 AM_V_lt = $(am__v_lt_@AM_V@)
193 193
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
194 194
 am__v_lt_0 = --silent
195
+am__v_lt_1 = 
196
+AM_V_P = $(am__v_P_@AM_V@)
197
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
198
+am__v_P_0 = false
199
+am__v_P_1 = :
200
+AM_V_GEN = $(am__v_GEN_@AM_V@)
201
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
202
+am__v_GEN_0 = @echo "  GEN     " $@;
203
+am__v_GEN_1 = 
204
+AM_V_at = $(am__v_at_@AM_V@)
205
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
206
+am__v_at_0 = @
207
+am__v_at_1 = 
195 208
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
196 209
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
197 210
 am__depfiles_maybe = depfiles
... ...
@@ -204,20 +245,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
204 204
 	$(AM_CFLAGS) $(CFLAGS)
205 205
 AM_V_CC = $(am__v_CC_@AM_V@)
206 206
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
207
-am__v_CC_0 = @echo "  CC    " $@;
208
-AM_V_at = $(am__v_at_@AM_V@)
209
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
210
-am__v_at_0 = @
207
+am__v_CC_0 = @echo "  CC      " $@;
208
+am__v_CC_1 = 
211 209
 CCLD = $(CC)
212 210
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
213 211
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
214 212
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
215 213
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
216 214
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
217
-am__v_CCLD_0 = @echo "  CCLD  " $@;
218
-AM_V_GEN = $(am__v_GEN_@AM_V@)
219
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
220
-am__v_GEN_0 = @echo "  GEN   " $@;
215
+am__v_CCLD_0 = @echo "  CCLD    " $@;
216
+am__v_CCLD_1 = 
221 217
 SOURCES = $(libfreshclam_la_SOURCES)
222 218
 DIST_SOURCES = $(libfreshclam_la_SOURCES)
223 219
 am__can_run_installinfo = \
... ...
@@ -225,6 +262,23 @@ am__can_run_installinfo = \
225 225
     n|no|NO) false;; \
226 226
     *) (install-info --version) >/dev/null 2>&1;; \
227 227
   esac
228
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
229
+# Read a list of newline-separated strings from the standard input,
230
+# and print each of them once, without duplicates.  Input order is
231
+# *not* preserved.
232
+am__uniquify_input = $(AWK) '\
233
+  BEGIN { nonempty = 0; } \
234
+  { items[$$0] = 1; nonempty = 1; } \
235
+  END { if (nonempty) { for (i in items) print i; }; } \
236
+'
237
+# Make sure the list of sources is unique.  This is necessary because,
238
+# e.g., the same source file might be shared among _SOURCES variables
239
+# for different programs/libraries.
240
+am__define_uniq_tagged_files = \
241
+  list='$(am__tagged_files)'; \
242
+  unique=`for i in $$list; do \
243
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
244
+  done | $(am__uniquify_input)`
228 245
 ETAGS = etags
229 246
 CTAGS = ctags
230 247
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -518,6 +572,7 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
518 518
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
519 519
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
520 520
 $(am__aclocal_m4_deps):
521
+
521 522
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
522 523
 	@$(NORMAL_INSTALL)
523 524
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -544,12 +599,15 @@ uninstall-libLTLIBRARIES:
544 544
 
545 545
 clean-libLTLIBRARIES:
546 546
 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
547
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
548
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
549
-	  test "$$dir" != "$$p" || dir=.; \
550
-	  echo "rm -f \"$${dir}/so_locations\""; \
551
-	  rm -f "$${dir}/so_locations"; \
552
-	done
547
+	@list='$(lib_LTLIBRARIES)'; \
548
+	locs=`for p in $$list; do echo $$p; done | \
549
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
550
+	      sort -u`; \
551
+	test -z "$$locs" || { \
552
+	  echo rm -f $${locs}; \
553
+	  rm -f $${locs}; \
554
+	}
555
+
553 556
 libfreshclam.la: $(libfreshclam_la_OBJECTS) $(libfreshclam_la_DEPENDENCIES) $(EXTRA_libfreshclam_la_DEPENDENCIES) 
554 557
 	$(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libfreshclam_la_OBJECTS) $(libfreshclam_la_LIBADD) $(LIBS)
555 558
 
... ...
@@ -579,14 +637,14 @@ distclean-compile:
579 579
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
580 580
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
581 581
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
582
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
582
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
583 583
 
584 584
 .c.obj:
585 585
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
586 586
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
587 587
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
588 588
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
589
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
589
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
590 590
 
591 591
 .c.lo:
592 592
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -692,26 +750,15 @@ mostlyclean-libtool:
692 692
 clean-libtool:
693 693
 	-rm -rf .libs _libs
694 694
 
695
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
696
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
697
-	unique=`for i in $$list; do \
698
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
699
-	  done | \
700
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
701
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
702
-	mkid -fID $$unique
703
-tags: TAGS
704
-
705
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
706
-		$(TAGS_FILES) $(LISP)
695
+ID: $(am__tagged_files)
696
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
697
+tags: tags-am
698
+TAGS: tags
699
+
700
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
707 701
 	set x; \
708 702
 	here=`pwd`; \
709
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
710
-	unique=`for i in $$list; do \
711
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
712
-	  done | \
713
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
714
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
703
+	$(am__define_uniq_tagged_files); \
715 704
 	shift; \
716 705
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
717 706
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -723,15 +770,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
723 723
 	      $$unique; \
724 724
 	  fi; \
725 725
 	fi
726
-ctags: CTAGS
727
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
728
-		$(TAGS_FILES) $(LISP)
729
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
730
-	unique=`for i in $$list; do \
731
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
732
-	  done | \
733
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
734
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
726
+ctags: ctags-am
727
+
728
+CTAGS: ctags
729
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
730
+	$(am__define_uniq_tagged_files); \
735 731
 	test -z "$(CTAGS_ARGS)$$unique" \
736 732
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
737 733
 	     $$unique
... ...
@@ -740,6 +783,21 @@ GTAGS:
740 740
 	here=`$(am__cd) $(top_builddir) && pwd` \
741 741
 	  && $(am__cd) $(top_srcdir) \
742 742
 	  && gtags -i $(GTAGS_ARGS) "$$here"
743
+cscopelist: cscopelist-am
744
+
745
+cscopelist-am: $(am__tagged_files)
746
+	list='$(am__tagged_files)'; \
747
+	case "$(srcdir)" in \
748
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
749
+	  *) sdir=$(subdir)/$(srcdir) ;; \
750
+	esac; \
751
+	for i in $$list; do \
752
+	  if test -f "$$i"; then \
753
+	    echo "$(subdir)/$$i"; \
754
+	  else \
755
+	    echo "$$sdir/$$i"; \
756
+	  fi; \
757
+	done >> $(top_builddir)/cscope.files
743 758
 
744 759
 distclean-tags:
745 760
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -885,19 +943,19 @@ uninstall-am: uninstall-libLTLIBRARIES
885 885
 
886 886
 .MAKE: install-am install-strip
887 887
 
888
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
889
-	clean-libLTLIBRARIES clean-libtool ctags distclean \
890
-	distclean-compile distclean-generic distclean-libtool \
891
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
892
-	install install-am install-data install-data-am install-dvi \
893
-	install-dvi-am install-exec install-exec-am install-html \
894
-	install-html-am install-info install-info-am \
895
-	install-libLTLIBRARIES install-man install-pdf install-pdf-am \
896
-	install-ps install-ps-am install-strip installcheck \
897
-	installcheck-am installdirs maintainer-clean \
888
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
889
+	clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \
890
+	ctags-am distclean distclean-compile distclean-generic \
891
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
892
+	html-am info info-am install install-am install-data \
893
+	install-data-am install-dvi install-dvi-am install-exec \
894
+	install-exec-am install-html install-html-am install-info \
895
+	install-info-am install-libLTLIBRARIES install-man install-pdf \
896
+	install-pdf-am install-ps install-ps-am install-strip \
897
+	installcheck installcheck-am installdirs maintainer-clean \
898 898
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
899 899
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
900
-	tags uninstall uninstall-am uninstall-libLTLIBRARIES
900
+	tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES
901 901
 
902 902
 
903 903
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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,23 +18,51 @@
19 19
 
20 20
 
21 21
 VPATH = @srcdir@
22
-am__make_dryrun = \
23
-  { \
24
-    am__dry=no; \
22
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
23
+am__make_running_with_option = \
24
+  case $${target_option-} in \
25
+      ?) ;; \
26
+      *) echo "am__make_running_with_option: internal error: invalid" \
27
+              "target option '$${target_option-}' specified" >&2; \
28
+         exit 1;; \
29
+  esac; \
30
+  has_opt=no; \
31
+  sane_makeflags=$$MAKEFLAGS; \
32
+  if $(am__is_gnu_make); then \
33
+    sane_makeflags=$$MFLAGS; \
34
+  else \
25 35
     case $$MAKEFLAGS in \
26 36
       *\\[\ \	]*) \
27
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
28
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
29
-      *) \
30
-        for am__flg in $$MAKEFLAGS; do \
31
-          case $$am__flg in \
32
-            *=*|--*) ;; \
33
-            *n*) am__dry=yes; break;; \
34
-          esac; \
35
-        done;; \
37
+        bs=\\; \
38
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
39
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
36 40
     esac; \
37
-    test $$am__dry = yes; \
38
-  }
41
+  fi; \
42
+  skip_next=no; \
43
+  strip_trailopt () \
44
+  { \
45
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
46
+  }; \
47
+  for flg in $$sane_makeflags; do \
48
+    test $$skip_next = yes && { skip_next=no; continue; }; \
49
+    case $$flg in \
50
+      *=*|--*) continue;; \
51
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
52
+      -*I?*) strip_trailopt 'I';; \
53
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
54
+      -*O?*) strip_trailopt 'O';; \
55
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
56
+      -*l?*) strip_trailopt 'l';; \
57
+      -[dEDm]) skip_next=yes;; \
58
+      -[JT]) skip_next=yes;; \
59
+    esac; \
60
+    case $$flg in \
61
+      *$$target_option*) has_opt=yes; break;; \
62
+    esac; \
63
+  done; \
64
+  test $$has_opt = yes
65
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
66
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
39 67
 pkgdatadir = $(datadir)/@PACKAGE@
40 68
 pkgincludedir = $(includedir)/@PACKAGE@
41 69
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -59,9 +86,9 @@ target_triplet = @target@
59 59
 @INSTALL_LTDL_TRUE@am__append_2 = libltdl.la
60 60
 @CONVENIENCE_LTDL_TRUE@am__append_3 = libltdlc.la
61 61
 subdir = libltdl
62
-DIST_COMMON = README $(am__include_HEADERS_DIST) \
63
-	$(am__ltdlinclude_HEADERS_DIST) $(srcdir)/Makefile.am \
64
-	$(srcdir)/Makefile.in COPYING.LIB
62
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
63
+	$(top_srcdir)/config/depcomp $(am__include_HEADERS_DIST) \
64
+	$(am__ltdlinclude_HEADERS_DIST) COPYING.LIB README
65 65
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66 66
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
67 67
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -181,6 +208,7 @@ dld_link_la_OBJECTS = $(am_dld_link_la_OBJECTS)
181 181
 AM_V_lt = $(am__v_lt_@AM_V@)
182 182
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
183 183
 am__v_lt_0 = --silent
184
+am__v_lt_1 = 
184 185
 dld_link_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
185 186
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
186 187
 	$(dld_link_la_LDFLAGS) $(LDFLAGS) -o $@
... ...
@@ -235,6 +263,18 @@ shl_load_la_OBJECTS = $(am_shl_load_la_OBJECTS)
235 235
 shl_load_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
236 236
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
237 237
 	$(shl_load_la_LDFLAGS) $(LDFLAGS) -o $@
238
+AM_V_P = $(am__v_P_@AM_V@)
239
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
240
+am__v_P_0 = false
241
+am__v_P_1 = :
242
+AM_V_GEN = $(am__v_GEN_@AM_V@)
243
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
244
+am__v_GEN_0 = @echo "  GEN     " $@;
245
+am__v_GEN_1 = 
246
+AM_V_at = $(am__v_at_@AM_V@)
247
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
248
+am__v_at_0 = @
249
+am__v_at_1 = 
238 250
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
239 251
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
240 252
 am__depfiles_maybe = depfiles
... ...
@@ -247,20 +287,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
247 247
 	$(AM_CFLAGS) $(CFLAGS)
248 248
 AM_V_CC = $(am__v_CC_@AM_V@)
249 249
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
250
-am__v_CC_0 = @echo "  CC    " $@;
251
-AM_V_at = $(am__v_at_@AM_V@)
252
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
253
-am__v_at_0 = @
250
+am__v_CC_0 = @echo "  CC      " $@;
251
+am__v_CC_1 = 
254 252
 CCLD = $(CC)
255 253
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
256 254
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
257 255
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
258 256
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
259 257
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
260
-am__v_CCLD_0 = @echo "  CCLD  " $@;
261
-AM_V_GEN = $(am__v_GEN_@AM_V@)
262
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
263
-am__v_GEN_0 = @echo "  GEN   " $@;
258
+am__v_CCLD_0 = @echo "  CCLD    " $@;
259
+am__v_CCLD_1 = 
264 260
 SOURCES = $(dld_link_la_SOURCES) $(dlopen_la_SOURCES) \
265 261
 	$(dyld_la_SOURCES) $(libltdl_la_SOURCES) \
266 262
 	$(libltdlc_la_SOURCES) $(load_add_on_la_SOURCES) \
... ...
@@ -278,6 +314,23 @@ am__include_HEADERS_DIST = ltdl.h
278 278
 am__ltdlinclude_HEADERS_DIST = libltdl/lt_system.h libltdl/lt_error.h \
279 279
 	libltdl/lt_dlloader.h
280 280
 HEADERS = $(include_HEADERS) $(ltdlinclude_HEADERS)
281
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
282
+# Read a list of newline-separated strings from the standard input,
283
+# and print each of them once, without duplicates.  Input order is
284
+# *not* preserved.
285
+am__uniquify_input = $(AWK) '\
286
+  BEGIN { nonempty = 0; } \
287
+  { items[$$0] = 1; nonempty = 1; } \
288
+  END { if (nonempty) { for (i in items) print i; }; } \
289
+'
290
+# Make sure the list of sources is unique.  This is necessary because,
291
+# e.g., the same source file might be shared among _SOURCES variables
292
+# for different programs/libraries.
293
+am__define_uniq_tagged_files = \
294
+  list='$(am__tagged_files)'; \
295
+  unique=`for i in $$list; do \
296
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
297
+  done | $(am__uniquify_input)`
281 298
 ETAGS = etags
282 299
 CTAGS = ctags
283 300
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -602,6 +655,7 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
602 602
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
603 603
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
604 604
 $(am__aclocal_m4_deps):
605
+
605 606
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
606 607
 	@$(NORMAL_INSTALL)
607 608
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -628,35 +682,47 @@ uninstall-libLTLIBRARIES:
628 628
 
629 629
 clean-libLTLIBRARIES:
630 630
 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
631
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
632
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
633
-	  test "$$dir" != "$$p" || dir=.; \
634
-	  echo "rm -f \"$${dir}/so_locations\""; \
635
-	  rm -f "$${dir}/so_locations"; \
636
-	done
631
+	@list='$(lib_LTLIBRARIES)'; \
632
+	locs=`for p in $$list; do echo $$p; done | \
633
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
634
+	      sort -u`; \
635
+	test -z "$$locs" || { \
636
+	  echo rm -f $${locs}; \
637
+	  rm -f $${locs}; \
638
+	}
637 639
 
638 640
 clean-noinstLTLIBRARIES:
639 641
 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
640
-	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
641
-	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
642
-	  test "$$dir" != "$$p" || dir=.; \
643
-	  echo "rm -f \"$${dir}/so_locations\""; \
644
-	  rm -f "$${dir}/so_locations"; \
645
-	done
642
+	@list='$(noinst_LTLIBRARIES)'; \
643
+	locs=`for p in $$list; do echo $$p; done | \
644
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
645
+	      sort -u`; \
646
+	test -z "$$locs" || { \
647
+	  echo rm -f $${locs}; \
648
+	  rm -f $${locs}; \
649
+	}
650
+
646 651
 dld_link.la: $(dld_link_la_OBJECTS) $(dld_link_la_DEPENDENCIES) $(EXTRA_dld_link_la_DEPENDENCIES) 
647 652
 	$(AM_V_CCLD)$(dld_link_la_LINK)  $(dld_link_la_OBJECTS) $(dld_link_la_LIBADD) $(LIBS)
653
+
648 654
 dlopen.la: $(dlopen_la_OBJECTS) $(dlopen_la_DEPENDENCIES) $(EXTRA_dlopen_la_DEPENDENCIES) 
649 655
 	$(AM_V_CCLD)$(dlopen_la_LINK)  $(dlopen_la_OBJECTS) $(dlopen_la_LIBADD) $(LIBS)
656
+
650 657
 dyld.la: $(dyld_la_OBJECTS) $(dyld_la_DEPENDENCIES) $(EXTRA_dyld_la_DEPENDENCIES) 
651 658
 	$(AM_V_CCLD)$(dyld_la_LINK)  $(dyld_la_OBJECTS) $(dyld_la_LIBADD) $(LIBS)
659
+
652 660
 libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES) $(EXTRA_libltdl_la_DEPENDENCIES) 
653 661
 	$(AM_V_CCLD)$(libltdl_la_LINK) $(am_libltdl_la_rpath) $(libltdl_la_OBJECTS) $(libltdl_la_LIBADD) $(LIBS)
662
+
654 663
 libltdlc.la: $(libltdlc_la_OBJECTS) $(libltdlc_la_DEPENDENCIES) $(EXTRA_libltdlc_la_DEPENDENCIES) 
655 664
 	$(AM_V_CCLD)$(libltdlc_la_LINK) $(am_libltdlc_la_rpath) $(libltdlc_la_OBJECTS) $(libltdlc_la_LIBADD) $(LIBS)
665
+
656 666
 load_add_on.la: $(load_add_on_la_OBJECTS) $(load_add_on_la_DEPENDENCIES) $(EXTRA_load_add_on_la_DEPENDENCIES) 
657 667
 	$(AM_V_CCLD)$(load_add_on_la_LINK)  $(load_add_on_la_OBJECTS) $(load_add_on_la_LIBADD) $(LIBS)
668
+
658 669
 loadlibrary.la: $(loadlibrary_la_OBJECTS) $(loadlibrary_la_DEPENDENCIES) $(EXTRA_loadlibrary_la_DEPENDENCIES) 
659 670
 	$(AM_V_CCLD)$(loadlibrary_la_LINK)  $(loadlibrary_la_OBJECTS) $(loadlibrary_la_LIBADD) $(LIBS)
671
+
660 672
 shl_load.la: $(shl_load_la_OBJECTS) $(shl_load_la_DEPENDENCIES) $(EXTRA_shl_load_la_DEPENDENCIES) 
661 673
 	$(AM_V_CCLD)$(shl_load_la_LINK)  $(shl_load_la_OBJECTS) $(shl_load_la_LIBADD) $(LIBS)
662 674
 
... ...
@@ -690,14 +756,14 @@ distclean-compile:
690 690
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
691 691
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
692 692
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
693
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
693
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
694 694
 
695 695
 .c.obj:
696 696
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
697 697
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
698 698
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
699 699
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
700
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
700
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
701 701
 
702 702
 .c.lo:
703 703
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -880,26 +946,15 @@ uninstall-ltdlincludeHEADERS:
880 880
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
881 881
 	dir='$(DESTDIR)$(ltdlincludedir)'; $(am__uninstall_files_from_dir)
882 882
 
883
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
884
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
885
-	unique=`for i in $$list; do \
886
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
887
-	  done | \
888
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
889
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
890
-	mkid -fID $$unique
891
-tags: TAGS
892
-
893
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
894
-		$(TAGS_FILES) $(LISP)
883
+ID: $(am__tagged_files)
884
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
885
+tags: tags-am
886
+TAGS: tags
887
+
888
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
895 889
 	set x; \
896 890
 	here=`pwd`; \
897
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
898
-	unique=`for i in $$list; do \
899
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
900
-	  done | \
901
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
902
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
891
+	$(am__define_uniq_tagged_files); \
903 892
 	shift; \
904 893
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
905 894
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -911,15 +966,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
911 911
 	      $$unique; \
912 912
 	  fi; \
913 913
 	fi
914
-ctags: CTAGS
915
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
916
-		$(TAGS_FILES) $(LISP)
917
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
918
-	unique=`for i in $$list; do \
919
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
920
-	  done | \
921
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
922
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
914
+ctags: ctags-am
915
+
916
+CTAGS: ctags
917
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
918
+	$(am__define_uniq_tagged_files); \
923 919
 	test -z "$(CTAGS_ARGS)$$unique" \
924 920
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
925 921
 	     $$unique
... ...
@@ -928,6 +979,21 @@ GTAGS:
928 928
 	here=`$(am__cd) $(top_builddir) && pwd` \
929 929
 	  && $(am__cd) $(top_srcdir) \
930 930
 	  && gtags -i $(GTAGS_ARGS) "$$here"
931
+cscopelist: cscopelist-am
932
+
933
+cscopelist-am: $(am__tagged_files)
934
+	list='$(am__tagged_files)'; \
935
+	case "$(srcdir)" in \
936
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
937
+	  *) sdir=$(subdir)/$(srcdir) ;; \
938
+	esac; \
939
+	for i in $$list; do \
940
+	  if test -f "$$i"; then \
941
+	    echo "$(subdir)/$$i"; \
942
+	  else \
943
+	    echo "$$sdir/$$i"; \
944
+	  fi; \
945
+	done >> $(top_builddir)/cscope.files
931 946
 
932 947
 distclean-tags:
933 948
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -1078,20 +1144,20 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1078 1078
 
1079 1079
 .MAKE: all check install install-am install-strip
1080 1080
 
1081
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
1081
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
1082 1082
 	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1083
-	ctags distclean distclean-compile distclean-generic \
1084
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
1085
-	html-am info info-am install install-am install-data \
1086
-	install-data-am install-dvi install-dvi-am install-exec \
1087
-	install-exec-am install-html install-html-am \
1083
+	cscopelist-am ctags ctags-am distclean distclean-compile \
1084
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
1085
+	dvi-am html html-am info info-am install install-am \
1086
+	install-data install-data-am install-dvi install-dvi-am \
1087
+	install-exec install-exec-am install-html install-html-am \
1088 1088
 	install-includeHEADERS install-info install-info-am \
1089 1089
 	install-libLTLIBRARIES install-ltdlincludeHEADERS install-man \
1090 1090
 	install-pdf install-pdf-am install-ps install-ps-am \
1091 1091
 	install-strip installcheck installcheck-am installdirs \
1092 1092
 	maintainer-clean maintainer-clean-generic mostlyclean \
1093 1093
 	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1094
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
1094
+	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1095 1095
 	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1096 1096
 	uninstall-ltdlincludeHEADERS
1097 1097
 
... ...
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
1312 1312
   rm -rf conftest*
1313 1313
   ;;
1314 1314
 
1315
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1315
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1316 1316
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1317 1317
   # Find out which ABI we are using.
1318 1318
   echo 'int i;' > conftest.$ac_ext
... ...
@@ -1324,19 +1324,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1324 1324
 	    LD="${LD-ld} -m elf_i386_fbsd"
1325 1325
 	    ;;
1326 1326
 	  x86_64-*linux*)
1327
-	    case `/usr/bin/file conftest.o` in
1328
-	      *x86-64*)
1329
-		LD="${LD-ld} -m elf32_x86_64"
1330
-		;;
1331
-	      *)
1332
-		LD="${LD-ld} -m elf_i386"
1333
-		;;
1334
-	    esac
1335
-	    ;;
1336
-	  powerpc64le-*)
1337
-	    LD="${LD-ld} -m elf32lppclinux"
1327
+	    LD="${LD-ld} -m elf_i386"
1338 1328
 	    ;;
1339
-	  powerpc64-*)
1329
+	  ppc64-*linux*|powerpc64-*linux*)
1340 1330
 	    LD="${LD-ld} -m elf32ppclinux"
1341 1331
 	    ;;
1342 1332
 	  s390x-*linux*)
... ...
@@ -1355,10 +1345,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1355 1355
 	  x86_64-*linux*)
1356 1356
 	    LD="${LD-ld} -m elf_x86_64"
1357 1357
 	    ;;
1358
-	  powerpcle-*)
1359
-	    LD="${LD-ld} -m elf64lppc"
1360
-	    ;;
1361
-	  powerpc-*)
1358
+	  ppc*-*linux*|powerpc*-*linux*)
1362 1359
 	    LD="${LD-ld} -m elf64ppc"
1363 1360
 	    ;;
1364 1361
 	  s390*-*linux*|s390*-*tpf*)
... ...
@@ -1701,8 +1688,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1701 1701
     ;;
1702 1702
   *)
1703 1703
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1704
-    if test -n "$lt_cv_sys_max_cmd_len" && \
1705
-	test undefined != "$lt_cv_sys_max_cmd_len"; then
1704
+    if test -n "$lt_cv_sys_max_cmd_len"; then
1706 1705
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1707 1706
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1708 1707
     else
... ...
@@ -2526,6 +2512,17 @@ freebsd* | dragonfly*)
2526 2526
   esac
2527 2527
   ;;
2528 2528
 
2529
+gnu*)
2530
+  version_type=linux # correct to gnu/linux during the next big refactor
2531
+  need_lib_prefix=no
2532
+  need_version=no
2533
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2534
+  soname_spec='${libname}${release}${shared_ext}$major'
2535
+  shlibpath_var=LD_LIBRARY_PATH
2536
+  shlibpath_overrides_runpath=no
2537
+  hardcode_into_libs=yes
2538
+  ;;
2539
+
2529 2540
 haiku*)
2530 2541
   version_type=linux # correct to gnu/linux during the next big refactor
2531 2542
   need_lib_prefix=no
... ...
@@ -2642,7 +2639,7 @@ linux*oldld* | linux*aout* | linux*coff*)
2642 2642
   ;;
2643 2643
 
2644 2644
 # This must be glibc/ELF.
2645
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2645
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
2646 2646
   version_type=linux # correct to gnu/linux during the next big refactor
2647 2647
   need_lib_prefix=no
2648 2648
   need_version=no
... ...
@@ -2687,18 +2684,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2687 2687
   dynamic_linker='GNU/Linux ld.so'
2688 2688
   ;;
2689 2689
 
2690
-netbsdelf*-gnu)
2691
-  version_type=linux
2692
-  need_lib_prefix=no
2693
-  need_version=no
2694
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2695
-  soname_spec='${libname}${release}${shared_ext}$major'
2696
-  shlibpath_var=LD_LIBRARY_PATH
2697
-  shlibpath_overrides_runpath=no
2698
-  hardcode_into_libs=yes
2699
-  dynamic_linker='NetBSD ld.elf_so'
2700
-  ;;
2701
-
2702 2690
 netbsd*)
2703 2691
   version_type=sunos
2704 2692
   need_lib_prefix=no
... ...
@@ -3258,6 +3243,10 @@ freebsd* | dragonfly*)
3258 3258
   fi
3259 3259
   ;;
3260 3260
 
3261
+gnu*)
3262
+  lt_cv_deplibs_check_method=pass_all
3263
+  ;;
3264
+
3261 3265
 haiku*)
3262 3266
   lt_cv_deplibs_check_method=pass_all
3263 3267
   ;;
... ...
@@ -3296,11 +3285,11 @@ irix5* | irix6* | nonstopux*)
3296 3296
   ;;
3297 3297
 
3298 3298
 # This must be glibc/ELF.
3299
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3299
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
3300 3300
   lt_cv_deplibs_check_method=pass_all
3301 3301
   ;;
3302 3302
 
3303
-netbsd* | netbsdelf*-gnu)
3303
+netbsd*)
3304 3304
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3305 3305
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3306 3306
   else
... ...
@@ -4048,7 +4037,7 @@ m4_if([$1], [CXX], [
4048 4048
 	    ;;
4049 4049
 	esac
4050 4050
 	;;
4051
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4051
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
4052 4052
 	case $cc_basename in
4053 4053
 	  KCC*)
4054 4054
 	    # KAI C++ Compiler
... ...
@@ -4112,7 +4101,7 @@ m4_if([$1], [CXX], [
4112 4112
 	    ;;
4113 4113
 	esac
4114 4114
 	;;
4115
-      netbsd* | netbsdelf*-gnu)
4115
+      netbsd*)
4116 4116
 	;;
4117 4117
       *qnx* | *nto*)
4118 4118
         # QNX uses GNU C++, but need to define -shared option too, otherwise
... ...
@@ -4347,7 +4336,7 @@ m4_if([$1], [CXX], [
4347 4347
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4348 4348
       ;;
4349 4349
 
4350
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4350
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
4351 4351
       case $cc_basename in
4352 4352
       # old Intel for x86_64 which still supported -KPIC.
4353 4353
       ecc*)
... ...
@@ -4589,9 +4578,6 @@ m4_if([$1], [CXX], [
4589 4589
       ;;
4590 4590
     esac
4591 4591
     ;;
4592
-  linux* | k*bsd*-gnu | gnu*)
4593
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4594
-    ;;
4595 4592
   *)
4596 4593
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4597 4594
     ;;
... ...
@@ -4654,9 +4640,6 @@ dnl Note also adjust exclude_expsyms for C++ above.
4654 4654
   openbsd*)
4655 4655
     with_gnu_ld=no
4656 4656
     ;;
4657
-  linux* | k*bsd*-gnu | gnu*)
4658
-    _LT_TAGVAR(link_all_deplibs, $1)=no
4659
-    ;;
4660 4657
   esac
4661 4658
 
4662 4659
   _LT_TAGVAR(ld_shlibs, $1)=yes
... ...
@@ -4878,7 +4861,7 @@ _LT_EOF
4878 4878
       fi
4879 4879
       ;;
4880 4880
 
4881
-    netbsd* | netbsdelf*-gnu)
4881
+    netbsd*)
4882 4882
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4883 4883
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4884 4884
 	wlarc=
... ...
@@ -5055,7 +5038,6 @@ _LT_EOF
5055 5055
 	if test "$aix_use_runtimelinking" = yes; then
5056 5056
 	  shared_flag="$shared_flag "'${wl}-G'
5057 5057
 	fi
5058
-	_LT_TAGVAR(link_all_deplibs, $1)=no
5059 5058
       else
5060 5059
 	# not using gcc
5061 5060
 	if test "$host_cpu" = ia64; then
... ...
@@ -5360,7 +5342,7 @@ _LT_EOF
5360 5360
       _LT_TAGVAR(link_all_deplibs, $1)=yes
5361 5361
       ;;
5362 5362
 
5363
-    netbsd* | netbsdelf*-gnu)
5363
+    netbsd*)
5364 5364
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5365 5365
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5366 5366
       else
... ...
@@ -6240,6 +6222,9 @@ if test "$_lt_caught_CXX_error" != yes; then
6240 6240
         _LT_TAGVAR(ld_shlibs, $1)=yes
6241 6241
         ;;
6242 6242
 
6243
+      gnu*)
6244
+        ;;
6245
+
6243 6246
       haiku*)
6244 6247
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6245 6248
         _LT_TAGVAR(link_all_deplibs, $1)=yes
... ...
@@ -6401,7 +6386,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6401 6401
         _LT_TAGVAR(inherit_rpath, $1)=yes
6402 6402
         ;;
6403 6403
 
6404
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6404
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)
6405 6405
         case $cc_basename in
6406 6406
           KCC*)
6407 6407
 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
... ...
@@ -493,7 +493,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
493 493
     # at 6.2 and later dlopen does load deplibs.
494 494
     lt_cv_sys_dlopen_deplibs=yes
495 495
     ;;
496
-  netbsd* | netbsdelf*-gnu)
496
+  netbsd*)
497 497
     lt_cv_sys_dlopen_deplibs=yes
498 498
     ;;
499 499
   openbsd*)
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -34,23 +33,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +99,8 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 bin_PROGRAMS = sigtool$(EXEEXT)
74 74
 subdir = sigtool
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76
+	$(top_srcdir)/config/depcomp
76 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
78 79
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -166,6 +194,19 @@ sigtool_LDADD = $(LDADD)
166 166
 AM_V_lt = $(am__v_lt_@AM_V@)
167 167
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
168 168
 am__v_lt_0 = --silent
169
+am__v_lt_1 = 
170
+AM_V_P = $(am__v_P_@AM_V@)
171
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
172
+am__v_P_0 = false
173
+am__v_P_1 = :
174
+AM_V_GEN = $(am__v_GEN_@AM_V@)
175
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
176
+am__v_GEN_0 = @echo "  GEN     " $@;
177
+am__v_GEN_1 = 
178
+AM_V_at = $(am__v_at_@AM_V@)
179
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
180
+am__v_at_0 = @
181
+am__v_at_1 = 
169 182
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
170 183
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
171 184
 am__depfiles_maybe = depfiles
... ...
@@ -178,20 +219,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
178 178
 	$(AM_CFLAGS) $(CFLAGS)
179 179
 AM_V_CC = $(am__v_CC_@AM_V@)
180 180
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
181
-am__v_CC_0 = @echo "  CC    " $@;
182
-AM_V_at = $(am__v_at_@AM_V@)
183
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
184
-am__v_at_0 = @
181
+am__v_CC_0 = @echo "  CC      " $@;
182
+am__v_CC_1 = 
185 183
 CCLD = $(CC)
186 184
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
187 185
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
188 186
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
189 187
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
190 188
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
191
-am__v_CCLD_0 = @echo "  CCLD  " $@;
192
-AM_V_GEN = $(am__v_GEN_@AM_V@)
193
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
194
-am__v_GEN_0 = @echo "  GEN   " $@;
189
+am__v_CCLD_0 = @echo "  CCLD    " $@;
190
+am__v_CCLD_1 = 
195 191
 SOURCES = $(sigtool_SOURCES)
196 192
 DIST_SOURCES = $(sigtool_SOURCES)
197 193
 am__can_run_installinfo = \
... ...
@@ -199,6 +236,23 @@ am__can_run_installinfo = \
199 199
     n|no|NO) false;; \
200 200
     *) (install-info --version) >/dev/null 2>&1;; \
201 201
   esac
202
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
203
+# Read a list of newline-separated strings from the standard input,
204
+# and print each of them once, without duplicates.  Input order is
205
+# *not* preserved.
206
+am__uniquify_input = $(AWK) '\
207
+  BEGIN { nonempty = 0; } \
208
+  { items[$$0] = 1; nonempty = 1; } \
209
+  END { if (nonempty) { for (i in items) print i; }; } \
210
+'
211
+# Make sure the list of sources is unique.  This is necessary because,
212
+# e.g., the same source file might be shared among _SOURCES variables
213
+# for different programs/libraries.
214
+am__define_uniq_tagged_files = \
215
+  list='$(am__tagged_files)'; \
216
+  unique=`for i in $$list; do \
217
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
218
+  done | $(am__uniquify_input)`
202 219
 ETAGS = etags
203 220
 CTAGS = ctags
204 221
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -486,10 +540,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
486 486
 	fi; \
487 487
 	for p in $$list; do echo "$$p $$p"; done | \
488 488
 	sed 's/$(EXEEXT)$$//' | \
489
-	while read p p1; do if test -f $$p || test -f $$p1; \
490
-	  then echo "$$p"; echo "$$p"; else :; fi; \
489
+	while read p p1; do if test -f $$p \
490
+	 || test -f $$p1 \
491
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
491 492
 	done | \
492
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
493
+	sed -e 'p;s,.*/,,;n;h' \
494
+	    -e 's|.*|.|' \
493 495
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
494 496
 	sed 'N;N;N;s,\n, ,g' | \
495 497
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -510,7 +566,8 @@ uninstall-binPROGRAMS:
510 510
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
511 511
 	files=`for p in $$list; do echo "$$p"; done | \
512 512
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
513
-	      -e 's/$$/$(EXEEXT)/' `; \
513
+	      -e 's/$$/$(EXEEXT)/' \
514
+	`; \
514 515
 	test -n "$$list" || exit 0; \
515 516
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
516 517
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -539,6 +596,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
539 539
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
540 540
 	  done; \
541 541
 	done; rm -f c$${pid}_.???; exit $$bad
542
+
542 543
 sigtool$(EXEEXT): $(sigtool_OBJECTS) $(sigtool_DEPENDENCIES) $(EXTRA_sigtool_DEPENDENCIES) 
543 544
 	@rm -f sigtool$(EXEEXT)
544 545
 	$(AM_V_CCLD)$(LINK) $(sigtool_OBJECTS) $(sigtool_LDADD) $(LIBS)
... ...
@@ -563,14 +621,14 @@ distclean-compile:
563 563
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
564 564
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
565 565
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
566
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
566
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
567 567
 
568 568
 .c.obj:
569 569
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
570 570
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
571 571
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
572 572
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
573
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
573
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
574 574
 
575 575
 .c.lo:
576 576
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -669,26 +727,15 @@ mostlyclean-libtool:
669 669
 clean-libtool:
670 670
 	-rm -rf .libs _libs
671 671
 
672
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
673
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
674
-	unique=`for i in $$list; do \
675
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
676
-	  done | \
677
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
678
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
679
-	mkid -fID $$unique
680
-tags: TAGS
681
-
682
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
683
-		$(TAGS_FILES) $(LISP)
672
+ID: $(am__tagged_files)
673
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
674
+tags: tags-am
675
+TAGS: tags
676
+
677
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
684 678
 	set x; \
685 679
 	here=`pwd`; \
686
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
687
-	unique=`for i in $$list; do \
688
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
689
-	  done | \
690
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
691
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
680
+	$(am__define_uniq_tagged_files); \
692 681
 	shift; \
693 682
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
694 683
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -700,15 +747,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
700 700
 	      $$unique; \
701 701
 	  fi; \
702 702
 	fi
703
-ctags: CTAGS
704
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
705
-		$(TAGS_FILES) $(LISP)
706
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
707
-	unique=`for i in $$list; do \
708
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
709
-	  done | \
710
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
711
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
703
+ctags: ctags-am
704
+
705
+CTAGS: ctags
706
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
707
+	$(am__define_uniq_tagged_files); \
712 708
 	test -z "$(CTAGS_ARGS)$$unique" \
713 709
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
714 710
 	     $$unique
... ...
@@ -717,6 +760,21 @@ GTAGS:
717 717
 	here=`$(am__cd) $(top_builddir) && pwd` \
718 718
 	  && $(am__cd) $(top_srcdir) \
719 719
 	  && gtags -i $(GTAGS_ARGS) "$$here"
720
+cscopelist: cscopelist-am
721
+
722
+cscopelist-am: $(am__tagged_files)
723
+	list='$(am__tagged_files)'; \
724
+	case "$(srcdir)" in \
725
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
726
+	  *) sdir=$(subdir)/$(srcdir) ;; \
727
+	esac; \
728
+	for i in $$list; do \
729
+	  if test -f "$$i"; then \
730
+	    echo "$(subdir)/$$i"; \
731
+	  else \
732
+	    echo "$$sdir/$$i"; \
733
+	  fi; \
734
+	done >> $(top_builddir)/cscope.files
720 735
 
721 736
 distclean-tags:
722 737
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
... ...
@@ -861,19 +919,20 @@ uninstall-am: uninstall-binPROGRAMS
861 861
 
862 862
 .MAKE: install-am install-strip
863 863
 
864
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
865
-	clean-generic clean-libtool ctags distclean distclean-compile \
866
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
867
-	dvi-am html html-am info info-am install install-am \
868
-	install-binPROGRAMS install-data install-data-am install-dvi \
869
-	install-dvi-am install-exec install-exec-am install-html \
870
-	install-html-am install-info install-info-am install-man \
871
-	install-pdf install-pdf-am install-ps install-ps-am \
872
-	install-strip installcheck installcheck-am \
873
-	installcheck-binPROGRAMS installdirs maintainer-clean \
874
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
875
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
876
-	tags uninstall uninstall-am uninstall-binPROGRAMS
864
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
865
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
866
+	ctags ctags-am distclean distclean-compile distclean-generic \
867
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
868
+	html-am info info-am install install-am install-binPROGRAMS \
869
+	install-data install-data-am install-dvi install-dvi-am \
870
+	install-exec install-exec-am install-html install-html-am \
871
+	install-info install-info-am install-man install-pdf \
872
+	install-pdf-am install-ps install-ps-am install-strip \
873
+	installcheck installcheck-am installcheck-binPROGRAMS \
874
+	installdirs maintainer-clean maintainer-clean-generic \
875
+	mostlyclean mostlyclean-compile mostlyclean-generic \
876
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
877
+	uninstall-am uninstall-binPROGRAMS
877 878
 
878 879
 
879 880
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -15,23 +14,51 @@
15 15
 
16 16
 @SET_MAKE@
17 17
 VPATH = @srcdir@
18
-am__make_dryrun = \
19
-  { \
20
-    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 \
21 31
     case $$MAKEFLAGS in \
22 32
       *\\[\ \	]*) \
23
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
24
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25
-      *) \
26
-        for am__flg in $$MAKEFLAGS; do \
27
-          case $$am__flg in \
28
-            *=*|--*) ;; \
29
-            *n*) am__dry=yes; break;; \
30
-          esac; \
31
-        done;; \
33
+        bs=\\; \
34
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
36
+    esac; \
37
+  fi; \
38
+  skip_next=no; \
39
+  strip_trailopt () \
40
+  { \
41
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42
+  }; \
43
+  for flg in $$sane_makeflags; do \
44
+    test $$skip_next = yes && { skip_next=no; continue; }; \
45
+    case $$flg in \
46
+      *=*|--*) continue;; \
47
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
48
+      -*I?*) strip_trailopt 'I';; \
49
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
50
+      -*O?*) strip_trailopt 'O';; \
51
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
52
+      -*l?*) strip_trailopt 'l';; \
53
+      -[dEDm]) skip_next=yes;; \
54
+      -[JT]) skip_next=yes;; \
55
+    esac; \
56
+    case $$flg in \
57
+      *$$target_option*) has_opt=yes; break;; \
32 58
     esac; \
33
-    test $$am__dry = yes; \
34
-  }
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))
35 63
 pkgdatadir = $(datadir)/@PACKAGE@
36 64
 pkgincludedir = $(includedir)/@PACKAGE@
37 65
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -54,7 +81,7 @@ target_triplet = @target@
54 54
 @ENABLE_UNRAR_TRUE@am__append_1 = clam-v2.rar clam-v3.rar
55 55
 @HAVE_LIBBZ2_TRUE@am__append_2 = clam.exe.bz2 clam.bz2.zip
56 56
 subdir = test
57
-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am README
58 58
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 59
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
60 60
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -138,12 +165,18 @@ mkinstalldirs = $(install_sh) -d
138 138
 CONFIG_HEADER = $(top_builddir)/clamav-config.h
139 139
 CONFIG_CLEAN_FILES =
140 140
 CONFIG_CLEAN_VPATH_FILES =
141
+AM_V_P = $(am__v_P_@AM_V@)
142
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
143
+am__v_P_0 = false
144
+am__v_P_1 = :
141 145
 AM_V_GEN = $(am__v_GEN_@AM_V@)
142 146
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
143
-am__v_GEN_0 = @echo "  GEN   " $@;
147
+am__v_GEN_0 = @echo "  GEN     " $@;
148
+am__v_GEN_1 = 
144 149
 AM_V_at = $(am__v_at_@AM_V@)
145 150
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
146 151
 am__v_at_0 = @
152
+am__v_at_1 = 
147 153
 SOURCES =
148 154
 DIST_SOURCES =
149 155
 am__can_run_installinfo = \
... ...
@@ -151,6 +184,7 @@ am__can_run_installinfo = \
151 151
     n|no|NO) false;; \
152 152
     *) (install-info --version) >/dev/null 2>&1;; \
153 153
   esac
154
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
154 155
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
155 156
 ACLOCAL = @ACLOCAL@
156 157
 AMTAR = @AMTAR@
... ...
@@ -428,11 +462,11 @@ mostlyclean-libtool:
428 428
 
429 429
 clean-libtool:
430 430
 	-rm -rf .libs _libs
431
-tags: TAGS
432
-TAGS:
431
+tags TAGS:
432
+
433
+ctags CTAGS:
433 434
 
434
-ctags: CTAGS
435
-CTAGS:
435
+cscope cscopelist:
436 436
 
437 437
 
438 438
 distdir: $(DISTFILES)
... ...
@@ -568,16 +602,16 @@ uninstall-am:
568 568
 .MAKE: install-am install-strip
569 569
 
570 570
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
571
-	clean-local distclean distclean-generic distclean-libtool \
572
-	distdir dvi dvi-am html html-am info info-am install \
573
-	install-am install-data install-data-am install-dvi \
571
+	clean-local cscopelist-am ctags-am distclean distclean-generic \
572
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
573
+	install install-am install-data install-data-am install-dvi \
574 574
 	install-dvi-am install-exec install-exec-am install-html \
575 575
 	install-html-am install-info install-info-am install-man \
576 576
 	install-pdf install-pdf-am install-ps install-ps-am \
577 577
 	install-strip installcheck installcheck-am installdirs \
578 578
 	maintainer-clean maintainer-clean-generic mostlyclean \
579 579
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
580
-	uninstall uninstall-am
580
+	tags-am uninstall uninstall-am
581 581
 
582 582
 
583 583
 all: $(FILES)
... ...
@@ -1,9 +1,8 @@
1
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14.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-2013 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.
... ...
@@ -15,23 +14,51 @@
15 15
 
16 16
 @SET_MAKE@
17 17
 VPATH = @srcdir@
18
-am__make_dryrun = \
19
-  { \
20
-    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 \
21 31
     case $$MAKEFLAGS in \
22 32
       *\\[\ \	]*) \
23
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
24
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25
-      *) \
26
-        for am__flg in $$MAKEFLAGS; do \
27
-          case $$am__flg in \
28
-            *=*|--*) ;; \
29
-            *n*) am__dry=yes; break;; \
30
-          esac; \
31
-        done;; \
33
+        bs=\\; \
34
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
32 36
     esac; \
33
-    test $$am__dry = yes; \
34
-  }
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))
35 63
 pkgdatadir = $(datadir)/@PACKAGE@
36 64
 pkgincludedir = $(includedir)/@PACKAGE@
37 65
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -55,7 +82,8 @@ target_triplet = @target@
55 55
 TESTS = $(am__EXEEXT_1) $(scripts)
56 56
 check_PROGRAMS = $(am__EXEEXT_1) check_clamd$(EXEEXT) $(am__EXEEXT_2)
57 57
 subdir = unit_tests
58
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
58
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
59
+	$(top_srcdir)/config/depcomp $(top_srcdir)/config/test-driver
59 60
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 61
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
61 62
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -164,6 +192,7 @@ check_clamav_OBJECTS = $(am_check_clamav_OBJECTS)
164 164
 AM_V_lt = $(am__v_lt_@AM_V@)
165 165
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
166 166
 am__v_lt_0 = --silent
167
+am__v_lt_1 = 
167 168
 check_clamav_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
168 169
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_clamav_CFLAGS) \
169 170
 	$(CFLAGS) $(check_clamav_LDFLAGS) $(LDFLAGS) -o $@
... ...
@@ -180,6 +209,18 @@ am_check_fpu_endian_OBJECTS =  \
180 180
 check_fpu_endian_OBJECTS = $(am_check_fpu_endian_OBJECTS)
181 181
 check_fpu_endian_DEPENDENCIES =  \
182 182
 	$(top_builddir)/libclamav/libclamav.la
183
+AM_V_P = $(am__v_P_@AM_V@)
184
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
185
+am__v_P_0 = false
186
+am__v_P_1 = :
187
+AM_V_GEN = $(am__v_GEN_@AM_V@)
188
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
189
+am__v_GEN_0 = @echo "  GEN     " $@;
190
+am__v_GEN_1 = 
191
+AM_V_at = $(am__v_at_@AM_V@)
192
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
193
+am__v_at_0 = @
194
+am__v_at_1 = 
183 195
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
184 196
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
185 197
 am__depfiles_maybe = depfiles
... ...
@@ -192,20 +233,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
192 192
 	$(AM_CFLAGS) $(CFLAGS)
193 193
 AM_V_CC = $(am__v_CC_@AM_V@)
194 194
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
195
-am__v_CC_0 = @echo "  CC    " $@;
196
-AM_V_at = $(am__v_at_@AM_V@)
197
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
198
-am__v_at_0 = @
195
+am__v_CC_0 = @echo "  CC      " $@;
196
+am__v_CC_1 = 
199 197
 CCLD = $(CC)
200 198
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
201 199
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
202 200
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
203 201
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
204 202
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
205
-am__v_CCLD_0 = @echo "  CCLD  " $@;
206
-AM_V_GEN = $(am__v_GEN_@AM_V@)
207
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
208
-am__v_GEN_0 = @echo "  GEN   " $@;
203
+am__v_CCLD_0 = @echo "  CCLD    " $@;
204
+am__v_CCLD_1 = 
209 205
 SOURCES = $(check_clamav_SOURCES) $(check_clamd_SOURCES) \
210 206
 	$(check_fpu_endian_SOURCES)
211 207
 DIST_SOURCES = $(am__check_clamav_SOURCES_DIST) \
... ...
@@ -215,22 +252,46 @@ am__can_run_installinfo = \
215 215
     n|no|NO) false;; \
216 216
     *) (install-info --version) >/dev/null 2>&1;; \
217 217
   esac
218
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
219
+# Read a list of newline-separated strings from the standard input,
220
+# and print each of them once, without duplicates.  Input order is
221
+# *not* preserved.
222
+am__uniquify_input = $(AWK) '\
223
+  BEGIN { nonempty = 0; } \
224
+  { items[$$0] = 1; nonempty = 1; } \
225
+  END { if (nonempty) { for (i in items) print i; }; } \
226
+'
227
+# Make sure the list of sources is unique.  This is necessary because,
228
+# e.g., the same source file might be shared among _SOURCES variables
229
+# for different programs/libraries.
230
+am__define_uniq_tagged_files = \
231
+  list='$(am__tagged_files)'; \
232
+  unique=`for i in $$list; do \
233
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
234
+  done | $(am__uniquify_input)`
218 235
 ETAGS = etags
219 236
 CTAGS = ctags
220
-# If stdout is a non-dumb tty, use colors.  If test -t is not supported,
221
-# then this fails; a conservative approach.  Of course do not redirect
222
-# stdout here, just stderr.
223
-am__tty_colors = \
224
-red=; grn=; lgn=; blu=; std=; \
225
-test "X$(AM_COLOR_TESTS)" != Xno \
226
-&& test "X$$TERM" != Xdumb \
227
-&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
228
-&& { \
229
-  red=''; \
230
-  grn=''; \
231
-  lgn=''; \
232
-  blu=''; \
233
-  std=''; \
237
+am__tty_colors_dummy = \
238
+  mgn= red= grn= lgn= blu= brg= std=; \
239
+  am__color_tests=no
240
+am__tty_colors = { \
241
+  $(am__tty_colors_dummy); \
242
+  if test "X$(AM_COLOR_TESTS)" = Xno; then \
243
+    am__color_tests=no; \
244
+  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
245
+    am__color_tests=yes; \
246
+  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
247
+    am__color_tests=yes; \
248
+  fi; \
249
+  if test $$am__color_tests = yes; then \
250
+    red=''; \
251
+    grn=''; \
252
+    lgn=''; \
253
+    blu=''; \
254
+    mgn=''; \
255
+    brg=''; \
256
+    std=''; \
257
+  fi; \
234 258
 }
235 259
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
236 260
 am__vpath_adj = case $$p in \
... ...
@@ -259,91 +320,161 @@ am__uninstall_files_from_dir = { \
259 259
     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
260 260
          $(am__cd) "$$dir" && rm -f $$files; }; \
261 261
   }
262
-# Restructured Text title and section.
263
-am__rst_title = sed 's/.*/   &   /;h;s/./=/g;p;x;p;g;p;s/.*//'
264
-am__rst_section = sed 'p;s/./=/g;p;g'
265
-# Put stdin (possibly several lines separated by ".  ") in a box.
266
-# Prefix each line by 'col' and terminate each with 'std', for coloring.
267
-# Multi line coloring is problematic with "less -R", so we really need
268
-# to color each line individually.
269
-am__text_box = $(AWK) '{			\
270
-  n = split($$0, lines, "\\.  "); max = 0;	\
271
-  for (i = 1; i <= n; ++i)			\
272
-    if (max < length(lines[i]))			\
273
-      max = length(lines[i]);			\
274
-  for (i = 0; i < max; ++i)			\
275
-    line = line "=";				\
276
-  print col line std;				\
277
-  for (i = 1; i <= n; ++i)			\
278
-    if (lines[i])				\
279
-      print col lines[i] std;			\
280
-  print col line std;				\
262
+am__recheck_rx = ^[ 	]*:recheck:[ 	]*
263
+am__global_test_result_rx = ^[ 	]*:global-test-result:[ 	]*
264
+am__copy_in_global_log_rx = ^[ 	]*:copy-in-global-log:[ 	]*
265
+# A command that, given a newline-separated list of test names on the
266
+# standard input, print the name of the tests that are to be re-run
267
+# upon "make recheck".
268
+am__list_recheck_tests = $(AWK) '{ \
269
+  recheck = 1; \
270
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
271
+    { \
272
+      if (rc < 0) \
273
+        { \
274
+          if ((getline line2 < ($$0 ".log")) < 0) \
275
+	    recheck = 0; \
276
+          break; \
277
+        } \
278
+      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
279
+        { \
280
+          recheck = 0; \
281
+          break; \
282
+        } \
283
+      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
284
+        { \
285
+          break; \
286
+        } \
287
+    }; \
288
+  if (recheck) \
289
+    print $$0; \
290
+  close ($$0 ".trs"); \
291
+  close ($$0 ".log"); \
292
+}'
293
+# A command that, given a newline-separated list of test names on the
294
+# standard input, create the global log from their .trs and .log files.
295
+am__create_global_log = $(AWK) ' \
296
+function fatal(msg) \
297
+{ \
298
+  print "fatal: making $@: " msg | "cat >&2"; \
299
+  exit 1; \
300
+} \
301
+function rst_section(header) \
302
+{ \
303
+  print header; \
304
+  len = length(header); \
305
+  for (i = 1; i <= len; i = i + 1) \
306
+    printf "="; \
307
+  printf "\n\n"; \
308
+} \
309
+{ \
310
+  copy_in_global_log = 1; \
311
+  global_test_result = "RUN"; \
312
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
313
+    { \
314
+      if (rc < 0) \
315
+         fatal("failed to read from " $$0 ".trs"); \
316
+      if (line ~ /$(am__global_test_result_rx)/) \
317
+        { \
318
+          sub("$(am__global_test_result_rx)", "", line); \
319
+          sub("[ 	]*$$", "", line); \
320
+          global_test_result = line; \
321
+        } \
322
+      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
323
+        copy_in_global_log = 0; \
324
+    }; \
325
+  if (copy_in_global_log) \
326
+    { \
327
+      rst_section(global_test_result ": " $$0); \
328
+      while ((rc = (getline line < ($$0 ".log"))) != 0) \
329
+      { \
330
+        if (rc < 0) \
331
+          fatal("failed to read from " $$0 ".log"); \
332
+        print line; \
333
+      }; \
334
+      printf "\n"; \
335
+    }; \
336
+  close ($$0 ".trs"); \
337
+  close ($$0 ".log"); \
281 338
 }'
339
+# Restructured Text title.
340
+am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
282 341
 # Solaris 10 'make', and several other traditional 'make' implementations,
283 342
 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
284 343
 # by disabling -e (using the XSI extension "set +e") if it's set.
285 344
 am__sh_e_setup = case $$- in *e*) set +e;; esac
345
+# Default flags passed to test drivers.
346
+am__common_driver_flags = \
347
+  --color-tests "$$am__color_tests" \
348
+  --enable-hard-errors "$$am__enable_hard_errors" \
349
+  --expect-failure "$$am__expect_failure"
286 350
 # To be inserted before the command running the test.  Creates the
287 351
 # directory for the log if needed.  Stores in $dir the directory
288
-# containing $f, in $tst the test, in $log the log, and passes
289
-# TESTS_ENVIRONMENT.  Save and restore TERM around use of
290
-# TESTS_ENVIRONMENT, in case that unsets it.
352
+# containing $f, in $tst the test, in $log the log.  Executes the
353
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
354
+# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
355
+# will run the test scripts (or their associated LOG_COMPILER, if
356
+# thy have one).
291 357
 am__check_pre = \
292 358
 $(am__sh_e_setup);					\
293 359
 $(am__vpath_adj_setup) $(am__vpath_adj)			\
360
+$(am__tty_colors);					\
294 361
 srcdir=$(srcdir); export srcdir;			\
295
-rm -f $@-t;						\
296
-am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
297
-trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2;	\
298
-trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
299
-am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;		\
300
-test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?;	\
362
+case "$@" in						\
363
+  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;	\
364
+    *) am__odir=.;; 					\
365
+esac;							\
366
+test "x$$am__odir" = x"." || test -d "$$am__odir" 	\
367
+  || $(MKDIR_P) "$$am__odir" || exit $$?;		\
301 368
 if test -f "./$$f"; then dir=./;			\
302 369
 elif test -f "$$f"; then dir=;				\
303 370
 else dir="$(srcdir)/"; fi;				\
304
-tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM;		\
305
-$(TESTS_ENVIRONMENT)
306
-# To be appended to the command running the test.  Handle the stdout
307
-# and stderr redirection, and catch the exit status.
308
-am__check_post = \
309
->$@-t 2>&1;						\
310
-estatus=$$?;						\
311
-if test -n '$(DISABLE_HARD_ERRORS)'			\
312
-   && test $$estatus -eq 99; then			\
313
-  estatus=1;						\
314
-fi;							\
315
-TERM=$$__SAVED_TERM; export TERM;			\
316
-$(am__tty_colors);					\
317
-xfailed=PASS;						\
371
+tst=$$dir$$f; log='$@'; 				\
372
+if test -n '$(DISABLE_HARD_ERRORS)'; then		\
373
+  am__enable_hard_errors=no; 				\
374
+else							\
375
+  am__enable_hard_errors=yes; 				\
376
+fi; 							\
318 377
 case " $(XFAIL_TESTS) " in				\
319 378
   *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
320
-    xfailed=XFAIL;;					\
321
-esac;							\
322
-case $$estatus.$$xfailed in				\
323
-    0.XFAIL) col=$$red; res=XPASS;;			\
324
-    0.*)     col=$$grn; res=PASS ;;			\
325
-    77.*)    col=$$blu; res=SKIP ;;			\
326
-    99.*)    col=$$red; res=FAIL ;;			\
327
-    *.XFAIL) col=$$lgn; res=XFAIL;;			\
328
-    *.*)     col=$$red; res=FAIL ;;			\
329
-esac;							\
330
-echo "$${col}$$res$${std}: $$f";			\
331
-echo "$$res: $$f (exit: $$estatus)" |			\
332
-  $(am__rst_section) >$@;				\
333
-cat $@-t >>$@;						\
334
-rm -f $@-t
379
+    am__expect_failure=yes;;				\
380
+  *)							\
381
+    am__expect_failure=no;;				\
382
+esac; 							\
383
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
384
+# A shell command to get the names of the tests scripts with any registered
385
+# extension removed (i.e., equivalently, the names of the test logs, with
386
+# the '.log' extension removed).  The result is saved in the shell variable
387
+# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
388
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
389
+# since that might cause problem with VPATH rewrites for suffix-less tests.
390
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
391
+am__set_TESTS_bases = \
392
+  bases='$(TEST_LOGS)'; \
393
+  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
394
+  bases=`echo $$bases`
335 395
 RECHECK_LOGS = $(TEST_LOGS)
336
-AM_RECURSIVE_TARGETS = check recheck check-html recheck-html
337
-TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
396
+AM_RECURSIVE_TARGETS = check recheck
338 397
 TEST_SUITE_LOG = test-suite.log
339 398
 TEST_EXTENSIONS = @EXEEXT@ .test
399
+LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
340 400
 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
401
+am__set_b = \
402
+  case '$@' in \
403
+    */*) \
404
+      case '$*' in \
405
+        */*) b='$*';; \
406
+          *) b=`echo '$@' | sed 's/\.log$$//'`; \
407
+       esac;; \
408
+    *) \
409
+      b='$*';; \
410
+  esac
341 411
 am__test_logs1 = $(TESTS:=.log)
342 412
 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
343 413
 TEST_LOGS = $(am__test_logs2:.test.log=.log)
414
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
344 415
 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
345 416
 	$(TEST_LOG_FLAGS)
346
-TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
347 417
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
348 418
 ACLOCAL = @ACLOCAL@
349 419
 AMTAR = @AMTAR@
... ...
@@ -605,7 +736,7 @@ EXTRA_DIST = .split $(srcdir)/*.ref input test-freshclam.conf valgrind.supp viru
605 605
 all: all-am
606 606
 
607 607
 .SUFFIXES:
608
-.SUFFIXES: .c .html .lo .log .o .obj .test .test$(EXEEXT)
608
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
609 609
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
610 610
 	@for dep in $?; do \
611 611
 	  case '$(am__configure_deps)' in \
... ...
@@ -645,12 +776,15 @@ clean-checkPROGRAMS:
645 645
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
646 646
 	echo " rm -f" $$list; \
647 647
 	rm -f $$list
648
+
648 649
 check_clamav$(EXEEXT): $(check_clamav_OBJECTS) $(check_clamav_DEPENDENCIES) $(EXTRA_check_clamav_DEPENDENCIES) 
649 650
 	@rm -f check_clamav$(EXEEXT)
650 651
 	$(AM_V_CCLD)$(check_clamav_LINK) $(check_clamav_OBJECTS) $(check_clamav_LDADD) $(LIBS)
652
+
651 653
 check_clamd$(EXEEXT): $(check_clamd_OBJECTS) $(check_clamd_DEPENDENCIES) $(EXTRA_check_clamd_DEPENDENCIES) 
652 654
 	@rm -f check_clamd$(EXEEXT)
653 655
 	$(AM_V_CCLD)$(LINK) $(check_clamd_OBJECTS) $(check_clamd_LDADD) $(LIBS)
656
+
654 657
 check_fpu_endian$(EXEEXT): $(check_fpu_endian_OBJECTS) $(check_fpu_endian_DEPENDENCIES) $(EXTRA_check_fpu_endian_DEPENDENCIES) 
655 658
 	@rm -f check_fpu_endian$(EXEEXT)
656 659
 	$(AM_V_CCLD)$(LINK) $(check_fpu_endian_OBJECTS) $(check_fpu_endian_LDADD) $(LIBS)
... ...
@@ -680,14 +814,14 @@ distclean-compile:
680 680
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
681 681
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
682 682
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
683
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
683
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
684 684
 
685 685
 .c.obj:
686 686
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
687 687
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
688 688
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
689 689
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
690
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
690
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
691 691
 
692 692
 .c.lo:
693 693
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -884,26 +1018,15 @@ mostlyclean-libtool:
884 884
 clean-libtool:
885 885
 	-rm -rf .libs _libs
886 886
 
887
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
888
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
889
-	unique=`for i in $$list; do \
890
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
891
-	  done | \
892
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
893
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
894
-	mkid -fID $$unique
895
-tags: TAGS
896
-
897
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
898
-		$(TAGS_FILES) $(LISP)
887
+ID: $(am__tagged_files)
888
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
889
+tags: tags-am
890
+TAGS: tags
891
+
892
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
899 893
 	set x; \
900 894
 	here=`pwd`; \
901
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
902
-	unique=`for i in $$list; do \
903
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
904
-	  done | \
905
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
906
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
895
+	$(am__define_uniq_tagged_files); \
907 896
 	shift; \
908 897
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
909 898
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -915,15 +1038,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
915 915
 	      $$unique; \
916 916
 	  fi; \
917 917
 	fi
918
-ctags: CTAGS
919
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
920
-		$(TAGS_FILES) $(LISP)
921
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
922
-	unique=`for i in $$list; do \
923
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
924
-	  done | \
925
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
926
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
918
+ctags: ctags-am
919
+
920
+CTAGS: ctags
921
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
922
+	$(am__define_uniq_tagged_files); \
927 923
 	test -z "$(CTAGS_ARGS)$$unique" \
928 924
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
929 925
 	     $$unique
... ...
@@ -932,166 +1051,271 @@ GTAGS:
932 932
 	here=`$(am__cd) $(top_builddir) && pwd` \
933 933
 	  && $(am__cd) $(top_srcdir) \
934 934
 	  && gtags -i $(GTAGS_ARGS) "$$here"
935
+cscopelist: cscopelist-am
936
+
937
+cscopelist-am: $(am__tagged_files)
938
+	list='$(am__tagged_files)'; \
939
+	case "$(srcdir)" in \
940
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
941
+	  *) sdir=$(subdir)/$(srcdir) ;; \
942
+	esac; \
943
+	for i in $$list; do \
944
+	  if test -f "$$i"; then \
945
+	    echo "$(subdir)/$$i"; \
946
+	  else \
947
+	    echo "$$sdir/$$i"; \
948
+	  fi; \
949
+	done >> $(top_builddir)/cscope.files
935 950
 
936 951
 distclean-tags:
937 952
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
938 953
 
954
+# Recover from deleted '.trs' file; this should ensure that
955
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
956
+# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
957
+# to avoid problems with "make -n".
958
+.log.trs:
959
+	rm -f $< $@
960
+	$(MAKE) $(AM_MAKEFLAGS) $<
961
+
962
+# Leading 'am--fnord' is there to ensure the list of targets does not
963
+# expand to empty, as could happen e.g. with make check TESTS=''.
964
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
965
+am--force-recheck:
966
+	@:
967
+
939 968
 $(TEST_SUITE_LOG): $(TEST_LOGS)
940
-	@$(am__sh_e_setup);						\
941
-	list='$(TEST_LOGS)';						\
942
-	results=`for f in $$list; do					\
943
-		   test -r $$f && read line < $$f && echo "$$line"	\
944
-		     || echo FAIL;					\
945
-		 done`;							\
946
-	all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[	 ]*//'`; \
947
-	fail=`echo "$$results" | grep -c '^FAIL'`;			\
948
-	pass=`echo "$$results" | grep -c '^PASS'`;			\
949
-	skip=`echo "$$results" | grep -c '^SKIP'`;			\
950
-	xfail=`echo "$$results" | grep -c '^XFAIL'`;			\
951
-	xpass=`echo "$$results" | grep -c '^XPASS'`;			\
952
-	failures=`expr $$fail + $$xpass`;				\
953
-	all=`expr $$all - $$skip`;					\
954
-	if test "$$all" -eq 1; then tests=test; All=;			\
955
-	else tests=tests; All="All "; fi;				\
956
-	case fail=$$fail:xpass=$$xpass:xfail=$$xfail in			\
957
-	  fail=0:xpass=0:xfail=0)					\
958
-	    msg="$$All$$all $$tests passed.  ";				\
959
-	    exit=true;;							\
960
-	  fail=0:xpass=0:xfail=*)					\
961
-	    msg="$$All$$all $$tests behaved as expected";		\
962
-	    if test "$$xfail" -eq 1; then xfailures=failure;		\
963
-	    else xfailures=failures; fi;				\
964
-	    msg="$$msg ($$xfail expected $$xfailures).  ";		\
965
-	    exit=true;;							\
966
-	  fail=*:xpass=0:xfail=*)					\
967
-	    msg="$$fail of $$all $$tests failed.  ";			\
968
-	    exit=false;;						\
969
-	  fail=*:xpass=*:xfail=*)					\
970
-	    msg="$$failures of $$all $$tests did not behave as expected"; \
971
-	    if test "$$xpass" -eq 1; then xpasses=pass;			\
972
-	    else xpasses=passes; fi;					\
973
-	    msg="$$msg ($$xpass unexpected $$xpasses).  ";		\
974
-	    exit=false;;						\
975
-	  *)								\
976
-	    echo >&2 "incorrect case"; exit 4;;				\
977
-	esac;								\
978
-	if test "$$skip" -ne 0; then					\
979
-	  if test "$$skip" -eq 1; then					\
980
-	    msg="$$msg($$skip test was not run).  ";			\
981
-	  else								\
982
-	    msg="$$msg($$skip tests were not run).  ";			\
983
-	  fi;								\
984
-	fi;								\
969
+	@$(am__set_TESTS_bases); \
970
+	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
971
+	redo_bases=`for i in $$bases; do \
972
+	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
973
+	            done`; \
974
+	if test -n "$$redo_bases"; then \
975
+	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
976
+	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
977
+	  if $(am__make_dryrun); then :; else \
978
+	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
979
+	  fi; \
980
+	fi; \
981
+	if test -n "$$am__remaking_logs"; then \
982
+	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
983
+	       "recursion detected" >&2; \
984
+	else \
985
+	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
986
+	fi; \
987
+	if $(am__make_dryrun); then :; else \
988
+	  st=0;  \
989
+	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
990
+	  for i in $$redo_bases; do \
991
+	    test -f $$i.trs && test -r $$i.trs \
992
+	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
993
+	    test -f $$i.log && test -r $$i.log \
994
+	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
995
+	  done; \
996
+	  test $$st -eq 0 || exit 1; \
997
+	fi
998
+	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
999
+	ws='[ 	]'; \
1000
+	results=`for b in $$bases; do echo $$b.trs; done`; \
1001
+	test -n "$$results" || results=/dev/null; \
1002
+	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
1003
+	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
1004
+	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
1005
+	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
1006
+	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1007
+	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1008
+	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1009
+	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1010
+	  success=true; \
1011
+	else \
1012
+	  success=false; \
1013
+	fi; \
1014
+	br='==================='; br=$$br$$br$$br$$br; \
1015
+	result_count () \
1016
+	{ \
1017
+	    if test x"$$1" = x"--maybe-color"; then \
1018
+	      maybe_colorize=yes; \
1019
+	    elif test x"$$1" = x"--no-color"; then \
1020
+	      maybe_colorize=no; \
1021
+	    else \
1022
+	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1023
+	    fi; \
1024
+	    shift; \
1025
+	    desc=$$1 count=$$2; \
1026
+	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
1027
+	      color_start=$$3 color_end=$$std; \
1028
+	    else \
1029
+	      color_start= color_end=; \
1030
+	    fi; \
1031
+	    echo "$${color_start}# $$desc $$count$${color_end}"; \
1032
+	}; \
1033
+	create_testsuite_report () \
1034
+	{ \
1035
+	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
1036
+	  result_count $$1 "PASS: " $$pass  "$$grn"; \
1037
+	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
1038
+	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1039
+	  result_count $$1 "FAIL: " $$fail  "$$red"; \
1040
+	  result_count $$1 "XPASS:" $$xpass "$$red"; \
1041
+	  result_count $$1 "ERROR:" $$error "$$mgn"; \
1042
+	}; \
985 1043
 	{								\
986 1044
 	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
987 1045
 	    $(am__rst_title);						\
988
-	  echo "$$msg";							\
1046
+	  create_testsuite_report --no-color;				\
989 1047
 	  echo;								\
990 1048
 	  echo ".. contents:: :depth: 2";				\
991 1049
 	  echo;								\
992
-	  for f in $$list; do						\
993
-	    test -r $$f && read line < $$f || line=;			\
994
-	    case $$line in						\
995
-	      PASS:*|XFAIL:*);;						\
996
-	      *) echo; cat $$f;;					\
997
-	    esac;							\
998
-	  done;								\
999
-	} >$(TEST_SUITE_LOG).tmp;					\
1050
+	  for b in $$bases; do echo $$b; done				\
1051
+	    | $(am__create_global_log);					\
1052
+	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
1000 1053
 	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
1001
-	if test "$$failures" -ne 0; then				\
1002
-	  msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG).  ";		\
1003
-	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
1004
-	    msg="$${msg}Please report to $(PACKAGE_BUGREPORT).  ";	\
1005
-	  fi;								\
1006
-	fi;								\
1007
-	test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG);	\
1008
-	$(am__tty_colors);						\
1009
-	if $$exit; then							\
1054
+	if $$success; then						\
1010 1055
 	  col="$$grn";							\
1011 1056
 	 else								\
1012 1057
 	  col="$$red";							\
1058
+	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
1013 1059
 	fi;								\
1014
-	echo "$$msg" | $(am__text_box) "col=$$col" "std=$$std";		\
1015
-	$$exit || exit 1
1016
-
1017
-check-TESTS recheck:
1018
-	@if test $@ != recheck; then \
1019
-	   list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list; \
1020
-	 fi
1021
-	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1022
-	@list='' list2='$(TEST_LOGS)'; for f in $$list2; do \
1023
-	  test .log = $$f && continue; \
1024
-	  if test $@ = recheck; then \
1025
-	    test -f $$f || continue; \
1026
-	    if test -r $$f && read line < $$f; then \
1027
-	      case $$line in FAIL*|XPASS*) : ;; *) continue;; esac; \
1028
-	    fi; \
1029
-	  fi; \
1030
-	  if test -z "$$list"; then list=$$f; else list="$$list $$f"; fi; \
1031
-	done; \
1032
-	if test $@ = recheck && test -n "$$list"; then \
1033
-	  $(am__make_dryrun) || rm -f $$list || exit 1; \
1034
-	fi; \
1035
-	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
1036
-recheck: $(check_PROGRAMS) $(check_SCRIPTS)
1037
-
1038
-am--mostlyclean-test-html:
1039
-	list='$(TEST_LOGS:.log=.html)'; test -z "$$list" || rm -f $$list
1040
-	rm -f $(TEST_SUITE_HTML)
1041
-
1042
-.log.html:
1043
-	@list='$(RST2HTML) $$RST2HTML rst2html rst2html.py';		\
1044
-	for r2h in $$list; do						\
1045
-	  if ($$r2h --version) >/dev/null 2>&1; then			\
1046
-	    R2H=$$r2h;							\
1060
+	echo "$${col}$$br$${std}"; 					\
1061
+	echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";	\
1062
+	echo "$${col}$$br$${std}"; 					\
1063
+	create_testsuite_report --maybe-color;				\
1064
+	echo "$$col$$br$$std";						\
1065
+	if $$success; then :; else					\
1066
+	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
1067
+	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
1068
+	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
1047 1069
 	  fi;								\
1048
-	done;								\
1049
-	if test -z "$$R2H"; then					\
1050
-	  echo >&2 "cannot find rst2html, cannot create $@";		\
1051
-	  exit 2;							\
1070
+	  echo "$$col$$br$$std";					\
1052 1071
 	fi;								\
1053
-	$$R2H $< >$@.tmp
1054
-	@mv $@.tmp $@
1055
-
1056
-# Be sure to run check first, and then to convert the result.
1057
-# Beware of concurrent executions.  Run "check" not "check-TESTS", as
1058
-# check-SCRIPTS and other dependencies are rebuilt by the former only.
1059
-# And expect check to fail.
1060
-check-html recheck-html:
1061
-	@target=`echo $@ | sed 's/-html$$//'`; \
1062
-	rv=0; $(MAKE) $(AM_MAKEFLAGS) $$target || rv=$$?; \
1063
-	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) TEST_LOGS= || exit 4; \
1064
-	exit $$rv
1072
+	$$success || exit 1
1073
+
1074
+check-TESTS:
1075
+	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
1076
+	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1077
+	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1078
+	@set +e; $(am__set_TESTS_bases); \
1079
+	log_list=`for i in $$bases; do echo $$i.log; done`; \
1080
+	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1081
+	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1082
+	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1083
+	exit $$?;
1084
+recheck: all $(check_PROGRAMS) $(check_SCRIPTS)
1085
+	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1086
+	@set +e; $(am__set_TESTS_bases); \
1087
+	bases=`for i in $$bases; do echo $$i; done \
1088
+	         | $(am__list_recheck_tests)` || exit 1; \
1089
+	log_list=`for i in $$bases; do echo $$i.log; done`; \
1090
+	log_list=`echo $$log_list`; \
1091
+	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1092
+	        am__force_recheck=am--force-recheck \
1093
+	        TEST_LOGS="$$log_list"; \
1094
+	exit $$?
1065 1095
 check_clamav.log: check_clamav$(EXEEXT)
1066
-	@p='check_clamav$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1096
+	@p='check_clamav$(EXEEXT)'; \
1097
+	b='check_clamav'; \
1098
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1099
+	--log-file $$b.log --trs-file $$b.trs \
1100
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1101
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1067 1102
 check_freshclam.sh.log: check_freshclam.sh
1068
-	@p='check_freshclam.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1103
+	@p='check_freshclam.sh'; \
1104
+	b='check_freshclam.sh'; \
1105
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1106
+	--log-file $$b.log --trs-file $$b.trs \
1107
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1108
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1069 1109
 check_sigtool.sh.log: check_sigtool.sh
1070
-	@p='check_sigtool.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1110
+	@p='check_sigtool.sh'; \
1111
+	b='check_sigtool.sh'; \
1112
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1113
+	--log-file $$b.log --trs-file $$b.trs \
1114
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1115
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1071 1116
 check_unit_vg.sh.log: check_unit_vg.sh
1072
-	@p='check_unit_vg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1117
+	@p='check_unit_vg.sh'; \
1118
+	b='check_unit_vg.sh'; \
1119
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1120
+	--log-file $$b.log --trs-file $$b.trs \
1121
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1122
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1073 1123
 check1_clamscan.sh.log: check1_clamscan.sh
1074
-	@p='check1_clamscan.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1124
+	@p='check1_clamscan.sh'; \
1125
+	b='check1_clamscan.sh'; \
1126
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1127
+	--log-file $$b.log --trs-file $$b.trs \
1128
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1129
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1075 1130
 check2_clamd.sh.log: check2_clamd.sh
1076
-	@p='check2_clamd.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1131
+	@p='check2_clamd.sh'; \
1132
+	b='check2_clamd.sh'; \
1133
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1134
+	--log-file $$b.log --trs-file $$b.trs \
1135
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1136
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1077 1137
 check3_clamd.sh.log: check3_clamd.sh
1078
-	@p='check3_clamd.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1138
+	@p='check3_clamd.sh'; \
1139
+	b='check3_clamd.sh'; \
1140
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1141
+	--log-file $$b.log --trs-file $$b.trs \
1142
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1143
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1079 1144
 check4_clamd.sh.log: check4_clamd.sh
1080
-	@p='check4_clamd.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1145
+	@p='check4_clamd.sh'; \
1146
+	b='check4_clamd.sh'; \
1147
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1148
+	--log-file $$b.log --trs-file $$b.trs \
1149
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1150
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1081 1151
 check5_clamd_vg.sh.log: check5_clamd_vg.sh
1082
-	@p='check5_clamd_vg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1152
+	@p='check5_clamd_vg.sh'; \
1153
+	b='check5_clamd_vg.sh'; \
1154
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1155
+	--log-file $$b.log --trs-file $$b.trs \
1156
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1157
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1083 1158
 check6_clamd_vg.sh.log: check6_clamd_vg.sh
1084
-	@p='check6_clamd_vg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1159
+	@p='check6_clamd_vg.sh'; \
1160
+	b='check6_clamd_vg.sh'; \
1161
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1162
+	--log-file $$b.log --trs-file $$b.trs \
1163
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1164
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1085 1165
 check7_clamd_hg.sh.log: check7_clamd_hg.sh
1086
-	@p='check7_clamd_hg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1166
+	@p='check7_clamd_hg.sh'; \
1167
+	b='check7_clamd_hg.sh'; \
1168
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1169
+	--log-file $$b.log --trs-file $$b.trs \
1170
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1171
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1087 1172
 check8_clamd_hg.sh.log: check8_clamd_hg.sh
1088
-	@p='check8_clamd_hg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1173
+	@p='check8_clamd_hg.sh'; \
1174
+	b='check8_clamd_hg.sh'; \
1175
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1176
+	--log-file $$b.log --trs-file $$b.trs \
1177
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1178
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1089 1179
 check9_clamscan_vg.sh.log: check9_clamscan_vg.sh
1090
-	@p='check9_clamscan_vg.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1180
+	@p='check9_clamscan_vg.sh'; \
1181
+	b='check9_clamscan_vg.sh'; \
1182
+	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1183
+	--log-file $$b.log --trs-file $$b.trs \
1184
+	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1185
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1091 1186
 .test.log:
1092
-	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1187
+	@p='$<'; \
1188
+	$(am__set_b); \
1189
+	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1190
+	--log-file $$b.log --trs-file $$b.trs \
1191
+	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1192
+	"$$tst" $(AM_TESTS_FD_REDIRECT)
1093 1193
 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1094
-@am__EXEEXT_TRUE@	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1194
+@am__EXEEXT_TRUE@	@p='$<'; \
1195
+@am__EXEEXT_TRUE@	$(am__set_b); \
1196
+@am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1197
+@am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
1198
+@am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1199
+@am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
1095 1200
 
1096 1201
 distdir: $(DISTFILES)
1097 1202
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
... ...
@@ -1150,7 +1374,7 @@ install-strip:
1150 1150
 	fi
1151 1151
 mostlyclean-generic:
1152 1152
 	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1153
-	-test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1153
+	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1154 1154
 	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1155 1155
 
1156 1156
 clean-generic:
... ...
@@ -1222,8 +1446,8 @@ maintainer-clean-am: distclean-am maintainer-clean-generic
1222 1222
 
1223 1223
 mostlyclean: mostlyclean-am
1224 1224
 
1225
-mostlyclean-am: am--mostlyclean-test-html mostlyclean-compile \
1226
-	mostlyclean-generic mostlyclean-libtool
1225
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1226
+	mostlyclean-libtool
1227 1227
 
1228 1228
 pdf: pdf-am
1229 1229
 
... ...
@@ -1235,22 +1459,21 @@ ps-am:
1235 1235
 
1236 1236
 uninstall-am:
1237 1237
 
1238
-.MAKE: check-am check-html install-am install-strip recheck-html
1239
-
1240
-.PHONY: CTAGS GTAGS all all-am am--mostlyclean-test-html check \
1241
-	check-TESTS check-am check-html clean clean-checkPROGRAMS \
1242
-	clean-generic clean-libtool clean-local ctags distclean \
1243
-	distclean-compile distclean-generic distclean-libtool \
1244
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
1245
-	install install-am install-data install-data-am install-dvi \
1246
-	install-dvi-am install-exec install-exec-am install-html \
1247
-	install-html-am install-info install-info-am install-man \
1248
-	install-pdf install-pdf-am install-ps install-ps-am \
1249
-	install-strip installcheck installcheck-am installdirs \
1250
-	maintainer-clean maintainer-clean-generic mostlyclean \
1251
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1252
-	pdf pdf-am ps ps-am recheck recheck-html tags uninstall \
1253
-	uninstall-am
1238
+.MAKE: check-am install-am install-strip
1239
+
1240
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1241
+	clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1242
+	cscopelist-am ctags ctags-am distclean distclean-compile \
1243
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
1244
+	dvi-am html html-am info info-am install install-am \
1245
+	install-data install-data-am install-dvi install-dvi-am \
1246
+	install-exec install-exec-am install-html install-html-am \
1247
+	install-info install-info-am install-man install-pdf \
1248
+	install-pdf-am install-ps install-ps-am install-strip \
1249
+	installcheck installcheck-am installdirs maintainer-clean \
1250
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
1251
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1252
+	recheck tags tags-am uninstall uninstall-am
1254 1253
 
1255 1254
 
1256 1255
 check_unit_vg.sh: $(FILES)