Open OSS542 opened 3 years ago
The patch given above is for voice2json-2.0. The issue also exists in voice2json-2.1
The patch for voice2json-2.1: `diff -ru voice2json-2.1/configure.ac voice2json-2.1.new/configure.ac --- voice2json-2.1/configure.ac 2021-06-04 05:47:26.000000000 +0900 +++ voice2json-2.1.new/configure.ac 2021-07-13 20:18:33.267651043 +0900 @@ -336,6 +336,10 @@ [is_kenlm_enabled=no])
dnl Override with enable/disable options (meta) + +AS_CASE([$enable_virtualenv],
AS_CASE([$enable_wake], [no],[is_precise_enabled=no]) `
The "--disable-virtualenv" configure switch is ignored. Here is a patch for it:
diff -ru voice2json-2.0/configure.ac voice2json-2.0.new/configure.ac --- voice2json-2.0/configure.ac 2020-06-05 00:49:41.000000000 +0900 +++ voice2json-2.0.new/configure.ac 2021-07-06 17:52:18.764953210 +0900 @@ -327,6 +327,10 @@ [is_kenlm_enabled=no])
dnl Override with enable/disable options (meta) + +AS_CASE([$enable_virtualenv],
AS_CASE([$enable_wake], [no],[is_precise_enabled=no])