On Mon, 14 Dec 2020, Riccardo (Jack) Lucchetti wrote:
On Sun, 13 Dec 2020, Allin Cottrell wrote:
> I wonder, Artur, are you building gretl using libgsf?
Speaking of which: I was NEVER able to have ./configure set things up so as
to haf libgsf enabled, but I always though "oh, what the hell". Tonight I
decided to have a good look at it and I believe that in config.ac we need two
more lines, as in:
diff --git a/configure.ac b/configure.ac
index f6d061049..91303df14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -271,6 +271,8 @@ AC_ARG_WITH(gsf,
if test "x${withval}" = "xno"
then
try_gsf=no
+else
+ try_gsf=yes
fi,
try_gsf=yes)
Am I wrong, Allin?
You're right. The status at the moment is that you should get
try_gsf=yes if you leave it to automatic detection -- but,
paradoxically, not if you give --with-gsf. So that needs fixing.
In fact, is now fixed in git.
However, with libgsf-dev/devel installed it has worked OK for me to
date with no reference to gsf in my configure script, leaving it to
auto. That's why I hadn't noticed the problem.
Allin