From 52be6acb89891e9941e0c2f912e67361b84f3c81 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 26 Aug 2019 20:42:42 +0200 Subject: [PATCH] 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 b917bb5320e..93495755d5f 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 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 b6d8062c320..62fe46149ce 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 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 6acd65e9b1c..6888a37578f 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 ]]) -# 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, -- GitLab