summaryrefslogtreecommitdiff
path: root/nt/mingw-cfg.site
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-16 12:44:44 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-16 12:44:44 +0300
commit3946d31b7bcf2a7dceacb86598823360f457cd19 (patch)
treeeaa02375d7cd7e90b2ae88b90f3cb7b75be9d7f7 /nt/mingw-cfg.site
parentffa615b79085a7f0f68438770dfd205b3dcba390 (diff)
downloademacs-3946d31b7bcf2a7dceacb86598823360f457cd19.tar.gz
Minor tweaks in comments to scripts and INSTALL.MSYS.
Diffstat (limited to 'nt/mingw-cfg.site')
-rw-r--r--nt/mingw-cfg.site27
1 files changed, 27 insertions, 0 deletions
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index 8faf8e0dafe..96cda2d624a 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -1,5 +1,32 @@
#! /bin/sh
# Site defaults for the MinGW configuration of GNU Emacs.
+#
+# This file's purpose is to short-circuit configure-time tests for
+# which we want to provide the results instead of letting the
+# 'configure' script do that. This is mainly for features that
+# 'configure' tests that are implemented as part of Emacs sources, not
+# as part of system libraries. The idea is to set shell variables
+# that appear to the script as cached values.
+#
+# For each header file foo.h you want to supply test results, set the
+# value of a shell variable ac_cv_header_foo_h. The value should be
+# yes if the header is deemed to exist, no otherwise. Or it could be
+# something else, if the value computed by 'configure' requires that.
+# In general, since nt/msysconfig.sh instructs GCC to use header files
+# in nt/inc, you should not need to futz with header file tests. But
+# there are exceptions, like with getopt.h below (which is a MinGW
+# system header, but we do not want to use it).
+#
+# For each library function foo you want to supply test results, set
+# the value of a shell variable ac_cv_func_foo. Again, the value is
+# determined by what 'configure' expects; sometimes it could be "not
+# needed" or whatever, see the examples below. In addition, you may
+# need to set the various gl_cv_* variables for those tests that come
+# from gnulib.
+#
+# In short, examine the test in 'configure' and push the knobs that
+# are necessary to steer the test in the direction you need, by
+# judicioulsy setting variables that control the test results.
# We want to use getopt.h from gnulib
ac_cv_header_getopt_h=no