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
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT