From: Duncan C. <dun...@us...> - 2004-08-04 18:47:28
|
Update of /cvsroot/gtk2hs/gtk2hs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16391 Modified Files: ChangeLog configure.in Log Message: Add --disable-deprecated config option. Note that this configuration will not build sucessfully yet; other modules need to be modified to conditionally compile deprecated functions. Index: ChangeLog =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/ChangeLog,v retrieving revision 1.210 retrieving revision 1.211 diff -u -d -r1.210 -r1.211 --- ChangeLog 4 Aug 2004 18:41:43 -0000 1.210 +++ ChangeLog 4 Aug 2004 18:46:32 -0000 1.211 @@ -7,6 +7,10 @@ * gtk/abstract/api.ignore, gtk/treeList/api.ignore: update list of ignored functions. + * configure.in, mk/config.mk.in, tools/hierarchyGen/hierarchy.list, + gtk/Makefile: add --disable-deprecated config option. Note that this + configuration will not build sucessfully yet. + 2004-08-3 Duncan Coutts <du...@co...> * gtk/abstract/FileChooser.chs, gtk/general/FFI.hs: move a couple of Index: configure.in =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/configure.in,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- configure.in 26 Jul 2004 12:14:46 -0000 1.37 +++ configure.in 4 Aug 2004 18:46:32 -0000 1.38 @@ -351,6 +351,15 @@ esac; done; +dnl Check if user wants bindings for deprecated APIs. Defaults to yes. +AC_MSG_CHECKING([whether to build deprecated bindings]) + +AC_ARG_ENABLE(deprecated, + [ --disable-deprecated do not generate bindings for any deprecated APIs], + [ENABLE_DEPRECATED=$enableval],[ENABLE_DEPRECATED=yes]) + +DISABLE_DEPRECATED=`test $ENABLE_DEPRECATED = yes && echo no || echo yes` +AC_MSG_RESULT($ENABLE_DEPRECATED) dnl Have a special marshall list (available in the source tree of Gtk+ under dnl gtk/gtkmarshal.list) @@ -556,6 +565,7 @@ dnl AC_SUBST(GTK_MICRO_VERSION) AC_SUBST(GTK_VERSION_2_2) AC_SUBST(GTK_VERSION_2_4) +AC_SUBST(DISABLE_DEPRECATED) dnl Optional packages AC_SUBST(ENABLE_OPENGL) AC_SUBST(ENABLE_LIBGLADE) |