]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
autotools: fix silly mistake in clang detection for `buildinfo.txt`
authorViktor Szakats <commit@vsz.me>
Sun, 21 Sep 2025 15:51:34 +0000 (17:51 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 21 Sep 2025 16:51:10 +0000 (18:51 +0200)
Follow-up to 0513f9f8786e0cc4246e05d56bd264d0292d9c92 #18645

Closes #18666

acinclude.m4

index f6a7852779690952300a36a9fe465135722787ea..febb8961cca3e4e25395e2ed2a67098c8852e913 100644 (file)
@@ -1492,7 +1492,7 @@ AC_DEFUN([CURL_PREPARE_BUILDINFO], [
   if test "x$compiler_id" = 'xGNU_C'; then
     curl_pflags="${curl_pflags} GCC"
   fi
-  if "$compiler_id" = "APPLECLANG"; then
+  if test "$compiler_id" = "APPLECLANG"; then
     curl_pflags="${curl_pflags} APPLE-CLANG"
   elif test "$compiler_id" = "CLANG"; then
     curl_pflags="${curl_pflags} LLVM-CLANG"