summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 14:19:12 +0000
committerscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 14:19:12 +0000
commitd852b157750a3b5406c3562f2b8d0a3c7b6e445c (patch)
tree26ea1001a62dcd96c550b8c7ac0ef1d41cf40762
parent2d8370f3567862438264cc17ca70b746416168d9 (diff)
downloadvdr-plugin-muggle-d852b157750a3b5406c3562f2b8d0a3c7b6e445c.tar.gz
vdr-plugin-muggle-d852b157750a3b5406c3562f2b8d0a3c7b6e445c.tar.bz2
Be more explicit about HAVE_* db options.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@980 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bff9337..18e28ad 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,10 @@ PLUGIN = muggle
#define this:
#HAVE_ONLY_SERVER=1
-#define what database you want to use. Default is mysql. HAVE_SQLITE
-#removes mysql support and adds SQLite support
-# HAVE_SQLITE = 1
-
+# Define what database you want to use, one of MySQL (HAVE_MYSQL=1),
+# PostgreSQL (HAVE_PG=1) or SQLite (HAVE_SQLITE=1). Default is MySQL.
+#HAVE_SQLITE = 1
+#HAVE_PG = 1
HAVE_MYSQL = 1
### The version number of this plugin (taken from the main source file):
@@ -51,11 +51,14 @@ TMPDIR ?= /tmp
ifdef HAVE_SQLITE
HAVE_MYSQL =
HAVE_ONLY_SERVER =
+HAVE_PG =
else
ifdef HAVE_PG
HAVE_MYSQL =
-HAVE_SQLITE =
HAVE_ONLY_SERVER =
+HAVE_SQLITE =
+else
+HAVE_MYSQL = 1
endif
endif