Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
folly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
folly
Commits
f4acb308
Commit
f4acb308
authored
Feb 10, 2015
by
Sara Golemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fix configure script to check pthread_atfork(3) in the correct way"
This reverts commit
462e13b1
.
parent
33c53905
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
folly/configure.ac
folly/configure.ac
+1
-17
No files found.
folly/configure.ac
View file @
f4acb308
...
@@ -264,23 +264,6 @@ AC_SEARCH_LIBS([clock_gettime], [rt],
...
@@ -264,23 +264,6 @@ AC_SEARCH_LIBS([clock_gettime], [rt],
[Define to 1 if we support clock_gettime(2).]),
[Define to 1 if we support clock_gettime(2).]),
[])
[])
# Check for pthread_atfork(3). This is not in an AC_CHECK_FUNCS() because we
# want to include pthread.h if necessary.
AC_CACHE_CHECK(
[for pthread_atfork support],
[folly_cv_prog_cc_pthread_atfork],
[AC_COMPILE_IFELSE(
[AC_LANG_SOURCE[
#include <pthread.h>
void func() {pthread_atfork(NULL, NULL, NULL);}]
],
[folly_cv_prog_cc_pthread_atfork=yes],
[folly_cv_prog_cc_pthread_atfork=no])])
if test "$folly_cv_prog_cc_pthread_atfork" = "yes"; then
AC_DEFINE([HAVE_PTHREAD_ATFORK], [1], [Define to 1 if the compiler supports pthread_atfork])
fi
# Checks for library functions.
# Checks for library functions.
AC_CHECK_FUNCS([getdelim \
AC_CHECK_FUNCS([getdelim \
gettimeofday \
gettimeofday \
...
@@ -289,6 +272,7 @@ AC_CHECK_FUNCS([getdelim \
...
@@ -289,6 +272,7 @@ AC_CHECK_FUNCS([getdelim \
pow \
pow \
strerror \
strerror \
pthread_yield \
pthread_yield \
pthread_atfork \
malloc_size \
malloc_size \
malloc_usable_size \
malloc_usable_size \
memrchr \
memrchr \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment