svn commit: samba r14913 - in branches/SAMBA_4_0/source/build: m4 smb_build

metze at samba.org metze at samba.org
Tue Apr 4 17:10:08 GMT 2006


Author: metze
Date: 2006-04-04 17:10:07 +0000 (Tue, 04 Apr 2006)
New Revision: 14913

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

Log:
readd --with-selftest-prefix as it's needed
to workarround the 108 char limitation on unix socket paths.

make test fails when I try to use ./st
in /home/People/metze/devel/samba/4.0/samba4-ci/source/

metze
Modified:
   branches/SAMBA_4_0/source/build/m4/check_path.m4
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_path.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_path.m4	2006-04-04 16:58:28 UTC (rev 14912)
+++ branches/SAMBA_4_0/source/build/m4/check_path.m4	2006-04-04 17:10:07 UTC (rev 14913)
@@ -122,6 +122,24 @@
 AC_SUBST(winbindd_socket_dir)
 AC_SUBST(modulesdir)
 
+#################################################
+# set prefix for 'make test'
+# this is needed to workarround the 108 char 
+# unix socket path limitation!
+#
+selftest_prefix="./st"
+AC_SUBST(selftest_prefix)
+AC_ARG_WITH(selftest-prefix,
+[  --with-selftest-prefix=DIR    The prefix where make test will be runned ($selftest_prefix)],
+[ case "$withval" in
+  yes|no)
+    AC_MSG_WARN([--with-selftest-prefix called without argument - will use default])
+  ;;
+  * )
+    selftest_prefix="$withval"
+    ;;
+  esac])
+
 debug=no
 AC_ARG_ENABLE(debug,
 [  --enable-debug          Turn on compiler debugging information (default=no)],

Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2006-04-04 16:58:28 UTC (rev 14912)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2006-04-04 17:10:07 UTC (rev 14913)
@@ -67,7 +67,7 @@
 	$self->output(<< "__EOD__"
 prefix = $self->{config}->{prefix}
 exec_prefix = $self->{config}->{exec_prefix}
-selftest_prefix = ./st
+selftest_prefix = $self->{config}->{selftest_prefix}
 VPATH = $self->{config}->{srcdir}:heimdal/lib/asn1:heimdal/lib/krb5:heimdal/lib/gssapi:heimdal/lib/hdb:heimdal/lib/roken:heimdal/lib/des
 srcdir = $self->{config}->{srcdir}
 builddir = $self->{config}->{builddir}



More information about the samba-cvs mailing list