dnl ---- Initialization
AC_INIT(configure.ac)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.compress.bzlib2)
AC_PROG_LIBTOOL
dnl ---- bzlib2 compression driver
GB_COMPONENT(
bzlib2,
BZLIB2,
[bzlib2 compression],
[src],
[GB_FIND(bzlib.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include)],
[GB_FIND(libbz2.$SHLIBEXT, /usr/local /opt /usr, lib)],
[$C_LIB -lbz2])
dnl ---- Create makefiles
AC_OUTPUT( \
Makefile \
src/Makefile \
)
GB_PRINT_MESSAGES