|
From: Ethan A M. <sf...@us...> - 2014-02-24 19:58:01
|
On Monday, 24 February, 2014 20:28:05 Mojca Miklavec wrote: > Despite this, I still believe that configuration should work properly > when pkg-config is absent. I seem to recall that we have had this discussion before. pkg-config is just a tool that sets various paths and definitions. If it is not present you can still set those paths and definitions yourself. The warnings emitted by ./configure about not finding a pkg-config file are just informational, not fatal errors. For example, libcerf has no *.pc file so ./configure reports %%%% Package requirements (libcerf) were not met: No package 'libcerf' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBCERF_CFLAGS and LIBCERF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. %%%% But in fact none of that is needed because libcerf.so is installed in a standard system location and is found automatically and included in the gnuplot build despite being unknown to pkg-config. Now if you are saying that the PKG_CHECK_MODULES macro itself is problematic, then I suppose you can add it as a null operation in m4/apple.m4 Ethan |