[Box Backup-dev] Makefile.extra?

James O'Gorman boxbackup-dev at fluffy.co.uk
Fri Feb 24 18:34:02 GMT 2006


This is a multi-part message in MIME format.
--------------000308010903010407020400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Martin Ebourne wrote:
> On Fri, 2006-02-24 at 17:17 +0000, James O'Gorman wrote:
>> I agree in principal, but maybe this is because my knowledge of compiled 
>> programs is slim, but what difference would it make to use a #define? 
>> You would still have to recompile wouldn't you? Excuse my ignorance if 
>> I'm completely missing the point here.
> 
> Ben's right, you never pass C source code through autoconf. We've got
> dozens of autoconf macros already and they're all #defines of course.

OK. I'll need someone's help with that then. I'm assuming C++ doesn't 
let you do "easy" string concatenation like Perl.

> The issue isn't about recompiling, it's about making changes. Autoconf
> only substitutes in files when you run configure. You really aren't
> going to do that after every change to a source file!

Right, got it.

>> OK. Should I work from HEAD or from the 0.10 release? (In which case 
>> which revision is the release? That commit email seems to have 
>> disappeared into the ether since Alaric blew everything up...)
> 
> Make the change to a checkout of the latest trunk. We can always merge
> it back to a branch for 0.10 if needed.
> 
> Don't use svn diff by itself in this one case though. As I said before,
> the diffs aren't really useable. Give the list of mv commands, then the
> diffs of just the changes on top of that.

Well I made the changes to my svn working copy, but for some reason 'svn 
diff .' only showed the changes to configure.ac. Maybe I did something 
wrong. svn status did show that I had renamed a load of files though.

I've attached a tar/gzip archive that has a shell script to rename the 
necessary files, and a directory with the individual patches I created 
with diff (not svn diff). I've also attached the single diff I got from 
svn diff for configure.ac.

Is the svn diff the preferable format? If so I'll see what's going on 
with that and submit a new set of patches.

James

--------------000308010903010407020400
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="perl-patch-configure.ac"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="perl-patch-configure.ac"

Index: configure.ac
===================================================================
--- configure.ac	(revision 503)
+++ configure.ac	(working copy)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([Box Backup], 0.09, [box at fluffy.co.uk])
+AC_INIT([Box Backup], 0.10, [box at fluffy.co.uk])
 AC_CONFIG_SRCDIR([lib/common/Box.h])
 AC_CONFIG_HEADERS([lib/common/BoxConfig.h])
 
@@ -26,6 +26,8 @@
   # Use -rdynamic if we have gcc. This is needed for backtrace
   AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic'])
 fi
+AC_PROG_PATH([PERL], [perl], [/usr/bin/perl])
+AC_SUBST([PERL])
 
 
 ### Checks for libraries.
@@ -76,6 +78,8 @@
 if test "$target_os" != "mingw32"; then
   AC_HEADER_DIRENT
 fi
+AC_PROG_PATH([PERL], [perl], [/usr/bin/perl])
+AC_SUBST([PERL])
 
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
@@ -203,7 +207,25 @@
 
 
 ### Output files
-AC_CONFIG_FILES([infrastructure/BoxPlatform.pm])
+AC_CONFIG_FILES([infrastructure/BoxPlatform.pm bin/bbackupd/bbackupd-config.in
+		 bin/bbackupquery/Makefile.extra.in
+		 bin/bbackupquery/makedocumentation.pl.in
+		 bin/bbstored/Makefile.extra.in bin/bbstored/bbstored-certs.in
+		 bin/bbstored/bbstored-config.in
+		 contrib/cygwin/install-cygwin-service.pl.in
+		 infrastructure/makebuildenv.pl.in
+		 infrastructure/makeparcels.pl.in
+		 lib/backupclient/Makefile.extra.in
+		 lib/common/Makefile.extra.in lib/common/makeexception.pl.in
+		 lib/compress/Makefile.extra.in lib/crypto/Makefile.extra.in
+		 lib/raidfile/Makefile.extra.in lib/raidfile/raidfile-config.in
+		 lib/server/Makefile.extra.in lib/server/makeprotocol.pl.in
+		 test/backupstorefix/testfiles/testbackupstorefix.pl.in
+		 test/backupstorefix/testbackupstorefix.cpp.in
+		 test/basicserver/Makefile.extra.in
+		 test/bbackupd/testfiles/extcheck2.pl.in
+		 test/bbackupd/testfiles/extcheck1.pl.in
+		 test/bbackupd/testfiles/notifyscript.pl.in runtest.pl.in])
 AC_OUTPUT
 
 # Configure the Box build system

--------------000308010903010407020400
Content-Type: application/x-gzip; x-mac-type="0"; x-mac-creator="0";
 name="perl-ac-patches.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="perl-ac-patches.tar.gz"

H4sIAMZP/0MAA+1de3PauBbff+FTqOlOl0wC+E3D3c4kJaTNbJrkEnof07vDOEYEb8Hm2iaP
vV/+SjYQW5YsmYfbbXzawQSdcyRL+h0dScfyDHqTumnVZ2ZgjRv++KcdkCRJLV0H6Cq3dAlf
MS2vkqrKMpAltdUyVLUlq0CSNUNRfwLSLgpD0twPTA8V5Q9zCn33jsn3MIZwkqEneVNg6+Xc
Eb1+1by1naY/rlan9wB/vb01ra/z2XD1pW65zsi+y0xs2A4h/9859J6an8yvcGRPYAM+Bp7J
S2dpmSKuoWvNp9AJzMB2ncZsIsaV0OgHrgeH9DJR02jSyy91C3qBn5WWLR2vU3riQh79EXj2
bdN6untA3LaDOuxkUo/+rPvQu7ctiCtElHGh13ZGnukH3twK5h4Ma+92bk+G0LnH2rKT2Tpm
pmfBic9Q8Zy60DBBBY4a0ZrYqOHI1uGkx7RY7nTqOjR5akpaEpcPPlpwtuxhGWlJ6ZkHfZ+R
My0tLu09zQKXKktLiUl6pj3ECTRZRhpNevll2SOzEmPyuDtBj5Y3NSUtGfYGzw1cy50sK5ue
tJD15k4A/QDzPn9dpOG/Ft0khNDIfmzi33AB/PBbMhErWUOGkxvBb81mOViTun3botcwJz2h
ZWmrn+8K8VhjaH1Vnisgm0lQnyyiT+brc9zAHj35lmfPgiyVBB/W+q0H0r8ozeL+H/R3kgfH
/wv/iPw/raVrGvb/dM34Ceg7KQ1BL9z/I9q/ees+RnCrSw1ZGiD/ZLDE3yDt84nlgerDQM3K
bH8D+fwL/1+TEYOk6Iqul/5/ETS0RyNQn3uXoNFoov/J9m9yfH6Qj71ar9fXyqfSH8/BGbwF
igoUqa212moLfZGM6sHBQc5CVM48O9KlAVlra0dtfaHr+BjU5UMNHOCP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1rqBweV8egjC/HuuG4ADsCfJ
zSgLnMPe/rK+DTWs7/AS1XeywpM1vioyrtpN61ZO1O3mlSsTHT9Zv1MX2VwbH61DreHclTty
lnWoS0e4DqPLRn3WH7vzyRDcwi30XGW7PVdJ9NyoP8Ye7jhd2MgnbC1DlsqFaw5XP9f2+ki5
3BwhXndq/4lyw4WYBbYD7+0hMrlN2wqQWUHiy2o1QlMQXb6balW3W61q8dXainpra4Peipwy
D+KaRd9nHhyiPKIzFbZSxdp2q1gjzAK6p/qOqVLBGbXbMw8NvqPaHkAFeIemMp43n0XHYgFk
inGj/MfZW7bLUejJRJdN22WbPV7fbnPo30tzXKGqewjP/vHwEBkdVhc2znOjGJKGGyW6fB+N
4sGwuMa2WiWtDxTZMN96IvaNaM35f9iQtJUA2kIhN/5LI57/UBXVKM9/KITWnP9nvyRTdJ7N
edVmPe+KQLa+rSwNcLJIrxF85+8WE8P/6njA3Zz/oJLxn2icK9f/CiEx/Ge8bpYBnKwX1PJw
nSGba/tAQF0qLiR+DoxxKBvI58Kf3MgQPP1Jvw8kfbwDLtNmJzlk5Eg5TmLz/IRv+/nQi3WK
0bk4pxYj/J1x2+xTNDbO71vjsigSsv/LNdJnz494p3N2Htz4D53c/21J5fufiiEh+79cjWe+
05tueblivJGAq2ANl46vkxgTtB86PnhD/Cs7w3/5/pdCaEP8K+vhX9kU/8oO8K+w8C+rJf4J
/BMHtWebAC7+DfL8j1ZLLud/hdCa+E+3vyja0pL5rUBax1YMAUVt2hZ85+s5JZVUUkkllVRS
SSWVVFJJJZVUUkkllRSn/wMuLrM4AKAAAA==
--------------000308010903010407020400--



More information about the Boxbackup-dev mailing list