Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-03 08:43:37 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-03 08:43:37 +0300
commit51c786241b1977c7d67e88d24bbae35c4775bf79 (patch)
treef58821f715f56ad6e1fb09ce9b36488760476382 /configure.ac
parent3a8f04db17201192a915db6a0d105178547b88a6 (diff)
More Opus build work
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4c21ec0..6e20747 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,6 +151,7 @@ AC_ARG_ENABLE(assertions, [ --enable-assertions enable additional software
AC_DEFINE([ENABLE_ASSERTIONS], , [Assertions])
fi])
+if test "$OPUS_BUILD" != "true" ; then
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden"
AC_MSG_CHECKING([if ${CXX} supports -fvisibility=hidden])
@@ -160,6 +161,7 @@ AC_COMPILE_IFELSE([char foo;],
AC_MSG_RESULT([no]))
CFLAGS="$saved_CFLAGS $SYMBOL_VISIBILITY"
AC_SUBST(SYMBOL_VISIBILITY)
+fi
if test $ac_cv_c_compiler_gnu = yes ; then
CFLAGS="$CFLAGS -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare"
@@ -202,7 +204,7 @@ fi
AC_SUBST(SIZE16)
AC_SUBST(SIZE32)
-if test "$OPUS_BUILD" == "true" ; then
+if test "$OPUS_BUILD" = "true" ; then
AC_DEFINE(OPUS_BUILD, [], [We're part of Opus])
fi