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

jpeach at samba.org jpeach at samba.org
Fri Sep 2 03:10:43 GMT 2005


Author: jpeach
Date: 2005-09-02 03:10:42 +0000 (Fri, 02 Sep 2005)
New Revision: 9939

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

Log:
Add configure check for yapp.

Modified:
   branches/SAMBA_4_0/source/build/m4/check_perl.m4
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_perl.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_perl.m4	2005-09-02 00:55:39 UTC (rev 9938)
+++ branches/SAMBA_4_0/source/build/m4/check_perl.m4	2005-09-02 03:10:42 UTC (rev 9939)
@@ -14,5 +14,7 @@
 	PERL="$PERL -W"
 fi
 
+AC_PATH_PROG(YAPP, yapp, false)
+
 PIDL_ARGS=""
 AC_SUBST(PIDL_ARGS)

Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-09-02 00:55:39 UTC (rev 9938)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-09-02 03:10:42 UTC (rev 9939)
@@ -89,6 +89,7 @@
 
 LEX=$config{LEX}
 YACC=$config{YACC}
+YAPP=$config{YAPP}
 
 CPP=$config{CPP}
 

Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk	2005-09-02 00:55:39 UTC (rev 9938)
+++ branches/SAMBA_4_0/source/main.mk	2005-09-02 03:10:42 UTC (rev 9939)
@@ -134,14 +134,14 @@
 	@CPP="$(CPP)" PERL="$(PERL)" script/build_idl.sh PARTIAL @PIDL_ARGS@
 
 pidl/lib/Parse/Pidl/IDL.pm: pidl/idl.yp
-	-yapp -s -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp 
+	-$(YAPP) -s -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp 
 
 smb_interfaces: pidl/smb_interfaces.pm
 	$(PERL) -Ipidl script/build_smb_interfaces.pl \
 		include/smb_interfaces.h
 
 pidl/smb_interfaces.pm: pidl/smb_interfaces.yp
-	-yapp -s -m 'smb_interfaces' -o pidl/smb_interfaces.pm pidl/smb_interfaces.yp 
+	-$(YAPP) -s -m 'smb_interfaces' -o pidl/smb_interfaces.pm pidl/smb_interfaces.yp 
 
 include/config.h:
 	@echo "include/config.h not present"



More information about the samba-cvs mailing list