Use standard operator in test command

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38445 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2015-04-01 08:29:19 +00:00
parent 82e156d9cb
commit 23ef04dfbe
3 changed files with 8 additions and 2 deletions

View file

@ -1754,7 +1754,7 @@ CFLAGS=$saved_CFLAGS
#--------------------------------------------------------------------
AC_CHECK_FUNCS(pthread_set_name_np)
if test $ac_cv_func_pthread_set_name_np == yes; then
if test $ac_cv_func_pthread_set_name_np = yes; then
AC_DEFINE(PTHREAD_SETNAME(a), (pthread_set_name_np(pthread_self(), a), 0),
[Description: Define set name function for pthread returning void])
else