--- /dev/null
+--- links-2.1pre20/configure.in.orig 2005-12-21 15:23:49.000000000 +0000
++++ links-2.1pre20/configure.in 2005-12-21 15:23:59.000000000 +0000
+@@ -18,7 +18,7 @@
+ dnl Checks for programs.
+ AC_PROG_CC
+
+-#AC_PROG_CXX
++AC_PROG_CXX
+ #AC_PROG_AWK
+ #AM_PROG_LEX
+ #AC_PROG_YACC
--- /dev/null
+LICENSE = "GPL"
+SECTION = "console/network"
+DEPENDS = "jpeg libpng flex openssl zlib x11"
+DESCRIPTION = "Links is graphics and text mode WWW \
+browser, similar to Lynx."
+RCONFLICTS = "links"
+
+MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
+
+SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
+ file://ac-prog-cxx.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
+ --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
+ --without-libtiff --without-svgalib --without-fb \
+ --without-directfb --without-pmshell --without-atheos \
+ --with-x --without-gpm"
+
+S = "${WORKDIR}/links-${PV}"
--- /dev/null
+LICENSE = "GPL"
+SECTION = "console/network"
+DEPENDS = "jpeg libpng gpm flex openssl zlib"
+DESCRIPTION = "Links is graphics and text mode WWW \
+browser, similar to Lynx."
+RCONFLICTS="links-x11"
+
+MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
+
+SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
+ file://ac-prog-cxx.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
+ --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
+ --without-libtiff --without-svgalib --with-fb \
+ --without-directfb --without-pmshell --without-atheos \
+ --without-x"