Hi,
I want to specify a default location for a configuration file so that my
program can find it from a define in config.h.
I want to install the file as /etc/lorica.conf. So I'll like to do
something like this to get a defined value that can be used at compile
time:
Look up the documentation for Autoconf's AC_DEFINE_UNQUOTED.
-- Sent from my iPod
On 6 Feb 2008, at 22:55, Jules Colding [EMAIL PROTECTED] wrote:
Hi,
I want to specify a default location for a configuration file so
that my
program can find it from a define in config.h.
I want to install
Hi,
I've been a user of GNU autoconf (and automake) for many years and find
it pretty easy to use most of the time. Two areas, though, have always
been somewhat of a problem with autoconf for me as a user:
1. Documentation of the options to pass to configure. This is not
really a problem
David Masterson (damaster) wrote:
After I've
done the usual configure; make; make install; to install the package
and then remove the source code,
Why remove the sources? After configuration, they have all the
information you are asking for.
If it's about saving disk space, most of the
You have some good ideas. I have gone overboard on all counts for my
own package. The configure script prints a detailed summary at the
end and the main program is able to spit out ALL of its configuration
information (maybe too much!):
% gm -version
GraphicsMagick 1.2 unreleased Q16
Warren Young scribbled on Wednesday, February 06, 2008 3:18 PM:
David Masterson (damaster) wrote:
After I've
done the usual configure; make; make install; to install the
package and then remove the source code,
Why remove the sources? After configuration, they have all the
information
Bob Friesenhahn mailto:[EMAIL PROTECTED] scribbled on
Wednesday, February 06, 2008 3:27 PM:
You have some good ideas. I have gone overboard on all counts for my
own package. The configure script prints a detailed summary at the
end and the main program is able to spit out ALL of its
On Wed, 2008-02-06 at 23:36 +0800, Gary Vaughan wrote:
Look up the documentation for Autoconf's AC_DEFINE_UNQUOTED.
I did that. I've tried using:
AC_DEFINE_UNQUOTED([LORICA_CONF_FILE],
[$sysconfdir/lorica.conf], [Full path to Lorica configuration file])
Which gives me:
/* Full path to
Hello Jules,
* Jules Colding wrote on Thu, Feb 07, 2008 at 08:32:54AM CET:
AC_DEFINE_UNQUOTED([LORICA_CONF_FILE],
[$sysconfdir/lorica.conf], [Full path to Lorica configuration file])
Which gives me:
/* Full path to Lorica configuration file */
#define LORICA_CONF_FILE