Bug 436806: On FreeBSD, assume elf instead of a.out if the objformat

utility is not available.  The patch is contributed by Marco Perez
<bugmail@millibyte.net>.  r=wtc.
This commit is contained in:
wtc%google.com 2008-07-12 14:23:46 +00:00
Родитель bdff1be44b
Коммит 28ddccf0da
2 изменённых файлов: 4 добавлений и 4 удалений

4
nsprpub/configure поставляемый
Просмотреть файл

@ -3513,7 +3513,7 @@ EOF
EOF
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
if test "$MOZ_OBJFORMAT" = "elf"; then
DLL_SUFFIX=so
else
@ -4891,7 +4891,7 @@ EOF
;;
esac
if test "$CPU_ARCH" = "sparc"; then
# 64-bit SPARC Solaris requires V9 architecture, so the following
# 64-bit Solaris SPARC requires V9 architecture, so the following
# is not needed.
if test -z "$USE_64"; then
ULTRASPARC_LIBRARY=nspr_flt

Просмотреть файл

@ -1166,7 +1166,7 @@ tools are selected during the Xcode/Developer Tools installation.])
AC_DEFINE(HAVE_BSD_FLOCK)
AC_DEFINE(HAVE_SOCKLEN_T)
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
if test "$MOZ_OBJFORMAT" = "elf"; then
DLL_SUFFIX=so
else
@ -2090,7 +2090,7 @@ mips-sony-newsos*)
;;
esac
if test "$CPU_ARCH" = "sparc"; then
# 64-bit SPARC Solaris requires V9 architecture, so the following
# 64-bit Solaris SPARC requires V9 architecture, so the following
# is not needed.
if test -z "$USE_64"; then
ULTRASPARC_LIBRARY=nspr_flt