From 8137680704e1d2b81a0b7fef84c5e954369b6231 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 6 Apr 1999 15:50:51 +0000 Subject: [PATCH] For BeOS PowerPC. Chris Herborth. --- acconfig.h | 3 +++ config.h.in | 3 +++ configure | 4 ++-- configure.in | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/acconfig.h b/acconfig.h index 4270574d9b..feddb31e7f 100644 --- a/acconfig.h +++ b/acconfig.h @@ -20,6 +20,9 @@ /* Used for BeOS configuration */ #undef DL_EXPORT_HEADER +#ifdef DL_EXPORT_HEADER +#include DL_EXPORT_HEADER +#endif /* Define if getpgrp() must be called as getpgrp(0). */ #undef GETPGRP_HAVE_ARG diff --git a/config.h.in b/config.h.in index 0dc3f47c71..de225074fb 100644 --- a/config.h.in +++ b/config.h.in @@ -81,6 +81,9 @@ /* Used for BeOS configuration */ #undef DL_EXPORT_HEADER +#ifdef DL_EXPORT_HEADER +#include DL_EXPORT_HEADER +#endif /* Define if getpgrp() must be called as getpgrp(0). */ #undef GETPGRP_HAVE_ARG diff --git a/configure b/configure index 7442e30321..3928dcfe23 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.101 +# From configure.in Revision: 1.102 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -690,7 +690,7 @@ else case $BE_HOST_CPU in ppc) - CC="mwcc -I$PWD/BeOS" + CC="mwcc -I$PWD/BeOS -nodup" without_gcc=yes case `uname -r` in 4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;; diff --git a/configure.in b/configure.in index fbb7f02f78..2fc3d8e1b3 100644 --- a/configure.in +++ b/configure.in @@ -118,7 +118,7 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [ case $BE_HOST_CPU in ppc) - CC="mwcc -I$PWD/BeOS" + CC="mwcc -I$PWD/BeOS -nodup" without_gcc=yes case `uname -r` in 4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;; -- 2.40.0