3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- mysql-4.1.4a-gamma/sql/Makefile.am~gen_lex_hash
7 +++ mysql-4.1.4a-gamma/sql/Makefile.am
9 @echo "If it fails, re-run configure with --with-low-memory"
10 $(CXXCOMPILE) $(LM_CFLAGS) -c $<
12 -lex_hash.h: lex.h gen_lex_hash.cc sql_yacc.h
13 - $(MAKE) gen_lex_hash$(EXEEXT)
14 - ./gen_lex_hash$(EXEEXT) > $@
15 +GEN_LEX_HASH = ./gen_lex_hash$(EXEEXT)
17 +lex_hash.h: lex.h gen_lex_hash$(EXEEXT) sql_yacc.h
18 + $(GEN_LEX_HASH) > $@ || rm -f $@
20 # Hack to ensure that lex_hash.h is built early