[Mono-list] configure.in / cppflags wrong for NetBSD (and FreeBSD5?)
Marc Recht
marc@informatik.uni-bremen.de
Fri, 24 Jan 2003 15:44:26 +0100
--==========1236190060==========
Content-Type: multipart/mixed; boundary="==========917018691=========="
--==========917018691==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi!
configure.in defines CPPFLAGS=3D"$CPPFLAGS -D_THREAD_SAFE" for the =
*-*-*bsd*=20
target. But, for NetBSD 1.6M (-current) and FreeBSD5 (irrc) the std. POSIX=20
_REENTRANT has to be used. PTHREAD_POINTER_ID seems to be unnecessary. So,=20
for NetBSD it should be:
*-*-*netbsd*)
platform_win32=3Dno
CPPFLAGS=3D"$CPPFLAGS -D_REENTRANT"
libmono_cflags=3D"-D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libdl=3D
;;
(Since I'm not sure about FreeBSD5 I've cc'ed Juli.)
Regards,
Marc
--
"Premature optimization is the root of all evil." -- Donald E. Knuth
--==========917018691==========
Content-Type: application/octet-stream; name="mono-0.19-configure.in.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="mono-0.19-configure.in.diff";
size=458
LS0tIGNvbmZpZ3VyZS5pbi5vcmlnCVR1ZSBKYW4gMjEgMDA6MTc6MTUgMjAwMworKysgY29uZmln
dXJlLmluCUZyaSBKYW4gMjQgMTU6Mzg6MjkgMjAwMwpAQCAtMjIsNyArMjIsMTQgQEAKIAkJQ1BQ
RkxBR1M9IiRDUFBGTEFHUyAtREdDX1dJTjMyX1RIUkVBRFMiCiAJCWxpYmRsPQogCQk7OwotCSot
Ki0qYnNkKikKKwkqLSotKm5ldGJzZCopCisJCXBsYXRmb3JtX3dpbjMyPW5vCisJCUNQUEZMQUdT
PSIkQ1BQRkxBR1MgLURfUkVFTlRSQU5UIgorCQlsaWJtb25vX2NmbGFncz0iLURfUkVFTlRSQU5U
IgorCQlBQ19ERUZJTkUoTkVFRF9MSU5LX1VOTElOSykKKwkJbGliZGw9CisJCTs7CisJKi0qLWZy
ZWVic2QqfCotKi1vcGVuYnNkKikKIAkJcGxhdGZvcm1fd2luMzI9bm8KIAkJQ1BQRkxBR1M9IiRD
UFBGTEFHUyAtRF9USFJFQURfU0FGRSIKIAkJbGlibW9ub19jZmxhZ3M9Ii1EX1RIUkVBRF9TQUZF
Igo=
--==========917018691==========--
--==========1236190060==========
Content-Type: application/pgp-signature; name="fileXTegIx.sig"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="fileXTegIx.sig"; size=186
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+MVFK7YQCetAaG3MRAq77AJ97weYqVip4fmFmSehQ2JtxRxWy/wCffsBo
nICbLGWHQOPQktBZXri5gO8=
=DTa1
-----END PGP SIGNATURE-----
--==========1236190060==========--