summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
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], [],