Re: BUILD: gdm spec file changes

Hello Omega,

On Tue, 20 Apr 1999 16:34:24 -0700 (PDT)
Erik Walthinsen <> wrote:

> I'm ready to commit changes to make the gdm spec file a file, to
> make it easier to build/release new versions of gdm (the spec file
> hardcodes the version number, allows autoconf to munge it).
> Changes are below, with new file.  I'll commit them when I get the
> OK.
Can you make it a general rule (for the packages that use those
variables) that sysconfdir and localstatedir get AC_SUBST'ed in I think those are two parameters users would want to
specify besides the $prefix.

Also, it might be a good thing to AC_SUBST %prefix as well.

Although I do not know how, maybe you can even pull off a trick to
make the package relocatable.  I think many users who do not have
root access, or users of non-RedHat distribution will appreciate it.

Here is a sample of what I am talking about.

[Sample for package foo]
%define prefix @prefix@


./configure --prefix=%prefix \
    --sysconfidir=@sysconfdir@ \


make -prefix=$RPM_BUILD_ROOT%prefix \
    --sysconfidir=$RPM_BUILD_ROOT@sysconfdir@ \



By the way, I am not your package maintainer.  I am supposed to
analyze build environment for GNOME.  When you have time, please read
the thread 'gnome build tool' in the archive and let me know what you
think.  Also, please take a look at the gbuild package in the CVS.
The author of gbuild is probably going to join the team as well.


----------/* E-Mail : < > */----------

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