diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-04-07 22:41:46 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-04-07 22:41:46 -0700 |
commit | 6333cdd86564f103d1e500e9c2857663d8c68f81 (patch) | |
tree | 94bb6c482170ae07f06fb220d986c94021e4ea5e /configure.ac | |
parent | 8db6dd3f77548df571085bed9416554fab52db30 (diff) | |
download | xrdp-proprietary-6333cdd86564f103d1e500e9c2857663d8c68f81.tar.gz xrdp-proprietary-6333cdd86564f103d1e500e9c2857663d8c68f81.zip |
added non standard jpeg support off by default
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4ddd409f..dddd5a07 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,10 @@ AC_ARG_ENABLE(freerdp1, AS_HELP_STRING([--enable-freerdp1], [Build freerdp1 module (default: no)]), [freerdp1=true], [freerdp1=false]) AM_CONDITIONAL(XRDP_FREERDP1, [test x$freerdp1 = xtrue]) +AC_ARG_ENABLE(jpeg, AS_HELP_STRING([--enable-jpeg], + [Build jpeg module (default: no)]), + [jpeg=true], [jpeg=false]) +AM_CONDITIONAL(XRDP_JPEG, [test x$jpeg = xtrue]) AM_CONDITIONAL(GOT_PREFIX, test "x${prefix}" != "xNONE"]) @@ -47,6 +51,13 @@ fi AS_IF( [test "x$enable_freerdp1" = "xyes"] , [PKG_CHECK_MODULES(FREERDP, freerdp >= 1.0.0)] ) +# checking for libjpeg +if ! test -z "$enable_jpeg" +then + AC_CHECK_HEADER([jpeglib.h], [], + [AC_MSG_ERROR([please install libjpeg-dev or libjpeg-devel])]) +fi + # checking for Xlib, Xfixes AC_CHECK_HEADER([X11/Xlib.h], [], [AC_MSG_ERROR([please install libx11-dev or libX11-devel])]) |