[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 288/411: acinclude: detect manually set minimum macos/ipod versi
From: |
gnunet |
Subject: |
[gnurl] 288/411: acinclude: detect manually set minimum macos/ipod version |
Date: |
Wed, 13 Jan 2021 01:21:43 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit c131148b695afd9cf6601ce8879711ccb8ba0a9d
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Thu Oct 29 10:01:42 2020 +0100
acinclude: detect manually set minimum macos/ipod version
... even if set in the CC or IPHONEOS/MACOSX_DEPLOYMENT_TARGET
variables.
Reported-by: hamstergene on github
Fixes #6138
Closes #6140
---
acinclude.m4 | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index e7a36e4bd..fb77b2cfd 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2526,14 +2526,20 @@ AC_DEFUN([CURL_MAC_CFLAGS], [
AC_MSG_RESULT([$tst_cflags]);
if test "$tst_cflags" = "yes"; then
- AC_MSG_CHECKING([for *version-min in CFLAGS])
+ AC_MSG_CHECKING([for *version-min set by user])
min=""
- if test -z "$(echo $CFLAGS | grep m.*os.*-version-min)"; then
+ if test -n "$IPHONEOS_DEPLOYMENT_TARGET"; then
+ var="IPHONEOS_DEPLOYMENT_TARGET"
+ elif test -n "$MACOSX_DEPLOYMENT_TARGET"; then
+ var="MACOSX_DEPLOYMENT_TARGET"
+ elif test -z "$(echo $CFLAGS $CC | grep m.*os.*-version-min)"; then
min="-mmacosx-version-min=10.8"
CFLAGS="$CFLAGS $min"
+ else
+ var="CFLAGS or CC"
fi
if test -z "$min"; then
- AC_MSG_RESULT([set by user])
+ AC_MSG_RESULT([set by user in $var])
else
AC_MSG_RESULT([$min set])
fi
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 254/411: CURLOPT_TCP_NODELAY.3: fix comment in example code, (continued)
- [gnurl] 254/411: CURLOPT_TCP_NODELAY.3: fix comment in example code, gnunet, 2021/01/12
- [gnurl] 255/411: CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well, gnunet, 2021/01/12
- [gnurl] 216/411: checksrc: warn on space after exclamation mark, gnunet, 2021/01/12
- [gnurl] 225/411: curl: make sure setopt CURLOPT_IPRESOLVE passes on a long, gnunet, 2021/01/12
- [gnurl] 239/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 214/411: runtests: allow generating a binary sequence from hex, gnunet, 2021/01/12
- [gnurl] 238/411: THANKS: from 7.73.0 and .mailmap fixes, gnunet, 2021/01/12
- [gnurl] 340/411: release-notes.pl: detect #[number] better for Ref: etc, gnunet, 2021/01/12
- [gnurl] 352/411: KNOWN_BUGS: cmake: libspsl is not supported, gnunet, 2021/01/12
- [gnurl] 284/411: tool_operate: bail out proper on errors for parallel setup, gnunet, 2021/01/12
- [gnurl] 288/411: acinclude: detect manually set minimum macos/ipod version,
gnunet <=
- [gnurl] 375/411: test506: make it not run in c-ares builds, gnunet, 2021/01/12
- [gnurl] 306/411: rtsp: error out on empty Session ID, unified the code, gnunet, 2021/01/12
- [gnurl] 266/411: KNOWN_BUGS: mention the individual cmake issues, gnunet, 2021/01/12
- [gnurl] 362/411: KNOWN_BUGS: wakeup socket disconnect causes havoc, gnunet, 2021/01/12
- [gnurl] 317/411: FAQ: refreshed, gnunet, 2021/01/12
- [gnurl] 322/411: FAQ: refresh "Why do I get "certificate verify failed", gnunet, 2021/01/12
- [gnurl] 302/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 267/411: libssh2: require version 1.0 or later, gnunet, 2021/01/12
- [gnurl] 286/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 308/411: KNOWN_BUGS: LDAPS with NSS is slow, gnunet, 2021/01/12