On sön, 2007-11-11 at 09:17 -0800, Arthur Tumanyan wrote:
> Hi.I have a question.
>
> Please have a look at this part of configure.in script that I trying to
> modify for my needs.
>
> 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 -L../shaga -lshaga"
> fi
> ])
This adds "-L../shaga -lshaga" to the compile line of every compile in
every subdirectory, and every following compile statement in
configure.in..
Should be added to LIBS, and with an absolute path in -L
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST