]> granicus.if.org Git - re2c/commitdiff
configure.ac: use AC_USE_SYSTEM_EXTENSIONS, as --std=c++98 disables POSIX extensions...
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 6 Apr 2019 10:16:47 +0000 (11:16 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 6 Apr 2019 10:16:47 +0000 (11:16 +0100)
Attempted fix for #247.

configure.ac

index 3152a0a854401b365c146d5898afe928ffa5e4e3..23cb5122e938a7a8afc9cc93e368f64fdae83e36 100644 (file)
@@ -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])])