2 # Run this to generate all the initial makefiles, etc.
4 # Make it possible to specify path in the environment
6 : ${AUTOHEADER=autoheader}
9 : ${GETTEXTIZE=gettextize}
12 test -z "$srcdir" && srcdir
=.
18 test -d macros ||
$CVS co
-d macros gnome-common
/macros ||
exit 1
20 # Ensure that gettext is reasonably new.
21 gettext_ver
=`$GETTEXTIZE --version | sed -n '1s/^.* //p'`
25 *) echo "Don't use gettext other than versions 0.10.38 and 0.10.39"
30 $GETTEXTIZE --copy --force >tmpout ||
exit 1
32 mv po
/ChangeLog~ po
/ChangeLog
34 # Ugly way to parse the instructions gettexize gives us.
35 m4files
="`cat tmpout | sed -n -e '/^Please/,/^from/s/^ *//p'`"
36 fromdir
=`cat tmpout | sed -n -e '/^Please/,/^from/s/^from the \([^ ]*\) .*$/\1/p'`
41 cp -f $fromdir/$i gettext.
m4
44 $ACLOCAL -I macros
-I gettext.
m4 $ACLOCAL_FLAGS ||
exit 1
47 $AUTOMAKE -a ||
exit 1
49 cd vfs
/samba ||
exit 1
50 date -u >include
/stamp-h.
in
55 $srcdir/configure
--cache-file=config.cache
--enable-maintainer-mode "$@"