Use prefixed strings command from distro.
PATCH 1/1 Use prefixed strings command from distro.
All the other tools can be prefixed/overriden by distro builders, but strings. This makes the build work in build packages like the Exherbo one.
Signed-off-by Julien Durillon <[email protected]>
--- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
configure +3 -2
@@ -427,6 +427,7 @@ ranlib="${RANLIB-${cross_prefix}ranlib}" nm="${NM-${cross_prefix}nm}" smbd="$SMBD" strip="${STRIP-${cross_prefix}strip}" +strings="${STRINGS-${cross_prefix}strings}" windres="${WINDRES-${cross_prefix}windres}" pkg_config_exe="${PKG_CONFIG-${cross_prefix}pkg-config}" query_pkg_config() {
@@ -1671,9 +1672,9 @@ int main(int argc, char *argv[]) EOF if compile_prog ; then - if strings -a $TMPE | grep -q BiGeNdIaN ; then + if $strings -a $TMPE | grep -q BiGeNdIaN ; then bigendian="yes" - elif strings -a $TMPE | grep -q LiTtLeEnDiAn ; then + elif $strings -a $TMPE | grep -q LiTtLeEnDiAn ; then bigendian="no" else echo big/little test failed
Signature · 1 line
2.35.1