diff options
Diffstat (limited to 'database/mysql/SUB_DEPENDS')
-rwxr-xr-x | database/mysql/SUB_DEPENDS | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/database/mysql/SUB_DEPENDS b/database/mysql/SUB_DEPENDS index 69125f7e39..b31384a1b6 100755 --- a/database/mysql/SUB_DEPENDS +++ b/database/mysql/SUB_DEPENDS @@ -1,5 +1,11 @@ case $THIS_SUB_DEPENDS in - embedded) echo "Embbeded mysql requested, forcing it." && - MSQL_EMBED="--with-embedded-server" ;; - *) echo "unknown sub-depends!"; return 1 ;; + embedded|EMBEDDED) echo "Embbeded mysql requested, forcing it." && + MSQL_EMBED="--with-embedded-server" ;; + innodb|INNODB) echo "InnoDB storage engine support requested, forcing it." && + if [ "$MSQL_ENGINES" == "none" ]; then + MSQL_ENGINES="InnoDB" + else + MSQL_ENGINES="$MSQL_ENGINES InnoDB" + fi ;; + *) echo "unknown sub-depends!"; return 1 ;; esac |