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
50a1d5ee
Commit
50a1d5ee
authored
14 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
build: libhostname and chkhostname linkage adjustments followup
parent
6ccbd1be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+4
-0
4 additions, 0 deletions
configure.ac
tests/libtest/Makefile.inc
+1
-1
1 addition, 1 deletion
tests/libtest/Makefile.inc
tests/libtest/sethostname.h
+8
-1
8 additions, 1 deletion
tests/libtest/sethostname.h
with
13 additions
and
2 deletions
configure.ac
+
4
−
0
View file @
50a1d5ee
...
...
@@ -764,6 +764,8 @@ ac_cv_func_strcasecmp="no"
CURL_CHECK_LIBS_CONNECT
CURL_NETWORK_LIBS=$LIBS
dnl **********************************************************************
dnl In case that function clock_gettime with monotonic timer is available,
dnl check for additional required libraries.
...
...
@@ -2651,6 +2653,7 @@ LIBCURL_LIBS=$LIBS
AC_SUBST(LIBCURL_LIBS)
AC_SUBST(CURL_LIBS)
AC_SUBST(TEST_SERVER_LIBS)
AC_SUBST(CURL_NETWORK_LIBS)
LIBS=$ALL_LIBS dnl LIBS is a magic variable that's used for every link
AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes)
...
...
@@ -2775,6 +2778,7 @@ squeeze LIBS
squeeze CURL_LIBS
squeeze LIBCURL_LIBS
squeeze TEST_SERVER_LIBS
squeeze CURL_NETWORK_LIBS
squeeze SUPPORT_FEATURES
squeeze SUPPORT_PROTOCOLS
...
...
This diff is collapsed.
Click to expand it.
tests/libtest/Makefile.inc
+
1
−
1
View file @
50a1d5ee
...
...
@@ -15,7 +15,7 @@ noinst_PROGRAMS = lib500 lib501 lib502 lib503 lib504 lib505 lib506 \
lib568 lib569 lib570 lib571 lib572 lib573 chkhostname
chkhostname_SOURCES
=
chkhostname.c
$(
top_srcdir
)
/lib/curl_gethostname.c
chkhostname_LDADD
=
chkhostname_LDADD
=
@CURL_NETWORK_LIBS@
chkhostname_DEPENDENCIES
=
chkhostname_CFLAGS
=
$(
AM_CFLAGS
)
...
...
This diff is collapsed.
Click to expand it.
tests/libtest/sethostname.h
+
8
−
1
View file @
50a1d5ee
...
...
@@ -21,5 +21,12 @@
# endif
#endif
LIBHOSTNAME_EXTERN
int
gethostname
(
char
*
name
,
GETHOSTNAME_TYPE_ARG2
namelen
);
#ifdef USE_WINSOCK
# define FUNCALLCONV __stdcall
#else
# define FUNCALLCONV
#endif
LIBHOSTNAME_EXTERN
int
FUNCALLCONV
gethostname
(
char
*
name
,
GETHOSTNAME_TYPE_ARG2
namelen
);
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