projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f96b4
)
libcurl.m4: AC_PATH_PROG fixes
author
Dan Locks
<dwlocks@cs.uchicago.edu>
Thu, 7 Oct 2010 16:05:36 +0000
(18:05 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 7 Oct 2010 16:05:36 +0000
(18:05 +0200)
The invocation of autoconf's AC_PATH_PROG( ) is not quite right for
finding curl-config. This fix corrects the negative case (where
curl-config is not found).
docs/libcurl/libcurl.m4
patch
|
blob
|
history
diff --git
a/docs/libcurl/libcurl.m4
b/docs/libcurl/libcurl.m4
index
c83658d
..
952b79f
100644
(file)
--- a/
docs/libcurl/libcurl.m4
+++ b/
docs/libcurl/libcurl.m4
@@
-75,10
+75,10
@@
AC_DEFUN([LIBCURL_CHECK_CONFIG],
if test -d "$_libcurl_with" ; then
LIBCURL_CPPFLAGS="-I$withval/include"
_libcurl_ldflags="-L$withval/lib"
- AC_PATH_PROG([_libcurl_config],[curl-config],[
"$withval/bin"
],
+ AC_PATH_PROG([_libcurl_config],[curl-config],[],
["$withval/bin"])
else
- AC_PATH_PROG([_libcurl_config],[curl-config])
+ AC_PATH_PROG([_libcurl_config],[curl-config]
,[],[$PATH]
)
fi
if test x$_libcurl_config != "x" ; then