OSDN Git Service

configure.ac: do not enable alisp code by default
authorJaroslav Kysela <perex@perex.cz>
Mon, 27 Nov 2017 20:43:22 +0000 (21:43 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 27 Nov 2017 20:48:20 +0000 (21:48 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
configure.ac
gitcompile

index 550a297..afe4306 100644 (file)
@@ -394,8 +394,8 @@ AC_ARG_ENABLE(topology,
   AS_HELP_STRING([--disable-topology], [disable the DSP topology component]),
   [build_topology="$enableval"], [build_topology="yes"])
 AC_ARG_ENABLE(alisp,
-  AS_HELP_STRING([--disable-alisp], [disable the alisp component]),
-  [build_alisp="$enableval"], [build_alisp="yes"])
+  AS_HELP_STRING([--enable-alisp], [enable the alisp component]),
+  [build_alisp="$enableval"], [build_alisp="no"])
 test "$softfloat" = "yes" && build_alisp="no"
 AC_ARG_ENABLE(old-symbols,
   AS_HELP_STRING([--disable-old-symbols], [disable old obsoleted symbols]),
index 0ff3a2d..e9f3f48 100755 (executable)
@@ -4,6 +4,7 @@ set -e
 
 bit32=
 modules=
+alisp=
 if [ $# -ne 0 ]; then
   endloop=
   while [ -z "$endloop" ]; do
@@ -16,6 +17,10 @@ if [ $# -ne 0 ]; then
       modules=yes
       echo "Forced mixer modules build..."
       shift ;;
+    alisp)
+      alisp=yes
+      echo "Forced alisp code build..."
+      shift ;;
     *)
       endloop=yes
       ;;
@@ -51,6 +56,10 @@ if [ "$modules" = "yes" ]; then
   args="$args --enable-mixer-pymodules"
 fi
 
+if [ "$alisp" = "yes" ]; then
+  args="$args --enable-alisp"
+fi
+
 touch ltconfig
 libtoolize --force --copy --automake
 aclocal $ACLOCAL_FLAGS