From 3a5e37f238d84ce33c1a8312e433b56c21ee4b1d Mon Sep 17 00:00:00 2001 From: evilynux Date: Tue, 17 Jul 2007 06:05:40 +0000 Subject: [PATCH] - Don't fail if intltoolize is not present as it will still be possible to build the windows, cli and gtk UIs. - Also check for gintltoolize, might fix some MacOSX builds. --- desmume/autogen.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/desmume/autogen.sh b/desmume/autogen.sh index 94596f170..1450cf0ea 100755 --- a/desmume/autogen.sh +++ b/desmume/autogen.sh @@ -4,7 +4,14 @@ # what's wrong, i'm commenting the call to intltoolize and adding the # corresponding files to CVS. -echo "Running intltoolize" -intltoolize --copy --force --automake +if test ! "x$(which intltoolize)" = "x"; then + echo "Running intltoolize" + intltoolize --copy --force --automake +else + if test ! "x$(which gintltoolize)" = "x"; then + echo "Running gintltoolize" + gintltoolize --copy --force --automake + fi +fi autoreconf --install --force --verbose