|
@ -40,3 +40,10 @@ if pkginstalled mysql ; then |
|
|
var_append confopt " " "--enable-mysql" |
|
|
var_append confopt " " "--enable-mysql" |
|
|
var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql" |
|
|
var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# postgresql support |
|
|
|
|
|
if pkginstalled postgresql ; then |
|
|
|
|
|
pkgprefix -t postgresql |
|
|
|
|
|
var_append confopt " " "--enable-postgre" |
|
|
|
|
|
var_append confopt ' ' "--with-postgre-include=$root$( pkgprefix includedir postgresql )" |
|
|
|
|
|
fi |