diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-25 22:15:48 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-25 22:15:48 +0200 |
commit | d950cdec3b3261fe8ca8723b9d4203ae09bbdac3 (patch) | |
tree | 4874c1159e231db7b955430efd5ae9b72b76f75e /libpiano | |
parent | ea391800318b03158906a2eb101ed0e2e3a9256e (diff) | |
download | pianobar-windows-d950cdec3b3261fe8ca8723b9d4203ae09bbdac3.tar.gz pianobar-windows-d950cdec3b3261fe8ca8723b9d4203ae09bbdac3.tar.bz2 pianobar-windows-d950cdec3b3261fe8ca8723b9d4203ae09bbdac3.zip |
More checks in ./configure
Diffstat (limited to 'libpiano')
-rw-r--r-- | libpiano/configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libpiano/configure.in b/libpiano/configure.in index 9ad6541..5f9ada5 100644 --- a/libpiano/configure.in +++ b/libpiano/configure.in @@ -1,9 +1,12 @@ +# init +AC_PREREQ(2.62) AC_INIT([libpiano], [0.1], [PromyLOPh@gmail.com]) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_SRCDIR([src/main.c]) AM_CONFIG_HEADER([src/config.h]) AM_INIT_AUTOMAKE([-Wall]) +# progs AC_PROG_CC AM_PROG_CC_C_O AM_SANITY_CHECK @@ -11,6 +14,7 @@ AM_PROG_LIBTOOL PKG_PROG_PKG_CONFIG +# libs PKG_CHECK_MODULES(LIBCURL, libcurl >= 7.18.0) AC_SUBST(LIBCURL_CFLAGS) AC_SUBST(LIBCURL_LIBS) @@ -19,6 +23,14 @@ PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.31) AC_SUBST(LIBXML_CFLAGS) AC_SUBST(LIBXML_LIBS) +# headers +AC_CHECK_HEADERS([stdlib.h string.h]) + +# libc functions +AC_FUNC_REALLOC +AC_CHECK_FUNCS([memset strchr strdup]) + +# output AC_CONFIG_FILES(Makefile src/Makefile) AC_OUTPUT |