summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfg-mplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 77a9bf9863..0e927dea1b 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -110,11 +110,18 @@ struct config conf[]={
#else
// {"dvd", "DVD support was not compiled in. See file DOCS/DVD.\n",
// CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
+#ifdef USE_DVDREAD
+ {"dvdkey", "MPlayer was compiled with libdvdread support, this option not available.\n",
+ CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
+ {"dvdauth", "MPlayer was compiled with libdvdread support! Use option -dvd !\n",
+ CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
+#else
{"dvdkey", "DVD support was not compiled in. See file DOCS/DVD.\n",
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
{"dvdauth", "DVD support was not compiled in. See file DOCS/DVD.\n",
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
#endif
+#endif
#ifdef HAVE_FBDEV
{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0},