--- projects/libstatgrab/configure.in 2004/04/06 13:40:41 1.66 +++ projects/libstatgrab/configure.in 2004/04/06 16:37:33 1.67 @@ -2,15 +2,15 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.66 2004/04/06 13:40:41 tdb Exp $ +# $Id: configure.in,v 1.67 2004/04/06 16:37:33 tdb Exp $ # # Change these to change the package name and version -AC_INIT(libstatgrab, 0.9.1, bugs@i-scream.org) -AM_INIT_AUTOMAKE(libstatgrab, 0.9.1) +AC_INIT(libstatgrab, 0.10, bugs@i-scream.org) +AM_INIT_AUTOMAKE(libstatgrab, 0.10) # Revision number (automatically updated) -AC_REVISION($Revision: 1.66 $) +AC_REVISION($Revision: 1.67 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -190,6 +190,17 @@ AC_ARG_ENABLE(setuid-binaries, AM_CONDITIONAL(SETUIDBINS, false) fi ] +) + +# Check if the user would prefer not to include compatibility code +AM_CONDITIONAL(DEPRECATED, true) +AC_ARG_ENABLE(deprecated, + [ --disable-deprecated disable inclusion of pre-0.10 compatibility code], + [ + if test "x$enableval" = "xno" ; then + AM_CONDITIONAL(DEPRECATED, false) + fi + ] ) # The LIBS and CPPFLAGS that saidar needs