automake
[Top][All Lists]
Advanced

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

$prefix defaults to NONE?


From: Rob van der Leek
Subject: $prefix defaults to NONE?
Date: Tue, 06 Feb 2001 10:03:10 +0100

Hi list,

I want to define a path to a configuration file in `config.h`, therefore
I call AC_DEFINE_UNQUOTED(CONFIG_FILE, $prefix/etc/config.xml, [Path to
config file])
The problem is that $prefix defaults to NONE when no --prefix flag is
given at the command line, which forces me to test for this situation
and set $prefix to '/usr/local' by hand.

Am I missing a point here? Any comments are welcome.

TIA, rob.



reply via email to

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