Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 1 | dnl Process this file with autoconf to produce a configure script. -*-m4-*- |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 2 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 3 | AC_INIT(src/opus_encoder.c) |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 4 | |
Jean-Marc Valin | 381c706 | 2011-03-21 13:53:40 -0400 | [diff] [blame] | 5 | AM_CONFIG_HEADER([config.h]) |
| 6 | |
Ralph Giles | 5ccc124 | 2011-07-29 00:55:56 -0700 | [diff] [blame] | 7 | dnl enable silent rules on automake 1.11 and later |
| 8 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 9 | |
Ralph Giles | 59c5a82 | 2012-08-16 11:39:56 -0700 | [diff] [blame] | 10 | # Read our default version string from version.mk. |
| 11 | # Please update this file for releases. |
| 12 | AC_MSG_CHECKING([version.mk]) |
| 13 | MK_VERSION=$(awk 'BEGIN { FS = "=" } |
| 14 | /OPUS_VERSION/ { ver = $2} |
| 15 | END { |
| 16 | gsub(/"/, "", ver); |
| 17 | gsub(/^ /, "", ver); |
| 18 | gsub(/ $/, "", ver); |
| 19 | print ver; |
| 20 | }' $srcdir/version.mk) |
| 21 | if test -z "$MK_VERSION"; then |
| 22 | AC_MSG_RESULT([no]) |
| 23 | else |
| 24 | AC_MSG_RESULT([$MK_VERSION]) |
| 25 | OPUS_VERSION="$MK_VERSION" |
| 26 | fi |
Ralph Giles | 50f933b | 2011-08-02 09:34:55 -0700 | [diff] [blame] | 27 | |
Ralph Giles | 59c5a82 | 2012-08-16 11:39:56 -0700 | [diff] [blame] | 28 | # Override with the git version, if available. |
Ralph Giles | 50f933b | 2011-08-02 09:34:55 -0700 | [diff] [blame] | 29 | AC_MSG_CHECKING([git revision]) |
Jean-Marc Valin | a8ac44b | 2011-08-05 08:47:24 -0400 | [diff] [blame] | 30 | GIT_VERSION=$(git describe --tags --match 'v*' 2>/dev/null | sed 's/^v//') |
Ralph Giles | 50f933b | 2011-08-02 09:34:55 -0700 | [diff] [blame] | 31 | if test -z "$GIT_VERSION"; then |
| 32 | AC_MSG_RESULT([no]) |
| 33 | else |
| 34 | AC_MSG_RESULT([$GIT_VERSION]) |
| 35 | OPUS_VERSION="$GIT_VERSION" |
| 36 | fi |
| 37 | |
Ralph Giles | 59c5a82 | 2012-08-16 11:39:56 -0700 | [diff] [blame] | 38 | # Use 'unknown' if all else fails. |
| 39 | if test -z "$OPUS_VERSION"; then |
| 40 | OPUS_VERSION="unknown" |
| 41 | fi |
Ralph Giles | 3164fcf | 2012-05-18 11:47:58 -0700 | [diff] [blame] | 42 | |
Ralph Giles | 59c5a82 | 2012-08-16 11:39:56 -0700 | [diff] [blame] | 43 | # For automake. |
| 44 | PACKAGE=opus |
| 45 | VERSION=$OPUS_VERSION |
| 46 | |
Ralph Giles | 11dd552 | 2012-08-21 11:22:08 -0700 | [diff] [blame] | 47 | # For autoconf |
Ralph Giles | 3164fcf | 2012-05-18 11:47:58 -0700 | [diff] [blame] | 48 | AC_SUBST(OPUS_VERSION) |
Ralph Giles | 11dd552 | 2012-08-21 11:22:08 -0700 | [diff] [blame] | 49 | |
| 50 | # For config.h. |
Ralph Giles | d606737 | 2012-08-21 10:49:43 -0700 | [diff] [blame] | 51 | AC_DEFINE_UNQUOTED([OPUS_VERSION], ["$OPUS_VERSION"], |
| 52 | [Opus library version string]) |
Ralph Giles | 3164fcf | 2012-05-18 11:47:58 -0700 | [diff] [blame] | 53 | |
Ralph Giles | 3164fcf | 2012-05-18 11:47:58 -0700 | [diff] [blame] | 54 | # For libtool. |
Ralph Giles | 59c5a82 | 2012-08-16 11:39:56 -0700 | [diff] [blame] | 55 | dnl Please update these for releases. |
Gregory Maxwell | 8d2e9ad | 2012-08-10 17:21:28 -0400 | [diff] [blame] | 56 | OPUS_LT_CURRENT=2 |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 57 | OPUS_LT_REVISION=0 |
Gregory Maxwell | 8d2e9ad | 2012-08-10 17:21:28 -0400 | [diff] [blame] | 58 | OPUS_LT_AGE=2 |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 59 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 60 | AC_SUBST(OPUS_LT_CURRENT) |
| 61 | AC_SUBST(OPUS_LT_REVISION) |
| 62 | AC_SUBST(OPUS_LT_AGE) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 63 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 64 | AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) |
| 65 | AM_MAINTAINER_MODE |
| 66 | |
| 67 | AC_CANONICAL_HOST |
Gregory Maxwell | 417679c | 2012-08-09 08:39:15 -0400 | [diff] [blame] | 68 | AC_MINGW32 |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 69 | AM_PROG_LIBTOOL |
Ralph Giles | 2852cb1 | 2011-08-02 11:43:43 -0700 | [diff] [blame] | 70 | AM_PROG_CC_C_O |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 71 | |
| 72 | AC_PROG_CC_C99 |
| 73 | AC_C_BIGENDIAN |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 74 | AC_C_CONST |
| 75 | AC_C_INLINE |
Gregory Maxwell | 8ecba1a | 2012-05-14 01:58:05 -0400 | [diff] [blame] | 76 | |
| 77 | #Use a hacked up version of autoconf's AC_C_RESTRICT because it's not |
| 78 | #strong enough a test to detect old buggy versions of GCC (e.g. 2.95.3) |
| 79 | AC_CACHE_CHECK([for C/C++ restrict keyword], ac_cv_c_restrict, |
| 80 | [ac_cv_c_restrict=no |
| 81 | # The order here caters to the fact that C++ does not require restrict. |
| 82 | for ac_kw in __restrict __restrict__ _Restrict restrict; do |
| 83 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( |
| 84 | [[typedef int * int_ptr; |
| 85 | int foo (int_ptr $ac_kw ip, int * $ac_kw baz[]) { |
| 86 | return ip[0]; |
| 87 | }]], |
| 88 | [[int s[1]; |
| 89 | int * $ac_kw t = s; |
| 90 | t[0] = 0; |
| 91 | return foo(t, (void *)0)]])], |
| 92 | [ac_cv_c_restrict=$ac_kw]) |
| 93 | test "$ac_cv_c_restrict" != no && break |
| 94 | done |
| 95 | ]) |
| 96 | AH_VERBATIM([restrict], |
| 97 | [/* Define to the equivalent of the C99 'restrict' keyword, or to |
| 98 | nothing if this is not supported. Do not define if restrict is |
| 99 | supported directly. */ |
| 100 | #undef restrict |
| 101 | /* Work around a bug in Sun C++: it does not support _Restrict or |
| 102 | __restrict__, even though the corresponding Sun C compiler ends up with |
| 103 | "#define restrict _Restrict" or "#define restrict __restrict__" in the |
| 104 | previous line. Perhaps some future version of Sun C++ will work with |
| 105 | restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ |
| 106 | #if defined __SUNPRO_CC && !defined __RESTRICT |
| 107 | # define _Restrict |
| 108 | # define __restrict__ |
| 109 | #endif]) |
| 110 | case $ac_cv_c_restrict in |
| 111 | restrict) ;; |
| 112 | no) AC_DEFINE([restrict], []) ;; |
| 113 | *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; |
| 114 | esac |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 115 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 116 | AC_DEFINE([OPUS_BUILD], [], [This is a build of OPUS]) |
Jean-Marc Valin | 381c706 | 2011-03-21 13:53:40 -0400 | [diff] [blame] | 117 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 118 | AC_MSG_CHECKING(for C99 variable-size arrays) |
Gregory Maxwell | 8ecba1a | 2012-05-14 01:58:05 -0400 | [diff] [blame] | 119 | AC_TRY_COMPILE( [], [static int x; char a[++x]; a[sizeof a - 1] = 0; int N; return a[0];], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 120 | [has_var_arrays=yes;AC_DEFINE([VAR_ARRAYS], [], [Use C99 variable-size arrays]) |
| 121 | ], |
| 122 | has_var_arrays=no |
| 123 | ) |
| 124 | AC_MSG_RESULT($has_var_arrays) |
Jean-Marc Valin | a0cbeca | 2010-07-08 11:27:20 -0400 | [diff] [blame] | 125 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 126 | AC_CHECK_HEADERS([alloca.h getopt.h]) |
| 127 | AC_MSG_CHECKING(for alloca) |
| 128 | AC_TRY_COMPILE( [#include <alloca.h>], [ |
| 129 | int foo=10; |
| 130 | int *array = alloca(foo); |
| 131 | ], |
| 132 | [ |
| 133 | has_alloca=yes; |
| 134 | if test x$has_var_arrays = "xno" ; then |
| 135 | AC_DEFINE([USE_ALLOCA], [], [Make use of alloca]) |
| 136 | fi |
| 137 | ], |
| 138 | has_alloca=no |
| 139 | ) |
| 140 | AC_MSG_RESULT($has_alloca) |
| 141 | |
Gregory Maxwell | 6c83b0b | 2012-05-14 00:30:34 -0400 | [diff] [blame] | 142 | AC_CHECK_FUNC(exp,[fp_libm_not_needed=yes;LIBM=],[fp_libm_not_needed=dunno]) |
| 143 | if test x"$fp_libm_not_needed" = xdunno; then |
| 144 | AC_CHECK_LIB([m], [exp], [LIBS="-lm $LIBS"; LIBM="-lm"],[LIBM=]) |
| 145 | fi |
| 146 | AC_SUBST([LIBM]) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 147 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 148 | has_float_approx=no |
| 149 | #case "$host_cpu" in |
| 150 | #i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64) |
| 151 | # has_float_approx=yes |
| 152 | # ;; |
| 153 | #esac |
| 154 | |
| 155 | ac_enable_fixed="no"; |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 156 | ac_enable_float="yes"; |
Jean-Marc Valin | 1219065 | 2012-08-31 23:35:12 -0400 | [diff] [blame] | 157 | AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point compile without floating point (for machines without a fast enough FPU)], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 158 | [if test "$enableval" = yes; then |
| 159 | ac_enable_fixed="yes"; |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 160 | ac_enable_float="no"; |
Jean-Marc Valin | 1219065 | 2012-08-31 23:35:12 -0400 | [diff] [blame] | 161 | AC_DEFINE([FIXED_POINT], [1], [Compile as fixed-point (for machines without a fast enough FPU)]) |
Ralph Giles | a66642a | 2012-09-16 23:15:37 -0700 | [diff] [blame^] | 162 | fi]) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 163 | |
| 164 | ac_enable_fixed_debug="no" |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 165 | AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug debug fixed-point implementation], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 166 | [if test "$enableval" = yes; then |
| 167 | ac_enable_fixed_debug="yes" |
| 168 | AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation]) |
| 169 | fi]) |
| 170 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 171 | ac_enable_custom_modes="no" |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 172 | AC_ARG_ENABLE(custom-modes, [ --enable-custom-modes enable non-Opus modes, e.g. 44.1 kHz & 2^n frames], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 173 | [if test "$enableval" = yes; then |
| 174 | ac_enable_custom_modes="yes" |
| 175 | AC_DEFINE([CUSTOM_MODES], , [Custom modes]) |
| 176 | fi]) |
| 177 | |
| 178 | float_approx=$has_float_approx |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 179 | AC_ARG_ENABLE(float-approx, [ --enable-float-approx enable fast approximations for floating point], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 180 | [ if test "$enableval" = yes; then |
| 181 | AC_WARN([Floating point approximations are not supported on all platforms.]) |
| 182 | float_approx=yes |
| 183 | else |
| 184 | float_approx=no |
| 185 | fi], [ float_approx=$has_float_approx ]) |
| 186 | |
| 187 | if test "x${float_approx}" = "xyes"; then |
| 188 | AC_DEFINE([FLOAT_APPROX], , [Float approximations]) |
| 189 | fi |
| 190 | |
| 191 | ac_enable_assertions="no" |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 192 | AC_ARG_ENABLE(assertions, [ --enable-assertions enable additional software error checking], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 193 | [if test "$enableval" = yes; then |
| 194 | ac_enable_assertions="yes" |
| 195 | AC_DEFINE([ENABLE_ASSERTIONS], , [Assertions]) |
| 196 | fi]) |
| 197 | |
Jean-Marc Valin | f334c82 | 2011-08-11 16:21:58 -0400 | [diff] [blame] | 198 | ac_enable_fuzzing="no" |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 199 | AC_ARG_ENABLE(fuzzing, [ --enable-fuzzing causes the encoder to make random decisions], |
Jean-Marc Valin | f334c82 | 2011-08-11 16:21:58 -0400 | [diff] [blame] | 200 | [if test "$enableval" = yes; then |
| 201 | ac_enable_fuzzing="yes" |
| 202 | AC_DEFINE([FUZZING], , [Fuzzing]) |
| 203 | fi]) |
| 204 | |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 205 | ac_enable_doc="yes" |
| 206 | AC_ARG_ENABLE([doc], |
| 207 | AS_HELP_STRING([--disable-doc], [Do not build API documentation]), |
| 208 | [ac_enable_doc=$enableval]) |
| 209 | AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], [yes], [no]) |
| 210 | if test "$HAVE_DOXYGEN" != "yes" -o "$ac_enable_doc" != "yes"; then |
| 211 | HAVE_DOXYGEN="false" |
| 212 | ac_enable_doc="no" |
| 213 | fi |
| 214 | AM_CONDITIONAL(HAVE_DOXYGEN, [test $HAVE_DOXYGEN = yes]) |
| 215 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 216 | saved_CFLAGS="$CFLAGS" |
| 217 | CFLAGS="$CFLAGS -fvisibility=hidden" |
Gregory Maxwell | e53ebd6 | 2011-10-21 14:21:53 -0400 | [diff] [blame] | 218 | AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden]) |
Gregory Maxwell | 6c83b0b | 2012-05-14 00:30:34 -0400 | [diff] [blame] | 219 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])], |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 220 | [ AC_MSG_RESULT([yes]) |
| 221 | SYMBOL_VISIBILITY="-fvisibility=hidden" ], |
| 222 | AC_MSG_RESULT([no])) |
| 223 | CFLAGS="$saved_CFLAGS $SYMBOL_VISIBILITY" |
| 224 | AC_SUBST(SYMBOL_VISIBILITY) |
Gregory Maxwell | 6c83b0b | 2012-05-14 00:30:34 -0400 | [diff] [blame] | 225 | |
Gregory Maxwell | 6c83b0b | 2012-05-14 00:30:34 -0400 | [diff] [blame] | 226 | CFLAGS="$CFLAGS -W" |
| 227 | |
| 228 | saved_CFLAGS="$CFLAGS" |
| 229 | CFLAGS="$CFLAGS -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes" |
| 230 | AC_MSG_CHECKING([if ${CC} supports -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes]) |
| 231 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])], |
| 232 | [ AC_MSG_RESULT([yes]) |
| 233 | EXTRA_WARNS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes" ], |
| 234 | AC_MSG_RESULT([no])) |
| 235 | CFLAGS="$saved_CFLAGS $EXTRA_WARNS" |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 236 | |
| 237 | AC_CHECK_FUNCS([lrintf]) |
| 238 | AC_CHECK_FUNCS([lrint]) |
Ralph Giles | c19bc34 | 2011-10-28 07:14:58 -0700 | [diff] [blame] | 239 | AC_CHECK_FUNCS([__malloc_hook]) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 240 | |
| 241 | AC_CHECK_SIZEOF(short) |
| 242 | AC_CHECK_SIZEOF(int) |
| 243 | AC_CHECK_SIZEOF(long) |
| 244 | AC_CHECK_SIZEOF(long long) |
| 245 | |
| 246 | if test x$has_char16 = "xyes" ; then |
| 247 | case 1 in |
| 248 | $ac_cv_sizeof_short) SIZE16="short";; |
| 249 | $ac_cv_sizeof_int) SIZE16="int";; |
| 250 | esac |
| 251 | else |
| 252 | case 2 in |
| 253 | $ac_cv_sizeof_short) SIZE16="short";; |
| 254 | $ac_cv_sizeof_int) SIZE16="int";; |
| 255 | esac |
| 256 | fi |
| 257 | |
| 258 | if test x$has_char16 = "xyes" ; then |
| 259 | case 2 in |
| 260 | $ac_cv_sizeof_int) SIZE32="int";; |
| 261 | $ac_cv_sizeof_long) SIZE32="long";; |
| 262 | $ac_cv_sizeof_short) SIZE32="short";; |
| 263 | esac |
| 264 | else |
| 265 | case 4 in |
| 266 | $ac_cv_sizeof_int) SIZE32="int";; |
| 267 | $ac_cv_sizeof_long) SIZE32="long";; |
| 268 | $ac_cv_sizeof_short) SIZE32="short";; |
| 269 | esac |
| 270 | fi |
| 271 | |
| 272 | AC_SUBST(SIZE16) |
| 273 | AC_SUBST(SIZE32) |
| 274 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 275 | AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes]) |
Jean-Marc Valin | 06237d7 | 2011-09-01 13:20:40 -0400 | [diff] [blame] | 276 | AM_CONDITIONAL([CUSTOM_MODES], [test x$ac_enable_custom_modes = xyes]) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 277 | |
Gregory Maxwell | 9652f81 | 2011-10-26 23:55:33 -0400 | [diff] [blame] | 278 | AC_OUTPUT([Makefile opus.pc opus-uninstalled.pc |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 279 | doc/Makefile doc/Doxyfile]) |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 280 | |
| 281 | AC_MSG_RESULT([ |
| 282 | ------------------------------------------------------------------------ |
| 283 | $PACKAGE $VERSION: Automatic configuration OK. |
| 284 | |
| 285 | Compiler support: |
| 286 | |
| 287 | C99 var arrays: ................ ${has_var_arrays} |
| 288 | C99 lrintf: .................... ${ac_cv_func_lrintf} |
| 289 | Alloca: ........................ ${has_alloca} |
| 290 | |
| 291 | General configuration: |
| 292 | |
Gregory Maxwell | de9b437 | 2012-06-11 19:19:55 -0400 | [diff] [blame] | 293 | Floating point support: ........ ${ac_enable_float} |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 294 | Fast float approximations: ..... ${float_approx} |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 295 | Fixed point debugging: ......... ${ac_enable_fixed_debug} |
| 296 | Custom modes: .................. ${ac_enable_custom_modes} |
| 297 | Assertion checking: ............ ${ac_enable_assertions} |
Gregory Maxwell | 48069bf | 2011-09-15 11:33:18 -0400 | [diff] [blame] | 298 | Fuzzing: ....................... ${ac_enable_fuzzing} |
Ralph Giles | 35d4fb7 | 2011-09-06 23:18:00 -0700 | [diff] [blame] | 299 | |
| 300 | API documentation: ............. ${ac_enable_doc} |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 301 | ------------------------------------------------------------------------ |
| 302 | ]) |
| 303 | |
Jean-Marc Valin | e05aaf2 | 2011-04-29 19:48:42 -0400 | [diff] [blame] | 304 | echo "Type \"make; make install\" to compile and install"; |
| 305 | echo "Type \"make check\" to run the test suite"; |