diff --git a/meson_options.txt b/meson_options.txt index 8a7b48a..9eae2fb 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,62 +1,9 @@ -option( - 'wayland', - type : 'boolean', - value : true, - description : 'Enable Wayland support' -) - -option( - 'x11', - type : 'boolean', - value : true, - description : 'Enable X11 support' -) - -option( - 'xinerama', - type : 'boolean', - value : true, - description : 'Enable multi-monitor support using libXinerama' -) - -option( - 'imlib2', - type : 'boolean', - value : true, - description : 'Enable image support' -) - -option( - 'openssl', - type : 'boolean', - value : true, - description : 'Enable OpenSSL, used for image support' -) - -option( - 'xresources', - type : 'boolean', - value : true, - description : 'Enable .Xresources/xrdb support' -) - -option( - 'fribidi', - type : 'boolean', - value : true, - description : 'Enable Right-to-left language support' -) - -option( - 'libconfig', - type : 'boolean', - value : true, - description : 'Enable configuration file support' -) - -option( - 'regex', - type : 'boolean', - value : true, - description : 'Enable regex matching' -) +option('wayland', type : 'boolean', value : true, description : 'Enable Wayland support') +option('x11', type : 'boolean', value : true, description : 'Enable X11 support') +option('xinerama', type : 'boolean', value : true, description : 'Enable multi-monitor support using libXinerama') +option('imlib2', type : 'boolean', value : true, description : 'Enable image support') +option('openssl', type : 'boolean', value : true, description : 'Enable OpenSSL, used for image support') +option('xresources', type : 'boolean', value : true, description : 'Enable .Xresources/xrdb support') +option('fribidi', type : 'boolean', value : true, description : 'Enable Right-to-left language support') +option('libconfig', type : 'boolean', value : true, description : 'Enable configuration file support') +option('regex', type : 'boolean', value : true, description : 'Enable regex matching') diff --git a/scripts/spmenu_make b/scripts/spmenu_make index fd05e6c..e7d2fa7 100755 --- a/scripts/spmenu_make +++ b/scripts/spmenu_make @@ -10,9 +10,9 @@ xresources=${xresources:-true} wayland=${wayland:-true} x11=${x11:-true} regex=${regex:-true} + prefix="${prefix:-/usr}" -opt=${opt:--O2} reconfigure=${reconfigure:-false} static=${static:-false}