bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rebuilding after modifying some .m4 files


From: Bruno Haible
Subject: Re: rebuilding after modifying some .m4 files
Date: Sun, 19 Sep 2021 02:07:20 +0200

Brian Inglis wrote:
> >> Respun and applied patch successfully to glm4/threadlib.m4.
> > 
> > Did you regenerate the 'configure' script, and also do 'make distclean',
> > after patching threadlib.m4?
> 
> No

That explains why it had no effect for you.

> - how do you regenerate a configure script, and how do you do a make 
> distclean without a makefile generated?

Take a look at a tutorial regarding the GNU Build System, e.g. [1].

To regenerate a configure script, run 'autoreconf' in the source directory.
When you do this, also do a 'make distclean' in the source directory,
and remove all build directories in which you ran '../configure ...'

To "make distclean" when no Makefile is there, run
  ./configure
  make distclean
This is the most reliable way to remove leftovers from previous builds.

Bruno

[1] https://www.softprayog.in/tutorials/understanding-gnu-build-system






reply via email to

[Prev in Thread] Current Thread [Next in Thread]