Mercurial > hg > octave-shane
changeset 7266:b42f8f3527a5
[project @ 2007-12-06 22:05:23 by jwe]
author | jwe |
---|---|
date | Thu, 06 Dec 2007 22:05:23 +0000 |
parents | 7da4a5262e2e |
children | 9c6e93b7a3f7 |
files | ChangeLog configure.in |
diffstat | 2 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-06 John W. Eaton <jwe@octave.org> + + * configure.in (*-*-darwin*): Only set CPICFLAG, CXXPICFLAG, and + FPICFLAG to "" on powerpc systems. + 2007-12-04 John W. Eaton <jwe@octave.org> * octave-bug.in (LIBDLFCN): Delete variable and all uses.
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.600 $) +AC_REVISION($Revision: 1.601 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -989,9 +989,13 @@ DL_LDFLAGS='-bundle -bundle_loader $(TOPDIR)/src/octave $(LDFLAGS)' MKOCTFILE_DL_LDFLAGS='-bundle -bundle_loader $$BINDIR/octave-$$OCTAVE_VERSION$$EXEEXT' SH_LDFLAGS='-dynamiclib -single_module $(LDFLAGS)' - CXXPICFLAG= - CPICFLAG= - FPICFLAG= + case "$canonical_host_type" in + powerpc-*) + CXXPICFLAG= + CPICFLAG= + FPICFLAG= + ;; + esac SHLEXT=dylib SHLLIB='$(SHLEXT)' SHLEXT_VER='$(version).$(SHLEXT)'