diff options
author | Simo Sorce <idra@samba.org> | 2009-01-30 01:01:05 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-30 01:02:23 -0500 |
commit | 4e0a61970120e10a6309251a97e660697818fa8a (patch) | |
tree | 428a9138ebb19db6f2a3a843a7b8e5cf457ffb57 | |
parent | 380874ef863866c94c999ef53252b9d30df65e88 (diff) | |
download | samba-4e0a61970120e10a6309251a97e660697818fa8a.tar.gz samba-4e0a61970120e10a6309251a97e660697818fa8a.tar.xz samba-4e0a61970120e10a6309251a97e660697818fa8a.zip |
Fix standalone configure scripts
-rw-r--r-- | lib/tevent/build_macros.m4 | 1 | ||||
-rw-r--r-- | source4/lib/ldb/build_macros.m4 | 1 | ||||
-rw-r--r-- | source4/lib/ldb/external/libevents.m4 | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/tevent/build_macros.m4 b/lib/tevent/build_macros.m4 index c036668cd1..bb7fad8f7a 100644 --- a/lib/tevent/build_macros.m4 +++ b/lib/tevent/build_macros.m4 @@ -7,6 +7,7 @@ AC_DEFUN(BUILD_WITH_SHARED_BUILD_DIR, if test x"$with_shared_build_dir" != x; then sharedbuilddir=$with_shared_build_dir CFLAGS="$CFLAGS -I$with_shared_build_dir/include" + CPPFLAGS="$CPPFLAGS -I$with_shared_build_dir/include" LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib" fi AC_SUBST(sharedbuilddir) diff --git a/source4/lib/ldb/build_macros.m4 b/source4/lib/ldb/build_macros.m4 index c036668cd1..bb7fad8f7a 100644 --- a/source4/lib/ldb/build_macros.m4 +++ b/source4/lib/ldb/build_macros.m4 @@ -7,6 +7,7 @@ AC_DEFUN(BUILD_WITH_SHARED_BUILD_DIR, if test x"$with_shared_build_dir" != x; then sharedbuilddir=$with_shared_build_dir CFLAGS="$CFLAGS -I$with_shared_build_dir/include" + CPPFLAGS="$CPPFLAGS -I$with_shared_build_dir/include" LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib" fi AC_SUBST(sharedbuilddir) diff --git a/source4/lib/ldb/external/libevents.m4 b/source4/lib/ldb/external/libevents.m4 index 24534f2c21..6a0e36af8b 100644 --- a/source4/lib/ldb/external/libevents.m4 +++ b/source4/lib/ldb/external/libevents.m4 @@ -3,5 +3,5 @@ AC_SUBST(TEVENT_CFLAGS) AC_SUBST(TEVENT_LIBS) AC_CHECK_HEADER(tevent.h, - [AC_CHECK_LIB(tevent, event_context_init, [TEVENT_LIBS="-ltevent"]) ], + [AC_CHECK_LIB(tevent, tevent_context_init, [TEVENT_LIBS="-ltevent"]) ], [PKG_CHECK_MODULES(TEVENT, tevent)]) |