gegl r1846 - in trunk: . operations/workshop



Author: ok
Date: Thu Jan 17 01:10:40 2008
New Revision: 1846
URL: http://svn.gnome.org/viewvc/gegl?rev=1846&view=rev

Log:
* operations/workshop/Makefile.am: applied patch from Deji Akingunola
making the build of ff-save dependenton presence of ffmpeg libraries.


Modified:
   trunk/ChangeLog
   trunk/operations/workshop/Makefile.am

Modified: trunk/operations/workshop/Makefile.am
==============================================================================
--- trunk/operations/workshop/Makefile.am	(original)
+++ trunk/operations/workshop/Makefile.am	Thu Jan 17 01:10:40 2008
@@ -30,8 +30,13 @@
 
 ff-save$(SHREXT): ff-save.c $(GEGLHEADERS)
 	-$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDADD) \
+	@if [ ! $(-z "$(AVCODEC_LIBS)") -o $(-z "$(AVFORMAT_LIBS)") ]; then \
+	echo $@;\
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDADD) \
 		$(AVCODEC_CFLAGS) $(AVCODEC_LIBS) \
 		$(AVFORMAT_CFLAGS) $(AVFORMAT_LIBS) 
+		$(AVFORMAT_CFLAGS) $(AVFORMAT_LIBS);\
+	fi
 
 gtk-display$(SHREXT): gtk-display.c $(GEGLHEADERS)
 	@[ ! -z "$(GTK_LIBS)" ] &&\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]