mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #2376 - Split NSPR sed into BSD and GNU. Mac and the BSDs use [^[:space:]]. Use GNU sed on other platforms with \S.
This commit is contained in:
parent
1ac65a828d
commit
c68105436b
1 changed files with 8 additions and 1 deletions
|
|
@ -5572,7 +5572,14 @@ ac_configure_args="$_SUBDIR_CONFIG_ARGS"
|
|||
|
||||
# --with-system-nspr will have been converted into the relevant $NSPR_CFLAGS
|
||||
# and $NSPR_LIBS.
|
||||
ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr[^[:space:]]* *//'`"
|
||||
case "${OS_TARGET}" in
|
||||
Darwin|DragonFly|FreeBSD|NetBSD|OpenBSD)
|
||||
ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr[^[:space:]]* *//'`"
|
||||
;;
|
||||
*)
|
||||
ac_configure_args="`echo $ac_configure_args | ${TOOLCHAIN_PREFIX}sed -e 's/--with-system-nspr\S* *//'`"
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$NSPR_CFLAGS" -o -n "$NSPR_LIBS"; then
|
||||
ac_configure_args="$ac_configure_args --with-nspr-cflags='$NSPR_CFLAGS'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue