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

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-03-13 09:39:55 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-03-13 09:39:55 +0300
commit679f5cc6754f19674b79d2b0d444ca0dd5b4c8a5 (patch)
tree9579abdac3615360baf94b31cfd3e20d9c6e9650 /configure.ac
parent92518982cc3537594b10f40f00e3ba2d606108b3 (diff)
Enabling warnings and restricting symbol visibility
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ae21d5..f4e6c87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_INIT(libcelt/arch.h)
AM_CONFIG_HEADER([config.h])
CELT_MAJOR_VERSION=0
-CELT_MINOR_VERSION=2
+CELT_MINOR_VERSION=3
CELT_MICRO_VERSION=0
CELT_EXTRA_VERSION=
CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION$CELT_EXTRA_VERSION
@@ -108,6 +108,9 @@ AC_ARG_ENABLE(static-modes, [ --enable-static-modes],
AC_DEFINE([STATIC_MODES], , [Static modes])
fi])
+if test $ac_cv_c_compiler_gnu = yes ; then
+ CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wno-parentheses"
+fi
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)