From 299a95b9f048679f1288512b0a6ab6ca16dd9d7c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 3 Apr 1996 16:31:49 +0000 Subject: Tue Apr 2 21:27:01 1996 Andreas Schwab * posix/glob.c (glob_pattern_p): Avoid scanning past eos if the pattern ends with a backslash and quoting is enabled. * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such patterns. --- Makerules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 296e811..d7e82d9 100644 --- a/Makerules +++ b/Makerules @@ -610,8 +610,12 @@ cd $(@D); $(BUILD_CC) $(BUILD_CFLAGS) $(<:$(common-objpfx)%=%) -o $(@F) endef # We always want to use configuration definitions. +ifdef objdir # This is always used in $(common-objdir), so we use no directory name. BUILD_CFLAGS = -include config.h +else +BUILD_CFLAGS = -include $(..)config.h +endif # Support the GNU standard name for this target. .PHONY: check -- cgit v1.1