From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 57FE0398B84C for ; Fri, 28 May 2021 19:27:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 57FE0398B84C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 33E9B1161E3; Fri, 28 May 2021 15:27:46 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VLEXGRBDrRxJ; Fri, 28 May 2021 15:27:46 -0400 (EDT) Received: from murgatroyd.Home (75-166-146-111.hlrn.qwest.net [75.166.146.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id DF3DC1161E0; Fri, 28 May 2021 15:27:45 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 4/5] Clean up gdb's --enable-shared Date: Fri, 28 May 2021 13:27:42 -0600 Message-Id: <20210528192743.508390-5-tromey@adacore.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210528192743.508390-1-tromey@adacore.com> References: <20210528192743.508390-1-tromey@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2021 19:27:49 -0000 The old testsuite configure did not use AS_HELP_STRING, and it had a typo in the help for --enable-shared. This patch fixes these problems. gdb/ChangeLog 2021-05-28 Tom Tromey * configure: Rebuild. * configure.ac: Use AS_HELP_STRING for enable-shared. Fix typo. --- gdb/ChangeLog | 5 +++++ gdb/configure | 2 +- gdb/configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/configure b/gdb/configure index 7897a57113f..fb43377015c 100755 --- a/gdb/configure +++ b/gdb/configure @@ -1588,7 +1588,7 @@ Optional Features: sometimes confusing) to the casual installer --enable-plugins Enable support for plugins --disable-largefile omit support for large files - --enable-shared build shared libraries deault=yes + --enable-shared build shared libraries [default=yes] --enable-targets=TARGETS alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) diff --git a/gdb/configure.ac b/gdb/configure.ac index c08a3b53b6c..e6e1c6b7b90 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -154,7 +154,7 @@ AC_MSG_RESULT([$with_auto_load_safe_path]) # Enable shared libraries. AC_ARG_ENABLE(shared, -[ --enable-shared build shared libraries [deault=yes]],, +AS_HELP_STRING([--enable-shared], [build shared libraries [default=yes]]),, enable_shared=yes) # If we have shared libraries, try to set RPATH_ENVVAR reasonably, -- 2.26.3