swig 2.0.0: disable guile support

It's not in DEPENDS and it breaks on hosts with guile-dev installed:

configure:8391: checking whether Guile's SCM_ API works
configure:8403: ccache arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/foo/BeagleBone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wall -W   -isystem /usr/include  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl     -lguile -lltdl -lgmp -lcrypt -lm -lltdl >&5
cc1: warning: include location "/usr/include" is unsafe for cross-compilation
In file included from /usr/include/libguile.h:24:0,
                 from conftest.c:1:
/usr/include/gmp.h:39:21: fatal error: gmp-arm.h: No such file or directory

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2012-03-01 17:10:55 +01:00
parent b1919c090a
commit 2eb27e123b
+3 -1
View File
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
file://LICENSE-UNIVERSITIES;md5=e0eaeeef7b2662c0c2d0d3c0b2509f75" file://LICENSE-UNIVERSITIES;md5=e0eaeeef7b2662c0c2d0d3c0b2509f75"
SECTION = "devel" SECTION = "devel"
INC_PR = "r0" INC_PR = "r1"
DEPENDS = "python" DEPENDS = "python"
@@ -14,6 +14,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
inherit autotools inherit autotools
EXTRA_OECONF = " --without-guile "
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"
do_configure() { do_configure() {