diff options
Diffstat (limited to 'audio-creation/amsynth/CONFIGURE')
-rwxr-xr-x | audio-creation/amsynth/CONFIGURE | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/audio-creation/amsynth/CONFIGURE b/audio-creation/amsynth/CONFIGURE index 337e923851..7410493902 100755 --- a/audio-creation/amsynth/CONFIGURE +++ b/audio-creation/amsynth/CONFIGURE @@ -1,4 +1,17 @@ -config_query_option AMSYNTH_OSS \ - "Enable OSS support?" y \ - "--with-oss" \ - "--without-oss" +# backporting legacy option +if [[ -n "$AMSYNTH_OSS" ]]; then + persistent_add AMSYNTH_OPTS && + AMSYNTH_OPTS="$AMSYNTH_OSS" && + persistent_remove AMSYNTH_OSS +fi && + +config_query_option AMSYNTH_OPTS "Enable OSS support?" y \ + "--with-oss" \ + "--without-oss" && + +message "${MESSAGE_COLOR}NOTICE: option below requires binary to be" && +message "installed as root with suid bit enabled${DEFAULT_COLOR}" && + +config_query_option AMSYNTH_OPTS "Use the Linux SCHED_FIFO scheduler to improve performance?" n \ + "--enable-realtime" \ + "--disable-realtime" |