From: Dan Kegel Date: Wed, 15 Jul 2020 22:35:23 +0000 (-0700) Subject: configure: move config.sub to tools subdir X-Git-Tag: 1.9.9-b1~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df1e959a8ef1e56576bc962d61632ff4762bdcf9;p=thirdparty%2Fzlib-ng.git configure: move config.sub to tools subdir --- diff --git a/configure b/configure index d9ff8256..09b9f73f 100755 --- a/configure +++ b/configure @@ -24,7 +24,7 @@ BUILDDIR=$(pwd) # set command prefix for cross-compilation if [ -n "${CHOST}" ]; then # normalize the chost before parsing it - NORM_CHOST=$(sh "$SRCDIR"/config.sub $CHOST) + NORM_CHOST=$(sh "$SRCDIR"/tools/config.sub $CHOST) uname="$(echo "${NORM_CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)-.*$/\1/')" CROSS_PREFIX="${CHOST}-" ARCH="$(echo "${NORM_CHOST}" | sed -e 's/-.*//')" diff --git a/config.sub b/tools/config.sub similarity index 100% rename from config.sub rename to tools/config.sub