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

Re: [PATCH] 3rd version of fix for -g switch missing from CFLAGS

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-04 00:36:25 CEST

Marc Singer <elf@buici.com> writes:

> Construction of config.nice requires that the parameter list be
> intact. Another reordering of the initial macros fixes this. I'd
> prefer to save and restore $@, but I haven't found a way to do it.
> Let me know if there is a better way.

How about moving the program configuration before the package
configuration, like this

Index: configure.in
===================================================================
--- configure.in (revision 6953)
+++ configure.in (working copy)
@@ -78,6 +78,14 @@
 dnl ALL_LINGUAS="de fr es ko nl no pl pt sl sv"
 dnl I volunteer for this ^^ translation :-) -xbc
 
+dnl Check for programs ---------------------
+
+dnl Look for a C compiler
+AC_PROG_CC
+
+dnl Look for a C pre-processor
+AC_PROG_CPP
+
 dnl Sub-package configuration ---------------------
 
 dnl Possibly reconfigure packages in subdirectories
@@ -173,14 +181,6 @@
 docdir="${docdir}/subversion-${svn_version}"
 AC_SUBST(docdir)
 
-dnl Check for programs ---------------------
-
-dnl Look for a C compiler
-AC_PROG_CC
-
-dnl Look for a C pre-processor
-AC_PROG_CPP
-
 dnl Pass EXEEXT on to the Makefiles
 AC_SUBST(EXEEXT)
 

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 4 00:37:15 2003

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.