2 AM_CONFIG_HEADER(config.h)
3 AM_INIT_AUTOMAKE(libmpd, 0.14.102, Qball@Sarine.nl)
9 AC_REPLACE_FUNCS(strndup)
14 *-*-mingw32* | *-*-windows)
15 EXTRA_CFLAGS="-mno-cygwin -mwindows -mms-bitfields -fno-strict-aliasing -DMPD_NO_GAI"
16 EXTRA_LDFLAGS="-export-all-symbols -mwindows -no-undefined -lregex -lws2_32 -mms-bitfields" ;;
18 EXTRA_CFLAGS="-fno-strict-aliasing"
19 EXTRA_LDFLAGS="-export-all-symbols -mms-bitfields";;
21 AC_SUBST(EXTRA_CFLAGS)
22 AC_SUBST(EXTRA_LDFLAGS)
24 PKG_CHECK_MODULES([glib], glib-2.0 >= 2.10)
28 # Checks for header files.
30 AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
31 AC_CHECK_HEADER([regex.h], [],
32 [AC_MSG_ERROR([Required header regex.h not found.])])
39 example/testcase/Makefile