File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525/* Define to `long' if <time.h> doesn't define. */
2626#undef clock_t
2727
28+ /* Defined on Solaris to see additional function prototypes. */
29+ #undef __EXTENSIONS__
30+
2831/* Define if getpgrp() must be called as getpgrp(0). */
2932#undef GETPGRP_HAVE_ARG
3033
Original file line number Diff line number Diff line change 9090/* Define to `long' if <time.h> doesn't define. */
9191#undef clock_t
9292
93+ /* Defined on Solaris to see additional function prototypes. */
94+ #undef __EXTENSIONS__
95+
9396/* Define if getpgrp() must be called as getpgrp(0). */
9497#undef GETPGRP_HAVE_ARG
9598
Original file line number Diff line number Diff line change @@ -194,8 +194,13 @@ Monterey*)
194194 case $CC in
195195 cc) CC="$CC -Wl,-Bexport";;
196196 esac;;
197+ SunOS*)
198+ # Some functions have a prototype only with that define, e.g. confstr
199+ AC_DEFINE(__EXTENSIONS__)
200+ ;;
197201esac
198202
203+
199204AC_SUBST(LIBRARY)
200205AC_MSG_CHECKING(LIBRARY)
201206if test -z "$LIBRARY"
You can’t perform that action at this time.
0 commit comments