diff options
author | Paul Smith <psmith@gnu.org> | 1999-02-22 07:23:30 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-02-22 07:23:30 +0000 |
commit | a66668aabccfbae3e1f22eaeb897b9c7a1e02733 (patch) | |
tree | fd4454775a6dcb2d0222f3e65c04f2011547b4ea /read.c | |
parent | 84f38c9c6f56c7056a1d1a5abf9151bf15760151 (diff) | |
download | gunmake-a66668aabccfbae3e1f22eaeb897b9c7a1e02733.tar.gz |
* New feature: .LIBPATTERNS controls the way -lfoo dependencies are expanded.
* A few tweaks to the system glob test, after trying it on a system where
it's true.
* Installed patches to archive handling for AIX 4.3 big archives.
* Fix a memory stomp in target-specific variables.
* Fix a memory leak in foreach functions.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -18,6 +18,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <assert.h> +#include <glob.h> + #include "make.h" #include "dep.h" #include "filedef.h" @@ -26,12 +28,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "variable.h" #include "rule.h" -/* This is POSIX.2, but most systems using -DPOSIX probably don't have it. */ -#ifdef HAVE_GLOB_H -#include <glob.h> -#else -#include "glob/glob.h" -#endif #ifndef WINDOWS32 #ifndef _AMIGA @@ -1564,9 +1560,7 @@ record_files (filenames, pattern, pattern_percent, deps, cmds_started, if (!pattern_matches (pattern, pattern_percent, name)) { /* Give a warning if the rule is meaningless. */ - error (flocp, - "target `%s' doesn't match the target pattern", - name); + error (flocp,"target `%s' doesn't match the target pattern", name); this = 0; } else |