Re: gnome.m4: location of

Aldy Hernandez <> writes:
> My cromagnon application uses macros/gnome.m4 to autoconf itself.
> However, it doesn't do a good job of finding because
> gnome.m4 defaults to checking in 'gnome_prefix/' which by default, is
> set to 'prefix/' (/usr/local).

Hmm...  Why is it not using `gnome-config' first.  Is gnome-config in
your path?
> I installed gnome from RPMs so my gnome resides in /usr.  I think it
> would be nice to have gnome.m4 search in /usr for,
> especially for when in use from stand alone gnome applications.
> Has someone else run into this, or should I have a separate gnome.m4
> for my application?


1. If `gnome-config' is not in your path:

  $ env GNOME_CONFIG=/usr/bin/gnome-config ../configure --prefix=...

2. To change `gnome_prefix':

  $ ../configure --with-gnome-libs=/usr/lib --prefix=...

- Hari
Raja R Harinath ------------------------------
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

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