Ignore:
Timestamp:
2010-10-01T15:56:46+13:00 (14 years ago)
Author:
sjm84
Message:

Various changes to the amp extension to make it compatible with having previously installed mysql extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/gsdl-amp/trunk/packages/CASCADE-MAKE/PHP.sh

    r22242 r23003  
    33package=php
    44version=-5.3.2
    5 
    6 apache_version=httpd-2.2.15
    75
    86progname=$0
     
    119
    1210prefix=$GEXTAMP_INSTALLED
     11mysqlprefix=
     12if [ "x$COMPILE_UP_MYSQL" = "x1" ] ; then
     13  mysqlprefix=$GEXTAMP_INSTALLED
     14else
     15  if [ -n "$GEXTMYSQL_INSTALLED" ] ; then
     16    mysqlprefix=$GEXTMYSQL_INSTALLED
     17  fi
     18fi
    1319
    1420opt_run_untar $force_untar $auto_untar $package $version
    1521
    16 opt_run_configure $force_config $auto_config $package $version $prefix --with-mysql=$prefix --with-png-dir=$prefix --with-apxs2=$prefix/bin/apxs --with-gd
     22opt_run_configure $force_config $auto_config $package $version $prefix --with-mysql=$mysqlprefix --with-png-dir=$prefix --with-apxs2=$prefix/bin/apxs --with-gd
    1723
    1824opt_run_make $compile   $package $version
Note: See TracChangeset for help on using the changeset viewer.