s3:autoconf: add -Iautoconf -Iautoconf/source3 at configure stage
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2012 07:14:55 +0000 (09:14 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2012 13:26:45 +0000 (15:26 +0200)
There're some configure tests which require this.

metze

source3/Makefile.in
source3/configure.in

index 50680c48c3ad95a22f5b8e2cc9f6e39f7311c38d..e4c2f7122b760062f3e017d1d1a78a91834625ad 100644 (file)
@@ -170,8 +170,6 @@ FLAGS = -I. \
        $(ISA) \
        -I$(srcdir)/lib \
        -I.. \
-       -Iautoconf \
-       -Iautoconf/source3 \
        -I./../lib/ldb/include \
        -D_SAMBA_BUILD_=3
 
index e6b1a7378313f3799eff9fb39e270529f8383f84..6705a2716b557ee80a3ec8cbf5d0b7ec5620f40a 100644 (file)
@@ -35,7 +35,8 @@ done
 AC_SUBST(LIBTEVENT_OBJ0)
 LIBS="${LIBS} ${TEVENT_LIBS}"
 
-SAMBA_CPPFLAGS="-Iinclude/autoconf -Iinclude -I${srcdir-.}/include  -I. -I${srcdir-.}"
+SAMBA_CPPFLAGS="-Iinclude/autoconf -Iautoconf -Iautoconf/source3"
+SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -Iinclude -I${srcdir-.}/include  -I. -I${srcdir-.}"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${CCAN_CFLAGS}"