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
ba349210
Commit
ba349210
authored
Jan 02, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: Fix test for libresolv on Mac OS 10.4.x.
The resolv.h header file won't compile without netinet/in.h being included first.
parent
76b805da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
configure
configure
+3
-0
configure.ac
configure.ac
+4
-1
No files found.
configure
View file @
ba349210
...
@@ -14285,6 +14285,9 @@ _ACEOF
...
@@ -14285,6 +14285,9 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* end confdefs.h. */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <resolv.h>
#include <resolv.h>
int
int
main ()
main ()
...
...
configure.ac
View file @
ba349210
...
@@ -1011,7 +1011,10 @@ if test "$ac_cv_header_resolv_h" = "yes"
...
@@ -1011,7 +1011,10 @@ if test "$ac_cv_header_resolv_h" = "yes"
then
then
ac_save_LIBS="$LIBS"
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lresolv"
LIBS="$LIBS -lresolv"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <resolv.h>]],[[res_init();]])],
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <resolv.h>]],[[res_init();]])],
[AC_DEFINE(HAVE_RESOLV, 1, [Define if you have the resolver library and header])
[AC_DEFINE(HAVE_RESOLV, 1, [Define if you have the resolver library and header])
RESOLVLIBS="-lresolv"])
RESOLVLIBS="-lresolv"])
LIBS="$ac_save_LIBS"
LIBS="$ac_save_LIBS"
...
...
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