mirror of
https://github.com/samba-team/samba.git
synced 2025-05-28 21:05:48 +03:00
r18905: I'm not really proud of this but I don't want to maintain
2 separate CPPFLAGS variables. So just cleanup the SAMBA_CPPFLAGS for out of tree builds. This has been tested locally and works. Maybe metze can find a better way tomorrow.
This commit is contained in:
parent
7e908acdef
commit
8aa681df99
@ -238,7 +238,10 @@ SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc"
|
||||
|
||||
SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/popt"
|
||||
|
||||
SAMBA_CPPFLAGS=`echo ${SAMBA_CPPFLAGS} | sed -e "s;${srcdir};\$\(srcdir\);g"`
|
||||
## cleanup the $(srcdir) in the Makefile if we are outside of the tree
|
||||
if test "x${srcdir-.}" != "x."; then
|
||||
SAMBA_CPPFLAGS=`echo ${SAMBA_CPPFLAGS} | sed -e "s;${srcdir};\$\(srcdir\);g"`
|
||||
fi
|
||||
|
||||
AC_SUBST(configdir)
|
||||
AC_SUBST(lockdir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user