summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 417c7a394a287637bba014ea6e5a034b4ad2866a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_INIT(foobar, 1.0, me@mail.com)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(src)
AC_CONFIG_MACRO_DIR([m4])
#AC_CONFIG_SRCDIR(src/foobar.cpp)

AM_INIT_AUTOMAKE([foreign])

#AC_PROG_CXX
AC_PROG_CC
LT_INIT
AC_PROG_LIBTOOL
AC_ENABLE_SHARED
AC_DISABLE_STATIC

AC_CHECK_FUNC([strnlen],[CFLAGS="$CFLAGS -DHAVE_STRNLEN"])

AC_OUTPUT(Makefile src/Makefile)