SPECS (AC-branch): courier.spec - ac 2.60 complains: autoheader: e...

Tomasz Wittner twittner at o2.pl
Sat Nov 25 18:30:53 CET 2006


On Sat 25. November 2006 17:57, glen wrote:
> Author: glen                         Date: Sat Nov 25 16:57:49 2006 GMT
> Module: SPECS                         Tag: AC-branch
> ---- Log message:
> - ac 2.60 complains: autoheader: error: AC_CONFIG_HEADERS not found in 
configure.in
> - rel 3
> 
> ---- Files affected:
> SPECS:
>    courier.spec (1.141.2.1 -> 1.141.2.2) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SPECS/courier.spec
> diff -u SPECS/courier.spec:1.141.2.1 SPECS/courier.spec:1.141.2.2
> --- SPECS/courier.spec:1.141.2.1	Sat Nov 25 16:57:10 2006
> +++ SPECS/courier.spec	Sat Nov 25 17:57:43 2006
> @@ -14,7 +14,7 @@
>  Summary(pl):	Serwer poczty Courier
>  Name:		courier
>  Version:	0.53.3
> -Release:	2
> +Release:	3
>  License:	GPL
>  Group:		Networking/Daemons
>  Source0:	http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
> @@ -285,9 +285,10 @@
>  </Directory>
>  " > apache.conf
>  
> -%build
>  # we don't want fax module
>  rm -rf courier/module.fax
> +
> +%build
>  cp -f /usr/share/automake/config.sub webmail
>  
>  # Change Makefile.am files and force recreate Makefile.in's.
> @@ -302,7 +303,9 @@
>  	%{__libtoolize}
>  	%{__aclocal}
>  	%{__autoconf}
> -	%{__autoheader}
> +	if grep -q AM_CONFIG_HEADER configure.in; then
> +		%{__autoheader}
> +	fi
??? 
1. not AM_CONFIG_HEADER but AC_CONFIG_HEADER
2. maybe adding AC_CONFIG_HEADER(config.h) right after AC_INIT is better 
solution. See `info autoconf --index-search=AC_CONFIG_HEADERS'
[...]

-- 
Tomasz Wittner


More information about the pld-devel-en mailing list