summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2002-11-04 15:10:32 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2002-11-04 15:10:32 +0000
commit5ce5b6e81f5623b3e44b3f250992a35518075072 (patch)
tree001cf5fff358d5e23acf4db62a0e785ea8e5544d /autogen.sh
parent9cba5f69eff853103d868450455683783ecbd0a4 (diff)
downloadatk-5ce5b6e81f5623b3e44b3f250992a35518075072.tar.gz
New file
* acinclude.m4: New file * autogen.sh: Add i18n support (copied from gtk+). * configure.in: Add definition for atklocaledir and check for bind_textdomain_codeset() * atk/Makefile.am: Add DEfininition of ATKLOCALEDIR to INCLUDES * atk/atkobject.c (atk_role_get_localized_name): Add code to initialize i18n. * po/.cvsignore: Add extra files.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index fe05456..7f6389d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -72,6 +72,26 @@ if test -z "$AUTOGEN_SUBDIR_MODE"; then
fi
fi
+
+if test -z "$ACLOCAL_FLAGS"; then
+
+ acdir=`aclocal-1.4 --print-ac-dir`
+ m4list="glib-2.0.m4 glib-gettext.m4"
+
+ for file in $m4list
+ do
+ if [ ! -f "$acdir/$file" ]; then
+ echo "WARNING: aclocal's directory is $acdir, but..."
+ echo " no file $acdir/$file"
+ echo " You may see fatal macro warnings below."
+ echo " If these files are installed in /some/dir, set the ACLOCAL_FLAGS "
+ echo " environment variable to \"-I /some/dir\", or install"
+ echo " $acdir/$file."
+ echo ""
+ fi
+ done
+fi
+
aclocal-1.4 $ACLOCAL_FLAGS
automake-1.4 -a $am_opt