]> pilppa.org Git - lib1wire.git/blob - configure.ac
Support for querying the list devices having data stored.
[lib1wire.git] / configure.ac
1 AC_INIT(src/Data.cc)
2 AM_CONFIG_HEADER(config.h)
3 AC_CONFIG_MACRO_DIR([m4])
4
5 PACKAGE=lib1wire
6 VERSION=0.1.0
7
8 CFLAGS="$CFLAGS -ggdb -Wall -Werror"
9 LDFLAGS="$LDFLAGS"
10 AC_SUBST(CFLAGS)
11 AC_SUBST(LDFLAGS)
12 CXXFLAGS="$CXXFLAGS -ggdb -Wall -Werror"
13 AC_SUBST(CXXFLAGS)
14 AC_MSG_NOTICE([lib1wire Makefile])
15
16 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
17
18 AC_PROG_CXX
19 AC_STDC_HEADERS
20 AC_PROG_LIBTOOL
21 AC_PROG_INSTALL
22 AM_PROG_CC_C_O
23
24 PKG_PROG_PKG_CONFIG()
25
26 PKG_CHECK_MODULES(SRC, libplp)
27 AC_SUBST(SRC_CFLAGS)
28 AC_SUBST(SRC_LIBS)
29
30 AC_OUTPUT([
31 lib1wire.pc
32 Makefile
33 src/Makefile
34 src_test/Makefile
35 ])