Hello Simone, On 12/11/2011 11:14 PM, Simone Caronni wrote: > > there's some redundant code on the configure script in Bacula 5.2.2. > Whn passing "--with-hostname=RESNAME" to configure, the parameter is > ignored and always gets to the output of "uname -n" on the machine > that is currently building Bacula. > > Later parts of the configure script correctly set the hostname to > "uname -n" if no hostname is passed on the command line, but that is > overwritten by the redundant code anyway. > > Attached is the patch which removes the redundant code in configure > and just leaves the logic already in place for determining or > overriding the hostname. > The already functioning logic is at line 23173 of the unpatched > "configure" script. > > diff -Naur bacula-5.2.2.old/configure bacula-5.2.2/configure > --- bacula-5.2.2.old/configure 2011-11-26 15:08:12.000000000 +0100 > +++ bacula-5.2.2/configure 2011-12-11 18:17:30.530625327 +0100
Your patch is against the configure file which is generated by the autoconf/configure.in file and autoconf tool. Can you check if you can do the same thing on the original file ? Thanks, Bye -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel