Re: the *-config scripts
- From: Martijn van Beers <martijn earthling net>
- To: Dan Winship <danw helixcode com>
- Cc: gtk-devel-list redhat com, gnome-hackers gnome org
- Subject: Re: the *-config scripts
- Date: Thu, 8 Jun 2000 19:22:12 +0200
On Thu, Jun 08, 2000 at 12:39:18PM -0400, Dan Winship wrote:
> > PKG_CHECK_MODULES(GTK, glib:1.2.8 gtk)
>
> What to do about "1.2.8 or newer, but not 1.3 or later"? (Maybe that
> should just be dealt with by versioning the package names themselves
> (glib12:1.2.8).)
Probably. the current macros don't deal with this either.
> It might be useful to have PKG_CHECK_MODULES set FOO_VERSION
> variables for each package.
Could you explain why?
> You need to provide a way to deal with the IDL include path problem.
The current way of handling this is by creating an idl.pc, and filling
IDL_CFLAGS with the include paths. This still doesn't address the
fact that you can't define ORBIT_IDL with the .pc files, so yes, this
needs to be changed. I am aware of the problem.
>
> > AC_SUBST(GTK_CFLAGS)
>
> Should be CPPFLAGS, or if there are cases where you'll need CFLAGS,
> you should separate out CPPFLAGS from CFLAGS. (For the case where you
> make sure a library exists, then need to run some additional autoconf
> test that will use $CPP rather than $CC.)
Why does this need to be CPPFLAGS? you just add the $(GTK_CFLAGS) to
the INCLUDES variable in your Makefile.am
> FYI, .pc is also used as the suffix for Oracle Pro*C (C with embedded
> SQL) files.
Any suggestions for a better prefix?
Martijn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]