From: Duncan C. <dun...@us...> - 2004-08-08 19:34:23
|
Update of /cvsroot/gtk2hs/gtk2hs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6171 Modified Files: configure.in Log Message: Add #ifndef DISABLE_DEPRECATED bits so everything should build now with ./configure --disabled-deprecated. Index: configure.in =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/configure.in,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- configure.in 6 Aug 2004 01:28:17 -0000 1.39 +++ configure.in 8 Aug 2004 19:34:13 -0000 1.40 @@ -354,6 +354,11 @@ DISABLE_DEPRECATED=`test $ENABLE_DEPRECATED = yes && echo no || echo yes` AC_MSG_RESULT($ENABLE_DEPRECATED) +if test $DISABLE_DEPRECATED = yes; then +C2HSFLAGS="$C2HSFLAGS -C-DDISABLE_DEPRECATED" +HSCFLAGS="$HSCFLAGS -DDISABLE_DEPRECATED" +fi + dnl Have a special marshall list (available in the source tree of Gtk+ under dnl gtk/gtkmarshal.list) |