mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Use string comparison operator in configure.ac.
.. to compare strings. `==` is for numeric values.
This commit is contained in:
parent
bf79fdbb43
commit
3f6b6842f3
|
@ -468,7 +468,7 @@ AC_C_BIGENDIAN
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_FUNC_FORK
|
AC_FUNC_FORK
|
||||||
AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc])
|
AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc])
|
||||||
if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" == "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then
|
if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" = "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then
|
||||||
AC_CHECK_LIB(rt, clock_gettime,
|
AC_CHECK_LIB(rt, clock_gettime,
|
||||||
[
|
[
|
||||||
RT_LIBS="-lrt"
|
RT_LIBS="-lrt"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user