Ticket #135: xapian-back-to-autoconf-2.59.patch

File xapian-back-to-autoconf-2.59.patch, 2.4 kB (added by olly, 21 months ago)

Patch which reverted to requring autoconf 2.59

  • configure.ac

     
    55dnl 2.57 fixes the annoying warnings from configure on FreeBSD 
    66dnl 2.58 is needed by automake 1.8.5 
    77dnl 2.59 was released the same day as 2.58 to fix a problem 
    8 dnl 2.60 is needed for AC_TYPE_SSIZE_T and docdir support 
    9 AC_PREREQ(2.60) 
     8AC_PREREQ(2.59) 
    109dnl NB When updating the version for a release, update LIBRARY_VERSION_INFO 
    1110dnl below too. 
    1211AC_INIT(xapian-core, 0.9.10)dnl FIXME: bugreport addr as third argument 
     
    384383AC_CHECK_FUNCS(gethostname) 
    385384 
    386385dnl mingw (for instance) lacks ssize_t 
    387 AC_TYPE_SSIZE_T 
     386AC_CHECK_TYPE(ssize_t, int) 
    388387 
    389388AC_TYPE_PID_T 
    390389 
     
    402401  test -z "$PERL" && AC_MSG_ERROR([perl is required in maintainer mode]) 
    403402fi 
    404403 
     404dnl We only need to set docdir for compatibility with autoconf < 2.60 - this 
     405dnl code can be removed once we move to requiring autoconf 2.60 or newer. 
     406test -n "$docdir" || docdir='${datadir}/doc/${PACKAGE_TARNAME}' 
     407AC_SUBST(docdir) 
     408 
    405409dnl Make DATADIR available to the library 
    406410dnl This isn't currently used.  If we reenable it, it needs to be renamed 
    407411dnl to avoid a clash with a mingw header. 
  • HACKING

     
    228228Some older versions of these programs may not work correctly at the time of 
    229229writing, we require the following versions: 
    230230 
    231         autoconf (GNU Autoconf) 2.60 
     231        autoconf (GNU Autoconf) 2.59 
    232232                2.57 fixes the annoying chmod warning on FreeBSD.  2.54 is 
    233233                required by automake 1.6.3; autoconf 2.50 is needed for many 
    234234                reasons anyway.  automake 1.8.5 needs at least 2.58, and 2.59 
    235                 was released the same day as 2.58 to fix a problem.  2.60 
    236                 provides docdir and AC_TYPE_SSIZE_T.  Currently snapshots and 
    237                 release tarballs are generated with autoconf 2.61 but this 
    238                 isn't yet a hard requirement. 
     235                was released the same day as 2.58 to fix a problem.  Currently 
     236                snapshots and release tarballs are generated with autoconf 2.61 
     237                but this isn't yet a hard requirement (because the spec file 
     238                for building RPMs currently runs autoreconf to avoid a libtool 
     239                bug with setting rpath for /usr/lib64, and such platforms may 
     240                still only have autoconf 2.59). 
    239241 
    240242        automake (GNU automake) 1.9.5 
    241243                automake 1.4 has problems with "make dist" in a VPATH build,