diff options
| -rwxr-xr-x | configure | 14 | ||||
| -rw-r--r-- | mk/architecture.conf (renamed from config/architecture) | 0 | ||||
| -rw-r--r-- | mk/c.conf (renamed from config/c) | 0 | ||||
| -rw-r--r-- | mk/posix.conf (renamed from config/posix) | 0 | ||||
| -rw-r--r-- | mk/wordsize.conf (renamed from config/wordsize) | 0 | ||||
| -rw-r--r-- | mk/xopen.conf (renamed from config/xopen) | 0 |
6 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 diff --git a/config/architecture b/mk/architecture.conf index e41c7a05..e41c7a05 100644 --- a/config/architecture +++ b/mk/architecture.conf diff --git a/config/posix b/mk/posix.conf index 415a0458..415a0458 100644 --- a/config/posix +++ b/mk/posix.conf diff --git a/config/wordsize b/mk/wordsize.conf index 08fdc23a..08fdc23a 100644 --- a/config/wordsize +++ b/mk/wordsize.conf diff --git a/config/xopen b/mk/xopen.conf index 32748b73..32748b73 100644 --- a/config/xopen +++ b/mk/xopen.conf |
