1 diff -Naur samba-4.0.0alpha6.orig/lib/talloc/autogen.sh samba-4.0.0alpha6/lib/talloc/autogen.sh
2 --- samba-4.0.0alpha6.orig/lib/talloc/autogen.sh 2009-02-03 11:09:21.000000000 +0700
3 +++ samba-4.0.0alpha6/lib/talloc/autogen.sh 2009-02-03 11:13:03.000000000 +0700
9 +# Allow invocation from a separate build directory; in that case, we change
10 +# to the source directory to run the auto*, then change back before running
12 +srcdir=`dirname $ARGV0`
13 +test -z "$srcdir" && srcdir=.
19 rm -f configure config.h.in
25 -echo "Now run ./configure and then make."
27 +cd "$ORIGDIR" || exit 1
29 +$srcdir/configure ${1+"$@"} && \
30 + echo "Now type \`make' to compile." || exit 1
32 diff -Naur samba-4.0.0alpha6.orig/lib/tdb/autogen.sh samba-4.0.0alpha6/lib/tdb/autogen.sh
33 --- samba-4.0.0alpha6.orig/lib/tdb/autogen.sh 2009-02-03 11:09:27.000000000 +0700
34 +++ samba-4.0.0alpha6/lib/tdb/autogen.sh 2009-02-03 11:13:45.000000000 +0700
40 +# Allow invocation from a separate build directory; in that case, we change
41 +# to the source directory to run the auto*, then change back before running
43 +srcdir=`dirname $ARGV0`
44 +test -z "$srcdir" && srcdir=.
50 rm -f configure config.h.in
56 -echo "Now run ./configure and then make."
58 +cd "$ORIGDIR" || exit 1
60 +$srcdir/configure ${1+"$@"} && \
61 + echo "Now type \`make' to compile." || exit 1
63 diff -Naur samba-4.0.0alpha6.orig/lib/tevent/autogen.sh samba-4.0.0alpha6/lib/tevent/autogen.sh
64 --- samba-4.0.0alpha6.orig/lib/tevent/autogen.sh 2009-02-03 11:09:37.000000000 +0700
65 +++ samba-4.0.0alpha6/lib/tevent/autogen.sh 2009-02-03 11:14:06.000000000 +0700
71 +# Allow invocation from a separate build directory; in that case, we change
72 +# to the source directory to run the auto*, then change back before running
74 +srcdir=`dirname $ARGV0`
75 +test -z "$srcdir" && srcdir=.
81 rm -f configure config.h.in
83 -IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace -I ../../../lib/replace"
84 +IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
85 autoconf $IPATHS || exit 1
86 autoheader $IPATHS || exit 1
90 -echo "Now run ./configure and then make."
92 +cd "$ORIGDIR" || exit 1
94 +$srcdir/configure ${1+"$@"} && \
95 + echo "Now type \`make' to compile." || exit 1