autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.62-94-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.62-94-g1610783
Date: Tue, 26 Aug 2008 21:18:08 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=16107833c24cf403c3a677d8a2066da36a363836

The branch, master has been updated
       via  16107833c24cf403c3a677d8a2066da36a363836 (commit)
      from  f4df9b9b40517e5c23845a61837d6d0fcbe49081 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 16107833c24cf403c3a677d8a2066da36a363836
Author: Stepan Kasal <address@hidden>
Date:   Thu May 22 17:52:28 2008 +0200

    Check for case sensitive make.
    
    * m4/make-check.m4 (AC_PROG_MAKE_CASE_SENSITIVE): New macro,...
    * configure.ac: ... called here.
    * Makefile.am ($(abs_srcdir)/INSTALL, INSTALL): Return to...
    ($(srcdir)/INSTALL): ...this, but enclose the rule in
    "if MAKE_CASE_SENSITIVE".
    
    Signed-off-by: Stepan Kasal <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    9 +++++++++
 Makefile.am     |   16 +++++++---------
 configure.ac    |    6 ++++++
 m4/make-case.m4 |   26 ++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 9 deletions(-)
 create mode 100644 m4/make-case.m4

diff --git a/ChangeLog b/ChangeLog
index da4e2a2..40ff188 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-26  Stepan Kasal  <address@hidden>
+
+       Check for case sensitive make.
+       * m4/make-check.m4 (AC_PROG_MAKE_CASE_SENSITIVE): New macro,...
+       * configure.ac: ... called here.
+       * Makefile.am ($(abs_srcdir)/INSTALL, INSTALL): Return to...
+       ($(srcdir)/INSTALL): ...this, but enclose the rule in
+       "if MAKE_CASE_SENSITIVE".
+
 2008-08-26  Eric Blake  <address@hidden>
 
        Update invocation documentation.
diff --git a/Makefile.am b/Makefile.am
index 3ccaf2b..215c14b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,22 +30,20 @@ EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
             build-aux/announce-gen build-aux/gnupload \
             .prev-version .version
 
-MAINTAINERCLEANFILES = $(abs_srcdir)/INSTALL
-
 ## --------- ##
 ## INSTALL.  ##
 ## --------- ##
 
-## abs_srcdir is necessary for case-insensitive make to distinguish from
-## 'make install'.  But automake also insists that the plain target INSTALL
-## exist prior to 'make dist'.
-INSTALL: $(abs_srcdir)/INSTALL
-
-pkgdata_DATA = $(abs_srcdir)/INSTALL
+pkgdata_DATA = $(srcdir)/INSTALL
 AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
-$(abs_srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
+
+if MAKE_CASE_SENSITIVE
+
+MAINTAINERCLEANFILES = $(srcdir)/INSTALL
+$(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
        $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $@ \
          $(top_srcdir)/doc/install.texi
+endif
 
 ## maintainer-check ##
 maintainer-check: maintainer-check-tests
diff --git a/configure.ac b/configure.ac
index 9fbb235..d4f1908 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,6 +147,12 @@ AC_PROG_EGREP
 AC_PROG_SED
 
 
+## ----- ##
+## Make. ##
+## ----- ##
+AC_PROG_MAKE_CASE_SENSITIVE
+
+
 ## ------------ ##
 ## Conclusion.  ##
 ## ------------ ##
diff --git a/m4/make-case.m4 b/m4/make-case.m4
new file mode 100644
index 0000000..b23ccf9
--- /dev/null
+++ b/m4/make-case.m4
@@ -0,0 +1,26 @@
+# make-case.m4 serial 0
+dnl Copyright (C) 2008 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+# AC_PROG_MAKE_CASE_SENSITIVE
+# ---------------------------
+# Checks whether make is configured to be case insensitive; if yes,
+# sets AM_CONDITIONAL MAKE_CASE_SENSITIVE.
+#
+AC_DEFUN([AC_PROG_MAKE_CASE_SENSITIVE],
+[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_CACHE_CHECK([whether ${MAKE-make} is case sensitive],
+[ac_cv_prog_make_${ac_make}_case],
+[echo all: >conftest.make
+if ${MAKE-make} -f conftest.make ALL >/dev/null 2>&1; then
+  ac_res=no
+else
+  ac_res=yes
+fi
+eval ac_cv_prog_make_${ac_make}_case=$ac_res
+rm -f conftest.make])
+AM_CONDITIONAL([MAKE_CASE_SENSITIVE],
+  [eval test \$ac_cv_prog_make_${ac_make}_case = yes])
+])


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]