[gtk/gtk-3-24: 1/2] build: remove unused HAVE__NSGETENVIRON and HAVE_CRT_EXTERNS_H



commit 52be6acb89891e9941e0c2f912e67361b84f3c81
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Mon Aug 26 20:42:42 2019 +0200

    build: remove unused HAVE__NSGETENVIRON and HAVE_CRT_EXTERNS_H
    
    Looks like this is a leftover from gdkspawn/gtk2

 config.h.meson    | 6 ------
 config.h.win32.in | 6 ------
 configure.ac      | 4 ----
 3 files changed, 16 deletions(-)
---
diff --git a/config.h.meson b/config.h.meson
index b917bb5320..93495755d5 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -20,9 +20,6 @@
 /* define if we have colord */
 #mesondefine HAVE_COLORD
 
-/* Define to 1 if you have the <crt_externs.h> header file. */
-#mesondefine HAVE_CRT_EXTERNS_H
-
 /* Define if the GNU dcgettext() function is already present or preinstalled.
    */
 #mesondefine HAVE_DCGETTEXT
@@ -209,9 +206,6 @@
 /* Define if _NL_TIME_FIRST_WEEKDAY is available */
 #mesondefine HAVE__NL_TIME_FIRST_WEEKDAY
 
-/* Define to 1 if you have the `_NSGetEnviron' function. */
-#mesondefine HAVE__NSGETENVIRON
-
 /* Define to the address where bug reports for this package should be sent. */
 #mesondefine PACKAGE_BUGREPORT
 
diff --git a/config.h.win32.in b/config.h.win32.in
index b6d8062c32..62fe46149c 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -26,9 +26,6 @@
 /* define if we have colord */
 /* #undef HAVE_COLORD */
 
-/* Define to 1 if you have the <crt_externs.h> header file. */
-/* #undef HAVE_CRT_EXTERNS_H */
-
 /* Define to 1 if you have the `dcgettext' function. */
 #define HAVE_DCGETTEXT 1
 
@@ -248,9 +245,6 @@
 /* Define if _NL_TIME_FIRST_WEEKDAY is available */
 /* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
 
-/* Define to 1 if you have the `_NSGetEnviron' function. */
-/* #undef HAVE__NSGETENVIRON */
-
 /* Define to the sub-directory in which libtool stores uninstalled libraries.
    */
 #define LT_OBJDIR ".libs/"
diff --git a/configure.ac b/configure.ac
index 6acd65e9b1..6888a37578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -852,10 +852,6 @@ AC_CHECK_LIB(m,round,,)
 AC_CHECK_FUNCS(round rint nearbyint sincos exp2 log2 trunc)
 AC_CHECK_DECLS([isnan, isinf], [], [], [[#include <math.h>]])
 
-# Checks for gdkspawn
-AC_CHECK_HEADERS(crt_externs.h)
-AC_CHECK_FUNCS(_NSGetEnviron)
-
 AC_MSG_CHECKING(whether to build dynamic modules)
 
 AC_ARG_ENABLE(modules,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]