autotools: fix duplicate UNIX and BSD flags in buildinfo.txt

Follow-up to 2a292c3984 #15975

Closes #18667
This commit is contained in:
Viktor Szakats 2025-09-21 18:02:21 +02:00
parent e21cc7844d
commit 374c23c617
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -1474,14 +1474,6 @@ AC_DEFUN([CURL_PREPARE_BUILDINFO], [
if test "$curl_cv_winuwp" = 'yes'; then
curl_pflags="${curl_pflags} UWP"
fi
case $host in
*-*-*bsd*|*-*-aix*|*-*-hpux*|*-*-interix*|*-*-irix*|*-*-linux*|*-*-solaris*|*-*-sunos*|*-apple-*|*-*-cygwin*|*-*-msys*)
curl_pflags="${curl_pflags} UNIX";;
esac
case $host in
*-*-*bsd*)
curl_pflags="${curl_pflags} BSD";;
esac
if test "$curl_cv_cygwin" = 'yes'; then
curl_pflags="${curl_pflags} CYGWIN"
fi