summaryrefslogtreecommitdiff
path: root/lib/autoconf/programs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lib/autoconf/programs.m4')
-rw-r--r--lib/autoconf/programs.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index 0ad3ddd1..86ba3948 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -727,7 +727,12 @@ b { REJECT; }
c { yymore (); }
d { yyless (1); }
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
- yyless ((input () != 0)); }
+#ifdef __cplusplus
+ yyless ((yyinput () != 0));
+#else
+ yyless ((input () != 0));
+#endif
+ }
f { unput (yytext[0]); }
. { BEGIN INITIAL; }
%%