| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. -p |
| 2 | ############################################################################### |
| 3 | # BRLTTY - A background process providing access to the console screen (when in |
| 4 | # text mode) for a blind person using a refreshable braille display. |
| 5 | # |
| 6 | # Copyright (C) 1995-2026 by The BRLTTY Developers. |
| 7 | # |
| 8 | # BRLTTY comes with ABSOLUTELY NO WARRANTY. |
| 9 | # |
| 10 | # This is free software, placed under the terms of the |
| 11 | # GNU Lesser General Public License, as published by the Free Software |
| 12 | # Foundation; either version 2.1 of the License, or (at your option) any |
| 13 | # later version. Please see the file LICENSE-LGPL for details. |
| 14 | # |
| 15 | # Web Page: http://brltty.app/ |
| 16 | # |
| 17 | # This software is maintained by Dave Mielke <[email protected]>. |
| 18 | ############################################################################### |
| 19 | |
| 20 | . "`dirnamescip-shell system . . dirname. "${0}"`/brltty-prologue.bash" |
| 21 | |
| 22 | handleInitialHelpOption "${@}" <<END-OF-HELP |
| 23 | Configure a BRLTTY build for the Windows platform. |
| 24 | |
| 25 | Syntax: ${programName} {-h | [-option ...]} |
| 26 | |
| 27 | All of the options are passed through, unmodified, as additional options to the configure script. |
| 28 | END-OF-HELP |
| 29 | |
| 30 | configureOptions=( |
| 31 | --enable-relocatable-install |
| 32 | |
| 33 | --disable-expat |
| 34 | --disable-gpm |
| 35 | --disable-i18n |
| 36 | --disable-icu |
| 37 | --disable-liblouis |
| 38 | --disable-polkit |
| 39 | --disable-x |
| 40 | |
| 41 | --without-libbraille |
| 42 | --with-speech-driver=al,bl,cb,-all |
| 43 | --with-screen-driver=wn,-all |
| 44 | |
| 45 | --without-pgmprivs-package |
| 46 | --without-params-package |
| 47 | --without-rgx-package |
| 48 | --without-mntpt-package |
| 49 | --without-mntfs-package |
| 50 | --without-kbd-package |
| 51 | --without-bell-package |
| 52 | --without-leds-package |
| 53 | --without-hid-package |
| 54 | |
| 55 | --disable-emacs-bindings |
| 56 | --disable-java-bindings |
| 57 | --disable-lua-bindings |
| 58 | --disable-ocaml-bindings |
| 59 | --disable-tcl-bindings |
| 60 | ) |
| 61 | |
| 62 | toRelativePath "${programDirectory}" configureDirectory |
| 63 | "${configureDirectory}/configure" --quiet "${configureOptions[@]}" "${@}" |
| 64 | exit "${?}" |