Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
0b3decee
Commit
0b3decee
authored
19 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
adjusted the configure to always skip the fine-poll() test on Mac OS X (darwin)
parent
fa4cd886
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+6
-0
6 additions, 0 deletions
CHANGES
configure.ac
+26
-13
26 additions, 13 deletions
configure.ac
with
32 additions
and
13 deletions
CHANGES
+
6
−
0
View file @
0b3decee
...
@@ -7,6 +7,12 @@
...
@@ -7,6 +7,12 @@
Changelog
Changelog
Daniel (13 May 2005)
- Grigory Entin reported that curl's configure detects a fine poll() for Mac
OS X 10.4 (while 10.3 or later detected a "bad" one), but the executable
doesn't work as good as if built without poll(). I've adjusted the configure
to always skip the fine-poll() test on Mac OS X (darwin).
Daniel (12 May 2005)
Daniel (12 May 2005)
- When doing a second request (after a disconnect) using the same easy handle,
- When doing a second request (after a disconnect) using the same easy handle,
over a proxy that uses NTLM authentication, libcurl failed to use NTLM again
over a proxy that uses NTLM authentication, libcurl failed to use NTLM again
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
26
−
13
View file @
0b3decee
...
@@ -1495,11 +1495,24 @@ AC_CHECK_DECL(basename, ,
...
@@ -1495,11 +1495,24 @@ AC_CHECK_DECL(basename, ,
#endif
#endif
)
)
dnl poll() might be badly emulated, as in Mac OS X 10.3 (and other BSDs?) and
AC_MSG_CHECKING([if we are Mac OS X (to disable poll)])
dnl to find out we make an extra check here!
disable_poll=no
if test "$ac_cv_func_poll" = "yes"; then
case $host in
AC_MSG_CHECKING([if poll works with NULL inputs])
*-*-darwin*)
AC_RUN_IFELSE([
disable_poll="yes";
;;
*)
;;
esac
AC_MSG_RESULT($disable_poll)
if test "$disable_poll" = "no"; then
dnl poll() might be badly emulated, as in Mac OS X 10.3 (and other BSDs?) and
dnl to find out we make an extra check here!
if test "$ac_cv_func_poll" = "yes"; then
AC_MSG_CHECKING([if poll works with NULL inputs])
AC_RUN_IFELSE([
#ifdef HAVE_SYS_POLL_H
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#include <sys/poll.h>
#endif
#endif
...
@@ -1510,14 +1523,14 @@ if test "$ac_cv_func_poll" = "yes"; then
...
@@ -1510,14 +1523,14 @@ if test "$ac_cv_func_poll" = "yes"; then
return poll((void *)0, 0, 10 /*ms*/);
return poll((void *)0, 0, 10 /*ms*/);
}
}
],
],
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_POLL_FINE, 1, [If you have a fine poll]),
AC_DEFINE(HAVE_POLL_FINE, 1, [If you have a fine poll]),
AC_MSG_RESULT(no),
AC_MSG_RESULT(no),
AC_MSG_RESULT(cross-compiling assumes yes)
AC_MSG_RESULT(cross-compiling assumes yes)
AC_DEFINE(HAVE_POLL_FINE, 1, [If you have a fine poll])
AC_DEFINE(HAVE_POLL_FINE, 1, [If you have a fine poll])
) dnl end of AC_RUN_IFELSE
) dnl end of AC_RUN_IFELSE
fi
fi dnl poll() was found
fi dnl poll()-check is not disabled
AC_PATH_PROG( PERL, perl, ,
AC_PATH_PROG( PERL, perl, ,
...
...
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