summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-06-11 05:16:34 +0000
committerRoland McGrath <roland@redhat.com>1992-06-11 05:16:34 +0000
commit59caea5674cc4f2edd3541f7fce05e5c37e94a52 (patch)
tree85047761382e0f6c63851190f5d65a40c875811d /read.c
parent2f5b18ba2ff9c8ab8290fbd573e034f4a0d20a59 (diff)
downloadgunmake-59caea5674cc4f2edd3541f7fce05e5c37e94a52.tar.gz
Formerly read.c.~33~
Diffstat (limited to 'read.c')
-rw-r--r--read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/read.c b/read.c
index 2c7cc89..6555f68 100644
--- a/read.c
+++ b/read.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "variable.h"
/* This is POSIX.2, but most systems using -DPOSIX probably don't have it. */
-#ifdef __GNU_LIBRARY__
+#ifdef HAVE_GLOB_H
#include <glob.h>
#else
#include "glob/glob.h"
@@ -795,7 +795,7 @@ conditional_line (line, filename, lineno)
}
/* Search through the stack to see if we're already ignoring. */
- for (i = 0; i < conditionals->if_cmds; ++i)
+ for (i = 0; i < conditionals->if_cmds - 1; ++i)
if (conditionals->ignoring[i])
{
/* We are already ignoring, so just push a level
@@ -805,7 +805,7 @@ conditional_line (line, filename, lineno)
return 1;
}
- else if (cmdname[notdef ? 3 : 2] == 'd')
+ if (cmdname[notdef ? 3 : 2] == 'd')
{
/* "Ifdef" or "ifndef". */
struct variable *v;