GNOME Bugzilla – Bug 158379
All binaries linked with against -lperl when configured --with-perl
Last modified: 2005-01-25 17:01:18 UTC
I heard the following from JHM Dassen (Ray) on #gnumeric: when configuring --with-perl (and when that works), _everything_ is linked -lperl, including the main gnumeric binary. It'd be better if the stuff for linking against libperl were kept in separate variables and only used explicitly by the perl plugin's Makefile. (I guess this experience was made with 1.3.93 or 1.3.92.) The guilty line of configure.in was commented out just after 1.3.93, so it cannot bite now. The problem was caused by AC_CHECK_LIB in configure.in, which adds the library to global variable LIBS (if the library is found, of course). To override this default, you have to supply a nonempty third parameter. The patch below is technically only a comment change atm, but anyway, I recommend that you accept it for 1.5.
Created attachment 33810 [details] [review] patch m4 must see a nonempty parameter
Created attachment 33811 [details] [review] patch with changelog I forgot to save it before uploading, sorry.
This patch went to devel branch (1.5), so the issue is closed.