diff options
| author | Eli Zaretskii | 2013-04-15 17:58:58 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-04-15 17:58:58 +0300 |
| commit | d87d500fd6379144855ffdde31198c68ffde4eb3 (patch) | |
| tree | 15eb04e454aa9e4d92a09b7316da17028c8e4624 | |
| parent | 947aa1c6e77af64fc0ad29910cbe1a3430b5f088 (diff) | |
| download | emacs-d87d500fd6379144855ffdde31198c68ffde4eb3.tar.gz emacs-d87d500fd6379144855ffdde31198c68ffde4eb3.zip | |
Added nt/msysconfig.sh.
| -rw-r--r-- | nt/msysconfig.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nt/msysconfig.sh b/nt/msysconfig.sh new file mode 100644 index 00000000000..97aeb6e6118 --- /dev/null +++ b/nt/msysconfig.sh | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | ### msysconfig.sh - Run the top-level 'configure' script as approriate | ||
| 3 | ### for the MinGW/MSYS build of a native MS-Windows port of Emacs. | ||
| 4 | |||
| 5 | ## Copyright (C) 2013 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | ## Author: Eli Zaretskii <eliz@gnu.org> | ||
| 8 | |||
| 9 | ## This file is part of GNU Emacs. | ||
| 10 | |||
| 11 | ## GNU Emacs is free software: you can redistribute it and/or modify | ||
| 12 | ## it under the terms of the GNU General Public License as published by | ||
| 13 | ## the Free Software Foundation, either version 3 of the License, or | ||
| 14 | ## (at your option) any later version. | ||
| 15 | |||
| 16 | ## GNU Emacs is distributed in the hope that it will be useful, | ||
| 17 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | ## GNU General Public License for more details. | ||
| 20 | |||
| 21 | ## You should have received a copy of the GNU General Public License | ||
| 22 | ## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 23 | |||
| 24 | ### Commentary: | ||
| 25 | |||
| 26 | ## The Posix 'configure' script needs a few tweaks to produce desired | ||
| 27 | ## results when running under MSYS with the purpose of configuring | ||
| 28 | ## Emacs for the MinGW MS-Windows build. Rather than asking users to | ||
| 29 | ## type these tweaks every time they configure the package, we provide | ||
| 30 | ## this helper scripts which takes care of the mundane things. | ||
| 31 | |||
| 32 | ### Code: | ||
| 33 | |||
| 34 | srcdir=`dirname "$0"` | ||
| 35 | parent=`dirname "$srcdir"` | ||
| 36 | |||
| 37 | ## The nt/mingw-cfg.site file provides various autoconf variables that | ||
| 38 | ## are needed for a successful MinGW build. | ||
| 39 | CONFIG_SITE="$srcdir/mingw-cfg.site" $parent/configure "$@" | ||