From bd2380978db03f93ff5af54e98f3dc3f9ff0f1ec Mon Sep 17 00:00:00 2001 From: James Peach Date: Mon, 2 Apr 2007 17:02:52 +0000 Subject: r22027: Allow separate build and source directories. Don't follow symlinks when copying hemidal_build since this leads to traversal loops. (This used to be commit ef32ad83d2edbd8fe638d1f5493b960d2e09b6ae) --- source4/configure.ac | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) (limited to 'source4') diff --git a/source4/configure.ac b/source4/configure.ac index 02e6eb3710..f8450b01d1 100644 --- a/source4/configure.ac +++ b/source4/configure.ac @@ -78,6 +78,10 @@ CFLAGS_REMOVE_USR_INCLUDE(CPPFLAGS) AC_SUBST(ac_default_prefix) +for d in build/smb_build bin include ; do + test -d ${builddir}/$d || AS_MKDIR_P(${builddir}/$d) +done + echo "configure: creating build/smb_build/config.pm" cat >build/smb_build/config.pm<