1 # Process this file with autoconf to produce a configure script.
2 AC_INIT(mbfl/mbfilter.c)
3 AM_INIT_AUTOMAKE(libmbfl, 1.1.0)
4 AC_CONFIG_SRCDIR(mbfl/mbfilter.c)
5 AM_CONFIG_HEADER(config.h)
7 # SHLIB isn't a version number but the API reference
8 # Read http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
10 AC_SUBST(SHLIB_VERSION)
12 # Checks for programs.
18 # Checks for libraries.
20 # Checks for header files.
22 AC_CHECK_HEADERS([stdlib.h stddef.h assert.h])
24 # Checks for typedefs, structures, and compiler characteristics.
28 # Checks for library functions.
31 AC_CHECK_FUNCS([strcasecmp strchr])
33 AC_CHECK_PROGS([FETCH_VIA_FTP], [wget curl ncftpget])
35 if test "$FETCH_VIA_FTP" = "curl"; then
36 FETCH_VIA_FTP="curl -O"
45 tests/conv_encoding.tests/Makefile
46 tests/conv_kana.tests/Makefile
47 tests/strwidth.tests/Makefile
48 tests/strcut.tests/Makefile])