bug-gnulib
[Top][All Lists]
Advanced

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

small modules/ cleanup


From: Ralf Wildenhues
Subject: small modules/ cleanup
Date: Wed, 22 Feb 2006 21:26:14 +0100
User-agent: Mutt/1.5.9i

Two small changes:

- pacify Automake erroring out on:
  | automatically discovered file `xstrtod.h' should not be explicitly mentioned
  | automatically discovered file `xstrtod.c' should not be explicitly mentioned

- use $(EXEEXT) uniformly in TESTS (conforming to a recent agreement),
  and use check_PROGRAMS everywhere.

Cheers,
Ralf

        * modules/xstrtod: Do not list xstrtod.h and xstrtod.c in
        `lib_SOURCES'; they are listed in AC_LIBSOURCES already.

        * modules/lock-tests, modules/tls-tests:
        Use `$(EXEEXT)' in Automake variable `TESTS'.
        * modules/argp-tests: Likewise.  Also change to use
        `check_PROGRAMS'.

Index: modules/xstrtod
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xstrtod,v
retrieving revision 1.5
diff -u -r1.5 xstrtod
--- modules/xstrtod     6 May 2005 17:22:45 -0000       1.5
+++ modules/xstrtod     22 Feb 2006 19:03:02 -0000
@@ -13,7 +13,6 @@
 gl_XSTRTOD
 
 Makefile.am:
-lib_SOURCES += xstrtod.h xstrtod.c
 
 Include:
 "xstrtod.h"

Index: modules/argp-tests
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/argp-tests,v
retrieving revision 1.1
diff -u -r1.1 argp-tests
--- modules/argp-tests  21 Jan 2006 19:09:06 -0000      1.1
+++ modules/argp-tests  22 Feb 2006 19:03:02 -0000
@@ -5,8 +5,6 @@
 Depends-on:
 
 Makefile.am:
-TESTS += test-argp test-argp-2.sh
-noinst_PROGRAMS += test-argp 
+TESTS += test-argp$(EXEEXT) test-argp-2.sh
+check_PROGRAMS += test-argp 
 EXTRA_DIST += test-argp-2.sh
-test_argp_SOURCES = test-argp.c
-
Index: modules/lock-tests
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/lock-tests,v
retrieving revision 1.2
diff -u -r1.2 lock-tests
--- modules/lock-tests  23 Jan 2006 20:38:51 -0000      1.2
+++ modules/lock-tests  22 Feb 2006 19:03:02 -0000
@@ -13,7 +13,7 @@
 AC_SUBST([LIBSCHED])
 
 Makefile.am:
-TESTS += test-lock
+TESTS += test-lock$(EXEEXT)
 check_PROGRAMS += test-lock
 test_lock_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)
 
Index: modules/tls-tests
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/tls-tests,v
retrieving revision 1.2
diff -u -r1.2 tls-tests
--- modules/tls-tests   23 Jan 2006 20:38:51 -0000      1.2
+++ modules/tls-tests   22 Feb 2006 19:03:02 -0000
@@ -13,7 +13,7 @@
 AC_SUBST([LIBSCHED])
 
 Makefile.am:
-TESTS += test-tls
+TESTS += test-tls$(EXEEXT)
 check_PROGRAMS += test-tls
 test_tls_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)
 




reply via email to

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