autoconf-patches
[Top][All Lists]
Advanced

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

31-ac-libsources.patch


From: Akim Demaille
Subject: 31-ac-libsources.patch
Date: 02 Feb 2001 18:49:51 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

Didn't have the time to send my submissions :(

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        
        * acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
        (AC_LIBSOURCES, AC_LIBSOURCE): New.
        
        * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
Index: acgeneral.m4
--- acgeneral.m4 Thu, 01 Feb 2001 20:35:31 +0100 akim (ace/27_acgeneral. 
1.169.8.128 644)
+++ acgeneral.m4 Thu, 01 Feb 2001 21:49:41 +0100 akim (ace/27_acgeneral. 
1.169.8.128 644)
@@ -2983,10 +2983,18 @@ AC_DEFUN([AC_CHECK_DECLS],
 ## -------------------------------- ##
 
 
-# AC_LIBOBJ_DECL(FILENAME-NOEXT)
-# ------------------------------
-# Announce we might need the file `FILENAME-NOEXT.c'.
-m4_define([AC_LIBOBJ_DECL], [])
+# AC_LIBSOURCE(FILENAME)
+# ----------------------
+# Announce we might need the file `FILENAME'.
+m4_define([AC_LIBSOURCE], [])
+
+
+# AC_LIBSOURCES([FILENAME1, ...])
+# -------------------------------
+# Announce we might need these files.
+m4_define([AC_LIBSOURCES],
+[m4_foreach([_AC_FILENAME], [$1],
+            [AC_LIBSOURCE(_AC_FILENAME)])])
 
 
 # _AC_LIBOBJ(FILENAME-NOEXT, ACTION-IF-INDIR)
@@ -2995,7 +3003,7 @@ m4_define([AC_LIBOBJ_DECL], [])
 # We don't use AC_SUBST/2 because it forces an unneeded eol.
 m4_define([_AC_LIBOBJ],
 [AS_LITERAL_IF([$1],
-               [AC_LIBOBJ_DECL([$1])],
+               [AC_LIBSOURCE([$1])],
                [$2])dnl
 AC_SUBST([LIBOBJS])dnl
 LIBOBJS="$LIBOBJS $1.$ac_objext"])



reply via email to

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