Bug 1675516 - Update openpgp.configure for RNP October 2020 update. r=kaie
authorRob Lemley <rob@thunderbird.net>
Tue, 10 Nov 2020 13:17:34 +0000
changeset 30998 f9cf8c5973a6ca4ad8365732d057f6ba7d25ecc3
parent 30997 0f38d3b698bbc57c97fde4f2c5bdbad6da3485b5
child 30999 a733bfe5d1af39946d03ccb72d5d09aeef8df0dc
push id18156
push userthunderbird@calypsoblue.org
push dateTue, 10 Nov 2020 18:31:36 +0000
treeherdercomm-central@f9cf8c5973a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaie
bugs1675516
Bug 1675516 - Update openpgp.configure for RNP October 2020 update. r=kaie Depends on D96563 Differential Revision: https://phabricator.services.mozilla.com/D96577
third_party/openpgp.configure
--- a/third_party/openpgp.configure
+++ b/third_party/openpgp.configure
@@ -171,21 +171,21 @@ with only_when("--enable-compile-environ
     have_string_h = check_header("string.h")
     check_headers(
         "limits.h",
         "sys/auxv.h",
         "sys/cdefs.h",
         "sys/resource.h",
         "sys/param.h",
         "sys/stat.h",
-        "sys/time.h",
         "sys/wait.h",
     )
 
     set_define("HAVE_MKDTEMP", check_symbol_exists("mkdtemp", ["stdlib.h", "unistd.h"]))
+    set_define("HAVE_MKSTEMP", check_symbol_exists("mkstemp", ["stdlib.h", "unistd.h"]))
     set_define("HAVE_REALPATH", check_symbol_exists("realpath", "stdlib.h"))
     set_define("HAVE_O_BINARY", check_symbol_exists("O_BINARY", "fcntl.h"))
     set_define("HAVE__O_BINARY", check_symbol_exists("_O_BINARY", "fcntl.h"))
 
     # Checks when building JSON-C from tree sources
     # =============================================
     with only_when(in_tree_jsonc):
         have_stdlib_h = check_header("stdlib.h")