# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../kannel/kannel.conf # Copyright (C) 2006 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- # setting the default prefix prefix="opt/kannel" set_confopt # OpenSSL support if pkginstalled openssl; then pkgprefix -t openssl var_append confopt " " "--enable-ssl" var_append confopt " " "--with-ssl=$( pkgprefix -r openssl )" fi # sqlite support pkginstalled sqlite && var_append confopt " " "--with-sqlite3" # mysql support if pkginstalled mysql; then pkgprefix -t mysql var_append confopt " " "--with-mysql" var_append confopt " " "--with-mysql-dir=$( pkgprefix -r mysql )" var_append CFLAGS " " "-I$( pkgprefix -r includedir mysql )" export CFLAGS fi # postgresql support if pkginstalled postgresql; then pkgprefix -t postgresql var_append confopt " " "--with-pgsql" var_append confopt " " "--with-pgsql-dir=$( pkgprefix -r postgresql )" fi