[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] [RFC] Require Autoconf >=2.58

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: 2007-09-29 23:16:32 CEST

Hello,

I would like to propose to increase Autoconf version requirement to >=2.58.
Autoconf 2.58 was released on 2003-11-04 ([1]), so probably everybody has this
version or newer.

Some macros (like AC_HELP_STRING) were deprecated. They should be replaced with
not deprecated ones.
I compared the list of them ([2]) with some files from Subversion trunk and
created the attached patch.

[[[
Require Autoconf >=2.58 and replace some deprecated Autoconf macros with not
deprecated ones.

* configure.in
  (AC_PREREQ): Require Autoconf >=2.58.

* configure.in
* build/ac-macros/java.m4
* build/ac-macros/neon.m4
* build/ac-macros/serf.m4
* build/ac-macros/sqlite.m4
* build/ac-macros/svn-apache.m4
* build/ac-macros/svn-macros.m4
* build/ac-macros/swig.m4
* build/ac-macros/zlib.m4
  Replace uses of AC_HELP_STRING with AS_HELP_STRING.

* build/ac-macros/berkeley-db.m4
* build/ac-macros/find_apr.m4
* build/ac-macros/find_apu.m4
* build/ac-macros/sasl.m4
* build/ac-macros/svn-apache.m4
  Use AS_HELP_STRING.

* build/ac-macros/berkeley-db.m4
  Replace use of AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE.

* build/ac-macros/svn-macros.m4
  Replace use of AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM.

Patch by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
]]]

[1] ftp://ftp.gnu.org/gnu/autoconf/
[2] http://www.gnu.org/software/autoconf/manual/autoconf.html#Obsolete-Macros

-- 
Arfrever Frehtes Taifersar Arahesis

Received on Sat Sep 29 23:26:27 2007

This is an archived mail posted to the Subversion Dev mailing list.