Wed Jan 26 18:30:10 PST 2005
- Previous message: [Slony1-commit] By darcyb: Clean up detection of lex/yacc as well as check for perl's
- Next message: [Slony1-commit] By darcyb: Bring the previous configure.ac commit into the frontend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Check for FLEX and bail if not present
Modified Files:
--------------
slony1-engine/src/slon:
Makefile (r1.26 -> r1.27)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lsrc/slon/Makefile -Lsrc/slon/Makefile -u -w -r1.26 -r1.27
--- src/slon/Makefile
+++ src/slon/Makefile
@@ -61,7 +61,12 @@
confoptions.o: confoptions.c slon.h confoptions.h
conf-file.c: conf-file.l
- $(FLEX) -o$(@) $<
+ifdef FLEX
+ $(FLEX) $(FLEXFLAGS) -o'$@' $<
+else
+ @echo "Missing flex $< $@"
+ @exit
+endif
clean distclean:
rm -f $(ALL) $(OBJS) $(PROG).core
- Previous message: [Slony1-commit] By darcyb: Clean up detection of lex/yacc as well as check for perl's
- Next message: [Slony1-commit] By darcyb: Bring the previous configure.ac commit into the frontend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list