bug-gnulib
[Top][All Lists]
Advanced

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

Re: how to use AC_LIB_LINKFLAGS with a multi-library package?


From: Bruno Haible
Subject: Re: how to use AC_LIB_LINKFLAGS with a multi-library package?
Date: Wed, 28 Nov 2007 14:40:03 +0100
User-agent: KMail/1.9.1

Hi Sam,

> How do I check for a package (ffcall) which consists of several
> libraries (avcall and callback)?
> I do not want to force the user to do pass the prefix twice:
> "--with-avcall-prefix=/usr/local --with-callback-prefix=/usr/local"
> I want "--with-ffcall-prefix=/usr/local" instead.

I agree, what you need is a 'configure --help' that proposes

  --with-ffcall-prefix[=DIR]  search for ffcall in DIR/include and DIR/lib
  --without-ffcall-prefix     don't search for ffcall in includedir and libdir

I would use an AC_ARG_WITH that produces this help output and then assigns
the value of the with_ffcall_prefix variable to with_avcall_prefix and
with_callback_prefix.

Bruno





reply via email to

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