Files
pkgsrc-ng/net/kismet/patches/patch-ah
2013-09-26 17:14:40 +02:00

20 lines
588 B
Plaintext

$NetBSD: patch-ah,v 1.2 2008/10/28 11:06:38 adam Exp $
--- configure.in.orig 2008-05-12 22:14:14.000000000 +0200
+++ configure.in
@@ -269,12 +269,12 @@ AC_CHECK_LIB([uClibc++], [main],
foundcxxl="uclibc" LIBS="$LIBS -luClibc++")
# Do we use uclibc++?
-if test "$foundcxxl"x == "x"; then
+if test "$foundcxxl"x = "x"; then
AC_CHECK_LIB([stdc++], [main],
foundcxxl="stdc++" LIBS="$LIBS -lstdc++ -lm",,"-lm")
fi
-if test "$foundcxxl"x == "x"; then
+if test "$foundcxxl"x = "x"; then
AC_MSG_ERROR(Neither uclibc uClibc++ or standard gcc stdc++ libraries found.)
fi