~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to docs/libcurl/libcurl.m4

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])
62
62
 
63
63
  AC_ARG_WITH(libcurl,
64
 
     AC_HELP_STRING([--with-libcurl=DIR],[look for the curl library in DIR]),
 
64
     AC_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),
65
65
     [_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])])
66
66
 
67
67
  if test "$_libcurl_with" != "no" ; then
75
75
     if test -d "$_libcurl_with" ; then
76
76
        LIBCURL_CPPFLAGS="-I$withval/include"
77
77
        _libcurl_ldflags="-L$withval/lib"
78
 
        AC_PATH_PROG([_libcurl_config],[curl-config],["$withval/bin"],
 
78
        AC_PATH_PROG([_libcurl_config],[curl-config],[],
79
79
                     ["$withval/bin"])
80
80
     else
81
 
        AC_PATH_PROG([_libcurl_config],[curl-config])
 
81
        AC_PATH_PROG([_libcurl_config],[curl-config],[],[$PATH])
82
82
     fi
83
83
 
84
84
     if test x$_libcurl_config != "x" ; then