10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
AC_PROG_EGREP
CFLAGS="$CFLAGS -Wall"
OBJCFLAGS="$OBJCFLAGS -Wall -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
LIBS="$LIBS -lobjc"
if test x"$GCC" = x"yes"; then
CFLAGS="$CFLAGS -Werror"
OBJCFLAGS="$OBJCFLAGS -Werror"
fi
AX_CHECK_COMPILER_FLAGS(-pipe, [
CFLAGS="$CFLAGS -pipe"
OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings,
[OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"])
AC_DEFINE(OF_CONFIG_H, 1, [Define so that we know we got our config.h])
|
<
<
<
<
<
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
AC_PROG_EGREP
CFLAGS="$CFLAGS -Wall"
OBJCFLAGS="$OBJCFLAGS -Wall -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
LIBS="$LIBS -lobjc"
AX_CHECK_COMPILER_FLAGS(-pipe, [
CFLAGS="$CFLAGS -pipe"
OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings,
[OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"])
AC_DEFINE(OF_CONFIG_H, 1, [Define so that we know we got our config.h])
|
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
ac_cv_have_ipv6="no",
ac_cv_have_ipv6="no")])
AC_MSG_RESULT($ac_cv_have_ipv6)
test x"$ac_cv_have_ipv6" = x"yes" && \
AC_DEFINE(HAVE_IPV6, 1, "Whether we have IPv6 support")
AC_CHECK_HEADERS(sys/mman.h)
if test x"$cross_compiling" = x"yes"; then
case "$host" in
*-*-mingw*)
AC_PATH_PROG(WINE, wine)
if test x"$WINE" != "x"; then
|
>
>
>
>
>
|
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
ac_cv_have_ipv6="no",
ac_cv_have_ipv6="no")])
AC_MSG_RESULT($ac_cv_have_ipv6)
test x"$ac_cv_have_ipv6" = x"yes" && \
AC_DEFINE(HAVE_IPV6, 1, "Whether we have IPv6 support")
AC_CHECK_HEADERS(sys/mman.h)
if test x"$GCC" = x"yes"; then
CFLAGS="$CFLAGS -Werror"
OBJCFLAGS="$OBJCFLAGS -Werror"
fi
if test x"$cross_compiling" = x"yes"; then
case "$host" in
*-*-mingw*)
AC_PATH_PROG(WINE, wine)
if test x"$WINE" != "x"; then
|