mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
autotools: fix generating pkg-config files (by substituting CMAKE_DEBUG_POSTFIX)
Fixes: #1459
This commit is contained in:
parent
4effaee523
commit
2112c3969a
@ -881,5 +881,11 @@ DX_INIT_DOXYGEN([libevent], [${top_srcdir}/Doxyfile], [doxygen])
|
|||||||
AM_CONDITIONAL([ENABLE_DOXYGEN], [test "$DX_FLAG_doc" = "1"])
|
AM_CONDITIONAL([ENABLE_DOXYGEN], [test "$DX_FLAG_doc" = "1"])
|
||||||
AM_CONDITIONAL([ENABLE_DOXYGEN_MAN], [test "$DX_FLAG_man" = "1"])
|
AM_CONDITIONAL([ENABLE_DOXYGEN_MAN], [test "$DX_FLAG_man" = "1"])
|
||||||
|
|
||||||
|
dnl autotools uses the same pkg-config templates as cmake, and in cmake we have
|
||||||
|
dnl CMAKE_DEBUG_POSTFIX, so define it to empty value to simply replcae it in
|
||||||
|
dnl *.pc.in
|
||||||
|
CMAKE_DEBUG_POSTFIX=""
|
||||||
|
AC_SUBST([CMAKE_DEBUG_POSTFIX])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile libevent.pc libevent_mbedtls.pc libevent_openssl.pc libevent_pthreads.pc libevent_core.pc libevent_extra.pc] )
|
AC_CONFIG_FILES([Makefile libevent.pc libevent_mbedtls.pc libevent_openssl.pc libevent_pthreads.pc libevent_core.pc libevent_extra.pc] )
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user