From c32d433a97a501526a19dbe0d3b6f8c1f137376a Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Sat, 6 Apr 2019 11:16:47 +0100 Subject: [PATCH] configure.ac: use AC_USE_SYSTEM_EXTENSIONS, as --std=c++98 disables POSIX extensions on Cygwin. Attempted fix for #247. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 3152a0a8..23cb5122 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,10 @@ AC_SUBST(PACKAGE_TARNAME) AC_SUBST(PACKAGE_RELEASE, ${PACKAGE_RELEASE:-1}) +# without this, --std=c++98 disables POSIX functions on Cygwin +AC_USE_SYSTEM_EXTENSIONS + + # --enable-debug AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], [enable checks and assertions])]) -- 2.50.1