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:
Wolfgang Lux 2015-04-01 08:29:19 +00:00
parent a79dd60102
commit 6dbc805c58
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2015-04-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* configure:
Use standard operator in test command
2015-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Internal function to get OS thread ID

2
configure vendored
View file

@ -14018,7 +14018,7 @@ _ACEOF
fi
done
if test $ac_cv_func_pthread_set_name_np == yes; then
if test $ac_cv_func_pthread_set_name_np = yes; then
cat >>confdefs.h <<\_ACEOF
#define PTHREAD_SETNAME(a) (pthread_set_name_np(pthread_self(), a), 0)

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