Re: configure: error: cannot compute sizeof (void *), 77 -during configuration process

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 12 Nov 2007 00:07:20 +0100

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

Received on Sun Nov 11 2007 - 16:07:26 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST