Greetings and Question on the purpose of /usr/aclocal/quantlib.m4

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Greetings and Question on the purpose of /usr/aclocal/quantlib.m4

Liguo Song
Dear QuantLib users and developers,

I just joined this list, and began using QuantLib. I really appreciate all
the efforts that you have been put into this fine package. I hope that I
would be able to offer my contribution to QuantLib.

As questions are always the best ice-breaker, I get mine to get the
conversation started. :)

While building rpm package for QuantLib-0.3.1, I noticed quantlib.m4 is
installed into /usr/aclocal/. I am wondering what is this file for. And why
create a new directory under /usr/ instead of using another existing
directory?

Thanks for your help.

Sincerely,
Liguo Song




Reply | Threaded
Open this post in threaded view
|

Re: Greetings and Question on the purpose of /usr/aclocal/quantlib.m4

Luigi Ballabio-2
At 09:19 PM 8/19/03 -0500, Liguo Song wrote:
>While building rpm package for QuantLib-0.3.1, I noticed quantlib.m4 is
>installed into /usr/aclocal/. I am wondering what is this file for. And why
>create a new directory under /usr/ instead of using another existing
>directory?

Liguo,
         quantlib.m4 contains autoconf macros to be used in case one is
setting up a project which uses QuantLib. They provide configure with the
means to determine where QuantLib is installed. As for their location, they
should end up under $prefix/share/aclocal which should be the standard
location for this kind of files. I'm kind of puzzled that they don't go in
/usr/share/aclocal on your machine. Which version of QuantLib are you
using? And which arguments did you pass to configure?

Later,
         Luigi



Reply | Threaded
Open this post in threaded view
|

Re: Greetings and Question on the purpose of /usr/aclocal/quantlib.m4

Liguo Song
Hi, Luigi,

Thank you very much for the reply.

I am compiling with QuantLib-0.3.1-srt.tar.gz from freshmeat.net. I
simply use ./configure;make;make install --prefix=/usr

I noticed in a freshly untared QuantLib package,
  m4datadir = $(prefix)/aclocal
inside Makefile.am and Makefile.in. This seems to be the reason
that quantlib.m4 is put into /usr/aclocal/.

Did I just stumbled on a bug?


Liguo



On Wed, 20 Aug 2003, Luigi Ballabio wrote:

> At 09:19 PM 8/19/03 -0500, Liguo Song wrote:
> >While building rpm package for QuantLib-0.3.1, I noticed quantlib.m4 is
> >installed into /usr/aclocal/. I am wondering what is this file for. And why
> >create a new directory under /usr/ instead of using another existing
> >directory?
>
> Liguo,
>          quantlib.m4 contains autoconf macros to be used in case one is
> setting up a project which uses QuantLib. They provide configure with the
> means to determine where QuantLib is installed. As for their location, they
> should end up under $prefix/share/aclocal which should be the standard
> location for this kind of files. I'm kind of puzzled that they don't go in
> /usr/share/aclocal on your machine. Which version of QuantLib are you
> using? And which arguments did you pass to configure?
>
> Later,
>          Luigi
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>