[packagekit] config.h oddities

Boyd Timothy btimothy at gmail.com
Fri Nov 16 13:33:40 PST 2007


On Nov 16, 2007 5:41 AM, Tom Parker <palfrey at tevp.net> wrote:
> Been doing some work with PK recently, and I've started getting some
> weird results out of the configure. Namely, my config.h seems to
> contain various non-expanded variables.
>
> examples:
>
> #define DEFAULT_BACKEND "$with_default_backend"
> #define security_framework "$with_security_framework"
> #define PK_DB_DIR "${prefix}/var/lib/PackageKit"
>
> (the last one has the nasty side effect of making it impossible to run
> PK as that directory won't ever exist on my system)
>
> I'm up-to-date with the current git head, running autoconf 2.61 on
> Debian (stable-testing-unstable mix). Tried re-running autogen.sh, and
> still no luck.
>
> Ideas anyone? I've run out of ideas here, but I'm probably missing
> something stupid. Alternately, is the waf system ready for use?
>
> Tom

Since I was just fixing a problem with PK_DB_DIR (moved that to
src/Makefile.am ... see previous email), I fixed up the
DEFAULT_BACKEND and security_framework defines by using
AC_DEFINE_UNQUOTED instead of AC_DEFINE and that appears to fix
config.h.  Thanks for the heads-up Tom!

Boyd



More information about the PackageKit mailing list