freebsd-ports/databases/libmemcached/files/patch-configure
Vanilla I. Shu 6e643ee67d Fix build.
Submitted by:	QAT
2009-03-31 08:58:44 +00:00

42 lines
1 KiB
Text

--- configure.orig 2009-03-30 13:26:57.000000000 +0800
+++ configure 2009-03-31 16:57:35.000000000 +0800
@@ -21054,7 +21054,7 @@
{ $as_echo "$as_me:$LINENO: result: $have_htoll" >&5
$as_echo "$have_htoll" >&6; }
- if test "x$have_htoll" == "xno"; then
+ if test "x$have_htoll" = "xno"; then
BUILD_BYTEORDER_TRUE=
BUILD_BYTEORDER_FALSE='#'
else
@@ -21395,14 +21395,14 @@
MEMC_BINARY="$withval"
fi
- if test x$withval == xyes
+ if test $withval = yes
then
MEMC_BINARY=memcached
fi
# just ignore the user if --without-memcached is passed.. it is
# only used by make test
- if test x$withval == xno
+ if test $withval = no
then
MEMC_BINARY=memcached
fi
@@ -21454,11 +21454,10 @@
fi
-if test x$MEMC_BINARY == "xno"
+if test $MEMC_BINARY = "no"
then
{ { $as_echo "$as_me:$LINENO: error: \"could not find memcached binary\"" >&5
-$as_echo "$as_me: error: \"could not find memcached binary\"" >&2;}
- { (exit 1); exit 1; }; }
+$as_echo "$as_me: error: \"could not find memcached binary\"" >&2;} }
fi