summaryrefslogtreecommitdiff
path: root/support-files/mysql.spec.sh
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-12 23:23:46 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-12 23:23:46 +0200
commitb5444898e8155dbc226b86fcfb67bb69f42efa06 (patch)
tree47eb4198a0340f86f5f2ab31b26747f17d10d167 /support-files/mysql.spec.sh
parent23864223832f33d470f3f09d21b36afb5dda9ad4 (diff)
downloadmariadb-git-b5444898e8155dbc226b86fcfb67bb69f42efa06.tar.gz
Try something different
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r--support-files/mysql.spec.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index ab866628182..4c94a47f143 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -163,8 +163,11 @@
# ----------------------------------------------------------------------------
# Support optional "tcmalloc" library (experimental)
# ----------------------------------------------------------------------------
-%{?malloc_lib_target:%define WITH_TCMALLOC 1}
-%{!?malloc_lib_target:%define WITH_TCMALLOC 0}
+%if %{defined malloc_lib_target}
+%define WITH_TCMALLOC 1
+%else
+%define WITH_TCMALLOC 0
+%endif
##############################################################################
# Configuration based upon above user input, not to be set directly