summaryrefslogtreecommitdiff
path: root/mk/configure/configure.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-15 11:20:40 +0000
committerrillig <rillig>2007-03-15 11:20:40 +0000
commitd8a4bbcbe0e9d9a23035d9460101dfecbca7e5c9 (patch)
tree4d7831014fc7d08aa9f5dd723dde8917f29773b1 /mk/configure/configure.mk
parent3a94a5c391d6e5aafefb0e2998d8c0e24c214676 (diff)
downloadpkgsrc-d8a4bbcbe0e9d9a23035d9460101dfecbca7e5c9.tar.gz
Moved the definition of CONFIG_SHELL from gnu-configure.mk to configure.mk.
Improved the documentation.
Diffstat (limited to 'mk/configure/configure.mk')
-rw-r--r--mk/configure/configure.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/mk/configure/configure.mk b/mk/configure/configure.mk
index 806d4a0feb9..48364f2b907 100644
--- a/mk/configure/configure.mk
+++ b/mk/configure/configure.mk
@@ -1,13 +1,18 @@
-# $NetBSD: configure.mk,v 1.15 2007/03/07 01:27:27 rillig Exp $
+# $NetBSD: configure.mk,v 1.16 2007/03/15 11:20:40 rillig Exp $
+#
+# = Package-settable variables =
+#
+# CONFIGURE_ENV is the shell environment that is exported to the
+# configure script.
+#
+# CONFIG_SHELL is the shell that is used for interpreting the
+# configure script.
#
# CONFIGURE_SCRIPT is the path to the script to run in order to
# configure the software for building. If the path is relative,
# then it is assumed to be relative to each directory listed in
# CONFIGURE_DIRS.
#
-# CONFIGURE_ENV is the shell environment that is exported to the
-# configure script.
-#
# CONFIGURE_ARGS is the list of arguments that is passed to the
# configure script.
#
@@ -32,6 +37,7 @@
CONFIGURE_SCRIPT?= ./configure
CONFIGURE_ENV+= ${ALL_ENV}
CONFIGURE_ARGS?= # empty
+CONFIG_SHELL?= ${SH}
CONFIG_SHELL_FLAGS?= # none
_BUILD_DEFS+= CONFIGURE_ENV CONFIGURE_ARGS