Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
686bac60
Commit
686bac60
authored
Jul 21, 2003
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we need to supply the curl cflags into the C preprocessor
svn path=/trunk/m4/; revision=5159
parent
52b917d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
m4/xiph_curl.m4
m4/xiph_curl.m4
+5
-5
No files found.
m4/xiph_curl.m4
View file @
686bac60
...
...
@@ -31,17 +31,17 @@ fi
curl_ok="yes"
ac_curl_CFLAGS="$CFLAGS"
ac_curl_C
PP
FLAGS="$C
PP
FLAGS"
ac_curl_LIBS="$LIBS"
CFLAGS="$CFLAGS $CURL_CFLAGS"
LIBS="$LIBS $
CURL_
LIBS"
C
PP
FLAGS="$C
PP
FLAGS $CURL_CFLAGS"
LIBS="$
CURL_
LIBS $LIBS"
dnl
dnl Now check if the installed libcurl is sufficiently new.
dnl
AC_CHECK_HEADERS([curl/curl.h],, curl_ok="no")
AC_MSG_CHECKING(for libcurl)
if test "$curl_ok" = "yes"; then
AC_
TRY_RUN
([
AC_
RUN_IFELSE
([
#include <curl/curl.h>
int main()
{
...
...
@@ -49,7 +49,7 @@ int main()
}
],,[curl_ok="no"])
fi
CFLAGS="$ac_curl_CFLAGS"
C
PP
FLAGS="$ac_curl_C
PP
FLAGS"
LIBS="$ac_curl_LIBS"
if test "$curl_ok" = "yes"; then
...
...
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