Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4091758b
Commit
4091758b
authored
Dec 09, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify checks for functions that require an external library.
parent
4eaadda4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
174 additions
and
181 deletions
+174
-181
configure
configure
+159
-165
configure.ac
configure.ac
+15
-16
No files found.
configure
View file @
4091758b
This diff is collapsed.
Click to expand it.
configure.ac
View file @
4091758b
...
...
@@ -1993,14 +1993,29 @@ esac
dnl **** Check for functions ****
dnl Check for -ldl
AC_SEARCH_LIBS(dlopen, dl)
dnl Check for -lnsl for Solaris
AC_SEARCH_LIBS(gethostbyname, nsl)
dnl Check for -lsocket for Solaris
AC_SEARCH_LIBS(connect, socket)
dnl Check for -lresolv for Solaris
AC_SEARCH_LIBS(inet_aton, resolv)
ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $BUILTINFLAG"
AC_CHECK_FUNCS(\
dladdr1 \
dlinfo \
epoll_create \
fstatfs \
futimens \
futimes \
futimesat \
getaddrinfo \
getattrlist \
getauxval \
getifaddrs \
...
...
@@ -2023,22 +2038,6 @@ AC_CHECK_FUNCS(\
)
CFLAGS="$ac_save_CFLAGS"
dnl Check for -ldl
AC_SEARCH_LIBS(dlopen, dl)
WINE_CHECK_LIB_FUNCS(dladdr1 dlinfo,[$DL_LIBS])
dnl Check for -lnsl for Solaris
AC_SEARCH_LIBS(gethostbyname, nsl)
dnl Check for -lsocket for Solaris
AC_SEARCH_LIBS(connect, socket)
dnl Check for -lresolv for Solaris
AC_SEARCH_LIBS(inet_aton, resolv)
dnl **** Check for functions which may rely on -lsocket on Solaris.
AC_CHECK_FUNCS(getaddrinfo)
dnl Check for clock_gettime which may be in -lrt
case $host_os in
darwin*|macosx*) ;;
...
...
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