From 8b1ffe85f3059b67020ecef3e086baf6592517d9 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Thu, 24 Jan 2019 18:27:36 +0900 Subject: Fix portability for expr(1) usage "match" operand for expr(1) is GNU extension. Change to use the standard way to match regex with expr(1). --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index a94beaf..94a38fe 100755 --- a/configure +++ b/configure @@ -576,7 +576,7 @@ if [ -x "./qcextra" ]; then ./qcextra fi # run tqmake -if expr match "$DEB_BUILD_OPTIONS" ".*nostrip"; then +if expr "$DEB_BUILD_OPTIONS" : ".*nostrip"; then $qm QMAKE_STRIP=true qca-tls.pro else $qm qca-tls.pro -- cgit v1.2.3