diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-21 23:21:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-22 09:30:23 +0300 |
commit | 9ecac3874d179b1d7aa6b45337001b1def06a9dd (patch) | |
tree | 120fc40fda1055a0f504e60c553b5734030d2741 /configure.ac | |
parent | coverity#1242908 Untrusted value as argument (diff) | |
download | core-9ecac3874d179b1d7aa6b45337001b1def06a9dd.tar.gz core-9ecac3874d179b1d7aa6b45337001b1def06a9dd.zip |
Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTING
Feature test macros that govern conditional compilation should be
defined in config_*.h include files, not on the compilation command
line.
Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8babb1d92237..93a343e1ff86 100644 --- a/configure.ac +++ b/configure.ac @@ -2512,11 +2512,11 @@ fi DISABLE_SCRIPTING='' if test "$enable_scripting" = yes; then BUILD_TYPE="$BUILD_TYPE SCRIPTING" + AC_DEFINE(HAVE_FEATURE_SCRIPTING) else DISABLE_SCRIPTING='TRUE' SCPDEFS="$SCPDEFS -DDISABLE_SCRIPTING" fi -AC_SUBST(DISABLE_SCRIPTING) if test $_os = iOS -o $_os = Android; then # Disable dynamic_loading always for iOS and Android |