Browse code

GSTRUCT build script updates

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

Michael Lawrence authored on 14/11/2016 22:02:59
Showing4 changed files

... ...
@@ -182,8 +182,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/compile \
182 182
 	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
183 183
 	$(top_srcdir)/config/missing $(top_srcdir)/lib/gstruct.pc.in \
184 184
 	AUTHORS COPYING ChangeLog INSTALL NEWS README config/compile \
185
-	config/config.guess config/config.sub config/install-sh \
186
-	config/ltmain.sh config/missing
185
+	config/config.guess config/config.sub config/depcomp \
186
+	config/install-sh config/ltmain.sh config/missing
187 187
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
188 188
 distdir = $(PACKAGE)-$(VERSION)
189 189
 top_distdir = $(distdir)
... ...
@@ -277,6 +277,7 @@ LIPO = @LIPO@
277 277
 LN_S = @LN_S@
278 278
 LTLIBOBJS = @LTLIBOBJS@
279 279
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
280
+MAINT = @MAINT@
280 281
 MAKEINFO = @MAKEINFO@
281 282
 MANIFEST_TOOL = @MANIFEST_TOOL@
282 283
 MKDIR_P = @MKDIR_P@
... ...
@@ -386,7 +387,7 @@ all: all-recursive
386 387
 .SUFFIXES:
387 388
 am--refresh: Makefile
388 389
 	@:
389
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
390
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
390 391
 	@for dep in $?; do \
391 392
 	  case '$(am__configure_deps)' in \
392 393
 	    *$$dep*) \
... ...
@@ -412,9 +413,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
412 413
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
413 414
 	$(SHELL) ./config.status --recheck
414 415
 
415
-$(top_srcdir)/configure:  $(am__configure_deps)
416
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
416 417
 	$(am__cd) $(srcdir) && $(AUTOCONF)
417
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
418
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
418 419
 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
419 420
 $(am__aclocal_m4_deps):
420 421
 lib/gstruct-${LIBGSTRUCT_API_VERSION}.pc: $(top_builddir)/config.status $(top_srcdir)/lib/gstruct.pc.in
... ...
@@ -645,6 +645,42 @@ fi
645 645
 rmdir .tst 2>/dev/null
646 646
 AC_SUBST([am__leading_dot])])
647 647
 
648
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
649
+# From Jim Meyering
650
+
651
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
652
+#
653
+# This file is free software; the Free Software Foundation
654
+# gives unlimited permission to copy and/or distribute it,
655
+# with or without modifications, as long as this notice is preserved.
656
+
657
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
658
+# ----------------------------------
659
+# Control maintainer-specific portions of Makefiles.
660
+# Default is to disable them, unless 'enable' is passed literally.
661
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
662
+# can override the default with the --enable/--disable switch.
663
+AC_DEFUN([AM_MAINTAINER_MODE],
664
+[m4_case(m4_default([$1], [disable]),
665
+       [enable], [m4_define([am_maintainer_other], [disable])],
666
+       [disable], [m4_define([am_maintainer_other], [enable])],
667
+       [m4_define([am_maintainer_other], [enable])
668
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
669
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
670
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
671
+  AC_ARG_ENABLE([maintainer-mode],
672
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
673
+      am_maintainer_other[ make rules and dependencies not useful
674
+      (and sometimes confusing) to the casual installer])],
675
+    [USE_MAINTAINER_MODE=$enableval],
676
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
677
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
678
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
679
+  MAINT=$MAINTAINER_MODE_TRUE
680
+  AC_SUBST([MAINT])dnl
681
+]
682
+)
683
+
648 684
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
649 685
 
650 686
 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
... ...
@@ -755,6 +755,9 @@ build
755 755
 LIBGSTRUCT_API_VERSION
756 756
 LIBGSTRUCT_SO_VERSION
757 757
 CFLAGS
758
+MAINT
759
+MAINTAINER_MODE_FALSE
760
+MAINTAINER_MODE_TRUE
758 761
 target_alias
759 762
 host_alias
760 763
 build_alias
... ...
@@ -796,6 +799,7 @@ SHELL'
796 799
 ac_subst_files=''
797 800
 ac_user_opts='
798 801
 enable_option_checking
802
+enable_maintainer_mode
799 803
 enable_largefile
800 804
 enable_dependency_tracking
801 805
 enable_silent_rules
... ...
@@ -1462,6 +1466,9 @@ Optional Features:
1462 1466
   --disable-option-checking  ignore unrecognized --enable/--with options
1463 1467
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1464 1468
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1469
+  --disable-maintainer-mode
1470
+                          disable make rules and dependencies not useful (and
1471
+                          sometimes confusing) to the casual installer
1465 1472
   --disable-largefile     omit support for large files
1466 1473
   --enable-dependency-tracking
1467 1474
                           do not reject slow dependency extractors
... ...
@@ -2557,6 +2564,30 @@ $as_echo_n "checking package version... " >&6; }
2557 2564
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2016-06-01" >&5
2558 2565
 $as_echo "2016-06-01" >&6; }
2559 2566
 
2567
+
2568
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2569
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2570
+    # Check whether --enable-maintainer-mode was given.
2571
+if test "${enable_maintainer_mode+set}" = set; then :
2572
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2573
+else
2574
+  USE_MAINTAINER_MODE=yes
2575
+fi
2576
+
2577
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2578
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
2579
+   if test $USE_MAINTAINER_MODE = yes; then
2580
+  MAINTAINER_MODE_TRUE=
2581
+  MAINTAINER_MODE_FALSE='#'
2582
+else
2583
+  MAINTAINER_MODE_TRUE='#'
2584
+  MAINTAINER_MODE_FALSE=
2585
+fi
2586
+
2587
+  MAINT=$MAINTAINER_MODE_TRUE
2588
+
2589
+
2590
+
2560 2591
 ### Read defaults
2561 2592
 
2562 2593
 # Handle CONFIG_SITE better than Autoconf does
... ...
@@ -20770,6 +20801,10 @@ LIBOBJS=$ac_libobjs
20770 20801
 LTLIBOBJS=$ac_ltlibobjs
20771 20802
 
20772 20803
 
20804
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20805
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
20806
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
20807
+fi
20773 20808
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20774 20809
 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20775 20810
    if test -n "$am_sleep_pid"; then
... ...
@@ -381,6 +381,7 @@ LIPO = @LIPO@
381 381
 LN_S = @LN_S@
382 382
 LTLIBOBJS = @LTLIBOBJS@
383 383
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
384
+MAINT = @MAINT@
384 385
 MAKEINFO = @MAKEINFO@
385 386
 MANIFEST_TOOL = @MANIFEST_TOOL@
386 387
 MKDIR_P = @MKDIR_P@
... ...
@@ -555,7 +556,7 @@ all: config.h
555 556
 
556 557
 .SUFFIXES:
557 558
 .SUFFIXES: .c .lo .o .obj
558
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
559
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
559 560
 	@for dep in $?; do \
560 561
 	  case '$(am__configure_deps)' in \
561 562
 	    *$$dep*) \
... ...
@@ -579,9 +580,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
579 580
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
580 581
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
581 582
 
582
-$(top_srcdir)/configure:  $(am__configure_deps)
583
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
583 584
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
584
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
585
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
585 586
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
586 587
 $(am__aclocal_m4_deps):
587 588
 
... ...
@@ -592,7 +593,7 @@ config.h: stamp-h1
592 593
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
593 594
 	@rm -f stamp-h1
594 595
 	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
595
-$(srcdir)/config.h.in:  $(am__configure_deps) 
596
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
596 597
 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
597 598
 	rm -f stamp-h1
598 599
 	touch $@