gambas-source-code/gb.compress.bzlib2/configure.ac
2018-08-29 01:11:22 +00:00

25 lines
547 B
Text

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