diff options
author | Jesus Cea <jcea@jcea.es> | 2010-04-28 12:03:06 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2010-04-28 12:03:06 (GMT) |
commit | 0f752ee0a71003f3bb1d197a11b7cfd4f5c88e46 (patch) | |
tree | 5a92c23ec91b6b4e964772ee38110973157710d0 /configure.in | |
parent | 480269e61c37f8492f5c6c7f74b59cb9a3b4101c (diff) | |
download | cpython-0f752ee0a71003f3bb1d197a11b7cfd4f5c88e46.zip cpython-0f752ee0a71003f3bb1d197a11b7cfd4f5c88e46.tar.gz cpython-0f752ee0a71003f3bb1d197a11b7cfd4f5c88e46.tar.bz2 |
Merged revisions 80576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80576 | jesus.cea | 2010-04-28 13:35:30 +0200 (Wed, 28 Apr 2010) | 9 lines
Merged revisions 80574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line
Issue #3928: Support 'os.mknod()' in Solaris
........
................
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0f2ce89..f2ca7c9 100644 --- a/configure.in +++ b/configure.in @@ -1322,7 +1322,14 @@ AC_MSG_RESULT($was_it_defined) # Check whether using makedev requires defining _OSF_SOURCE AC_MSG_CHECKING(for makedev) -AC_TRY_LINK([#include <sys/types.h> ], +AC_TRY_LINK([ +#if defined(MAJOR_IN_MKDEV) +#include <sys/mkdev.h> +#elif defined(MAJOR_IN_SYSMACROS) +#include <sys/sysmacros.h> +#else +#include <sys/types.h> +#endif ], [ makedev(0, 0) ], ac_cv_has_makedev=yes, ac_cv_has_makedev=no) |