diff options
author | Paul Smith <psmith@gnu.org> | 2004-02-25 19:30:27 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-02-25 19:30:27 +0000 |
commit | 59306b02234da9c144f70e55d38ef2e91e5113f0 (patch) | |
tree | 0d40034ca297ab7b37363d5a8cdca3d9425b4557 | |
parent | be5b33e8769df3ac344d9edbedcd44971b9156f7 (diff) | |
download | gunmake-59306b02234da9c144f70e55d38ef2e91e5113f0.tar.gz |
Fix the origin regression test.
Remove sample code from make.h I accidentally left behind.
-rw-r--r-- | make.h | 15 | ||||
-rw-r--r-- | tests/scripts/functions/origin | 2 |
2 files changed, 1 insertions, 16 deletions
@@ -387,21 +387,6 @@ struct floc #define STRING_SIZE_TUPLE(_s) (_s), (sizeof (_s)-1) -/* Fancy processing for variadic functions in both ANSI and pre-ANSI - compilers. */ -#if HAVE_STDARG_H -# include <stdarg.h> -# define VA_START(a, f) va_start(a, f) -#else -# if HAVE_VARARGS_H -# include <varargs.h> -# define VA_START(a, f) va_start(a) -# endif -#endif -#ifndef VA_START - error no variadic api -#endif - /* We have to have both stdarg.h or varargs.h AND v*printf or doprnt to use variadic versions of these functions. */ diff --git a/tests/scripts/functions/origin b/tests/scripts/functions/origin index c45a359..d5116cd 100644 --- a/tests/scripts/functions/origin +++ b/tests/scripts/functions/origin @@ -22,7 +22,7 @@ open(MAKEFILE,"> $makefile"); print MAKEFILE <<EOF; foo := bletch garf -auto_var = udef CC $homevar MAKE foo CFLAGS WHITE \@ +auto_var = udef CC MAKETEST MAKE foo CFLAGS WHITE \@ av = \$(foreach var, \$(auto_var), \$(origin \$(var)) ) override WHITE := BLACK all: auto |