Browse code

fix disable-maintainer-mode

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@88344 bc3139a8-67e5-0310-9ffc-ced21a209358

Michael Lawrence authored on 02/04/2014 22:35:46
Showing 12 changed files

... ...
@@ -83,8 +83,9 @@ DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
83 83
 	$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84 84
 	$(top_srcdir)/configure $(am__configure_deps) COPYING \
85 85
 	config/compile config/config.guess config/config.sub \
86
-	config/install-sh config/missing config/ltmain.sh \
87
-	$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
86
+	config/depcomp config/install-sh config/missing \
87
+	config/ltmain.sh $(top_srcdir)/config/compile \
88
+	$(top_srcdir)/config/config.guess \
88 89
 	$(top_srcdir)/config/config.sub \
89 90
 	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
90 91
 	$(top_srcdir)/config/missing
... ...
@@ -258,6 +259,7 @@ LIBTOOL = @LIBTOOL@
258 259
 LIPO = @LIPO@
259 260
 LN_S = @LN_S@
260 261
 LTLIBOBJS = @LTLIBOBJS@
262
+MAINT = @MAINT@
261 263
 MAKEINFO = @MAKEINFO@
262 264
 MANIFEST_TOOL = @MANIFEST_TOOL@
263 265
 MAX_READLENGTH = @MAX_READLENGTH@
... ...
@@ -354,7 +356,7 @@ all: all-recursive
354 356
 .SUFFIXES:
355 357
 am--refresh: Makefile
356 358
 	@:
357
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
359
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
358 360
 	@for dep in $?; do \
359 361
 	  case '$(am__configure_deps)' in \
360 362
 	    *$$dep*) \
... ...
@@ -381,9 +383,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
381 383
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
382 384
 	$(SHELL) ./config.status --recheck
383 385
 
384
-$(top_srcdir)/configure:  $(am__configure_deps)
386
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
385 387
 	$(am__cd) $(srcdir) && $(AUTOCONF)
386
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
388
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
387 389
 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
388 390
 $(am__aclocal_m4_deps):
389 391
 
... ...
@@ -642,6 +642,42 @@ fi
642 642
 rmdir .tst 2>/dev/null
643 643
 AC_SUBST([am__leading_dot])])
644 644
 
645
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
646
+# From Jim Meyering
647
+
648
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
649
+#
650
+# This file is free software; the Free Software Foundation
651
+# gives unlimited permission to copy and/or distribute it,
652
+# with or without modifications, as long as this notice is preserved.
653
+
654
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
655
+# ----------------------------------
656
+# Control maintainer-specific portions of Makefiles.
657
+# Default is to disable them, unless 'enable' is passed literally.
658
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
659
+# can override the default with the --enable/--disable switch.
660
+AC_DEFUN([AM_MAINTAINER_MODE],
661
+[m4_case(m4_default([$1], [disable]),
662
+       [enable], [m4_define([am_maintainer_other], [disable])],
663
+       [disable], [m4_define([am_maintainer_other], [enable])],
664
+       [m4_define([am_maintainer_other], [enable])
665
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
666
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
667
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
668
+  AC_ARG_ENABLE([maintainer-mode],
669
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
670
+      am_maintainer_other[ make rules and dependencies not useful
671
+      (and sometimes confusing) to the casual installer])],
672
+    [USE_MAINTAINER_MODE=$enableval],
673
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
674
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
675
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
676
+  MAINT=$MAINTAINER_MODE_TRUE
677
+  AC_SUBST([MAINT])dnl
678
+]
679
+)
680
+
645 681
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
646 682
 
647 683
 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
... ...
@@ -676,6 +676,9 @@ MAINTAINER_FALSE
676 676
 MAINTAINER_TRUE
677 677
 FULLDIST_FALSE
678 678
 FULLDIST_TRUE
679
+MAINT
680
+MAINTAINER_MODE_FALSE
681
+MAINTAINER_MODE_TRUE
679 682
 AM_BACKSLASH
680 683
 AM_DEFAULT_VERBOSITY
681 684
 AM_DEFAULT_V
... ...
@@ -776,6 +779,7 @@ enable_option_checking
776 779
 enable_largefile
777 780
 enable_dependency_tracking
778 781
 enable_silent_rules
782
+enable_maintainer_mode
779 783
 enable_fulldist
780 784
 enable_maintainer
781 785
 enable_shared
... ...
@@ -1433,6 +1437,9 @@ Optional Features:
1433 1437
                           speeds up one-time build
1434 1438
   --enable-silent-rules   less verbose build output (undo: "make V=1")
1435 1439
   --disable-silent-rules  verbose build output (undo: "make V=0")
1440
+  --disable-maintainer-mode
1441
+                          disable make rules and dependencies not useful (and
1442
+                          sometimes confusing) to the casual installer
1436 1443
   --enable-fulldist       For use by program maintainer
1437 1444
   --enable-maintainer     For use by program maintainer
1438 1445
   --enable-shared[=PKGS]  build shared libraries [default=yes]
... ...
@@ -4540,6 +4547,29 @@ END
4540 4547
   fi
4541 4548
 fi
4542 4549
 
4550
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4551
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4552
+    # Check whether --enable-maintainer-mode was given.
4553
+if test "${enable_maintainer_mode+set}" = set; then :
4554
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4555
+else
4556
+  USE_MAINTAINER_MODE=yes
4557
+fi
4558
+
4559
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4560
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
4561
+   if test $USE_MAINTAINER_MODE = yes; then
4562
+  MAINTAINER_MODE_TRUE=
4563
+  MAINTAINER_MODE_FALSE='#'
4564
+else
4565
+  MAINTAINER_MODE_TRUE='#'
4566
+  MAINTAINER_MODE_FALSE=
4567
+fi
4568
+
4569
+  MAINT=$MAINTAINER_MODE_TRUE
4570
+
4571
+
4572
+
4543 4573
  if test "x$enable_fulldist" = xyes; then
4544 4574
   FULLDIST_TRUE=
4545 4575
   FULLDIST_FALSE='#'
... ...
@@ -18086,6 +18116,10 @@ else
18086 18116
   am__EXEEXT_FALSE=
18087 18117
 fi
18088 18118
 
18119
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18120
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18121
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
18122
+fi
18089 18123
 if test -z "${FULLDIST_TRUE}" && test -z "${FULLDIST_FALSE}"; then
18090 18124
   as_fn_error $? "conditional \"FULLDIST\" was never defined.
18091 18125
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
... ...
@@ -63,6 +63,7 @@ AC_ARG_PROGRAM
63 63
 
64 64
 #AM_INIT_AUTOMAKE([no-dependencies])
65 65
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
66
+AM_MAINTAINER_MODE([enable])
66 67
 
67 68
 AM_CONDITIONAL(FULLDIST,test "x$enable_fulldist" = xyes)
68 69
 AC_ARG_ENABLE([fulldist],
... ...
@@ -665,6 +665,7 @@ LIBTOOL = @LIBTOOL@
665 665
 LIPO = @LIPO@
666 666
 LN_S = @LN_S@
667 667
 LTLIBOBJS = @LTLIBOBJS@
668
+MAINT = @MAINT@
668 669
 MAKEINFO = @MAKEINFO@
669 670
 MANIFEST_TOOL = @MANIFEST_TOOL@
670 671
 MAX_READLENGTH = @MAX_READLENGTH@
... ...
@@ -1144,7 +1145,7 @@ all: config.h
1144 1145
 
1145 1146
 .SUFFIXES:
1146 1147
 .SUFFIXES: .c .lo .o .obj
1147
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
1148
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
1148 1149
 	@for dep in $?; do \
1149 1150
 	  case '$(am__configure_deps)' in \
1150 1151
 	    *$$dep*) \
... ...
@@ -1169,9 +1170,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1169 1170
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1170 1171
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1171 1172
 
1172
-$(top_srcdir)/configure:  $(am__configure_deps)
1173
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1173 1174
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1174
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
1175
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1175 1176
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1176 1177
 $(am__aclocal_m4_deps):
1177 1178
 
... ...
@@ -1182,7 +1183,7 @@ config.h: stamp-h1
1182 1183
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
1183 1184
 	@rm -f stamp-h1
1184 1185
 	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
1185
-$(srcdir)/config.h.in:  $(am__configure_deps) 
1186
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
1186 1187
 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
1187 1188
 	rm -f stamp-h1
1188 1189
 	touch $@
... ...
@@ -376,6 +376,7 @@ LIBTOOL = @LIBTOOL@
376 376
 LIPO = @LIPO@
377 377
 LN_S = @LN_S@
378 378
 LTLIBOBJS = @LTLIBOBJS@
379
+MAINT = @MAINT@
379 380
 MAKEINFO = @MAKEINFO@
380 381
 MANIFEST_TOOL = @MANIFEST_TOOL@
381 382
 MAX_READLENGTH = @MAX_READLENGTH@
... ...
@@ -485,7 +486,7 @@ all: all-am
485 486
 
486 487
 .SUFFIXES:
487 488
 .SUFFIXES: .log .test .test$(EXEEXT) .trs
488
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
489
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
489 490
 	@for dep in $?; do \
490 491
 	  case '$(am__configure_deps)' in \
491 492
 	    *$$dep*) \
... ...
@@ -510,9 +511,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
510 511
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
511 512
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
512 513
 
513
-$(top_srcdir)/configure:  $(am__configure_deps)
514
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
514 515
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
515
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
516
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
516 517
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
517 518
 $(am__aclocal_m4_deps):
518 519
 align.test: $(top_builddir)/config.status $(srcdir)/align.test.in
... ...
@@ -216,6 +216,7 @@ LIBTOOL = @LIBTOOL@
216 216
 LIPO = @LIPO@
217 217
 LN_S = @LN_S@
218 218
 LTLIBOBJS = @LTLIBOBJS@
219
+MAINT = @MAINT@
219 220
 MAKEINFO = @MAKEINFO@
220 221
 MANIFEST_TOOL = @MANIFEST_TOOL@
221 222
 MAX_READLENGTH = @MAX_READLENGTH@
... ...
@@ -330,7 +331,7 @@ top_srcdir = @top_srcdir@
330 331
 all: all-am
331 332
 
332 333
 .SUFFIXES:
333
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
334
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
334 335
 	@for dep in $?; do \
335 336
 	  case '$(am__configure_deps)' in \
336 337
 	    *$$dep*) \
... ...
@@ -355,9 +356,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
355 356
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
356 357
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
357 358
 
358
-$(top_srcdir)/configure:  $(am__configure_deps)
359
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
359 360
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
360
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
361
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
361 362
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
362 363
 $(am__aclocal_m4_deps):
363 364
 gmap_compress.pl: $(top_builddir)/config.status $(srcdir)/gmap_compress.pl.in
... ...
@@ -79,13 +79,13 @@ build_triplet = @build@
79 79
 host_triplet = @host@
80 80
 target_triplet = @target@
81 81
 subdir = .
82
-DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog COPYING \
82
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
83 83
 	$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84 84
 	$(top_srcdir)/configure $(am__configure_deps) \
85
-	$(top_srcdir)/lib/gstruct.pc.in config/compile \
86
-	config/config.guess config/config.sub config/install-sh \
87
-	config/missing config/ltmain.sh $(top_srcdir)/config/compile \
88
-	$(top_srcdir)/config/config.guess \
85
+	$(top_srcdir)/lib/gstruct.pc.in COPYING config/compile \
86
+	config/config.guess config/config.sub config/depcomp \
87
+	config/install-sh config/missing config/ltmain.sh \
88
+	$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
89 89
 	$(top_srcdir)/config/config.sub \
90 90
 	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
91 91
 	$(top_srcdir)/config/missing
... ...
@@ -259,6 +259,7 @@ LIBTOOL = @LIBTOOL@
259 259
 LIPO = @LIPO@
260 260
 LN_S = @LN_S@
261 261
 LTLIBOBJS = @LTLIBOBJS@
262
+MAINT = @MAINT@
262 263
 MAKEINFO = @MAKEINFO@
263 264
 MANIFEST_TOOL = @MANIFEST_TOOL@
264 265
 MKDIR_P = @MKDIR_P@
... ...
@@ -356,7 +357,7 @@ all: all-recursive
356 357
 .SUFFIXES:
357 358
 am--refresh: Makefile
358 359
 	@:
359
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
360
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
360 361
 	@for dep in $?; do \
361 362
 	  case '$(am__configure_deps)' in \
362 363
 	    *$$dep*) \
... ...
@@ -383,9 +384,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
383 384
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
384 385
 	$(SHELL) ./config.status --recheck
385 386
 
386
-$(top_srcdir)/configure:  $(am__configure_deps)
387
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
387 388
 	$(am__cd) $(srcdir) && $(AUTOCONF)
388
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
389
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
389 390
 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
390 391
 $(am__aclocal_m4_deps):
391 392
 lib/gstruct-${LIBGSTRUCT_API_VERSION}.pc: $(top_builddir)/config.status $(top_srcdir)/lib/gstruct.pc.in
... ...
@@ -642,6 +642,42 @@ fi
642 642
 rmdir .tst 2>/dev/null
643 643
 AC_SUBST([am__leading_dot])])
644 644
 
645
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
646
+# From Jim Meyering
647
+
648
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
649
+#
650
+# This file is free software; the Free Software Foundation
651
+# gives unlimited permission to copy and/or distribute it,
652
+# with or without modifications, as long as this notice is preserved.
653
+
654
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
655
+# ----------------------------------
656
+# Control maintainer-specific portions of Makefiles.
657
+# Default is to disable them, unless 'enable' is passed literally.
658
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
659
+# can override the default with the --enable/--disable switch.
660
+AC_DEFUN([AM_MAINTAINER_MODE],
661
+[m4_case(m4_default([$1], [disable]),
662
+       [enable], [m4_define([am_maintainer_other], [disable])],
663
+       [disable], [m4_define([am_maintainer_other], [enable])],
664
+       [m4_define([am_maintainer_other], [enable])
665
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
666
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
667
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
668
+  AC_ARG_ENABLE([maintainer-mode],
669
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
670
+      am_maintainer_other[ make rules and dependencies not useful
671
+      (and sometimes confusing) to the casual installer])],
672
+    [USE_MAINTAINER_MODE=$enableval],
673
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
674
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
675
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
676
+  MAINT=$MAINTAINER_MODE_TRUE
677
+  AC_SUBST([MAINT])dnl
678
+]
679
+)
680
+
645 681
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
646 682
 
647 683
 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
... ...
@@ -684,6 +684,9 @@ MAINTAINER_FALSE
684 684
 MAINTAINER_TRUE
685 685
 FULLDIST_FALSE
686 686
 FULLDIST_TRUE
687
+MAINT
688
+MAINTAINER_MODE_FALSE
689
+MAINTAINER_MODE_TRUE
687 690
 AM_BACKSLASH
688 691
 AM_DEFAULT_VERBOSITY
689 692
 AM_DEFAULT_V
... ...
@@ -786,6 +789,7 @@ enable_option_checking
786 789
 enable_largefile
787 790
 enable_dependency_tracking
788 791
 enable_silent_rules
792
+enable_maintainer_mode
789 793
 enable_fulldist
790 794
 enable_maintainer
791 795
 enable_static_linking
... ...
@@ -1437,6 +1441,9 @@ Optional Features:
1437 1441
                           speeds up one-time build
1438 1442
   --enable-silent-rules   less verbose build output (undo: "make V=1")
1439 1443
   --disable-silent-rules  verbose build output (undo: "make V=0")
1444
+  --disable-maintainer-mode
1445
+                          disable make rules and dependencies not useful (and
1446
+                          sometimes confusing) to the casual installer
1440 1447
   --enable-fulldist       For use by program maintainer
1441 1448
   --enable-maintainer     For use by program maintainer
1442 1449
   --enable-static-linking Link binaries statically (default=no)
... ...
@@ -4531,6 +4538,29 @@ END
4531 4538
   fi
4532 4539
 fi
4533 4540
 
4541
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4542
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4543
+    # Check whether --enable-maintainer-mode was given.
4544
+if test "${enable_maintainer_mode+set}" = set; then :
4545
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4546
+else
4547
+  USE_MAINTAINER_MODE=yes
4548
+fi
4549
+
4550
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4551
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
4552
+   if test $USE_MAINTAINER_MODE = yes; then
4553
+  MAINTAINER_MODE_TRUE=
4554
+  MAINTAINER_MODE_FALSE='#'
4555
+else
4556
+  MAINTAINER_MODE_TRUE='#'
4557
+  MAINTAINER_MODE_FALSE=
4558
+fi
4559
+
4560
+  MAINT=$MAINTAINER_MODE_TRUE
4561
+
4562
+
4563
+
4534 4564
  if test "x$enable_fulldist" = xyes; then
4535 4565
   FULLDIST_TRUE=
4536 4566
   FULLDIST_FALSE='#'
... ...
@@ -15467,6 +15497,10 @@ else
15467 15497
   am__EXEEXT_FALSE=
15468 15498
 fi
15469 15499
 
15500
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15501
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15502
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
15503
+fi
15470 15504
 if test -z "${FULLDIST_TRUE}" && test -z "${FULLDIST_FALSE}"; then
15471 15505
   as_fn_error $? "conditional \"FULLDIST\" was never defined.
15472 15506
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
... ...
@@ -64,6 +64,7 @@ AC_ARG_PROGRAM
64 64
 
65 65
 #AM_INIT_AUTOMAKE([no-dependencies])
66 66
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
67
+AM_MAINTAINER_MODE([enable])
67 68
 
68 69
 AM_CONDITIONAL(FULLDIST,test "x$enable_fulldist" = xyes)
69 70
 AC_ARG_ENABLE([fulldist],
... ...
@@ -388,6 +388,7 @@ LIBTOOL = @LIBTOOL@
388 388
 LIPO = @LIPO@
389 389
 LN_S = @LN_S@
390 390
 LTLIBOBJS = @LTLIBOBJS@
391
+MAINT = @MAINT@
391 392
 MAKEINFO = @MAKEINFO@
392 393
 MANIFEST_TOOL = @MANIFEST_TOOL@
393 394
 MKDIR_P = @MKDIR_P@
... ...
@@ -732,7 +733,7 @@ all: config.h
732 733
 
733 734
 .SUFFIXES:
734 735
 .SUFFIXES: .c .lo .o .obj
735
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
736
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
736 737
 	@for dep in $?; do \
737 738
 	  case '$(am__configure_deps)' in \
738 739
 	    *$$dep*) \
... ...
@@ -757,9 +758,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
757 758
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
758 759
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
759 760
 
760
-$(top_srcdir)/configure:  $(am__configure_deps)
761
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
761 762
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
762
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
763
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
763 764
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
764 765
 $(am__aclocal_m4_deps):
765 766
 
... ...
@@ -770,7 +771,7 @@ config.h: stamp-h1
770 771
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
771 772
 	@rm -f stamp-h1
772 773
 	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
773
-$(srcdir)/config.h.in:  $(am__configure_deps) 
774
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
774 775
 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
775 776
 	rm -f stamp-h1
776 777
 	touch $@