This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: autoconf usage : -DHAVE_GSL ?
- To: Peter Teuben <teuben at astro dot umd dot edu>
- Subject: Re: autoconf usage : -DHAVE_GSL ?
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Sat, 8 Sep 2001 10:47:43 +0100 (BST)
- Cc: gsl-discuss at sourceware dot cygnus dot com
- References: <Pine.GSO.4.10.10109072051140.23911-100000@apus.astro.umd.edu>
Peter Teuben writes:
> My question is about the kludgie looking -DHAVE_GSL. I wanted to
> use something like
> AC_CHECK_LIB(gsl,gsl_version)
> but that fails, gsl_version seems to needs -lgslcblas! (which is
> actually odd, if I look at the output of nm..... -static will fix
> that dependancy, but AC_CHECK_LIB does not do that) I'd like to
> know which function/static would be the one that doesn't need
> another library.
Function 'main' -- standard autoconf trick.