OSDN Git Service

Release 1.3
[android-x86/external-bluetooth-sbc.git] / configure.ac
index 615d795..2a499e6 100644 (file)
@@ -1,8 +1,8 @@
 AC_PREREQ(2.60)
-AC_INIT(sbc, 0.0)
+AC_INIT(sbc, 1.3)
 
 AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
@@ -44,6 +44,14 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
        fi
 ])
 
+AC_ARG_ENABLE(high-precision, AC_HELP_STRING([--enable-high-precision],
+                                       [enable SBC high precision support]),
+                                       [enable_high_precision=${enableval}])
+if (test "${enable_high_precision}" = "yes"); then
+       AC_DEFINE(SBC_HIGH_PRECISION, 1,
+               [Define to 1 to enable high precision build of SBC encoder])
+fi
+
 AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools],
                [disable SBC tools]), [enable_tools=${enableval}])
 AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no")