From d950cdec3b3261fe8ca8723b9d4203ae09bbdac3 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 25 Aug 2008 22:15:48 +0200 Subject: More checks in ./configure --- libwardrobe/configure.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libwardrobe') diff --git a/libwardrobe/configure.in b/libwardrobe/configure.in index 55ec57e..5556532 100644 --- a/libwardrobe/configure.in +++ b/libwardrobe/configure.in @@ -1,9 +1,12 @@ +# init +AC_PREREQ(2.62) AC_INIT([libwardrobe], [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,10 +14,21 @@ AM_PROG_LIBTOOL PKG_PROG_PKG_CONFIG +# libs PKG_CHECK_MODULES(LIBCURL, libcurl >= 7.18.0) AC_SUBST(LIBCURL_CFLAGS) AC_SUBST(LIBCURL_LIBS) +# headers +AC_CHECK_HEADERS([stdlib.h string.h]) + +# compiler characteristics +AC_TYPE_SIZE_T + +# libc functions +AC_CHECK_FUNCS([memset strchr strdup]) + +# output AC_CONFIG_FILES(Makefile src/Makefile) AC_OUTPUT -- cgit v1.2.3