php-src/travis/compile.sh

65 lines
1.1 KiB
Bash
Raw Normal View History

2012-04-26 11:48:49 +00:00
#!/bin/bash
if [[ "$ENABLE_MAINTAINER_ZTS" == 1 ]]; then
TS="--enable-maintainer-zts";
else
TS="";
fi
if [[ "$ENABLE_DEBUG" == 1 ]]; then
DEBUG="--enable-debug";
else
DEBUG="";
fi
2014-05-08 08:08:55 +00:00
./buildconf --force
./configure \
--prefix=$HOME"/php-install" \
--quiet \
$DEBUG \
$TS \
2014-10-24 17:32:35 +00:00
--enable-phpdbg \
2014-06-30 10:30:24 +00:00
--enable-fpm \
2013-08-11 08:36:59 +00:00
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pgsql \
--with-pdo-pgsql \
--with-pdo-sqlite \
--enable-intl \
2015-12-05 21:48:29 +00:00
--without-pear \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-exif \
--enable-zip \
--with-zlib \
--with-zlib-dir=/usr \
--with-mcrypt=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-curl=/usr \
--with-tidy \
--with-xmlrpc \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--with-readline \
--enable-mbstring \
--with-curl \
--with-gettext \
--enable-sockets \
--with-bz2 \
2013-08-13 07:17:21 +00:00
--with-openssl \
2014-04-28 07:55:51 +00:00
--with-gmp \
--enable-bcmath \
2014-07-06 01:09:26 +00:00
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-enchant=/usr \
--enable-wddx \
2015-01-25 09:21:53 +00:00
--with-freetype-dir=/usr \
--with-xpm-dir=/usr \
--with-kerberos \
2014-07-06 01:09:26 +00:00
--enable-sysvmsg
2015-02-10 09:34:52 +00:00
make -j2 --quiet
make install