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