how do I substitute the library prefix?

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

 



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.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux