CVS User Account cvsuser
Wed Jan 26 18:30:10 PST 2005
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


More information about the Slony1-commit mailing list