From 9e0eb429a2f1361a56930c8fdbcccb4005178ecd Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 15 Apr 2025 12:58:43 +0200 Subject: [PATCH] build: Simplify D configuration-time support. * gettext-runtime/configure.ac: Don't search for the D compiler a second time (already done by gt_DCOMP). * gettext-tools/configure.ac: Likewise. --- gettext-runtime/configure.ac | 3 +-- gettext-tools/configure.ac | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index 9bbf62504..dd5657158 100644 --- a/gettext-runtime/configure.ac +++ b/gettext-runtime/configure.ac @@ -61,9 +61,8 @@ fi AC_SUBST([BUILDCSHARP]) gt_D_CHOICE -gt_DCOMP if test "$D_CHOICE" != no; then - AC_CHECK_TOOL([DC], [gdc ldc2 dmd]) + gt_DCOMP if test -n "$DC"; then BUILDD=yes else diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 09f22c4b4..985561172 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -103,9 +103,8 @@ fi AC_SUBST([TESTCSHARP]) gt_D_CHOICE -gt_DCOMP if test "$D_CHOICE" != no; then - AC_CHECK_TOOL([DC], [gdc ldc2 dmd]) + gt_DCOMP if test -n "$DC"; then BUILDD=yes else -- 2.47.3