#! /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 # ########################################################################### prefix="/usr" exec_prefix=/usr includedir=/usr/include cppflag_curl_staticlib= usage() { cat <&2 exit 1 fi ;; --configure) echo " '--build=x86_64-linux' '--host=wasm32-hwjs-linux' '--target=wasm32-hwjs-linux' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--disable-dependency-tracking' '' '--disable-libcurl-option' '--disable-ntlm-wb' '--without-libpsl' '--enable-optimize' '--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' '--enable-static' '--disable-ares' '--enable-aws' '--enable-basic-auth' '--enable-bearer-auth' '--without-brotli' '--disable-manual' '--disable-debug' '--disable-dict' '--enable-digest-auth' '--without-gnutls' '--disable-gopher' '--disable-imap' '--disable-ipv6' '--disable-kerberos-auth' '--without-gssapi' '--disable-ldap' '--disable-ldaps' '--without-libgsasl' '--with-libidn2' '--without-libssh2' '--without-mbedtls' '--disable-mqtt' '--enable-negotiate-auth' '--without-nghttp2' '--with-openssl' '--disable-pop3' '--enable-proxy' '--with-random=/dev/urandom' '--without-librtmp' '--disable-rtsp' '--disable-smb' '--disable-smtp' '--disable-telnet' '--enable-tftp' '--enable-threaded-resolver' '--enable-verbose' '--with-zlib=/usr/lib/../' '--without-zstd' 'build_alias=x86_64-linux' 'host_alias=wasm32-hwjs-linux' 'target_alias=wasm32-hwjs-linux' 'CC=wasmcc-glibc -flto' 'CFLAGS=-isystem/usr/include -D_GL_EXTERN_INLINE_STDHEADER_BUG -O2 -pipe -g -feliminate-unused-debug-types ' 'LDFLAGS=-L/usr/lib' 'CPPFLAGS=-isystem/usr/include -D_GL_EXTERN_INLINE_STDHEADER_BUG' 'CPP=wasmcc-glibc -E'" ;; *) echo "unknown option: $1" usage 1 ;; esac shift done exit 0