Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / mbstring / libmbfl / configure.in
blobf7fd58f85794fafe68a20930175cb385ea5629ed
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
9 SHLIB_VERSION="1:1:0"
10 AC_SUBST(SHLIB_VERSION)
12 # Checks for programs.
13 AC_PROG_CC
14 AC_PROG_CXX
15 AC_PROG_LIBTOOL
16 AC_PROG_RANLIB
18 # Checks for libraries.
20 # Checks for header files.
21 AC_HEADER_STDC
22 AC_CHECK_HEADERS([stdlib.h stddef.h assert.h])
24 # Checks for typedefs, structures, and compiler characteristics.
25 AC_C_CONST
26 AC_TYPE_SIZE_T
28 # Checks for library functions.
29 AC_FUNC_MALLOC
30 AC_FUNC_REALLOC
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"
39 AC_CONFIG_FILES([
40   Makefile
41   mbfl/Makefile
42   filters/Makefile
43   nls/Makefile
44   tests/Makefile
45   tests/conv_encoding.tests/Makefile
46   tests/conv_kana.tests/Makefile
47   tests/strwidth.tests/Makefile
48   tests/strcut.tests/Makefile])
49 AC_OUTPUT