diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-09 09:27:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-22 13:37:38 +0900 |
| commit | ca15b14da5f68f8cd2b86976009fd1a6a1c7ea55 (patch) | |
| tree | 0ff10f62094e706806ca25dd063fa1cb69f37306 /src/configure.in.in | |
| parent | 7a5739d94f1b459c01c7f6acf5f3b1d99829d352 (diff) | |
| download | krecipes-ca15b14d.tar.gz krecipes-ca15b14d.zip | |
Drop support for automake builds
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 189026316e42f7499f9ef45556b1ebaf31acd36e)
Diffstat (limited to 'src/configure.in.in')
| -rw-r--r-- | src/configure.in.in | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/src/configure.in.in b/src/configure.in.in deleted file mode 100644 index 7c5ffe9..0000000 --- a/src/configure.in.in +++ /dev/null @@ -1,72 +0,0 @@ -#MIN_CONFIG(3.1) - -AM_INIT_AUTOMAKE(krecipes, 0.8) - -#KDE_USE_TQT(3.1) - -AC_C_BIGENDIAN -AC_CHECK_KDEMAXPATHLEN - -AC_ARG_WITH(sqlite3, AC_HELP_STRING([--without-sqlite3], [Don't compile SQLite3 backend support]), , with_sqlite3=yes) -AC_ARG_WITH(mysql, AC_HELP_STRING([--without-mysql], [Don't compile MySQL backend support]), , with_mysql=yes) -AC_ARG_WITH(postgresql, AC_HELP_STRING([--without-postgresql], [Don't compile PostgreSQL backend support]), , with_postgresql=yes) - -dnl ----- Check if we should enable MySQL ------ - -if test "x$with_mysql" != "xno"; then - AC_DEFINE(HAVE_MYSQL, 1, [have MySQL]) - have_mysql="true" -else - AC_DEFINE(HAVE_MYSQL, 0, [have MySQL]) - have_mysql="false" -fi - - -dnl ----- Check if we should enable PostgreSQL ------ - -if test "x$with_postgresql" != "xno"; then - AC_DEFINE(HAVE_POSTGRESQL, 1, [have PostgreSQL]) - have_postgresql="true" -else - AC_DEFINE(HAVE_POSTGRESQL, 0, [have PostgreSQL]) - have_postgresql="false" -fi - - -dnl ------ Check for the SQLite headers ----- - -AC_DEFUN([AC_HAVE_SQLITE3], -[ - AC_DEFINE(HAVE_SQLITE3, 1, [have SQLite3]) - have_sqlite3=true - SQLITE_LIB3="-lsqlite3" - AC_SUBST(SQLITE_LIB3) -]) - -AC_DEFUN([AC_NO_SQLITE3], -[ - AC_DEFINE(HAVE_SQLITE3, 0, [have SQLite3]) - have_sqlite3=false -]) - -if test "x$with_sqlite3" != "xno"; then - KDE_CHECK_HEADER(sqlite3.h, - AC_HAVE_SQLITE3, - AC_NO_SQLITE3 - ) -else - AC_NO_SQLITE3 -fi - -dnl ----------- Should I link or should I not link? --------- -AM_CONDITIONAL(link_lib_MYSQL, test x$have_mysql = xtrue) -AM_CONDITIONAL(link_lib_POSTGRESQL, test x$have_postgresql = xtrue) -AM_CONDITIONAL(link_lib_SQLITE, test x$have_sqlite3 = xtrue) - -dnl ----------- Should Krecipes be built at all? ------------ -if test "x$have_mysql" = "xfalse" && test "x$have_postgresql" = "xfalse"; then - if test "x$have_sqlite3" = "xfalse"; then - DO_NOT_COMPILE="$DO_NOT_COMPILE krecipes" - will_not_build_krecipes=true - fi -fi |
