Changed the way MOZ_DLL_SUFFIX gets defined. Hopefully this will allow it to be used the way PR_DLL_SUFFIX is used inside NSPR.

This commit is contained in:
briano%netscape.com 1999-06-04 01:50:12 +00:00
parent 3530c1e1a6
commit bc79d4e185

View File

@ -358,6 +358,10 @@ alpha*-*-linux*)
fi
;;
*-openvms*)
DLL_SUFFIX="exe"
;;
alpha*-*-osf*)
if test "$GNU_CC"; then
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
@ -371,6 +375,10 @@ alpha*-*-osf*)
fi
;;
*-rhapsody*)
DLL_SUFFIX="dylib"
;;
*-sco*)
if test ! "$GNU_CC"; then
DSO_LDOPTS='-G -h $(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
@ -1851,8 +1859,8 @@ AC_SUBST(MKSHLIB_FORCE_ALL)
AC_SUBST(MKSHLIB_UNFORCE_ALL)
AC_SUBST(DSO_CFLAGS)
AC_SUBST(DSO_LDOPTS)
AC_DEFINE_UNQUOTED(MOZ_DLL_SUFFIX, $DLL_SUFFIX)
AC_SUBST(DLL_SUFFIX)
AC_DEFINE(MOZ_DLL_SUFFIX, ".$DLL_SUFFIX")
if test "$USING_HCC"; then
CC='${topsrcdir}/build/hcc'