From: Juergen W. <wie...@fr...> - 2006-06-28 20:10:50
|
On Tuesday 27 June 2006 21:34 Timoth=E9e Lecomte wrote: > Nevermind, this patch does not solve anything. I uninstalled pkg-config, > and can reproduce exactly your problem (AC_MSG_WARN undefined and > PKG_CHECK_MODULES with wrong syntax). > > However, I think I have found the right solution. As explained in > http://programming.linux.com/programming/05/08/11/1923248.shtml?tid=3D22 > ("Best Practices with autotools"), we should always distribute the > macros we are using, because the user may have an old and buggy macro or > he may not have it at all. > > So the solution is to put 'pkg.m4' taken from the pkg-config package in > <gnuplot source directory>/m4 > > I have commited the file to the CVS. > Hardy and Juergen, can you try with the current CVS ? Yepp. Works. Great work, thanks! =46WIW: If I understand correctly, you say that this problem occurs if there is no pkgconfig. But actually, I have pkgconfig installed. OTOH the distribution (SuSE 9.3) is rather outdated: wiefer@localhost:~> rpm -qa |grep -i pkgconfig pkgconfig-0.15.0-201 wiefer@localhost:~> rpm -qa |grep -i wx wxGTK-2.5.3.1-5 wxGTK-gl-2.5.3.1-5 wxGTK-compat-2.5.3.1-5 wxGTK-devel-2.5.3.1-5 wiefer@localhost:~> rpm -qa |grep -i cairo wiefer@localhost:~>=20 Thanks, Juergen |