summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 13:57:04 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 13:57:04 -0400
commit9b171832c9aec2956b5bfe9e488c2751d1e37dbc (patch)
tree85500a0c45d388fa3aef8a83097ae21d91e0d427 /configure
parentfb7397b343b874acee9d8aff1bf9eb303ec2d403 (diff)
move make configuration stuff to mk/
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 2c46142c..fbbbb16f 100755
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
set -e
-CONFIGDIR="$(dirname $0)/config"
+CONFIGDIR="$(dirname $0)/mk"
show_help() {
cat <<-EOF
@@ -12,25 +12,25 @@ show_help() {
-d Enable debugging symbols and asserts
-a arch Choose the underlying architecture to build for:
- $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/architecture)
+ $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/architecture.conf)
-c version Conform to:
- $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/c)
+ $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/c.conf)
-p version Conform to:
- $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/posix)
+ $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/posix.conf)
-w wordsize Choose a word size for the architecuture:
- $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/wordsize)
+ $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/wordsize.conf)
-x version Conform to:
- $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/xopen)
+ $(awk '{ printf("\t%s\n", $0); }' ${CONFIGDIR}/xopen.conf)
EOF
}
validate_option() {
- option="${CONFIGDIR}/$1"
+ option="${CONFIGDIR}/$1.conf"
for opt in $(awk '/^[0-9]/ { print $1 }' "${option}"); do
if [ "$2" = "${opt}" ]; then