X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fconfigure.ac;h=36ce8185d68adbdf0db9c8fb08e419d25d4c55cf;hb=refs%2Ftags%2F2020-01;hp=b0c4e77297b9f22eb20975ee4ab7eae225780537;hpb=9e3d90a964c0fbe97c0b58235336a47111932d5d;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index b0c4e772..36ce8185 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -509,7 +509,7 @@ fi AC_DEFUN([CHECK_LIB], [ if test "x$HAVE_$1" != "xno"; then - if test "x$PKG_$1" = "x" -o "x$WANT_STATIC_BUILD" = "xno" -a "x$PKG_$1" = "xauto"; then + if test "x$PKG_$1" = "x" -o "x$WANT_STATIC_BUILD" = "xno" -a "x$PKG_$1" != "xno"; then AC_CHECK_LIB([$2], [$3], [HAVE_$1=yes], [HAVE_$1=no], [$4]) AC_SUBST([HAVE_$1]) if test "x$WANT_$1" != "xno"; then @@ -728,6 +728,19 @@ CHECK_WANT([LV2], [auto], [use lv2], [ CHECK_HEADERS([lv2], [suil headers], [suil/suil.h]) CFLAGS="$saved_CFLAGS"]) +test "x$HAVE_lilv" = "xno" || \ +test "x$HAVE_sord" = "xno" || \ +test "x$HAVE_serd" = "xno" || \ +test "x$HAVE_sratom" = "xno" || \ +test "x$HAVE_lv2" = "xno" || \ +test "x$HAVE_suil" = "xno" && \ + HAVE_lilv=no && \ + HAVE_sord=no && \ + HAVE_serd=no && \ + HAVE_sratom=no && \ + HAVE_lv2=no && \ + HAVE_suil=no + CHECK_WANT([CUDA], [auto], [build cuda plugins], [ CHECK_HEADERS([CUDA], [cuda sdk], [${CUDA_PATH:-/usr/local/cuda}/include/cuda.h])]) @@ -828,7 +841,11 @@ fi AC_DEFUN([PKG_PROVIDE],[ if test "x$BUILD_$1" = "x" ; then if test "x$PKG_$1" = "xyes"; then - PKG_FORCED([$1]) + if test "x$WANT_CIN_3RDPARTY" = "xno"; then + PKG_SHARED([$1]) + else + PKG_FORCED([$1]) + fi elif test "x$2" = "xno" -o "x$PKG_$1" = "xno"; then PKG_DISABLED([$1]) elif test "x$WANT_STATIC_BUILD" = "xyes"; then @@ -1088,9 +1105,9 @@ if test "x$CFG_LDFLAGS" != "x" ; then fi if test "x$CYGWIN" != "x" ; then - echo 'FF_DIR ?= /usr/local' - echo 'CFLAGS += -I$(FF_DIR)/include' - echo 'LDFLAGS += -L$(FF_DIR)/lib' + echo 'FF_PATH ?= /usr/local' + echo 'LDFLAGS += -L$(FF_PATH)/lib' + echo 'CFLAGS += -I$(FF_PATH)/include' echo "" echo "CFLAGS += -DNO_BTRACE" echo "CFLAGS += -DNO_GDB" @@ -1102,6 +1119,11 @@ if test "x$CYGWIN" != "x" ; then else LDFLAGS+=" -z noexecstack" fi +if test "x$BSD" != "x" ; then + echo "CFLAGS += -DNO_PRCTL" + echo "CFLAGS += -DNO_TID" + echo "CFLAGS += -DNO_GDB" +fi if test "x$WANT_X264_HIDEPTH" = "xyes" ; then X264_CFG_PARAMS="$X264_CFG_PARAMS --bit-depth=10"