summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-03-24 12:03:17 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-03-24 12:03:17 -0700
commite270ccbde76cfb8e4739cd36067db6c181cc3bc9 (patch)
treee62b4bf3538ecd90518ae3f2f9f84cea2219609f /configure.ac
parent1b3dd1256823e752599c20fc0a9a0d69e85d6808 (diff)
downloadxrdp-proprietary-e270ccbde76cfb8e4739cd36067db6c181cc3bc9.tar.gz
xrdp-proprietary-e270ccbde76cfb8e4739cd36067db6c181cc3bc9.zip
only check for tjpeg if --enable-tjpeg is passed
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9f8dd04a..e93862ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,6 +128,8 @@ then
fi
# checking for TurboJPEG
+if ! test -z "$enable_tpeg"
+then
if test ! -z "$TURBOJPEG_PATH"
then
# env var TURBOJPEG_PATH has been defined, use that
@@ -153,6 +155,7 @@ else
AC_SUBST(TurboJpegIncDir, [""])
AC_SUBST(TurboJpegLibDir, [""])
fi
+fi
# checking for Xlib, Xfixes
AC_CHECK_HEADER([X11/Xlib.h], [],