summaryrefslogtreecommitdiffstats
path: root/krecipes/configure.in.bot
blob: 6116164498e2bc274a82744327daa19ab9741b2e (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_sqlite" = "xtrue" || 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_sqlite" = "xtrue" || 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