|
From: Mojca M. <moj...@gm...> - 2016-04-11 10:34:57
|
On 11 April 2016 at 12:26, Tatsuro MATSUOKA wrote: > > I have completely forgotten to build and install libcerf again. > Sorry for the noise. > > However, why > > LIBCERF_CFLAGS='-I/usr/local/include' \ > LIBCERF_LIBS='-L/usr/local/lib -lcerf' \ > > flags affect checking functions that are not related libcerf ? I'm semi-blindly guessing. If configure[.ac] finds out that cerf should be used, it adds LIBCERF_CFLAGS to CFLAGS and LIBCERF_LIBS to LDFLAGS. Those CFLAGS and LIBS are then used for all the remaining tests. If that is indeed the case, I believe there are two "bugs": - gnuplot should figure out that libcerf is not working and not add those flags at all - the flags should be added to the globas set of flags at the end, not at the beginning of the configure script Mojca |