#!/bin/sh #*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # # Copyright (C) Daniel Stenberg, , 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 # ########################################################################### # shellcheck disable=SC2006 prefix='/opt/alt/curlssl/usr' # Used in 'libdir' # shellcheck disable=SC2034 exec_prefix="${prefix}" # shellcheck disable=SC2034 includedir="/opt/alt/curlssl/usr/include" usage() { cat <&2 exit 1 fi ;; --configure) echo " '--disable-dependency-tracking' '--with-openssl=/opt/alt/openssl' '--with-libssh2=/opt/alt/libssh2' '--with-libidn2' '--disable-static' '--enable-symbol-hiding' '--enable-ipv6' '--enable-threaded-resolver' '--with-lber-lib=lber' '--with-gssapi=/usr' '--with-nghttp2' '--includedir=/opt/alt/curlssl/usr/include' '--prefix=/opt/alt/curlssl/usr' '--mandir=/opt/alt/curlssl/usr/share/man' '--libdir=/opt/alt/curlssl/usr/lib/x86_64-linux-gnu' '--with-ca-path=/etc/ssl/certs' '--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' 'CFLAGS=-g -O2 -fdebug-prefix-map=/srv/buildsys-work-dir/castor/build_node/builder-0/Z70BD/unpkd_srcs/curl-8.14.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-rpath=/opt/alt/libssh2/lib/x86_64-linux-gnu -L/opt/alt/libssh2/lib/x86_64-linux-gnu -Wl,-rpath=/opt/alt/openssl/lib/x86_64-linux-gnu -L/opt/alt/openssl/lib/x86_64-linux-gnu -Wl,-rpath=/opt/alt/curlssl/usr/lib/x86_64-linux-gnu' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" ;; *) echo "unknown option: $1" usage 1 ;; esac shift done exit 0