netkittelnet: fix build on toolchains without C++ support
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 9 Oct 2012 07:36:35 +0000 (09:36 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 9 Oct 2012 07:36:35 +0000 (09:36 +0200)
commiteaef48367e24724da6533b3b78978cf9f0da19d7
tree420fa30a6f1d4ea74cdf3a37fe15af604ac1a216
parentd3501735f64414eea0e29d59aaa6f2f8ce5395eb
netkittelnet: fix build on toolchains without C++ support

The configure script checks for C++ support as telnet (but not telnetd)
contains C++ code. This used to work by accident if the host had g++,
as we didn't pass TARGET_CONFIGURE_OPTS to configure (which sets CXX to
/bin/false).

Fix it by removing the g++ check and rewriting the configure checks to
use the C compiler instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/netkittelnet/netkittelnet.mk
package/netkittelnet/netkittelnet.patch