diff options
author | dscho <dscho> | 2004-01-29 13:33:03 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-01-29 13:33:03 +0000 |
commit | e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69 (patch) | |
tree | 41bc35faf0ff0868f7993942adde98cbccd3846d /configure.ac | |
parent | 34fc97a52add15a0b3060fac23bad6bc5324403a (diff) | |
download | libtdevnc-e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69.tar.gz libtdevnc-e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69.zip |
Honour the check for libz, libjpeg again
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f213615..ddaec06 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ fi if test ! -z "$HAVE_ZLIB_H"; then AC_CHECK_LIB(z, deflate, , HAVE_ZLIB_H="") if test ! -z "$HAVE_JPEGLIB_H" -a ! -z "$HAVE_ZLIB_H"; then - AC_CHECK_LIB(jpeg, jpeg_CreateCompress) + AC_CHECK_LIB(jpeg, jpeg_CreateCompress, , HAVE_JPEGLIB_H="") fi fi if test ! -z "$HAVE_PTHREAD_H"; then @@ -77,6 +77,8 @@ if test ! -z "$HAVE_PTHREAD_H"; then AC_CHECK_LIB(pthread, pthread_mutex_lock, HAVE_LIBPTHREAD="true") fi AM_CONDITIONAL(HAVE_LIBPTHREAD, test ! -z "$HAVE_LIBPTHREAD") +AM_CONDITIONAL(HAVE_LIBZ, test ! -z "$HAVE_ZLIB_H") +AM_CONDITIONAL(HAVE_LIBJPEG, test ! -u "$HAVE_JPEGLIB_H") # Checks for header files. AC_HEADER_STDC |