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

[PATCH] update to configure.in for autoconf-2.5X

From: Art Haas <ahaas_at_neosoft.com>
Date: 2002-08-06 21:14:41 CEST

Hi.

Here's a small patch that updates a couple of macros in the
configure.in file. For autoconf-2.5X, the macros AC_INIT and
AC_OUTPUT were modified to a different format, though the
old format is still understood. The patch below updates
the configure template to use the new formats. There are also
other things that can be done to the configure.in file, such
as using AC_HELP_STRING macros in AC_ARG_ENABLE, and I'll
send a patch or two regarding that later. With my modified
configure.in file I was able to regenerate configure and build
without problems.

Refer to the autoconf info pages in the "Obsolete Macros"
page for more details about the changed format of these
macros.

My thanks to everyone working on subersion.

Art Haas

Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in 2002-08-06 10:47:36.000000000 -0500
@@ -8,8 +8,9 @@
 dnl Don't even think about removing this check!
 AC_PREREQ(2.50)
 
-dnl First line is *required*; sanity-checks that the our src dir exists.
-AC_INIT(subversion/include/svn_types.h)
+dnl AC_CONFIG_SRCDIR *required*; sanity-checks that the our src dir exists.
+AC_INIT([subversion], [0.14.0], [http://subversion.tigris.org])
+AC_CONFIG_SRCDIR(subversion/include/svn_types.h)
 AC_CONFIG_AUX_DIR(ac-helpers)
 
 abs_srcdir="`cd $srcdir && pwd`"
@@ -409,7 +410,10 @@
 
 dnl Final step: create the Makefile ----------------------------
 
-AC_OUTPUT([Makefile svn-config], [chmod +x svn-config])
+AC_CONFIG_FILES([Makefile svn-config])
+AC_CONFIG_COMMANDS([default], [chmod +x svn-config])
+
+AC_OUTPUT
 
 
 dnl Create all of the build directories

-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 6 21:15:13 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.