| 1 | dnl Process this file with autoconf 2.0 or later to make a configure script.
|
|---|
| 2 |
|
|---|
| 3 | # Set VERSION so we only need to edit in one place (i.e., here)
|
|---|
| 4 | m4_define(PYTHON_VERSION, 2.5)
|
|---|
| 5 |
|
|---|
| 6 | AC_REVISION($Revision: 51727 $)
|
|---|
| 7 | AC_PREREQ(2.59)
|
|---|
| 8 | AC_INIT(python, PYTHON_VERSION, http://www.python.org/python-bugs)
|
|---|
| 9 | AC_CONFIG_SRCDIR([Include/object.h])
|
|---|
| 10 | AC_CONFIG_HEADER(pyconfig.h)
|
|---|
| 11 |
|
|---|
| 12 | dnl This is for stuff that absolutely must end up in pyconfig.h.
|
|---|
| 13 | dnl Please use pyport.h instead, if possible.
|
|---|
| 14 | AH_TOP([
|
|---|
| 15 | #ifndef Py_PYCONFIG_H
|
|---|
| 16 | #define Py_PYCONFIG_H
|
|---|
| 17 | ])
|
|---|
| 18 | AH_BOTTOM([
|
|---|
| 19 | /* Define the macros needed if on a UnixWare 7.x system. */
|
|---|
| 20 | #if defined(__USLC__) && defined(__SCO_VERSION__)
|
|---|
| 21 | #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
|---|
| 22 | #endif
|
|---|
| 23 |
|
|---|
| 24 | #endif /*Py_PYCONFIG_H*/
|
|---|
| 25 | ])
|
|---|
| 26 |
|
|---|
| 27 | # We don't use PACKAGE_ variables, and they cause conflicts
|
|---|
| 28 | # with other autoconf-based packages that include Python.h
|
|---|
| 29 | grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
|
|---|
| 30 | rm confdefs.h
|
|---|
| 31 | mv confdefs.h.new confdefs.h
|
|---|
| 32 |
|
|---|
|
|---|