Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Opusfile
Commits
131dd027
Verified
Commit
131dd027
authored
May 04, 2020
by
Mark Harris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: Fix macro underquoting
parent
ae4968d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
configure.ac
configure.ac
+12
-11
No files found.
configure.ac
View file @
131dd027
...
...
@@ -58,7 +58,7 @@ case $host in
host_mingw=true
;;
esac
AM_CONDITIONAL(OP_WIN32, test "$host_mingw" = "true")
AM_CONDITIONAL(OP_WIN32,
[
test "$host_mingw" = "true"
]
)
AC_ARG_ENABLE([assertions],
AS_HELP_STRING([--enable-assertions], [Enable assertions in code]),,
...
...
@@ -72,20 +72,21 @@ AC_ARG_ENABLE([http],
AS_HELP_STRING([--disable-http], [Disable HTTP support]),,
enable_http=yes)
AM_COND_IF(OP_WIN32,
AS_IF([test "$enable_http" != "no"],
AC_CHECK_HEADER([winsock2.h],,
AM_COND_IF(OP_WIN32,
[
AS_IF([test "$enable_http" != "no"],
[
AC_CHECK_HEADER([winsock2.h],,
[
AC_MSG_WARN([HTTP support requires a Winsock socket library.])
enable_http=no
)
),
AS_IF([test "$enable_http" != "no"],
AC_CHECK_HEADER([sys/socket.h],,
])
])
], [
AS_IF([test "$enable_http" != "no"], [
AC_CHECK_HEADER([sys/socket.h],, [
AC_MSG_WARN([HTTP support requires a POSIX socket library.])
enable_http=no
)
)
)
]
)
]
)
]
)
# HTTP support requires either clock_gettime or ftime. clock_gettime is
# used only if time.h defines CLOCK_REALTIME and the function is available
...
...
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