From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11207 invoked from network); 2 Nov 2020 22:18:10 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 2 Nov 2020 22:18:10 -0000 Received: (qmail 3075 invoked by uid 550); 2 Nov 2020 22:18:05 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 2020 invoked from network); 2 Nov 2020 22:18:05 -0000 Authentication-Results: spamfilter01.heinlein-hosting.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=mailbox.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1604355471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jDN6Tj8oMkYBXhy7ROPhvVcJ0Kd6XVCada+5P6S6Wow=; b=XeliHs5196XBmgFM1eVgTH9dYf1RZeYpwiWa/r++JDFouTmsv7Xu4hGHM90KGnEQWM79Fc GEH6tLL82Z5/72MiB2Fb/oV+6xUS28DuqKDBByLdL0tTtWt7bdt0oTr59ghOREkV8+rKwv phVbHTIE8EvR0KVVPcaTm5/mT94aXhb9fveze8PGh0Go1YIu6G7oRDNRhfb+2QcdlUee3l Dk7vSLfced3fKhEOu5yJ/hSyn21EUunlPlxcszC7KmJ96csL+5PKPlg87CEg9Ryx+835P/ jaN1/md72LGrWxJCM+/qpQItgpmn7CO9wntkYLhA/XKw+0l0SCqsjb30o9Tc7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:mime-version:message-id:date:date :subject:subject:from:from:received; s=mail20150812; t= 1604355469; bh=uHH21HOgLd6Q+YcAsTQEmKY171OyEEClH6P9UWgfP3k=; b=E vWfIy+m4u3YxmsQQa7vT0aSgTVeVPlSPstA+SowhqmUY8DePSqD3CXoBrdXB43+M adeGG2tU/9XZ2+F65fhHiGJ0HFUMuKIKBQJbX7MyoLU1f+xFiFLP2TzDcarBGZVJ nrDUPkYfjNBOo0N8RKHWdkP0H/4NlTRNJx5KSOa7hIjPU3KYUazUy7cjdzo2dtu4 lKz1mTL0nVCX/D2uy4kBXLrG0XGcaHc/R5/+/y8Jakt7L59AVcGDp0quV7J5iPhR +z0Vsp4oMQZ6TCe20sNnlLSaLlDxWQpj9uiO74UC5Qa9Q7uRguhL+kl61+ipcPTK kY5ayq2lBeYQiIeVnoFig== X-Virus-Scanned: amavisd-new at heinlein-support.de From: "Issam E. Maghni" To: musl@lists.openwall.com Cc: "Issam E. Maghni" Date: Mon, 2 Nov 2020 17:16:41 -0500 Message-Id: <20201102221640.22162-1-issam.e.maghni@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -0.88 / 15.00 / 15.00 X-Rspamd-Queue-Id: 339F6171F X-Rspamd-UID: a92ddd Subject: [musl] [PATCH] configure: do not use obsolescent form of test -a|o The -a and -o operators are obsolescent and not in baseline POSIX. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16 Signed-off-by: Issam E. Maghni --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 947adf41..a5231a0e 100755 --- a/configure +++ b/configure @@ -204,7 +204,7 @@ fi abs_builddir="$(pwd)" || fail "$0: cannot determine working directory" abs_srcdir="$(cd $srcdir && pwd)" || fail "$0: invalid source directory $srcdir" test "$abs_srcdir" = "$abs_builddir" && srcdir=. -test "$srcdir" != "." -a -f Makefile -a ! -h Makefile && fail "$0: Makefile already exists in the working directory" +test "$srcdir" != "." && test -f Makefile && test ! -h Makefile && fail "$0: Makefile already exists in the working directory" # # Get a temp filename we can use @@ -279,7 +279,7 @@ echo "$cc_family" # # Figure out toolchain wrapper to build # -if test "$wrapper" = auto -o "$wrapper" = detect ; then +if test "$wrapper" = auto || test "$wrapper" = detect ; then echo "#include " > "$tmpc" echo "#if ! __GLIBC__" >> "$tmpc" echo "#error no" >> "$tmpc" @@ -468,7 +468,7 @@ tryflag CFLAGS_AUTO -pipe # pointer is no longer needed for debugging. # if fnmatch '-g*|*\ -g*' "$CFLAGS_AUTO $CFLAGS" ; then : -else +else tryflag CFLAGS_AUTO -fomit-frame-pointer fi -- 2.29.2