aboutsummaryrefslogtreecommitdiffstats
path: root/main/recode/recode-flex-m4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/recode/recode-flex-m4.patch')
-rw-r--r--main/recode/recode-flex-m4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/recode/recode-flex-m4.patch b/main/recode/recode-flex-m4.patch
new file mode 100644
index 0000000000..e63bdbf25c
--- /dev/null
+++ b/main/recode/recode-flex-m4.patch
@@ -0,0 +1,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])
++])])