target: Hint configure we don't have a select.h
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 23 Apr 2011 19:11:08 +0000 (21:11 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 23 Apr 2011 19:11:08 +0000 (21:11 +0200)
People using a GNU/Linux toolchain can end up in trouble when
gsmtap_util.c is including network header files. Hint autoconf
that there is no sys/select.h

src/Makefile

index 402f28a..27281de 100644 (file)
@@ -41,7 +41,7 @@ shared/libosmocore/build-target:
 shared/libosmocore/build-target/Makefile: shared/libosmocore/configure shared/libosmocore/build-target
        cd shared/libosmocore/build-target && ../configure \
                        --host=$(CROSS_HOST) --disable-vty --enable-panic-infloop \
-                       --disable-shared --disable-talloc --disable-tests \
+                       --disable-shared --disable-talloc --disable-tests ac_cv_header_sys_select_h=no \
                CFLAGS="-Os -ffunction-sections -I$(TOPDIR)/target/firmware/include -nostartfiles -nodefaultlibs"
 
 shared/libosmocore/build-target/src/.libs/libosmocore.a: shared/libosmocore/build-target/Makefile