Skip to content

Commit 2d0dda9

Browse files
authored
Merge pull request #3228 from masatake/use-single-thread-mode-of-gnulib
build-sys: use the regex module in gnulib in single thread mode
2 parents d8505ca + ada0f6f commit 2d0dda9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,10 @@ PRETTY_ARG_VAR([WARNING_CFLAGS], [C compiler warning flags],
560560
# header files or functions.
561561
gl_INIT
562562

563+
AC_DEFINE([GNULIB_REGEX_SINGLE_THREAD], [1],
564+
[Define if all programs in this package call functions of the Gnulib
565+
'regex' module only from a single thread.])
566+
563567
if test "$REPLACE_FNMATCH" != 0; then
564568
AC_DEFINE([USE_GNULIB_FNMATCH])
565569
fi

0 commit comments

Comments
 (0)