Changeset 588 for trunk/configure.ac
- Timestamp:
- Oct 26, 2025, 12:17:47 PM (16 hours ago)
- File:
-
- 1 edited
-
trunk/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r583 r588 1679 1679 [ 1680 1680 if test "x${enable_logfile_monitor}" = xyes; then 1681 AC_CHECK_HEADER(pcre.h, 1681 cflags_store="$CFLAGS" 1682 CFLAGS="$CFLAGS -DPCRE2_CODE_UNIT_WIDTH=8" 1683 AC_CHECK_HEADER(pcre2.h, 1682 1684 [ 1683 1685 AC_DEFINE([USE_LOGFILE_MONITOR], [1], [Define if you want the logfile monitor module.]) 1684 LIBS="-lpcre $LIBS"1686 LIBS="-lpcre2-8 $LIBS" 1685 1687 ], 1686 1688 [ 1687 AC_CHECK_HEADER(pcre /pcre.h,1689 AC_CHECK_HEADER(pcre2/pcre2.h, 1688 1690 [ 1689 1691 AC_DEFINE([USE_LOGFILE_MONITOR], [1], [Define if you want the logfile monitor module.]) 1690 AC_DEFINE([HAVE_PCRE _PCRE_H], [1], [Define if you have pcre/pcre.h.])1691 LIBS="-lpcre $LIBS"1692 AC_DEFINE([HAVE_PCRE2_PCRE2_H], [1], [Define if you have pcre2/pcre2.h.]) 1693 LIBS="-lpcre2-8 $LIBS" 1692 1694 ], 1693 1695 [AC_MSG_ERROR([The --enable-logfile-monitor option requires libpcre. For compiling the pcre development package is needed.])] … … 1695 1697 ] 1696 1698 ) 1697 AC_CHECK_LIB(pcre, pcre_dfa_exec, [ 1698 AC_DEFINE([HAVE_PCRE_DFA_EXEC], [1], [Define if you have pcre_dfa_exec]) 1699 ], [ 1700 AC_MSG_WARN([pcre_dfa_exec not available]) 1701 ]) 1699 CFLAGS="$cflags_store" 1702 1700 fi 1703 1701 ]
Note:
See TracChangeset
for help on using the changeset viewer.