[GRASS5] 5.1: mysterious configure[.in]

Glynn Clements glynn.clements at virgin.net
Fri Jan 31 11:56:19 EST 2003


Markus Neteler wrote:

> A followup to the current configure problem in GRASS 5.1:
> 
> The configure.in changes are minimal to the working version 1.12.
> But include/config.h in not written properly any more.
> 
> Find attached the diff (what I have changed) to the workinf 1.12
> version, perhaps someone can tell me the trick.
> 
> For now I will revert the change to keep 5.1 in a compilable
> state. I still don't understand the problem.

> -AC_OUTPUT(include/Make/Platform.make)
> +AC_OUTPUT(include/Make/Grass.make include/Make/Platform.make)
> +
> +#remove first to avoid link tool problems (5.0 links):
>  
> -dnl mkdir -p mk src/CMD/head src/CMD/lists src/include
> -dnl AC_OUTPUT(Makefile src/CMD/head/head src/CMD/lists/optional
> -dnl 	mk/Makefile src/include/version.h src/include/winname.h)
> +\rm -f include/version.h include/winname.h
> +AC_OUTPUT(include/version.h include/winname.h)

You must only call AC_OUTPUT once.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list