[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to set a default program-prefix whithin configure.ac
From: |
JRBCAST |
Subject: |
Re: how to set a default program-prefix whithin configure.ac |
Date: |
Thu, 17 Feb 2005 18:18:14 +0100 |
Thanks for your response, but it is not the kind of prefix I am looking
for. I am looking for the prefix prepended to the program name when
doing:
make install
For example, if my library has two programs, foo1 and foo2, and I do:
./configure --program-prefix=foopref_
when I do make install, it would create:
/usr/local/bin/foopref_foo1 and
/usr/local/bin/foopref_foo2
Hope this is cleared.
Roman
----- Mensaje Original -----
De: Harald Dunkel <address@hidden>
Fecha: Jueves, Febrero 17, 2005 5:53 pm
Asunto: Re: how to set a default program-prefix whithin configure.ac
> JRBCAST wrote:
> > Hi all,
> >
> > First of all, sorry if you have received this mail two times.
> >
> > My question is: How can I set a default progra-prefix without
> the need
> > to explicitely pass it whith: ./configure --program-prefix ...
> >
>
> Look for AC_PREFIX_PROGRAM in the autoconf manual (4.12).
>
> > Another question is: Once the user sets it using ./configure --
> program-
> > prefix, which variable should I work with to make changes?.
> >
>
> I would guess the variable set by AC_PREFIX_PROGRAM is
> called $ac_prefix_program .
>
>
> Regards
>
> Harri
>