summaryrefslogtreecommitdiffstats
path: root/src/configure.in.bot
blob: c01eef764d7c5f036ed465bea8c8f8bcb4fc6eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
echo ""
echo ""
echo "-----          Configure Results           -----"
echo "-                                              -"

if test "x$have_mysql" = "xtrue"; then
echo "-     MySQL Support...................  YES    -"
else
echo "-     MySQL Support...................  NO     -"
fi

echo "-                                              -"

if test "x$have_postgresql" = "xtrue"; then
echo "-     PostgreSQL Support..............  YES    -"
else
echo "-     PostgreSQL Support..............  NO     -"
fi

echo "-                                              -"

if test "x$have_sqlite3" = "xtrue"; then
echo "-     SQLite Found..................... YES    -"
else
echo "-     SQLite Found..................... NO     -"
fi
echo "-                                              -"
echo "------------------------------------------------"


if test "x$will_not_build_krecipes" = "xtrue"; then
echo ""
echo "*** Krecipes needs a database backend enabled. If    ***"
echo "*** you wish to use SQLite, you must have SQLite     ***"
echo "***        installed before compiling.               ***"
echo "***         KRECIPES WILL NOT BE BUILT               ***"
echo ""
echo "You can get SQLite from:  http://www.hwaci.com/sw/sqlite/"
echo "Or MySQL from: http://www.mysql.com"

else if test "x$have_mysql" = "xtrue"; then
     if test "x$have_sqlite3" = "xtrue"; then
	echo "-                                              -"
	echo "-     Fine, you can build Krecipes now         -"
	echo "------------------------------------------------"
     else
        echo "-                                              -"
        echo "-   You don't have SQLite installed (or have   -"
        echo "-   chosen to disable it), but Krecipes can    -"
        echo "-   work just fine with another supported      -"
        echo "-   database.                                  -"
        echo "-   If you still want to, you can get SQLite   -"
        echo "-   from  http://www.hwaci.com/sw/sqlite/      -"
        echo "------------------------------------------------"
     fi
     fi
fi