autoconf
[Top][All Lists]
Advanced

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

Re: how to set a default program-prefix whithin configure.ac


From: Stepan Kasal
Subject: Re: how to set a default program-prefix whithin configure.ac
Date: Fri, 18 Feb 2005 16:03:35 +0100
User-agent: Mutt/1.4.1i

Hi,

On Thu, Feb 17, 2005 at 06:18:14PM +0100, JRBCAST wrote:
> My question is: How can I set a default progra-prefix [...]
> ./configure --program-prefix=foopref_

case $program_prefix in
NONE) program_prefix=my_default_ ;;
esac

should do the trick.

Put it somewhere between AC_INIT and AC_OUTPUT, of course.

Enjoy,
        Stepan




reply via email to

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