cURL / Mailing Lists / curl-users / Single Mail

curl-users

autoconf/makefile problem

From: Dan Grayson <dan_at_math.uiuc.edu>
Date: Tue, 1 Jul 2003 15:29:44 -0500 (CDT)

This code from configure.ac (curl-7.10.5) prevents the user from overriding
the install directory at install-time by setting "prefix" to something else.

        AC_HELP_STRING([--without-ca-bundle], [Don't install the CA bundle]),
           [ ca="$withval" ],
           [
          if test "x$prefix" != xNONE; then
            ca="$prefix/share/curl/curl-ca-bundle.crt"
          else
            ca="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
          fi
           ] )

Here is a fix.

        AC_HELP_STRING([--without-ca-bundle], [Don't install the CA bundle]),
           [ ca="$withval" ],
           [
          if test "x$prefix" != xNONE; then
            ca="\${prefix}/share/curl/curl-ca-bundle.crt"
          else
            ca="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
          fi
           ] )

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-01