"SunOS 5"*)
SOLARIS=yes
;;
-"Linux"*)
- LINUX=yes
- ;;
"IRIX 6"*)
LDFLAGS="-L/usr/lib32 $LDFLAGS"
;;
fi
dnl Checks for IRIX-specific Compression Library.
+AC_SEARCH_LIBS([clQuerySchemeFromName])
AC_CHECK_LIB(cl, clQuerySchemeFromName,
[AC_DEFINE(HAVE_CL)
- IRIX_COMPRESS=yes
- LIBS="$LIBS -lcl"])
+ IRIX_COMPRESS=yes])
AM_CONDITIONAL([IRIX_COMPRESS], [ test "x$IRIX_COMPRESS" = xyes ])
dnl Checks for IRIX-specific Digital Media libraries.
AC_CHECK_LIB(dmedia, dmICCreate,
[AC_DEFINE(HAVE_DMEDIA)
- IRIX_MEDIA=yes
- LIBS="$LIBS -ldmedia"])
+ IRIX_MEDIA=yes])
AM_CONDITIONAL([IRIX_MEDIA], [ test "x$IRIX_MEDIA" = xyes ])
AC_ARG_WITH([included-zlib],
[], [with_included_zlib='no'])
if test "x$with_included_zlib" = xno; then
- AC_SEARCH_LIBS([inflateEnd], [z],
- [ZLIB_LIB='-lz'],
+ AC_SEARCH_LIBS([inflateEnd], [z], [],
[ZLIB_DIR=zlib
ZLIB_INCLUDE='-I$(top_srcdir)/zlib'
ZLIB_LIB='$(top_srcdir)/zlib/libz.la'])
[], [with_included_jpeg='no'])
if test "x$with_included_jpeg" = xno; then
- AC_SEARCH_LIBS([jpeg_destroy_compress], [jpeg],
- [JPEG_LIB='-ljpeg'],
+ AC_SEARCH_LIBS([jpeg_destroy_compress], [jpeg], [],
[JPEG_DIR=jpeg
JPEG_INCLUDE='-I$(top_srcdir)/jpeg'
JPEG_LIB='$(top_srcdir)/jpeg/libjpeg.la'])
USE_MITSHM=yes
USE_SUN_OVL=yes
;;
-"Linux"*)
- LINUX=yes
- USE_MITSHM=yes
- ;;
"IRIX 6"*)
LDFLAGS="-L/usr/lib32 $LDFLAGS"
USE_MITSHM=yes
fi
fi
-dnl Check for IRIX-specific Compression Library.
-AC_CHECK_LIB(cl, clQuerySchemeFromName,
- [AC_DEFINE(HAVE_CL)
- CL_LIB=-lcl])
-AC_SUBST(CL_LIB)
-
-dnl Check for IRIX-specific Digital Media libraries.
-AC_CHECK_LIB(dmedia, dmICCreate,
- [AC_DEFINE(HAVE_DMEDIA)
- DMEDIA_LIB=-ldmedia])
-AC_SUBST(DMEDIA_LIB)
-
AC_PATH_XTRA
AC_ARG_ENABLE(vncconfig,
vncviewer_LDADD = $(top_srcdir)/tx/libtx.la $(COMMON_DIR)/rfb/librfb.la \
$(COMMON_DIR)/network/libnetwork.la $(COMMON_DIR)/rdr/librdr.la \
- @X_PRE_LIBS@ @X_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ @CL_LIB@ \
- @DMEDIA_LIB@ # @LIBINTL@
+ @X_PRE_LIBS@ @X_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ # @LIBINTL@
x0vncserver_LDADD = $(COMMON_DIR)/rfb/librfb.la \
$(COMMON_DIR)/network/libnetwork.la $(COMMON_DIR)/rdr/librdr.la \
$(top_srcdir)/tx/libtx.la @INET_LIB@ @X_PRE_LIBS@ @X_LIBS@ \
- @XTEST_LIB@ -lXext -lX11 @X_EXTRA_LIBS@ @CL_LIB@ @DMEDIA_LIB@
+ @XTEST_LIB@ -lXext -lX11 @X_EXTRA_LIBS@