Browse code

once again, disable maintainer mode for gstruct

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

Michael Lawrence authored on 03/07/2014 23:40:24
Showing 5 changed files

... ...
@@ -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
... ...
@@ -265,6 +265,7 @@ LIBTOOL = @LIBTOOL@
265 265
 LIPO = @LIPO@
266 266
 LN_S = @LN_S@
267 267
 LTLIBOBJS = @LTLIBOBJS@
268
+MAINT = @MAINT@
268 269
 MAKEINFO = @MAKEINFO@
269 270
 MANIFEST_TOOL = @MANIFEST_TOOL@
270 271
 MKDIR_P = @MKDIR_P@
... ...
@@ -363,7 +364,7 @@ all: all-recursive
363 364
 .SUFFIXES:
364 365
 am--refresh: Makefile
365 366
 	@:
366
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
367
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
367 368
 	@for dep in $?; do \
368 369
 	  case '$(am__configure_deps)' in \
369 370
 	    *$$dep*) \
... ...
@@ -390,9 +391,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
390 391
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
391 392
 	$(SHELL) ./config.status --recheck
392 393
 
393
-$(top_srcdir)/configure:  $(am__configure_deps)
394
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
394 395
 	$(am__cd) $(srcdir) && $(AUTOCONF)
395
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
396
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
396 397
 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
397 398
 $(am__aclocal_m4_deps):
398 399
 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.
... ...
@@ -685,6 +685,9 @@ MAINTAINER_FALSE
685 685
 MAINTAINER_TRUE
686 686
 FULLDIST_FALSE
687 687
 FULLDIST_TRUE
688
+MAINT
689
+MAINTAINER_MODE_FALSE
690
+MAINTAINER_MODE_TRUE
688 691
 AM_BACKSLASH
689 692
 AM_DEFAULT_VERBOSITY
690 693
 AM_DEFAULT_V
... ...
@@ -787,6 +790,7 @@ enable_option_checking
787 790
 enable_largefile
788 791
 enable_dependency_tracking
789 792
 enable_silent_rules
793
+enable_maintainer_mode
790 794
 enable_fulldist
791 795
 enable_maintainer
792 796
 enable_static_linking
... ...
@@ -1442,6 +1446,9 @@ Optional Features:
1442 1446
                           speeds up one-time build
1443 1447
   --enable-silent-rules   less verbose build output (undo: "make V=1")
1444 1448
   --disable-silent-rules  verbose build output (undo: "make V=0")
1449
+  --disable-maintainer-mode
1450
+                          disable make rules and dependencies not useful (and
1451
+                          sometimes confusing) to the casual installer
1445 1452
   --enable-fulldist       For use by program maintainer
1446 1453
   --enable-maintainer     For use by program maintainer
1447 1454
   --enable-static-linking Link binaries statically (default=no)
... ...
@@ -4545,6 +4552,29 @@ END
4545 4552
   fi
4546 4553
 fi
4547 4554
 
4555
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4556
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4557
+    # Check whether --enable-maintainer-mode was given.
4558
+if test "${enable_maintainer_mode+set}" = set; then :
4559
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4560
+else
4561
+  USE_MAINTAINER_MODE=yes
4562
+fi
4563
+
4564
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4565
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
4566
+   if test $USE_MAINTAINER_MODE = yes; then
4567
+  MAINTAINER_MODE_TRUE=
4568
+  MAINTAINER_MODE_FALSE='#'
4569
+else
4570
+  MAINTAINER_MODE_TRUE='#'
4571
+  MAINTAINER_MODE_FALSE=
4572
+fi
4573
+
4574
+  MAINT=$MAINTAINER_MODE_TRUE
4575
+
4576
+
4577
+
4548 4578
  if test "x$enable_fulldist" = xyes; then
4549 4579
   FULLDIST_TRUE=
4550 4580
   FULLDIST_FALSE='#'
... ...
@@ -17978,6 +18008,10 @@ else
17978 18008
   am__EXEEXT_FALSE=
17979 18009
 fi
17980 18010
 
18011
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18012
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18013
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
18014
+fi
17981 18015
 if test -z "${FULLDIST_TRUE}" && test -z "${FULLDIST_FALSE}"; then
17982 18016
   as_fn_error $? "conditional \"FULLDIST\" was never defined.
17983 18017
 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],
... ...
@@ -361,6 +361,7 @@ LIBTOOL = @LIBTOOL@
361 361
 LIPO = @LIPO@
362 362
 LN_S = @LN_S@
363 363
 LTLIBOBJS = @LTLIBOBJS@
364
+MAINT = @MAINT@
364 365
 MAKEINFO = @MAKEINFO@
365 366
 MANIFEST_TOOL = @MANIFEST_TOOL@
366 367
 MKDIR_P = @MKDIR_P@
... ...
@@ -522,7 +523,7 @@ all: config.h
522 523
 
523 524
 .SUFFIXES:
524 525
 .SUFFIXES: .c .lo .o .obj
525
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
526
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
526 527
 	@for dep in $?; do \
527 528
 	  case '$(am__configure_deps)' in \
528 529
 	    *$$dep*) \
... ...
@@ -547,9 +548,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
547 548
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
548 549
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
549 550
 
550
-$(top_srcdir)/configure:  $(am__configure_deps)
551
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
551 552
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
552
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
553
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
553 554
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
554 555
 $(am__aclocal_m4_deps):
555 556
 
... ...
@@ -560,7 +561,7 @@ config.h: stamp-h1
560 561
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
561 562
 	@rm -f stamp-h1
562 563
 	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
563
-$(srcdir)/config.h.in:  $(am__configure_deps) 
564
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
564 565
 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
565 566
 	rm -f stamp-h1
566 567
 	touch $@