Created
September 9, 2013 12:43
-
-
Save tsertkov/6495078 to your computer and use it in GitHub Desktop.
Script for executing "configure" from php source directory with predefined configuration and compiler options.
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
export CHOST="x86_64-pc-linux-gnu" | |
export CFLAGS="-O2 -march=native -pipe" | |
export CXXFLAGS="${CFLAGS}" | |
./configure \ | |
--prefix=/opt/${PWD##/*/} \ | |
--with-apxs2=/opt/apache-dev/bin/apxs \ | |
--disable-cgi \ | |
--with-openssl \ | |
--with-zlib \ | |
--enable-bcmath \ | |
--with-bz2 \ | |
--enable-calendar \ | |
--with-curl \ | |
--enable-exif \ | |
--enable-ftp \ | |
--with-openssl-dir \ | |
--with-gd \ | |
--with-jpeg-dir \ | |
--with-png-dir \ | |
--with-freetype-dir \ | |
--with-t1lib \ | |
--enable-gd-native-ttf \ | |
--with-gettext \ | |
--enable-intl \ | |
--enable-mbstring \ | |
--with-mcrypt \ | |
--with-mysql=mysqlnd \ | |
--with-mysqli=mysqlnd \ | |
--with-pdo-mysql=mysqlnd \ | |
--enable-sqlite-utf8 \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-tidy \ | |
--enable-wddx \ | |
--with-xmlrpc \ | |
--with-xsl \ | |
--enable-zip \ | |
--with-ldap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment