Define __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787.

This commit is contained in:
Martin v. Löwis 2001-03-06 12:09:07 +00:00
parent 1c24f9c8b7
commit e8964d493e
3 changed files with 11 additions and 0 deletions

View file

@ -194,8 +194,13 @@ Monterey*)
case $CC in
cc) CC="$CC -Wl,-Bexport";;
esac;;
SunOS*)
# Some functions have a prototype only with that define, e.g. confstr
AC_DEFINE(__EXTENSIONS__)
;;
esac
AC_SUBST(LIBRARY)
AC_MSG_CHECKING(LIBRARY)
if test -z "$LIBRARY"