Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9e67edfc
Commit
9e67edfc
authored
Mar 06, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined.
parent
f5ea0fd2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
28 deletions
+28
-28
configure
configure
+14
-14
configure.ac
configure.ac
+14
-14
No files found.
configure
View file @
9e67edfc
...
...
@@ -7309,7 +7309,7 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#if HAVE_SYS_PARAM_H
#if
def
HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
...
...
@@ -7378,13 +7378,13 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_SYS_SOCKETVAR_H
#if
def
HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
...
...
@@ -7446,13 +7446,13 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_SYS_SOCKETVAR_H
#if
def
HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_TCP_H
...
...
@@ -7520,7 +7520,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
...
...
@@ -7582,13 +7582,13 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#if HAVE_ARPA_NAMESER_H
#if
def
HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
...
...
@@ -7709,7 +7709,7 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#if HAVE_UCONTEXT_H
#if
def
HAVE_UCONTEXT_H
#include <ucontext.h>
#endif
...
...
@@ -13644,8 +13644,8 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#if HAVE_FT2BUILD_H
#include <ft2build.h>
#if
def
HAVE_FT2BUILD_H
#
include <ft2build.h>
#endif
#include <
$ac_header
>
...
...
configure.ac
View file @
9e67edfc
...
...
@@ -329,31 +329,31 @@ 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
#if
def
HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif])
AC_CHECK_HEADERS([netinet/in_pcb.h netinet/ip_var.h 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
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_SYS_SOCKETVAR_H
#if
def
HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif])
AC_CHECK_HEADERS([netinet/tcp_var.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_SYS_SOCKETVAR_H
#if
def
HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_TCP_H
...
...
@@ -365,19 +365,19 @@ AC_CHECK_HEADERS([linux/ipx.h],,,
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif])
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#if HAVE_ARPA_NAMESER_H
#if
def
HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif])
...
...
@@ -385,7 +385,7 @@ AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
AC_CHECK_HEADERS([sys/thr.h],,,
[#include <sys/types.h>
#if HAVE_UCONTEXT_H
#if
def
HAVE_UCONTEXT_H
#include <ucontext.h>
#endif])
...
...
@@ -969,8 +969,8 @@ then
freetype/ftwinfnt.h \
freetype/ftmodapi.h \
freetype/internal/sfnt.h,,,
[#if HAVE_FT2BUILD_H
#include <ft2build.h>
[#if
def
HAVE_FT2BUILD_H
#
include <ft2build.h>
#endif])
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <ft2build.h>
#include <freetype/fttrigon.h>]])],[AC_DEFINE(HAVE_FREETYPE_FTTRIGON_H, 1,
...
...
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