8e60424
--- recode-3.6-orig/m4/flex.m4	2000-06-28 16:39:06.000000000 +0200
8e60424
+++ recode-3.6/m4/flex.m4	2010-07-07 12:23:49.000000000 +0200
8e60424
@@ -8,11 +8,8 @@
8e60424
 dnl Look for flex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
8e60424
 AC_DEFUN(ad_AC_PROG_FLEX,
8e60424
 [AC_CHECK_PROGS(LEX, flex, missing)
8e60424
-if test "$LEX" = missing; then
8e60424
+AS_IF([test "$LEX" = missing], [
8e60424
   LEX="\$(top_srcdir)/$ac_aux_dir/missing flex"
8e60424
   LEX_OUTPUT_ROOT=lex.yy
8e60424
   AC_SUBST(LEX_OUTPUT_ROOT)dnl
8e60424
-else
8e60424
-  AC_PROG_LEX
8e60424
-  AC_DECL_YYTEXT
8e60424
-fi])
8e60424
+])])