zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject zookeeper git commit: ZOOKEEPER-3077: build outside of source directory
Date Thu, 19 Jul 2018 17:15:49 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.5 b78e83b1d -> 92fa6a7bb


ZOOKEEPER-3077: build outside of source directory

Allow building native C library outside of source directory by explicitly
looking for jute generated header and source files inside source directory.

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: phunt@apache.org

Closes #557 from sl4mmy/zookeeper-3077

Change-Id: I7dafcaed6367362f3d8df283e7d0ef5804774ddc
(cherry picked from commit fc9c9fc3b2c24f78c90bd4c7b717e3410afd5e58)
Signed-off-by: Patrick Hunt <phunt@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/92fa6a7b
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/92fa6a7b
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/92fa6a7b

Branch: refs/heads/branch-3.5
Commit: 92fa6a7bb1ac9800fabca80c268ab87f05ad4202
Parents: b78e83b
Author: Kent R. Spillner <kspillner@acm.org>
Authored: Thu Jul 19 10:14:59 2018 -0700
Committer: Patrick Hunt <phunt@apache.org>
Committed: Thu Jul 19 10:15:29 2018 -0700

----------------------------------------------------------------------
 src/c/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/92fa6a7b/src/c/configure.ac
----------------------------------------------------------------------
diff --git a/src/c/configure.ac b/src/c/configure.ac
index 0a6ea1a..0db8a3a 100644
--- a/src/c/configure.ac
+++ b/src/c/configure.ac
@@ -41,7 +41,7 @@ if test "$CALLER" = "ANT" ; then
 CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS -DZKSERVER_CMD=\"\\\"${base_dir}/src/c/tests/zkServer.sh\\\"\""
 else
 CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS -DZKSERVER_CMD=\"\\\"./tests/zkServer.sh\\\"\""
-AC_CHECK_FILES([generated/zookeeper.jute.c generated/zookeeper.jute.h],[],
+AC_CHECK_FILES([$srcdir/generated/zookeeper.jute.c $srcdir/generated/zookeeper.jute.h],[],
     [AC_MSG_ERROR([jute files are missing! Please run "ant compile_jute" while in the zookeeper
top level directory.])
 ])
 fi


Mime
View raw message