#! /bin/sh SED="/usr/bin/sed" prefix="$BUCK_PHP_ROOT""/opt/plesk/php/7.3" datarootdir="$BUCK_PHP_ROOT""/opt/plesk/php/7.3/share" exec_prefix="$BUCK_PHP_ROOT""/opt/plesk/php/7.3" version="7.3.33" vernum="70333" include_dir="/opt/plesk/php/7.3/include/php" includes="-I""$BUCK_PHP_ROOT""$include_dir -I""$BUCK_PHP_ROOT""$include_dir/main -I""$BUCK_PHP_ROOT""$include_dir/TSRM -I""$BUCK_PHP_ROOT""$include_dir/Zend -I""$BUCK_PHP_ROOT""$include_dir/ext -I""$BUCK_PHP_ROOT""$include_dir/ext/date/lib" ldflags=" -L/var/jenkins/workspace/php-7.3-unix/buck-out/gen/libs/argon2/argon2.files/lib64" libs="-lcrypt -largon2 -lresolv -lcrypt -ledit -lncurses -lstdc++ -lgmp -lbz2 -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lssl -lcrypto -lxml2 -lz -lm -ldl -lcrypt -largon2 -lxml2 -lz -lm -ldl -lcrypt " extension_dir='/opt/plesk/php/7.3/lib64/php/modules' man_dir=`eval echo /opt/plesk/php/7.3/share/man` program_prefix="" program_suffix="" exe_extension="" php_cli_binary=NONE php_cgi_binary=NONE configure_options=" '--docdir=/opt/plesk/php/7.3/share/doc' '--infodir=/opt/plesk/php/7.3/share/info' '--localedir=/opt/plesk/php/7.3/share/locale' '--exec-prefix=/opt/plesk/php/7.3' '--sysconfdir=/opt/plesk/php/7.3/etc' '--includedir=/opt/plesk/php/7.3/include' '--prefix=/opt/plesk/php/7.3' '--libdir=/opt/plesk/php/7.3/lib64' '--sbindir=/opt/plesk/php/7.3/sbin' '--datadir=/opt/plesk/php/7.3/share' '--sharedstatedir=/opt/plesk/php/7.3/com' '--libexecdir=/opt/plesk/php/7.3/lib64' '--mandir=/opt/plesk/php/7.3/share/man' '--bindir=/opt/plesk/php/7.3/bin' '--localstatedir=/opt/plesk/php/7.3/var' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--disable-debug' '--disable-rpath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-phpdbg' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-xml' '--with-bz2' '--with-config-file-path=/opt/plesk/php/7.3/etc' '--with-config-file-scan-dir=/opt/plesk/php/7.3/etc/php.d' '--with-enchant=shared,/usr' '--with-gettext' '--with-gmp' '--with-iconv' '--with-kerberos' '--with-layout=GNU' '--with-libdir=lib64' '--with-libxml-dir=/usr' '--with-litespeed' '--with-openssl' '--with-pcre-regex' '--with-pic' '--with-system-tzdata' '--with-zlib' '--without-gdbm' '--without-pear' '--with-libzip=/var/jenkins/workspace/php-7.3-unix/thirdparty/buck-out/gen/libs/zip/zip.files/usr' '--with-password-argon2=/var/jenkins/workspace/php-7.3-unix/buck-out/gen/libs/argon2/argon2.files' '--enable-bcmath=shared' '--enable-dba=shared' '--enable-dom=shared' '--enable-fileinfo=shared' '--enable-intl=shared' '--enable-json=shared' '--enable-mbregex' '--enable-mbstring=shared' '--enable-mysqlnd=shared' '--enable-pcntl' '--enable-pdo=shared' '--enable-phar=shared' '--enable-posix=shared' '--enable-soap=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-zip=shared' '--with-curl=shared,/usr' '--with-db4=/usr' '--with-freetype-dir=/usr' '--with-icu-dir=/usr' '--with-gd=shared' '--with-webp-dir=/var/jenkins/workspace/php-7.3-unix/buck-out/gen/libs/webp/webp.files' '--with-imap=shared' '--with-imap-ssl' '--with-jpeg-dir=/usr' '--with-ldap=shared' '--with-ldap-sasl' '--with-libedit' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=shared,mysqlnd' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pgsql=shared' '--with-png-dir=/usr' '--with-pspell=shared' '--with-snmp=shared,/usr' '--with-sqlite3=shared' '--with-tidy=shared,/usr' '--with-unixODBC=shared,/usr' '--with-xmlrpc=shared' '--with-xpm-dir=/usr' '--with-xsl=shared,/usr' '--without-readline' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -pipe -Wno-unused-function' 'CPPFLAGS=' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'" php_sapis=" cli litespeed phpdbg cgi" # Set php_cli_binary and php_cgi_binary if available for sapi in $php_sapis; do case $sapi in cli) php_cli_binary="$BUCK_PHP_ROOT""/opt/plesk/php/7.3/bin/${program_prefix}php${program_suffix}${exe_extension}" ;; cgi) php_cgi_binary="$BUCK_PHP_ROOT""/opt/plesk/php/7.3/bin/${program_prefix}php-cgi${program_suffix}${exe_extension}" ;; esac done # Determine which (if any) php binary is available if test "$php_cli_binary" != "NONE"; then php_binary="$php_cli_binary" else php_binary="$php_cgi_binary" fi # Remove quotes configure_options=`echo $configure_options | $SED -e "s#'##g"` case "$1" in --prefix) echo $prefix;; --includes) echo $includes;; --ldflags) echo $ldflags;; --libs) echo $libs;; --extension-dir) echo $extension_dir;; --include-dir) echo $include_dir;; --php-binary) echo $php_binary;; --php-sapis) echo $php_sapis;; --configure-options) echo $configure_options;; --man-dir) echo $man_dir;; --version) echo $version;; --vernum) echo $vernum;; *) cat << EOF Usage: $0 [OPTION] Options: --prefix [$prefix] --includes [$includes] --ldflags [$ldflags] --libs [$libs] --extension-dir [$extension_dir] --include-dir [$include_dir] --man-dir [$man_dir] --php-binary [$php_binary] --php-sapis [$php_sapis] --configure-options [$configure_options] --version [$version] --vernum [$vernum] EOF exit 1;; esac exit 0