From: Bruno Haible Date: Tue, 15 Apr 2025 10:58:43 +0000 (+0200) Subject: build: Simplify D configuration-time support. X-Git-Tag: v0.25~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e0eb429a2f1361a56930c8fdbcccb4005178ecd;p=thirdparty%2Fgettext.git 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. --- 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