ac07348b38
ok ajacoutot@
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
$OpenBSD: patch-configure,v 1.2 2009/01/09 07:33:51 kevlo Exp $
|
|
--- configure.orig Sat Dec 13 18:12:31 2008
|
|
+++ configure Sat Dec 13 18:15:09 2008
|
|
@@ -12622,48 +12622,7 @@ echo "${ECHO_T}no" >&6; }
|
|
fi
|
|
|
|
pkg_failed=no
|
|
-{ echo "$as_me:$LINENO: checking for CHECK" >&5
|
|
-echo $ECHO_N "checking for CHECK... $ECHO_C" >&6; }
|
|
|
|
-if test -n "$PKG_CONFIG"; then
|
|
- if test -n "$CHECK_CFLAGS"; then
|
|
- pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
|
|
- else
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= \$CHECK_REQUIRED_VERSION\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "check >= $CHECK_REQUIRED_VERSION") 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= $CHECK_REQUIRED_VERSION" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- fi
|
|
-else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-if test -n "$PKG_CONFIG"; then
|
|
- if test -n "$CHECK_LIBS"; then
|
|
- pkg_cv_CHECK_LIBS="$CHECK_LIBS"
|
|
- else
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= \$CHECK_REQUIRED_VERSION\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "check >= $CHECK_REQUIRED_VERSION") 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= $CHECK_REQUIRED_VERSION" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- fi
|
|
-else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
if test $pkg_failed = yes; then
|
|
|
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
@@ -12687,9 +12646,7 @@ elif test $pkg_failed = untried; then
|
|
else
|
|
CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
|
|
CHECK_LIBS=$pkg_cv_CHECK_LIBS
|
|
- { echo "$as_me:$LINENO: result: yes" >&5
|
|
-echo "${ECHO_T}yes" >&6; }
|
|
- enable_check=yes
|
|
+ enable_check=no
|
|
fi
|
|
if test x$enable_check = "xyes"; then
|
|
ENABLE_UNIT_TEST_TRUE=
|