summaryrefslogtreecommitdiff
path: root/acglib.m4
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-11 23:13:25 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-11 23:13:25 +0000
commitd0579998b20a9932260a79969b01dbfe958da0ee (patch)
tree165926cf9013b4eb62585082f3f0ebf9abdcbcfb /acglib.m4
parent0aa7b51ef36a5debf8406548004ab6631d351fc1 (diff)
=== Release 2.1.4 ===GLIB_2_1_4
Wed Dec 11 17:53:34 2002 Owen Taylor <otaylor@redhat.com> * === Release 2.1.4 === * NEWS: Updates.
Diffstat (limited to 'acglib.m4')
-rw-r--r--acglib.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/acglib.m4 b/acglib.m4
index 97f2d14c3..dbcaffe5d 100644
--- a/acglib.m4
+++ b/acglib.m4
@@ -121,3 +121,11 @@ m4_ifvaln([$3],[$3])dnl])dnl
ac_compile="$glib_ac_compile_save"
rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
])# GLIB_CHECK_COMPILE_WARNINGS
+
+# GLIB_ASSERT_SET(VARIABLE)
+# -------------------------
+AC_DEFUN([GLIB_ASSERT_SET],
+[if test "x${$1+set}" != "xset" ; then
+ AC_MSG_ERROR($1 [must be set in cache file when cross-compiling.])
+fi
+])dnl \ No newline at end of file