From 1b52b4881425ba9edf832408040806c693976d7e Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 2 Apr 2019 08:52:31 +0200 Subject: [PATCH] build: remove unused check for GNU ftw It sets HAVE_GNU_FTW which is unused since 4acbcf9e97d7aa --- config.h.win32.in | 3 --- configure.ac | 13 ------------- 2 files changed, 16 deletions(-) diff --git a/config.h.win32.in b/config.h.win32.in index cf9d9c4d18..f65660c797 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -77,9 +77,6 @@ /* Define if gio-unix is available */ /* #undef HAVE_GIO_UNIX */ -/* Have GNU ftw */ -/* #undef HAVE_GNU_FTW */ - /* Define to 1 if you have the `httpGetAuthString' function. */ /* #undef HAVE_HTTPGETAUTHSTRING */ diff --git a/configure.ac b/configure.ac index f8314dd759..d315a54807 100644 --- a/configure.ac +++ b/configure.ac @@ -841,19 +841,6 @@ AC_CHECK_HEADERS(ftw.h, AC_DEFINE(HAVE_FTW_H, 1, [Define to 1 if ftw.h is available])) -AC_MSG_CHECKING([for GNU ftw extensions]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _XOPEN_SOURCE 500 - #define _GNU_SOURCE - #include ]], - [[int flags = FTW_ACTIONRETVAL;]])], - [gtk_ok=yes],[gtk_ok=no]) -if test $gtk_ok = yes; then - AC_MSG_RESULT([yes]) - AC_DEFINE(HAVE_GNU_FTW, 1, [Have GNU ftw]) -else - AC_MSG_RESULT([no]) -fi - # # Disable deprecation checks for all libraries we depend on on stable branches. # This is so newer versions of those libraries don't cause more warnings with