[SCM] Samba Shared Repository - branch v3-6-test updated

Volker Lendecke vlendec at samba.org
Fri Mar 25 09:49:39 MDT 2011


The branch, v3-6-test has been updated
       via  3c3d50a s3: Compile IDL files in autogen, some configure tests need this
      from  abb58c0 s3-rpc_server: remove two uneeded include registry/reg_parse_prs.h

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 3c3d50a4e94575622312d7bb2273e3669ae1b62b
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Mar 25 10:12:52 2011 +0100

    s3: Compile IDL files in autogen, some configure tests need this
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Fri Mar 25 16:35:30 CET 2011 on sn-devel-104
    (cherry picked from commit 26253e04604d2ac6c747a87433a87476f834ac4f)

-----------------------------------------------------------------------

Summary of changes:
 source3/autogen.sh            |   11 +++++++++++
 source3/tests/preproc-dummy.c |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 source3/tests/preproc-dummy.c


Changeset truncated at 500 lines:

diff --git a/source3/autogen.sh b/source3/autogen.sh
index 8f8cd2c..d9f6030 100755
--- a/source3/autogen.sh
+++ b/source3/autogen.sh
@@ -75,6 +75,17 @@ $AUTOCONF $IPATHS || exit 1
 
 rm -rf autom4te*.cache
 
+if gcc -E tests/preproc-dummy.c -o /dev/null ;
+then
+    PIDL_OUTPUTDIR="librpc/gen_ndr" CPP="gcc -E" PIDL=../pidl/pidl \
+	srcdir=. ../librpc/build_idl.sh ../librpc/idl/*.idl
+    PIDL_OUTPUTDIR="librpc/gen_ndr" CPP="gcc -E" PIDL=../pidl/pidl \
+	srcdir=. script/build_idl.sh librpc/idl/*.idl
+else
+   echo "Warning: Could not compile idl files in autogen, "
+   echo "some autconf tests might not work properly"
+fi
+
 echo "Now run ./configure (or ./configure.developer) and then make."
 exit 0
 
diff --git a/source3/tests/preproc-dummy.c b/source3/tests/preproc-dummy.c
new file mode 100644
index 0000000..78f2de1
--- /dev/null
+++ b/source3/tests/preproc-dummy.c
@@ -0,0 +1 @@
+int main(void) { return 0; }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list