From 0fcd82d16ad2e8ed4c2a85f67cb863e3b30d1936 Mon Sep 17 00:00:00 2001 From: "CST 1998 Shawn T. Amundson" Date: Wed, 16 Dec 1998 03:33:22 +0000 Subject: [PATCH] warn if glib.m4 or gettext.m4 are not found in aclocal's directory. Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson * autogen.sh: warn if glib.m4 or gettext.m4 are not found in aclocal's directory. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ autogen.sh | 19 +++++++++++++++++++ 8 files changed, 54 insertions(+) diff --git a/ChangeLog b/ChangeLog index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d0d75a8a9e..c719fec92e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson + + * autogen.sh: warn if glib.m4 or gettext.m4 are not found + in aclocal's directory. + Tue Dec 15 21:36:14 1998 Owen Taylor * gtk/testgtk.c (create_layout): Create buttons, diff --git a/autogen.sh b/autogen.sh index 2cb68864e7..35a1632640 100755 --- a/autogen.sh +++ b/autogen.sh @@ -54,6 +54,25 @@ case $CC in *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; esac +if test -z "$ACLOCAL_FLAGS"; then + + acdir=`aclocal --print-ac-dir` + m4list="glib.m4 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 + echo "Running gettextize... Ignore non-fatal messages." # Hmm, we specify --force here, since otherwise things dont' # get added reliably, but we don't want to overwrite intl