summaryrefslogtreecommitdiff
path: root/gtk.m4
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-06-10 23:44:55 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-06-10 23:44:55 +0000
commit7086e475e3fc26279f004a6cff69cd4dfbd079b4 (patch)
tree0ac4f76502e335e7c96a7d6fea98c6e6a792d72a /gtk.m4
parent6b61461a404b910f9024299fd97fc9cb2423d781 (diff)
downloadgtk+-7086e475e3fc26279f004a6cff69cd4dfbd079b4.tar.gz
glib/* Moved to glib module
Wed Jun 10 19:36:35 1998 Owen Taylor <otaylor@gtk.org> * glib/* Moved to glib module * INSTALL Makefile.am acconfig.h autogen.sh configure.in gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am configuration changes for the above: - Use AM_PATH_GLIB by default to find glib; also accept a --with-glib option for using an uninstalled glib. - Put --enable-debug information into config.h so that we rebuild when it changes. (was in glibconfig.h)
Diffstat (limited to 'gtk.m4')
-rw-r--r--gtk.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk.m4 b/gtk.m4
index 44594bdd76..b7fb41979f 100644
--- a/gtk.m4
+++ b/gtk.m4
@@ -56,6 +56,7 @@ dnl
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
+#include <stdlib.h>
int
main ()
@@ -88,6 +89,15 @@ main ()
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
else
{
if ((gtk_major_version > major) ||