git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71ab53a
)
libreplace: fix standalone build on some systems.
author
Michael Adam
<obnox@samba.org>
Wed, 27 Feb 2008 00:29:12 +0000
(
01:29
+0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 27 Feb 2008 10:06:46 +0000
(11:06 +0100)
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael
(This used to be commit
66d4c38967e0d420929d4e1fdab0590161d526bc
)
source3/lib/replace/configure.ac
patch
|
blob
|
history
diff --git
a/source3/lib/replace/configure.ac
b/source3/lib/replace/configure.ac
index beeb77e15204a6d7bb7f0b22bfe3003d2218a06b..72d788ddccc5b7310c3ea3adef2a6b20651b3fe3 100644
(file)
--- 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."
+
AC_LIBREPLACE_ALL_CHECKS
if test "$ac_cv_prog_gcc" = yes; then