mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
678ad26488
87 changed files with 492 additions and 1892 deletions
|
|
@ -2014,44 +2014,6 @@ esac
|
|||
|
||||
MOZ_CONFIG_NSPR()
|
||||
|
||||
dnl ========================================================
|
||||
dnl system libevent Support
|
||||
dnl ========================================================
|
||||
MOZ_ARG_WITH_STRING(system-libevent,
|
||||
[ --with-system-libevent[=PFX]
|
||||
Use system libevent [installed at prefix PFX]],
|
||||
LIBEVENT_DIR=$withval)
|
||||
|
||||
_SAVE_CFLAGS=$CFLAGS
|
||||
_SAVE_LDFLAGS=$LDFLAGS
|
||||
_SAVE_LIBS=$LIBS
|
||||
if test "$LIBEVENT_DIR" = yes; then
|
||||
PKG_CHECK_MODULES(MOZ_LIBEVENT, libevent,
|
||||
MOZ_SYSTEM_LIBEVENT=1,
|
||||
LIBEVENT_DIR=/usr)
|
||||
fi
|
||||
if test -z "$LIBEVENT_DIR" -o "$LIBEVENT_DIR" = no; then
|
||||
MOZ_SYSTEM_LIBEVENT=
|
||||
elif test -z "$MOZ_SYSTEM_LIBEVENT"; then
|
||||
CFLAGS="-I${LIBEVENT_DIR}/include $CFLAGS"
|
||||
LDFLAGS="-L${LIBEVENT_DIR}/lib $LDFLAGS"
|
||||
MOZ_CHECK_HEADER(event.h,
|
||||
[if test ! -f "${LIBEVENT_DIR}/include/event.h"; then
|
||||
AC_MSG_ERROR([event.h found, but is not in ${LIBEVENT_DIR}/include])
|
||||
fi],
|
||||
AC_MSG_ERROR([--with-system-libevent requested but event.h not found]))
|
||||
AC_CHECK_LIB(event, event_init,
|
||||
[MOZ_SYSTEM_LIBEVENT=1
|
||||
MOZ_LIBEVENT_CFLAGS="-I${LIBEVENT_DIR}/include"
|
||||
MOZ_LIBEVENT_LIBS="-L${LIBEVENT_DIR}/lib -levent"],
|
||||
[MOZ_SYSTEM_LIBEVENT= MOZ_LIBEVENT_CFLAGS= MOZ_LIBEVENT_LIBS=])
|
||||
fi
|
||||
CFLAGS=$_SAVE_CFLAGS
|
||||
LDFLAGS=$_SAVE_LDFLAGS
|
||||
LIBS=$_SAVE_LIBS
|
||||
|
||||
AC_SUBST(MOZ_SYSTEM_LIBEVENT)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = If NSS was not detected in the system,
|
||||
dnl = use the one in the source tree (mozilla/security/nss)
|
||||
|
|
@ -5710,7 +5672,6 @@ MC_BASILISK=$MC_BASILISK
|
|||
MC_PALEMOON=$MC_PALEMOON
|
||||
MOZ_EME=$MOZ_EME
|
||||
MOZ_WEBRTC=$MOZ_WEBRTC
|
||||
MOZ_SYSTEM_LIBEVENT=$MOZ_SYSTEM_LIBEVENT
|
||||
MOZ_SYSTEM_NSS=$MOZ_SYSTEM_NSS
|
||||
MOZ_SYSTEM_NSPR=$MOZ_SYSTEM_NSPR
|
||||
MOZ_SYSTEM_JPEG=$MOZ_SYSTEM_JPEG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue