X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fconfigure;h=8b099b37fa5aa5de75f5c831bf7d052d4909c02b;hb=2e52de54cf0de8e2767e48dc0504cd0eb59281ec;hp=9a3cb1b4e2b1e4f5457ef605fec329f1050e5fac;hpb=cd54f062bb1c3cd3173f57c470eaa75eea563969;p=melted diff --git a/mlt++/configure b/mlt++/configure index 9a3cb1b..8b099b3 100755 --- a/mlt++/configure +++ b/mlt++/configure @@ -33,6 +33,8 @@ echo "libdir=$libdir" >> config.mak targetos=$(uname -s) echo "targetos=$targetos" >> config.mak +WARNINGS="-W -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wredundant-decls" + case $targetos in Darwin) echo LIBSUF=.dylib @@ -42,7 +44,7 @@ case $targetos in ;; Linux|FreeBSD) echo LIBSUF=.so - echo "CXXFLAGS+=-pthread -Wall -fPIC `pkg-config --cflags mlt-framework`" + echo "CXXFLAGS+=-pthread -Wall $WARNINGS -fPIC `pkg-config --cflags mlt-framework`" echo "LIBFLAGS=-shared" echo "LDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs`" ;;