X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=autogen.sh;h=32b2bde4bcba21d75855ee47f12bcfb772e5e758;hp=3bf9c508d4bb98e2695f2700cf73e8ae89dac086;hb=8304760be43b3afcc8002d7e3588e29fc74ae12e;hpb=085f4022016f95c851808dcab8ddae72ae119da4 diff --git a/autogen.sh b/autogen.sh index 3bf9c50..32b2bde 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,4 +17,17 @@ which gnome-autogen.sh || { echo "You need to install gnome-common from GNOME CVS" exit 1 } -USE_GNOME2_MACROS=1 . gnome-autogen.sh +export USE_GNOME2_MACROS=1 + +gnome-autogen.sh || { + echo "gnome autoconf does not work, trying the other way..." + + glib-gettextize --copy --force + libtoolize --automake --copy --force + intltoolize --automake --copy --force + aclocal-1.8 + autoconf --force + autoheader --force + automake-1.8 --add-missing --copy --force-missing --foreign + ./configure $@ +}