Browse Source

[master] use single = with test

Noticed on FreeBSD:

test: yes: unexpected operator

Trivial fix (and consistent with rest), no review.
Jeremy C. Reed 13 years ago
parent
commit
d5a58bbe64
1 changed files with 2 additions and 2 deletions
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -437,7 +437,7 @@ AC_ARG_WITH([botan],
   AC_HELP_STRING([--with-botan=PATH],
   AC_HELP_STRING([--with-botan=PATH],
     [specify exact directory of Botan library]),
     [specify exact directory of Botan library]),
     [botan_path="$withval"])
     [botan_path="$withval"])
-if test "${botan_path}" == "no" ; then
+if test "${botan_path}" = "no" ; then
     AC_MSG_ERROR([Need botan for libcryptolink])
     AC_MSG_ERROR([Need botan for libcryptolink])
 fi
 fi
 if test "${botan_path}" != "yes" ; then
 if test "${botan_path}" != "yes" ; then
@@ -510,7 +510,7 @@ AC_ARG_WITH([log4cplus],
   AC_HELP_STRING([--with-log4cplus=PATH],
   AC_HELP_STRING([--with-log4cplus=PATH],
     [specify exact directory of log4cplus library and headers]),
     [specify exact directory of log4cplus library and headers]),
     [log4cplus_path="$withval"])
     [log4cplus_path="$withval"])
-if test "${log4cplus_path}" == "no" ; then
+if test "${log4cplus_path}" = "no" ; then
     AC_MSG_ERROR([Need log4cplus])
     AC_MSG_ERROR([Need log4cplus])
 elif test "${log4cplus_path}" != "yes" ; then
 elif test "${log4cplus_path}" != "yes" ; then
   LOG4CPLUS_INCLUDES="-I${log4cplus_path}/include"
   LOG4CPLUS_INCLUDES="-I${log4cplus_path}/include"