Permalink
Browse files

disable POSIXCHECK by default

  • Loading branch information...
1 parent cd63535 commit 795411939046ce79c72d505b9c2d7c7657384b0e @lavv17 committed Dec 13, 2012
Showing with 16 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +12 −0 configure.ac
View
@@ -1,3 +1,7 @@
+2012-12-13 lav
+
+ * configure.ac: disable POSIXCHECK by default
+
2012-09-24 Robert Story <rstory@tislabs.com>
* README.dnssec: update README.dnssec
View
@@ -27,6 +27,18 @@ if test x$ac_cv_lib_fl_yywrap = xno; then
AC_DEFINE(NEED_YYWRAP, 1, [need yywrap]) dnl ?
fi
+dnl POSIXCHECK is worthwhile for maintainers, but adds several seconds
+dnl (more than 10% execution time) to ./configure, with no benefit for
+dnl most users. Using it to look for bugs requires:
+dnl GNULIB_POSIXCHECK=1 autoreconf -f
+dnl ./configure
+dnl make
+dnl make -C src clean
+dnl make CFLAGS=-DGNULIB_POSIXCHECK=1
+m4_syscmd([test "${GNULIB_POSIXCHECK+set}" = set])
+m4_if(m4_sysval, [0], [], [dnl
+gl_ASSERT_NO_GNULIB_POSIXCHECK])
+
AC_SYS_LARGEFILE
AC_ARG_WITH(debug,

0 comments on commit 7954119

Please sign in to comment.