From 47197ad4aa2bea3bfdfef3400bb2a09034e970d8 Mon Sep 17 00:00:00 2001 From: stan Date: Sun, 8 Mar 2009 10:41:49 +0000 Subject: [PATCH] Temporary fix to netpbm path detection. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2795 e3e1d417-86f3-4887-817a-d78f3d33393f --- configure | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 7c0cf77ac..b2bd433a9 100755 --- a/configure +++ b/configure @@ -8636,7 +8636,9 @@ $as_echo "no" >&6; } fi +if test "$OPT_NETPBM" = "yes"; then PATH_NETPBM=`dirname $PATH_NETPBM` +fi # Checks for libraries. diff --git a/configure.ac b/configure.ac index 978bc0e94..3859afb79 100644 --- a/configure.ac +++ b/configure.ac @@ -233,7 +233,9 @@ AC_CHECK_PROG(OPT_FFMPEG,ffmpeg,yes,no) AC_PATH_PROG(PATH_FFMPEG,ffmpeg) AC_CHECK_PROG(OPT_NETPBM,pnmscale,yes,no) AC_PATH_PROG(PATH_NETPBM,pnmscale) +if test "$OPT_NETPBM" = "yes"; then PATH_NETPBM=`dirname $PATH_NETPBM` +fi # Checks for libraries. AC_CHECK_LIB(jpeg,jpeg_start_compress,,AC_MSG_ERROR(zm requires libjpeg.a))