samba-technical@lists.samba.org
[Top] [All Lists]

[patch-SAMBA4] move config.pm to smb_build/

Subject: [patch-SAMBA4] move config.pm to smb_build/
From: "John E. Malmberg"
Date: Fri, 12 May 2006 16:38:32 -0400
Perl on case insensitive file systems can not tell the difference between 'use Config' and 'use config'. With Perl 5.8.7 and later, there is a Config.pm that is part of Perl that is loaded by many core modules.

Jelmer's suggestion on IRC was to move config.pm into build/smb_build and that works around the problem.

Attached is the patch to do this.

-John
wb8tyw@xxxxxxx
Personal Opinion Only
--- /src_root/samba4/source/configure   Fri May 12 00:45:53 2006
+++ /lcl_root/samba4/source/configure   Fri May 12 10:18:45 2006
@@ -31027,7 +31027,7 @@
 
 
 echo "configure: creating config.pm"
-cat >config.pm<<CEOF
+cat >${srcdir}/build/smb_build/config.pm<<CEOF
 # config.pm - Autogenerate by configure. DO NOT EDIT!
 
 package config;
--- /src_root/samba4/source/build/smb_build/main.pl     Fri May 12 00:07:44 2006
+++ /lcl_root/samba4/source/build/smb_build/main.pl     Fri May 12 10:20:29 2006
@@ -13,7 +13,7 @@
 use smb_build::env;
 use smb_build::cflags;
 use smb_build::summary;
-use config;
+use smb_build::config;
 use strict;
 
 my $INPUT = {};
<Prev in Thread] Current Thread [Next in Thread>