[OpenAFS] env vars being ignored - 1.4.2 building aklog
Ken Hornstein
kenh@cmf.nrl.navy.mil
Wed, 03 Jan 2007 16:21:09 -0500
> CC and CPPFLAGS being ignored (I am using GNU make of course)
> when building aklog. Also, isn't this supposed to build by
> default, what with kaserver's deprecation and all... ?
>
>You want KRB5CFLAGS and KRB5LIBS. These are options to configure, not to
>make. If this isn't documented somewhere it should be.
Those variables are now marked with AC_ARG_VAR(), so they should display
useful information in the configure help output at least. For a while
they weren't this way, because of old autoconfs still in use.
(The way it works is that if a krb5-config script is being used, it
overrides KRB5CFLAGS and KRB5LIBS; if one is not being used, either the
environment settings or what is given on the autoconf command line for
those variables is used).
--Ken