summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-05-09 01:17:03 +0000
committerTim Janik <timj@src.gnome.org>1998-05-09 01:17:03 +0000
commit9775962a96fc7e5bae7284642739243bbdfc8297 (patch)
tree5ec1d9a9638b42570540253869118cb6945d422d /configure.in
parent142c8483080b03bc415ae630f979b3327c505abc (diff)
downloadgtk+-9775962a96fc7e5bae7284642739243bbdfc8297.tar.gz
new file used as template for new file to define macros indicating newly
Sat May 9 02:34:41 1998 Tim Janik <timj@gtk.org> * gtk/gtkfeatures.h.in: new file used as template for * gtk/gtkfeatures.h: new file to define macros indicating newly introduced features, such as GTK_HAVE_SIGNAL_INIT. * gtk/gtksignal.c: (gtk_signal_emitv_by_name): (gtk_signal_emitv): new functions to emit signals with an already provided parameter set. (provided by Kenneth Albanowski <kjahds@kjahds.com>). (gtk_signal_real_emit): prototype changes, so this functions always gets its parameters and signal structure as arguments. (gtk_signal_emit): provide the signal structure and parameter list for gtk_signal_real_emit. (gtk_signal_emit_by_name): likewise.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in18
1 files changed, 11 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 30dabb4d5f..f12208d22e 100644
--- a/configure.in
+++ b/configure.in
@@ -18,6 +18,9 @@ GTK_MICRO_VERSION=0
GTK_INTERFACE_AGE=0
GTK_BINARY_AGE=0
GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
+AC_SUBST(GTK_MAJOR_VERSION)
+AC_SUBST(GTK_MINOR_VERSION)
+AC_SUBST(GTK_MICRO_VERSION)
AC_SUBST(GTK_VERSION)
# libtool versioning
@@ -106,11 +109,6 @@ if test "x$enable_xim" = "xyes"; then
CFLAGS="$CFLAGS -DUSE_XIM"
fi
-AC_DEFINE_UNQUOTED(GTK_MAJOR_VERSION, $GTK_MAJOR_VERSION)
-AC_DEFINE_UNQUOTED(GTK_MINOR_VERSION, $GTK_MINOR_VERSION)
-AC_DEFINE_UNQUOTED(GTK_MICRO_VERSION, $GTK_MICRO_VERSION)
-AC_DEFINE_UNQUOTED(GTK_VERSION, "$GTK_VERSION")
-
# Find the X11 include and library directories
AC_PATH_X
AC_PATH_XTRA
@@ -296,5 +294,11 @@ if test $gtk_ok = no; then
AC_DEFINE(NO_FD_SET)
fi
-AC_OUTPUT([Makefile gtk-config docs/Makefile gdk/Makefile gtk/Makefile],
- [chmod +x gtk-config])
+AC_OUTPUT([
+Makefile
+gtk-config
+docs/Makefile
+gdk/Makefile
+gtk/Makefile
+gtk/gtkfeatures.h
+], [chmod +x gtk-config])