diff options
author | dscho <dscho> | 2003-05-05 11:20:35 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-05-05 11:20:35 +0000 |
commit | 6da361200c5d2bac521f897c943aa3ca0966cb91 (patch) | |
tree | 68642dcbea27706304a987281a9d52f819ae157a | |
parent | b3213b6dfa26c30bcb54d5f69517372da2231e7d (diff) | |
download | libtdevnc-6da361200c5d2bac521f897c943aa3ca0966cb91.tar.gz libtdevnc-6da361200c5d2bac521f897c943aa3ca0966cb91.zip |
fix am__fastdepCXX for system not having ZLIB
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index fafee46..6954429 100644 --- a/configure.ac +++ b/configure.ac @@ -50,15 +50,15 @@ 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") +AC_CHECK_PROGS(CXX,[g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC],none) +AC_PROG_CXX if test ! -z "$HAVE_ZLIB_H"; then AC_CHECK_LIB(z, deflate, , HAVE_ZLIB_H="") if test ! -z "$HAVE_ZLIB_H"; then # check for c++, but don't fail if not found - AC_CHECK_PROGS(CXX,[g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC],none) AH_TEMPLATE(HAVE_ZRLE, [Use zrle compression; needs a c++ compiler]) if test x$CXX != xnone; then AC_DEFINE(HAVE_ZRLE) - AC_PROG_CXX if test -z "$CXX"; then CCLD="\$(CXX)" else |