summaryrefslogtreecommitdiff
path: root/source3/lib/replace/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/configure.ac')
-rw-r--r--source3/lib/replace/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/replace/configure.ac b/source3/lib/replace/configure.ac
index beeb77e152..f5e054f476 100644
--- a/source3/lib/replace/configure.ac
+++ b/source3/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$srcdir"
+
AC_LIBREPLACE_ALL_CHECKS
if test "$ac_cv_prog_gcc" = yes; then