mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
If -pthread is not supported, use -D_REENTRANT
This commit is contained in:
parent
98550dd0f1
commit
d1aea8adfc
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ AC_CHECK_FUNCS([mach_absolute_time])
|
|||
AC_CHECK_FUNCS([backtrace backtrace_symbols])
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
AC_CHECK_FUNCS([clock_gettime])
|
||||
AC_CHECK_CC_OPT([-pthread], CFLAGS="$CFLAGS -pthread", [])
|
||||
AC_CHECK_CC_OPT([-pthread], CFLAGS="$CFLAGS -pthread", CFLAGS="$CFLAGS -D_REENTRANT")
|
||||
AC_CHECK_FUNCS([pthread_create])
|
||||
AC_SEARCH_LIBS([exp], [m])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue