synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.09k stars 63 forks source link

"--disable-virtualenv" switch ignored #49

Open OSS542 opened 3 years ago

OSS542 commented 3 years ago

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],

OSS542 commented 3 years ago

The patch given above is for voice2json-2.0. The issue also exists in voice2json-2.1

OSS542 commented 3 years ago

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],