-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os400: move build configuration parameters to a separate script
They can then easily be overriden in a script named "config400.override" that is not part of the distribution. Closes curl#11547
- Loading branch information
Showing
4 changed files
with
68 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/bin/sh | ||
#*************************************************************************** | ||
# _ _ ____ _ | ||
# Project ___| | | | _ \| | | ||
# / __| | | | |_) | | | ||
# | (__| |_| | _ <| |___ | ||
# \___|\___/|_| \_\_____| | ||
# | ||
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | ||
# | ||
# This software is licensed as described in the file COPYING, which | ||
# you should have received as part of this distribution. The terms | ||
# are also available at https://curl.se/docs/copyright.html. | ||
# | ||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell | ||
# copies of the Software, and permit persons to whom the Software is | ||
# furnished to do so, under the terms of the COPYING file. | ||
# | ||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
# KIND, either express or implied. | ||
# | ||
# SPDX-License-Identifier: curl | ||
# | ||
########################################################################### | ||
|
||
# Tunable configuration parameters. | ||
|
||
setenv TARGETLIB 'CURL' # Target OS/400 program library. | ||
setenv STATBNDDIR 'CURL_A' # Static binding directory. | ||
setenv DYNBNDDIR 'CURL' # Dynamic binding directory. | ||
setenv SRVPGM "CURL.${SONAME}" # Service program. | ||
setenv TGTCCSID '500' # Target CCSID of objects. | ||
setenv DEBUG '*ALL' # Debug level. | ||
setenv OPTIMIZE '10' # Optimization level | ||
setenv OUTPUT '*NONE' # Compilation output option. | ||
setenv TGTRLS '*CURRENT' # Target OS release. | ||
setenv IFSDIR '/curl' # Installation IFS directory. | ||
setenv QADRTDIR '/QIBM/ProdData/qadrt' # QADRT IFS directory. | ||
|
||
# Define ZLIB availability and locations. | ||
|
||
setenv WITH_ZLIB 0 # Define to 1 to enable. | ||
setenv ZLIB_INCLUDE '/zlib/include' # ZLIB include IFS directory. | ||
setenv ZLIB_LIB 'ZLIB' # ZLIB library. | ||
setenv ZLIB_BNDDIR 'ZLIB_A' # ZLIB binding directory. | ||
|
||
# Define LIBSSH2 availability and locations. | ||
|
||
setenv WITH_LIBSSH2 0 # Define to 1 to enable. | ||
setenv LIBSSH2_INCLUDE '/libssh2/include' # LIBSSH2 include IFS directory. | ||
setenv LIBSSH2_LIB 'LIBSSH2' # LIBSSH2 library. | ||
setenv LIBSSH2_BNDDIR 'LIBSSH2_A' # LIBSSH2 binding directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters