summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:09:07 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:09:07 (GMT)
commite8964d493ee2fe5f9ac2a49a5572b3215f84c39e (patch)
treecabdbfdecdaea78b1b0722a02b6b629ca451b6ef /configure.in
parent1c24f9c8b7d76b9792f517e8bd298a66734abc3d (diff)
downloadcpython-e8964d493ee2fe5f9ac2a49a5572b3215f84c39e.zip
cpython-e8964d493ee2fe5f9ac2a49a5572b3215f84c39e.tar.gz
cpython-e8964d493ee2fe5f9ac2a49a5572b3215f84c39e.tar.bz2
Define __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 92a5b46..0818a9c 100644
--- a/configure.in
+++ b/configure.in
@@ -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"