-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete build options for Pthread API #84
Comments
Thanks, this sounds worth doing. |
Please reopen this issue until the additional macro call will be correctly used. |
When you claim "correctly used" it would be nice to know what you mean by that. What parameters are you referring to and would you be up for sending a patch? |
@elfring I left the AX_PTHREAD without any additional parameters because AC_SEARCH_LIBS wasn't using anything too. What do you suggests to do in this case? |
How do you think about an update suggestion like the following? # Check for some libraries
-AX_PTHREAD
+AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS"
+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+CC="$PTHREAD_CC"],
+ [AC_MSG_ERROR([Could not configure POSIX threads support])])
AC_SEARCH_LIBS(clock_gettime, [rt]) |
Closes: #84 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Closes: #84 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Closes: #84 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Would you like to add the configuration script "AX_PTHREAD" to your build specification?
The text was updated successfully, but these errors were encountered: