From 70a70b9da347d7ef25a9862af83731b9b0a0d3f1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 27 Jun 2017 12:37:47 +0200 Subject: build: replace glob() check and assume it's always in POSIX POSIX requires glob(), so no need to check for it. Together with the fact that we can emulate glob() on Windows, glob() is always available. --- wscript | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 061fb3f76f..58d64837af 100644 --- a/wscript +++ b/wscript @@ -208,13 +208,9 @@ iconv support use --disable-iconv.", 'func': check_true, 'deps_any': ['posix-spawn', 'mingw'], }, { - 'name': 'glob', - 'desc': 'glob()', - 'func': check_statement('glob.h', 'glob("filename", 0, 0, 0)') - }, { - 'name': 'glob-win32-replacement', + 'name': 'glob-win32', 'desc': 'glob() win32 replacement', - 'deps_neg': [ 'glob' ], + 'deps_neg': [ 'posix' ], 'deps_any': [ 'os-win32', 'os-cygwin' ], 'func': check_true }, { -- cgit v1.2.3