Protect pyconfig.h from multiple inclusions.
This commit is contained in:
parent
e981a4eb36
commit
bddf5a57ca
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 1.365 .
|
# From configure.in Revision: 1.366 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.53 for python 2.3.
|
# Generated by GNU Autoconf 2.53 for python 2.3.
|
||||||
#
|
#
|
||||||
|
@ -1237,6 +1237,8 @@ ac_config_headers="$ac_config_headers pyconfig.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VERSION=2.3
|
VERSION=2.3
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,17 @@ AC_CONFIG_HEADER(pyconfig.h)
|
||||||
|
|
||||||
# This is for stuff that absolutely must end up in pyconfig.h.
|
# This is for stuff that absolutely must end up in pyconfig.h.
|
||||||
# Please use pyport.h instead, if possible.
|
# Please use pyport.h instead, if possible.
|
||||||
|
AH_TOP([
|
||||||
|
#ifndef Py_PYCONFIG_H
|
||||||
|
#define Py_PYCONFIG_H
|
||||||
|
])
|
||||||
AH_BOTTOM([
|
AH_BOTTOM([
|
||||||
/* Define the macros needed if on a UnixWare 7.x system. */
|
/* Define the macros needed if on a UnixWare 7.x system. */
|
||||||
#if defined(__USLC__) && defined(__SCO_VERSION__)
|
#if defined(__USLC__) && defined(__SCO_VERSION__)
|
||||||
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /*Py_PYCONFIG_H*/
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
/* pyconfig.h.in. Generated from configure.in by autoheader. */
|
/* pyconfig.h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef Py_PYCONFIG_H
|
||||||
|
#define Py_PYCONFIG_H
|
||||||
|
|
||||||
|
|
||||||
/* Define for AIX if your compiler is a genuine IBM xlC/xlC_r and you want
|
/* Define for AIX if your compiler is a genuine IBM xlC/xlC_r and you want
|
||||||
support for AIX C++ shared extension modules. */
|
support for AIX C++ shared extension modules. */
|
||||||
#undef AIX_GENUINE_CPLUSPLUS
|
#undef AIX_GENUINE_CPLUSPLUS
|
||||||
|
@ -852,3 +857,5 @@
|
||||||
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /*Py_PYCONFIG_H*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue