summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-05-18 16:04:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-05-18 16:04:40 +0000
commit676359dce7d33d1b999888d1a33a5c96f9091a88 (patch)
treef36b096a9c9d279b905a145f7aff0acd86760e74 /configure.in
parente6858b1b195339b72f61f6818657bd6b24a2cfc6 (diff)
downloadpango-676359dce7d33d1b999888d1a33a5c96f9091a88.tar.gz
Use ISO C99 varargs when available.
Fri May 18 11:30:57 2001 Owen Taylor <otaylor@redhat.com> * pango/opentype/disasm.c: Use ISO C99 varargs when available. Thu May 17 11:16:23 2001 Owen Taylor <otaylor@redhat.com> * pango/mapping.c: Fixup docs, remove some FIXMEs that are no longer applicable. * pango/pango-layout.c: Move by graphemes, not characters. * pango/pango-layout.c (pango_layout_line_x_to_index): Position at the closest grapheme boundary, not at character boundaries. * pango/pango-layout.c (pango_layout_line_index_to_x): Return positions of grapheme boundaries, not character boundaries.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e3a68239..8a44c9c5 100644
--- a/configure.in
+++ b/configure.in
@@ -192,6 +192,20 @@ AC_SUBST(FRIBIDI_PC)
AM_CONDITIONAL(HAVE_FRIBIDI, test x$have_fribidi = xyes)
#
+# The OpenType test programs aren't particularly portable
+#
+have_varargs=no
+AC_MSG_CHECKING(Whether to build OpenType test programs)
+pango_save_cppflags="$CPPFLAGS"
+AC_TRY_COMPILE([#include <glib.h>],[
+#if !(defined(G_HAVE_ISO_VARARGS) || defined(G_HAVE_GNUC_VARARGS))
+#error "No varargs macro definitions"
+#endif
+],have_varargs=yes)
+AC_MSG_RESULT($have_varargs)
+AM_CONDITIONAL(BUILD_OT_TESTS, test $have_varargs = yes)
+
+#
# Allow building some or all modules included
#
AC_MSG_CHECKING(modules to link statically)