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