summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-02 14:27:24 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-04-02 14:27:24 +0000
commit741a32ff7ce25a0061332efb7e52d7db8daec84e (patch)
tree2a271d807063fed1ee810bd1f9fec2a19f0f6d87
parenta6eb593370b6f4eaaa6f6703ebed47e976eb6d0f (diff)
parent1b52b4881425ba9edf832408040806c693976d7e (diff)
downloadgtk+-741a32ff7ce25a0061332efb7e52d7db8daec84e.tar.gz
Merge branch 'autotools-remove-gnu-ftw-check' into 'gtk-3-24'
build: remove unused check for GNU ftw See merge request GNOME/gtk!700
-rw-r--r--config.h.win32.in3
-rw-r--r--configure.ac13
2 files changed, 0 insertions, 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 <ftw.h>]],
- [[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