diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 13:57:04 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 13:57:04 -0400 |
commit | 9b171832c9aec2956b5bfe9e488c2751d1e37dbc (patch) | |
tree | 85500a0c45d388fa3aef8a83097ae21d91e0d427 /configure | |
parent | fb7397b343b874acee9d8aff1bf9eb303ec2d403 (diff) |
move make configuration stuff to mk/
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |