/* Define to `long' if <time.h> doesn't define. */
#undef clock_t
+/* Defined on Solaris to see additional function prototypes. */
+#undef __EXTENSIONS__
+
/* Define if getpgrp() must be called as getpgrp(0). */
#undef GETPGRP_HAVE_ARG
/* Define to `long' if <time.h> doesn't define. */
#undef clock_t
+/* Defined on Solaris to see additional function prototypes. */
+#undef __EXTENSIONS__
+
/* Define if getpgrp() must be called as getpgrp(0). */
#undef GETPGRP_HAVE_ARG
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"