Changeset 11652

Show
Ignore:
Timestamp:
08/21/07 13:19:48 (1 year ago)
Author:
piotras
Message:

check if php binary exists

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midgard/data/configure.ac

    r11383 r11652  
    5151AC_SUBST([MGD_SHARE_PATH]) 
    5252AC_SUBST([MGD_CONFIG_PATH]) 
     53 
     54dnl Check php binary 
     55dnl Check for midgard-config 
     56AC_ARG_WITH([php], 
     57        AC_HELP_STRING([--with-php=PATH], 
     58        [Location of the php binary]), 
     59        [PHP_BINARY="$withval"], 
     60        [AC_PATH_PROG([PHP_BINARY],["php"])]) 
     61test -x "$PHP_BINARY" || AC_MSG_ERROR([php binary not found, use --with-php]) 
     62AC_SUBST([PHP_BINARY]) 
    5363 
    5464dnl Check for mysql binaries