Makefile check fltk version, thanks Joel
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 26 Jul 2012 09:51:49 +0000 (09:51 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 26 Jul 2012 09:51:49 +0000 (09:51 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@596 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/fltk/Makefile

index a295f59cc7cb18ca23b8ea4f8691d19152583ba8..f29d2cd61226ef104ae155e231bb8454ed2ea62f 100644 (file)
@@ -1,5 +1,10 @@
 # Requires FLTK 1.3 & Portaudio V19
 
+FLTK_VER = $(shell fltk-config --api-version)
+ifneq ($(FLTK_VER),1.3)
+$(error Must use FLTK version 1.3, you have $(FLTK_VER))
+endif
+
 FLTK_CFLAGS += $(shell fltk-config --ldstaticflags)
 CFLAGS = -O3 -g -Wall
 LIBS = ../src/.libs/libcodec2.a -lm -lrt -lportaudio -pthread