aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/autogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 0d4c5a00f8..89bf8da87c 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -11,7 +11,7 @@ DIE=0
DIE=1
}
-(grep "^AM_PROG_LIBTOOL" configure.in >/dev/null) && {
+(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have "\`libtool\'" installed to compile Gnome."
@@ -21,8 +21,8 @@ DIE=0
}
}
-grep "^AM_GNU_GETTEXT" configure.in >/dev/null && {
-grep "sed.*POTFILES" configure.in >/dev/null || \
+grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
+grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
(gettext --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have "\`gettext\'" installed to compile Gnome."