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