Changeset 1205 for toilet


Ignore:
Timestamp:
Oct 19, 2006, 10:53:36 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Check for zlib if available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/configure.ac

    r1192 r1205  
    2626fi
    2727
    28 AC_CHECK_HEADERS(getopt.h sys/ioctl.h)
     28AC_CHECK_HEADERS(getopt.h sys/ioctl.h zlib.h)
    2929
    3030AC_CHECK_FUNCS(getopt_long,
     
    3434    GETOPT_LIBS="${GETOPT_LIBS} -lgnugetopt"])])
    3535AC_SUBST(GETOPT_LIBS)
     36
     37AC_CHECK_LIB(z, gzopen,
     38 [ZLIB_LIBS="${ZLIB_LIBS} -lz"])
     39AC_SUBST(ZLIB_LIBS)
    3640
    3741AC_CACHE_CHECK([for TIOCGWINSZ],
Note: See TracChangeset for help on using the changeset viewer.