2 # script shamelessy taken from openbox
5 /bin
/sh
-c "set -x; $*"
8 sh autopoint
--force # for GNU gettext
9 sh libtoolize
--copy --force --automake
11 # ok, this is wierd, but apparantly every subdir
12 # in the centericq sources has its own configure
13 # no idea why. should fix this.
16 traverse
=`find $PWD -name "configure.[ia][nc]" -print`
17 for i
in $traverse; do
18 echo Changing directory to
`dirname $i`
19 cd `dirname $i` > /dev
/null
20 if test "`dirname $i`" = "$TOP/kkstrtext"; then
21 #config.rpath is needed for AM_ICONV
22 #Here we should do autopoint to get the config.rpath,
23 #yet it would complain about missing po and intl directories,
24 #so we simply copy config.rpath from the top directory
25 sh
cp $TOP/config.rpath .
28 if test "$PWD" = "$TOP"; then
29 sh aclocal
-I m4 $ACLOCAL_FLAGS
31 sh aclocal
$ACLOCAL_FLAGS
33 headneeded
=`grep -E "A(M|C)_CONFIG_HEADER" configure.[ia][nc]`
34 if test ! -z "$headneeded"; then sh autoheader
; fi
36 sh automake
--add-missing --copy
42 echo You are now ready to run .
/configure