svn commit: smb-build r18 - in trunk/build/m4: .

tpot at samba.org tpot at samba.org
Mon Aug 1 02:59:04 GMT 2005


Author: tpot
Date: 2005-08-01 02:59:04 +0000 (Mon, 01 Aug 2005)
New Revision: 18

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=smb-build&rev=18

Log:
Add a python existence and version number check to see what's out there 
on the build farm machines.

Added:
   trunk/build/m4/check_python.m4
Modified:
   trunk/build/m4/env.m4


Changeset:
Added: trunk/build/m4/check_python.m4
===================================================================
--- trunk/build/m4/check_python.m4	2005-07-30 03:43:32 UTC (rev 17)
+++ trunk/build/m4/check_python.m4	2005-08-01 02:59:04 UTC (rev 18)
@@ -0,0 +1,12 @@
+dnl SMB Build Environment LD Checks
+dnl -------------------------------------------------------
+dnl  Copyright (C) Stefan (metze) Metzmacher 2004
+dnl  Released under the GNU GPL
+dnl -------------------------------------------------------
+dnl
+dnl Check if we use Python
+AC_PATH_PROG(PYTHON, python)
+if test x"$PYTHON" != x""; then
+	AC_MSG_CHECKING([python version])
+	$PYTHON -c "import sys, string; print sys.version.replace('\\n', ' ')"
+fi

Modified: trunk/build/m4/env.m4
===================================================================
--- trunk/build/m4/env.m4	2005-07-30 03:43:32 UTC (rev 17)
+++ trunk/build/m4/env.m4	2005-08-01 02:59:04 UTC (rev 18)
@@ -19,5 +19,6 @@
 sinclude(build/m4/check_perl.m4)
 sinclude(build/m4/check_cc.m4)
 sinclude(build/m4/check_ld.m4)
+sinclude(build/m4/check_python.m4)
 sinclude(build/m4/check_shld.m4)
 sinclude(build/m4/check_types.m4)



More information about the samba-cvs mailing list