any idea how to use it then?

if you run a

#./configure --help

it lists this on the bottom:

Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>
CPP C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

so would you not use it within the ./configure "flags" ? thats what i was thinking ... however that was my best guess ....


On Apr 4, 2005, at 5:01 PM, Nick Harring wrote:

I'm trying to bring up courier-imap, which requires courier-authlib,
however i am unable to compile courier-authlib. >it complains about
vpopmail. says i should recompile it with -fPIC.
my configure flags are as followed:
for vpopmail:
./configure CFLAGS=-fPIC --enable-roaming-users=y --enable-logging=p

for courier-authlib: ./configure CFLAGS=-fPIC --prefix=/usr/local --exec-prefix=/usr/local
--with-authvchkpw --without-authldap --without->authmysql
--disable-root-check --with-ssl
--with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
The way to do this is:
CFLAGS=-fPIC ./configure --enable-roaming-users=y --enable-logging=p

CFLAGS is an environment variable, not an argument to configure.
Hope that helps,

Reply via email to