From 66d4c38967e0d420929d4e1fdab0590161d526bc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 27 Feb 2008 01:29:12 +0100 Subject: [PATCH] libreplace: fix standalone build on some systems. getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael --- source/lib/replace/configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lib/replace/configure.ac b/source/lib/replace/configure.ac index beeb77e1520..72d788ddccc 100644 --- a/source/lib/replace/configure.ac +++ b/source/lib/replace/configure.ac @@ -3,6 +3,8 @@ AC_INIT(replace.c) AC_CONFIG_SRCDIR([replace.c]) AC_CONFIG_HEADER(config.h) +CFLAGS="$CFLAGS -I." + AC_LIBREPLACE_ALL_CHECKS if test "$ac_cv_prog_gcc" = yes; then