1# File: gnv_curl_configure.sh
2#
3# $Id$
4#
5# Set up and run the configure script for Curl so that it can find the
6# proper options for VMS.
7#
8# Copyright 2009 - 2020, John Malmberg
9#
10# Permission to use, copy, modify, and/or distribute this software for any
11# purpose with or without fee is hereby granted, provided that the above
12# copyright notice and this permission notice appear in all copies.
13#
14# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
20# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21#
22# 06-Jun-2009	J. Malmberg
23# 28-Dec-2012	J. Malmberg	Update for Bash 4.2.39
24#==========================================================================
25#
26# POSIX exit mode is needed for Unix shells.
27export GNV_CC_MAIN_POSIX_EXIT=1
28#
29# Where to look for the helper files.
30export GNV_OPT_DIR=.
31#
32# How to find the SSL library files.
33export LIB_OPENSSL=/SSL_LIB
34#
35# Override configure adding -std1 which is too strict for what curl
36# actually wants.
37export GNV_CC_QUALIFIERS=/STANDARD=RELAXED
38#
39# Set the directory to where the Configure script actually is.
40cd ../..
41#
42#
43./configure  --prefix=/usr --exec-prefix=/usr --disable-dependency-tracking \
44 --disable-libtool-lock --with-gssapi --disable-ntlm-wb \
45 --with-ca-path=gnv\$curl_ca_path
46#
47