From: Adam Tkac Date: Thu, 17 Apr 2008 17:09:59 +0000 (+0000) Subject: - removed libz and libjpeg detection from unix/configure.ac (done in common/configure.ac) X-Git-Tag: v0.0.90~384^2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c777ac94c30419584b4a4a86c18890d5f882428;p=tigervnc.git - removed libz and libjpeg detection from unix/configure.ac (done in common/configure.ac) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2494 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/configure.ac b/unix/configure.ac index eedd267c..8c9d37d2 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -71,40 +71,6 @@ AC_SUBST(DMEDIA_LIB) AC_PATH_XTRA -AC_ARG_WITH(installed-zlib, -[ --with-installed-zlib use the version of zlib which is installed on the - system instead of the one distributed with VNC]) - -if test "$with_installed_zlib" = yes; then - echo "using installed zlib" - ZLIB_LIB=-lz -else - ZLIB_DIR='$(COMMON)/zlib' - ZLIB_INCLUDE='-I$(COMMON)/zlib' - ZLIB_LIB='$(COMMON)/zlib/libz.a' -fi - -AC_SUBST(ZLIB_DIR) -AC_SUBST(ZLIB_INCLUDE) -AC_SUBST(ZLIB_LIB) - -AC_ARG_WITH(installed-jpeg, -[ --with-installed-jpeg use the version of jpeg which is installed on the - system instead of the one distributed with VNC]) - -if test "$with_installed_jpeg" = yes; then - echo "using installed jpeg" - JPEG_LIB=-ljpeg -else - JPEG_DIR='$(COMMON)/jpeg/build' - JPEG_INCLUDE='-I$(COMMON)/jpeg' - JPEG_LIB='$(COMMON)/jpeg/build/libjpeg.a' -fi - -AC_SUBST(JPEG_DIR) -AC_SUBST(JPEG_INCLUDE) -AC_SUBST(JPEG_LIB) - AC_ARG_ENABLE(vncconfig, [ --enable-vncconfig build the vncconfig utility (assumed by default), use --disable-vncconfig to skip building vncconfig]) @@ -154,14 +120,6 @@ fi AC_LANG_RESTORE AC_SUBST(INET_LIB) -BOILERPLATE=boilerplate.mk - -if (sh -c "make --version" 2>/dev/null | grep GNU 2>&1 >/dev/null); then - if sh -c "vncmkdepend" >/dev/null 2>&1; then - BOILERPLATE="$BOILERPLATE:depend.mk" - fi -fi - AC_OUTPUT(Makefile tx/Makefile x0vncserver/Makefile