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
b9c60df0
Commit
b9c60df0
authored
22 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
added description in all AC_DEFINE() calls
parent
8c236e4d
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
acinclude.m4
+18
-18
18 additions, 18 deletions
acinclude.m4
configure.in
+1
-1
1 addition, 1 deletion
configure.in
with
19 additions
and
19 deletions
acinclude.m4
+
18
−
18
View file @
b9c60df0
...
...
@@ -38,7 +38,7 @@ AC_DEFUN(CURL_CHECK_NONBLOCKING_SOCKET,
],[
dnl the O_NONBLOCK test was fine
nonblock="O_NONBLOCK"
AC_DEFINE(HAVE_O_NONBLOCK)
AC_DEFINE(HAVE_O_NONBLOCK
, 1, [use O_NONBLOCK for non-blocking sockets]
)
],[
dnl the code was bad, try a different program now, test 2
...
...
@@ -52,7 +52,7 @@ dnl the code was bad, try a different program now, test 2
],[
dnl FIONBIO test was good
nonblock="FIONBIO"
AC_DEFINE(HAVE_FIONBIO)
AC_DEFINE(HAVE_FIONBIO
, 1, [use FIONBIO for non-blocking sockets]
)
],[
dnl FIONBIO test was also bad
dnl the code was bad, try a different program now, test 3
...
...
@@ -66,7 +66,7 @@ dnl the code was bad, try a different program now, test 3
],[
dnl ioctlsocket test was good
nonblock="ioctlsocket"
AC_DEFINE(HAVE_IOCTLSOCKET)
AC_DEFINE(HAVE_IOCTLSOCKET
, 1, [use ioctlsocket() for non-blocking sockets]
)
],[
dnl ioctlsocket didnt compile!
...
...
@@ -79,11 +79,11 @@ dnl ioctlsocket didnt compile!
],[
dnl ioctlsocket test was good
nonblock="IoctlSocket"
AC_DEFINE(HAVE_IOCTLSOCKET_CASE)
AC_DEFINE(HAVE_IOCTLSOCKET_CASE
, 1, [use Ioctlsocket() for non-blocking sockets]
)
],[
dnl ioctlsocket didnt compile!
nonblock="nada"
AC_DEFINE(HAVE_DISABLED_NONBLOCKING)
AC_DEFINE(HAVE_DISABLED_NONBLOCKING
, 1, [disabled non-blocking sockets]
)
])
dnl end of forth test
...
...
@@ -272,15 +272,15 @@ AC_DEFUN(CURL_CHECK_INET_NTOA_R,
AC_MSG_CHECKING(whether inet_ntoa_r is declared)
AC_EGREP_CPP(inet_ntoa_r,[
#include <arpa/inet.h>],[
AC_DEFINE(HAVE_INET_NTOA_R_DECL)
AC_DEFINE(HAVE_INET_NTOA_R_DECL
, 1, [inet_ntoa_r() is declared]
)
AC_MSG_RESULT(yes)],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(whether inet_ntoa_r with -D_REENTRANT is declared)
AC_EGREP_CPP(inet_ntoa_r,[
#define _REENTRANT
#include <arpa/inet.h>],[
AC_DEFINE(HAVE_INET_NTOA_R_DECL)
AC_DEFINE(NEED_REENTRANT)
AC_DEFINE(HAVE_INET_NTOA_R_DECL
, 1, [inet_ntoa_r() is declared]
)
AC_DEFINE(NEED_REENTRANT
, 1, [need REENTRANT defined]
)
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))])])
])
...
...
@@ -302,7 +302,7 @@ struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5
, 1, [gethostbyaddr_r() takes 5 args]
)
ac_cv_gethostbyaddr_args=5],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r with -D_REENTRANT takes 5 arguments)
...
...
@@ -318,8 +318,8 @@ struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5)
AC_DEFINE(NEED_REENTRANT)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5
, 1, [gethostbyaddr_r() takes 5 args]
)
AC_DEFINE(NEED_REENTRANT
, 1, [need REENTRANT]
)
ac_cv_gethostbyaddr_args=5],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 7 arguments)
...
...
@@ -337,7 +337,7 @@ struct hostent * hp;
hp = gethostbyaddr_r(address, length, type, &h,
buffer, 8192, &h_errnop);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7
, 1, [gethostbyaddr_r() takes 7 args]
)
ac_cv_gethostbyaddr_args=7],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 8 arguments)
...
...
@@ -356,7 +356,7 @@ int rc;
rc = gethostbyaddr_r(address, length, type, &h,
buffer, 8192, &hp, &h_errnop);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8
, 1, [gethostbyaddr_r() takes 8 args]
)
ac_cv_gethostbyaddr_args=8],[
AC_MSG_RESULT(no)
have_missing_r_funcs="$have_missing_r_funcs gethostbyaddr_r"])])])])])
...
...
@@ -380,7 +380,7 @@ gethostbyname_r(const char *, struct hostent *, struct hostent_data *);],[
struct hostent_data data;
gethostbyname_r(NULL, NULL, NULL);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_3)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_3
, 1, [gethostbyname_r() takes 3 args]
)
ac_cv_gethostbyname_args=3],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING([if gethostbyname_r with -D_REENTRANT takes 3 arguments])
...
...
@@ -398,8 +398,8 @@ gethostbyname_r(const char *,struct hostent *, struct hostent_data *);],[
struct hostent_data data;
gethostbyname_r(NULL, NULL, NULL);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_3)
AC_DEFINE(NEED_REENTRANT)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_3
, 1, [gethostbyname_r() takes 3 args]
)
AC_DEFINE(NEED_REENTRANT
, 1, [needs REENTRANT]
)
ac_cv_gethostbyname_args=3],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING([if gethostbyname_r takes 5 arguments])
...
...
@@ -413,7 +413,7 @@ struct hostent *
gethostbyname_r(const char *, struct hostent *, char *, int, int *);],[
gethostbyname_r(NULL, NULL, NULL, 0, NULL);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_5)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_5
, 1, [gethostbyname_r() takes 5 args]
)
ac_cv_gethostbyname_args=5],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING([if gethostbyname_r takes 6 arguments])
...
...
@@ -428,7 +428,7 @@ gethostbyname_r(const char *, struct hostent *, char *, size_t,
struct hostent **, int *);],[
gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_6)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_6
, 1, [gethostbyname_r() takes 6 args]
)
ac_cv_gethostbyname_args=6],[
AC_MSG_RESULT(no)
have_missing_r_funcs="$have_missing_r_funcs gethostbyname_r"],
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
1
−
1
View file @
b9c60df0
...
...
@@ -155,7 +155,7 @@ AC_ARG_ENABLE(dict,
[ case "$enableval" in
no)
AC_MSG_RESULT(no)
AC_DEFINE(CURL_DISABLE_DICT, 1 [to disable DICT])
AC_DEFINE(CURL_DISABLE_DICT, 1
,
[to disable DICT])
AC_SUBST(CURL_DISABLE_DICT)
;;
*) AC_MSG_RESULT(yes)
...
...
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