aboutsummaryrefslogtreecommitdiffstats
path: root/main/recode/recode-flex-m4.patch
blob: e63bdbf25c4a238f4f5183fe53bcf3b223d250e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- recode-3.6-orig/m4/flex.m4	2000-06-28 16:39:06.000000000 +0200
+++ recode-3.6/m4/flex.m4	2010-07-07 12:23:49.000000000 +0200
@@ -8,11 +8,8 @@
 dnl Look for flex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
 AC_DEFUN(ad_AC_PROG_FLEX,
 [AC_CHECK_PROGS(LEX, flex, missing)
-if test "$LEX" = missing; then
+AS_IF([test "$LEX" = missing], [
   LEX="\$(top_srcdir)/$ac_aux_dir/missing flex"
   LEX_OUTPUT_ROOT=lex.yy
   AC_SUBST(LEX_OUTPUT_ROOT)dnl
-else
-  AC_PROG_LEX
-  AC_DECL_YYTEXT
-fi])
+])])