diff options
author | Guido van Rossum <guido@python.org> | 1999-01-12 20:30:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-12 20:30:23 (GMT) |
commit | 7a5f420e675cf7dcb88bf052b951d5ef946fac5b (patch) | |
tree | 88dfb56518e5709079e978b26626af9dec72dcef /configure.in | |
parent | 0039d7b4e6f07411f788dbcb52cd05d26fc7fec5 (diff) | |
download | cpython-7a5f420e675cf7dcb88bf052b951d5ef946fac5b.zip cpython-7a5f420e675cf7dcb88bf052b951d5ef946fac5b.tar.gz cpython-7a5f420e675cf7dcb88bf052b951d5ef946fac5b.tar.bz2 |
Chris Herborth's first pass at making config and install
for BeOS better.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 0ff6717..4b78779 100644 --- a/configure.in +++ b/configure.in @@ -107,8 +107,40 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [ case $ac_sys_system in OSF1) CC=cc without_gcc=;; - BeOS*) CC=cc - without_gcc=;; + BeOS*) + # Dunno if it's a good idea to get this over with all at once, or + # to handle it in with the other goodies. + MACHDEP=beos + + case $BE_HOST_CPU in + ppc) + CC="mwcc -I$PWD/BeOS" + without_gcc=yes + OPT="-DUSE_DL_EXPORT -O7 -opt schedule604" + CCSHARED=-UUSE_DL_EXPORT + LDFLAGS="$LDFLAGS -nodup" + + AR="$PWD/BeOS/ar-fake" + RANLIB=: + + AC_DEFINE(DL_EXPORT_HEADER,"dl_export.h") + ;; + x86) + CC="gcc -I$PWD/BeOS" + without_gcc=no + OPT="-DUSE_DL_EXPORT -O3 -mpentiumpro" + CCSHARED=-UUSE_DL_EXPORT + + AR="$PWD/BeOS/ar-fake" + RANLIB=: + + AC_DEFINE(DL_EXPORT_HEADER,"dl_export.h") + ;; + *) + AC_ERROR(Your BeOS system isn't PowerPC or x86... neat, but this won't work...) + ;; + esac + ;; *) without_gcc=no;; esac]) AC_MSG_RESULT($without_gcc) |