1 AC_INIT([libmpd], [0.17.97-git], [qball@sarine.nl])
2 AM_CONFIG_HEADER(config.h)
3 m4_define([package_major_version], [0])
4 m4_define([package_minor_version], [17])
5 m4_define([package_micro_version], [97-git])
6 m4_define([package_version], [package_major_version.package_minor_version.package_micro_version])
10 # C is updated on abi break
11 # R is on changed source code.
12 # A is age (added interfaces)
14 LIBMPD_LIBTOOL_VERSION=1:0:0
15 AC_SUBST(LIBMPD_LIBTOOL_VERSION)
21 AC_REPLACE_FUNCS(strndup)
26 *-*-mingw32* | *-*-windows)
27 EXTRA_CFLAGS="-mno-cygwin -mwindows -mms-bitfields -fno-strict-aliasing -DMPD_NO_GAI"
28 EXTRA_LDFLAGS="-export-all-symbols -mwindows -no-undefined -lws2_32 -mms-bitfields" ;;
30 EXTRA_CFLAGS="-fno-strict-aliasing"
31 EXTRA_LDFLAGS="-export-all-symbols -mms-bitfields";;
33 AC_SUBST(EXTRA_CFLAGS)
34 AC_SUBST(EXTRA_LDFLAGS)
36 PKG_CHECK_MODULES([glib], glib-2.0 >= 2.16)
40 # Checks for header files.
42 AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
49 example/testcase/Makefile