Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
unix
Commits
dd0178b4
Commit
dd0178b4
authored
14 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Proper autoconf test for sem_close's library; fixes trac #4523
parent
cc322963
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+3
-12
3 additions, 12 deletions
configure.ac
unix.buildinfo.in
+1
-3
1 addition, 3 deletions
unix.buildinfo.in
with
4 additions
and
15 deletions
configure.ac
+
3
−
12
View file @
dd0178b4
...
...
@@ -207,18 +207,9 @@ AC_SUBST([EXTRA_LIBS])
# -{l,}pthread goo
AC_CANONICAL_TARGET
PTHREAD_CFLAGS=
PTHREAD_LDFLAGS=
PTHREAD_LIBS=
case "$host_os" in
openbsd*)
PTHREAD_CFLAGS=-pthread
PTHREAD_LDFLAGS=-pthread
;;
esac
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_LDFLAGS)
AC_SUBST(PTHREAD_LIBS)
AC_SEARCH_LIBS(sem_close, pthread,
[EXTRA_LIBS="$EXTRA_LIBS $ac_lib"],
[AC_MSG_NOTICE([Not found])])
AC_CONFIG_FILES([unix.buildinfo])
...
...
This diff is collapsed.
Click to expand it.
unix.buildinfo.in
+
1
−
3
View file @
dd0178b4
buildable: @BUILD_PACKAGE_BOOL@
cc-options: @PTHREAD_CFLAGS@
ld-options: @PTHREAD_LDFLAGS@
extra-libraries: @EXTRA_LIBS@ @PTHREAD_LIBS@
extra-libraries: @EXTRA_LIBS@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment