From 723e191a290b675e77dfc6bb82d444dc2acb807c Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Fri, 19 Oct 2007 12:51:22 +0200
Subject: [PATCH] Use @FOO@ syntax instead of $(FOO) syntax, because it
 uncovers typos early.

---
 ChangeLog                | 8 ++++++++
 modules/csharpexec       | 2 +-
 modules/javaexec         | 2 +-
 modules/relocatable-prog | 2 +-
 4 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b39e1715b4..212ba807bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-10-19  Bruno Haible  <bruno@clisp.org>
+
+	* modules/csharpexec (Makefile.am): Use @FOO@ syntax instead of $(FOO)
+	syntax.
+	* modules/javaexec (Makefile.am): Likewise.
+	* modules/relocatable-prog (Makefile.am): Likewise.
+	Suggested by Jim Meyering.
+
 2007-10-18  Bruno Haible  <bruno@clisp.org>
 
 	* lib/vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
diff --git a/modules/csharpexec b/modules/csharpexec
index 5a4bbcdabe..69e0c70f6c 100644
--- a/modules/csharpexec
+++ b/modules/csharpexec
@@ -21,7 +21,7 @@ csharpexec-script
 configure.ac:
 
 Makefile.am:
-DEFS += -DEXEEXT=\"$(EXEEXT)\"
+DEFS += -DEXEEXT=\"@EXEEXT@\"
 lib_SOURCES += csharpexec.h csharpexec.c
 
 Include:
diff --git a/modules/javaexec b/modules/javaexec
index 5160459b0b..ca53910518 100644
--- a/modules/javaexec
+++ b/modules/javaexec
@@ -21,7 +21,7 @@ javaexec-script
 configure.ac:
 
 Makefile.am:
-DEFS += -DEXEEXT=\"$(EXEEXT)\"
+DEFS += -DEXEEXT=\"@EXEEXT@\"
 lib_SOURCES += javaexec.h javaexec.c
 
 Include:
diff --git a/modules/relocatable-prog b/modules/relocatable-prog
index cd9d79eb81..4ea58d5b55 100644
--- a/modules/relocatable-prog
+++ b/modules/relocatable-prog
@@ -25,7 +25,7 @@ configure.ac:
 gl_RELOCATABLE([$gl_source_base])
 
 Makefile.am:
-DEFS += -DEXEEXT=\"$(EXEEXT)\"
+DEFS += -DEXEEXT=\"@EXEEXT@\"
 
 Include:
 #include "relocatable.h"
-- 
2.30.2