]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
configure: move config.sub to tools subdir
authorDan Kegel <dank@kegel.com>
Wed, 15 Jul 2020 22:35:23 +0000 (15:35 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 17 Jul 2020 13:34:32 +0000 (15:34 +0200)
configure
tools/config.sub [moved from config.sub with 100% similarity]

index d9ff8256334b04428dcffc2e8491e24cd93d3068..09b9f73ff545ecd04b67d08a80ee5ed7403d7bdf 100755 (executable)
--- 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/-.*//')"
similarity index 100%
rename from config.sub
rename to tools/config.sub