autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do I substitute the library prefix?


From: Sam Steingold
Subject: how do I substitute the library prefix?
Date: Sun, 07 Jan 2018 10:21:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

Hi,

CLISP interface to PARI is configured with the configure.in containing
AC_LIB_LINKFLAGS([pari]).

The build process also requires the Makefile to know where the datadir
of pari is located. To this end, Makefile.in has
--8<---------------cut here---------------start------------->8---
prefix = @LIBPARI_PREFIX@
DATADIR = @datadir@
--8<---------------cut here---------------end--------------->8---
and expects to find $(DATADIR)/pari/pari.desc (normally
/usr/share/pari/pari.desc or /usr/local/share/pari/pari.desc).

This seems to work when PARI is installed in a non-standard location,
but when PARI is in /usr or /usr/local, LIBPARI_PREFIX is _empty_.

How do I insert the location of the PARI's datadir into the Makefile?

Thanks.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net
http://jij.org http://think-israel.org http://honestreporting.com
If you're constantly being mistreated, you're cooperating with the treatment.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]