]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Simplify D configuration-time support.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Apr 2025 10:58:43 +0000 (12:58 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Apr 2025 10:58:43 +0000 (12:58 +0200)
* 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
gettext-tools/configure.ac

index 9bbf6250454924cb40a7e62d0e35b7db8bb26724..dd56571588b54a41baf9abd1796cb6ef4e30f524 100644 (file)
@@ -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
index 09f22c4b42733b700a1464ac99d0ef49aa045c8d..985561172f5d4d25fb76ee757aa6de839de9a5d9 100644 (file)
@@ -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