aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-04-08 10:56:51 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-04-08 10:56:51 +0100
commit36192c2be137d2af13fbc2d528de05b41d546805 (patch)
tree344109b9e3eb231fd0b2b765989b40918af725b5 /gdb/configure.ac
parent76bbe1f5970dd5ba5642c5e31825786226619c56 (diff)
downloadgdb-36192c2be137d2af13fbc2d528de05b41d546805.zip
gdb-36192c2be137d2af13fbc2d528de05b41d546805.tar.gz
gdb-36192c2be137d2af13fbc2d528de05b41d546805.tar.bz2
gdb/configure: realign the AC_ARG_ENABLE(sim, ....) block
Following the suggestion in this review comment: https://inbox.sourceware.org/gdb-patches/9420bbb0-2614-4847-9157-8562f8a62d03@simark.ca this commit realigns the AC_ARG_ENABLE(sim, ....) block. I've added additional [...] quoting in a couple of places, which is inline with how other AC_ARG_ENABLE blocks are formatted within GDB's configure.ac file. There should be no change in how GDB configures or builds after this commit.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 28e750b..62ff09c 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2030,16 +2030,16 @@ AC_PATH_X
# are when --disable-sim is specified, or if the simulator directory is
# not part of the source tree.
#
-AC_ARG_ENABLE(sim,
-AS_HELP_STRING([--enable-sim], [link gdb with simulator]),
-[AC_MSG_NOTICE([enable_sim = $enable_sim]);
- AC_MSG_NOTICE([enableval = ${enableval}]);
- case "${enableval}" in
- yes) ignore_sim=false ;;
- no) ignore_sim=true ;;
- *) ignore_sim=false ;;
- esac],
-[ignore_sim=false])
+AC_ARG_ENABLE([sim],
+ [AS_HELP_STRING([--enable-sim], [link gdb with simulator])],
+ [AC_MSG_NOTICE([enable_sim = $enable_sim]);
+ AC_MSG_NOTICE([enableval = ${enableval}]);
+ case "${enableval}" in
+ yes) ignore_sim=false ;;
+ no) ignore_sim=true ;;
+ *) ignore_sim=false ;;
+ esac],
+ [ignore_sim=false])
if test ! -d "${srcdir}/../sim"; then
ignore_sim=true