mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
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:
parent
a79dd60102
commit
6dbc805c58
3 changed files with 8 additions and 2 deletions
|
@ -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
2
configure
vendored
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue