cURL / Mailing Lists / curl-users / Single Mail

curl-users

use of $prefix/share instead of $datadir for ca path

From: Albert Chin <curl-users_at_lists.thewrittenword.com>
Date: Thu, 3 Oct 2002 09:05:43 -0500

1. Don't assume --datadir=$prefix/share. I haven't tested this change.
   I know datadir='${prefix}/share' by default so don't know if the
   '${prefix}' will mess up future use of ca.
2. Remove blank line at end of file.

-- 
albert chin (china_at_thewrittenword.com)
-- snip snip
--- configure.in.orig	Thu Oct  3 08:31:42 2002
+++ configure.in	Thu Oct  3 09:00:50 2002
@@ -703,7 +696,7 @@
    [ ca="$withval" ],
    [
   if test "x$prefix" != xNONE; then
-    ca="$prefix/share/curl/curl-ca-bundle.crt"
+    ca="$datadir/curl-ca-bundle.crt"
   else
     ca="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
   fi
@@ -770,4 +763,3 @@
            curl-config
 ])
 AC_OUTPUT
-
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-03