Re: about cf.data.pre and squid compiling

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 18 Jul 2007 23:25:59 +0200

ons 2007-07-18 klockan 11:05 -0700 skrev Arthur Tumanyan:

> configure.in:
> AM_CONDITIONAL(ENABLE_SHAGA, false)
> AC_ARG_ENABLE(shaga,
> [ --enable-shaga Enable ShagaEngine support],
> [ if test "$enableval" != "no"; then
> echo "ShagaEngine support enabled"
> AC_DEFINE(USE_SHAGA, 1, [Define this to include code for ShagaEngine.])
> AM_CONDITIONAL(ENABLE_SHAGA, true)
> CFLAGS="$CFLAGS -I/usr/local/include/mysql/ -L/usr/local/lib/mysql
> -lmysqlclient"
> fi
> ])

Ok.

> ---------------------------------------
> cf_gen_defines:
> add define["USE_SHAGA"]="--enable-shaga"

Ok.

> ---------------------------------------
> Makefile.in:
> ENABLE_SHAGA_TRUE = @ENABLE_SHAGA_TRUE@
> ENABLE_SHAGA_FALSE = @ENABLE_SHAGA_FALSE@

Autogenerated, don't touch this file.

> ---------------------------------------
> src/Makefile.am:
> if ENABLE_SHAGA
> SHAGASOURCE = shaga.c
> else
> SHAGASOURCE =
> endif

Ok.

> ---------------------------------------
> src/Makefile.in:
> add the source and header file names

Autogenerated. Don't touch this file.

> ---------------------------------------
> squid.h:
> #if USE_SHAGA
> #include "shaga.h"
> #endif

Ok.

And you are sure shaga.h does not contain any "bad" defines?

Regards
Henrik

Received on Wed Jul 18 2007 - 15:26:10 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT