You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ruediger Pluem <rp...@apache.org> on 2009/03/06 22:35:42 UTC

Re: svn commit: r748902 - in /apr/apr/trunk: build/buildcheck.sh buildconf configure.in


On 02/28/2009 07:32 PM, jerenkrantz@apache.org wrote:
> Author: jerenkrantz
> Date: Sat Feb 28 18:32:55 2009
> New Revision: 748902
> 
> URL: http://svn.apache.org/viewvc?rev=748902&view=rev
> Log:
> Go back around and clean up GNU libtool 2.x detection and usage.
> 
> (Tested with GNU libtool 2.2.6, 1.5.26, and jlibtool; and GNU autoconf 2.63.)
> 
> * configure.in
>   (AC_CONFIG_MACRO_DIR): Define so that glibtoolize2 knows where to plop things.
>   (AC_PROG_SED): Always find sed.
>   (Xsed): Define to work around libtool 2.x brokenness.
> * build/buildcheck.sh: Re-activate libtool 2.x
> * buildconf: Clean up and rationalize the entire process of importing libtool
>   autoconf macros.
> 
> Modified:
>     apr/apr/trunk/build/buildcheck.sh
>     apr/apr/trunk/buildconf
>     apr/apr/trunk/configure.in
> 

> Modified: apr/apr/trunk/configure.in
> URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=748902&r1=748901&r2=748902&view=diff
> ==============================================================================
> --- apr/apr/trunk/configure.in (original)
> +++ apr/apr/trunk/configure.in Sat Feb 28 18:32:55 2009
> @@ -9,6 +9,7 @@
>  AC_INIT(build/apr_common.m4)
>  AC_CONFIG_HEADER(include/arch/unix/apr_private.h)
>  AC_CONFIG_AUX_DIR(build)
> +AC_CONFIG_MACRO_DIR(build)
>  
>  dnl 
>  dnl Include our own M4 macros along with those for libtool
> @@ -121,6 +122,8 @@
>  dnl preload section from invoking the macro to get compiler info.
>  AC_PROG_CC
>  
> +AC_PROG_SED
> +

This causes the following message with Autoconf 2.59:

buildconf: creating configure ...
configure.in:125: error: possibly undefined macro: AC_PROG_SED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Regards

RĂ¼diger