changeset 4369:546156f97d12

Use $(...) notation, not @...@ for AC_REPLACE'd variables.
author Jim Meyering <jim@meyering.net>
date Sat, 07 Jun 2003 06:07:38 +0000
parents f83de03df61c
children 6abcf791236e
files modules/localcharset modules/strtod
diffstat 2 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/modules/localcharset
+++ b/modules/localcharset
@@ -33,13 +33,13 @@
 charset_alias = $(DESTDIR)$(libdir)/charset.alias
 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
 install-exec-local: all-local
-	test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
+	test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
 	if test -f $(charset_alias); then \
 	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
 	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
 	  rm -f $(charset_tmp) ; \
 	else \
-	  if test @GLIBC21@ = no; then \
+	  if test $(GLIBC21) = no; then \
 	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
 	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
 	    rm -f $(charset_tmp) ; \
@@ -59,12 +59,12 @@
 	fi
 
 charset.alias: config.charset
-	$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
+	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
 	mv t-$@ $@
 
 SUFFIXES += .sed .sin
 .sin.sed:
-	sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
+	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
 	mv t-$@ $@
 
 CLEANFILES += charset.alias ref-add.sed ref-del.sed
@@ -74,4 +74,3 @@
 
 Maintainer:
 Bruno Haible
-
--- a/modules/strtod
+++ b/modules/strtod
@@ -11,11 +11,10 @@
 gl_FUNC_STRTOD
 
 Makefile.am:
-LIBS += @POW_LIB@
+LIBS += $(POW_LIB)
 
 Include:
 <stdlib.h>
 
 Maintainer:
 all
-