From f62120861a08cb8ec4a2623db467c2a79f994ae8 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 6 Jun 2011 20:21:26 +0200 Subject: [PATCH] Show if python is compiled in or not. --- config.features.h | 6 ++++++ ssnes.c | 1 + 2 files changed, 7 insertions(+) diff --git a/config.features.h b/config.features.h index 268e1cbd85..2152c9a232 100644 --- a/config.features.h +++ b/config.features.h @@ -128,4 +128,10 @@ static const bool _netplay_supp = true; static const bool _netplay_supp = false; #endif +#ifdef HAVE_PYTHON +static const bool _python_supp = true; +#else +static const bool _python_supp = false; +#endif + #endif diff --git a/ssnes.c b/ssnes.c index 6edc3b6a45..473ec4e5b4 100644 --- a/ssnes.c +++ b/ssnes.c @@ -363,6 +363,7 @@ static void print_features(void) _PSUPP(configfile, "Config file", "Configuration file support"); _PSUPP(freetype, "FreeType", "TTF font rendering with FreeType"); _PSUPP(netplay, "Netplay", "Peer-to-peer netplay"); + _PSUPP(python, "Python", "Script support in shaders"); } #undef _PSUPP