only check for tjpeg if --enable-tjpeg is passed

ulab-next
Jay Sorg 11 years ago
parent 1b3dd12568
commit e270ccbde7

@ -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], [],

Loading…
Cancel
Save