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
2d6d4e96
Commit
2d6d4e96
authored
Apr 09, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Add a configure check for the resolver library and header.
parent
975899aa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
37 deletions
+50
-37
configure
configure
+0
-0
configure.ac
configure.ac
+46
-36
Makefile.in
dlls/dnsapi/Makefile.in
+1
-1
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
2d6d4e96
This diff is collapsed.
Click to expand it.
configure.ac
View file @
2d6d4e96
...
@@ -279,6 +279,43 @@ AC_CHECK_HEADERS(\
...
@@ -279,6 +279,43 @@ AC_CHECK_HEADERS(\
)
)
AC_HEADER_STAT()
AC_HEADER_STAT()
dnl **** Checks for headers that depend on other ones ****
AC_CHECK_HEADERS([sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,
[#include <sys/types.h>
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif])
AC_CHECK_HEADERS([net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif])
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#if HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif])
AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
AC_CHECK_HEADERS([linux/ipx.h linux/videodev.h],,,
[#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H
#include <asm/types.h>
#endif])
dnl Check for broken kernel header that doesn't define __user
dnl Check for broken kernel header that doesn't define __user
AC_CHECK_HEADERS([linux/capi.h],,,[#define __user])
AC_CHECK_HEADERS([linux/capi.h],,,[#define __user])
...
@@ -538,6 +575,15 @@ then
...
@@ -538,6 +575,15 @@ then
LIBS="$saved_libs"
LIBS="$saved_libs"
fi
fi
dnl **** Check for resolver library ***
AC_SUBST(RESOLVLIBS,"")
if test "$ac_cv_header_resolv_h" = "yes"
then
AC_CHECK_LIB(resolv, res_query,
[AC_DEFINE(HAVE_RESOLV, 1, [Define if you have the resolver library and header])
RESOLVLIBS="-lresolv"])
fi
dnl **** Check for LittleCMS ***
dnl **** Check for LittleCMS ***
AC_SUBST(LCMSLIBS,"")
AC_SUBST(LCMSLIBS,"")
if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
...
@@ -1215,42 +1261,6 @@ AC_CHECK_FUNCS(\
...
@@ -1215,42 +1261,6 @@ AC_CHECK_FUNCS(\
waitpid \
waitpid \
)
)
dnl **** Checks for headers that depend on other ones ****
AC_CHECK_HEADERS([sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,
[#include <sys/types.h>
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif])
AC_CHECK_HEADERS([net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif])
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#if HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif])
AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
AC_CHECK_HEADERS([linux/ipx.h linux/videodev.h],,,
[#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H
#include <asm/types.h>
#endif])
dnl **** Check for types ****
dnl **** Check for types ****
...
...
dlls/dnsapi/Makefile.in
View file @
2d6d4e96
...
@@ -5,7 +5,7 @@ VPATH = @srcdir@
...
@@ -5,7 +5,7 @@ VPATH = @srcdir@
MODULE
=
dnsapi.dll
MODULE
=
dnsapi.dll
IMPORTLIB
=
libdnsapi.
$(IMPLIBEXT)
IMPORTLIB
=
libdnsapi.
$(IMPLIBEXT)
IMPORTS
=
kernel32
IMPORTS
=
kernel32
EXTRALIBS
=
$(LIBUNICODE)
EXTRALIBS
=
$(LIBUNICODE)
@RESOLVLIBS@
C_SRCS
=
\
C_SRCS
=
\
main.c
\
main.c
\
...
...
include/config.h.in
View file @
2d6d4e96
...
@@ -524,6 +524,9 @@
...
@@ -524,6 +524,9 @@
/* Define to 1 if the system has the type `request_sense'. */
/* Define to 1 if the system has the type `request_sense'. */
#undef HAVE_REQUEST_SENSE
#undef HAVE_REQUEST_SENSE
/* Define if you have the resolver library and header */
#undef HAVE_RESOLV
/* Define to 1 if you have the <resolv.h> header file. */
/* Define to 1 if you have the <resolv.h> header file. */
#undef HAVE_RESOLV_H
#undef HAVE_RESOLV_H
...
...
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