Mercurial > hg > octave-shane
changeset 9172:cd68431b395a
configure.in: shared library fixes for AIX and HPUX
author | Peter O'Gorman <pogma@thewrittenword.com> |
---|---|
date | Mon, 04 May 2009 15:47:05 -0400 |
parents | 7500cfff4728 |
children | 224634b2e6e3 |
files | ChangeLog configure.in |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-05-04 Peter O'Gorman <pogma@thewrittenword.com> + * configure.in (rs6000-ibm-aix* | powerpc-ibm-aix*): Set + library_path_var to LIBPATH. + (hppa*-hp-hpux*): Set library_path_var to SHLIB_PATH. + (ia64*-hp-hpux*): New case for shared library variables. + * configure.in: Provide decls for exp2, round, and tgamma if they are missing.
--- a/configure.in +++ b/configure.in @@ -1316,6 +1316,7 @@ CPICFLAG= CXXPICFLAG= FPICFLAG= + library_path_var=LIBPATH ;; hppa*-hp-hpux*) if test "$ac_cv_f77_compiler_gnu" = yes; then @@ -1326,6 +1327,16 @@ SHLEXT=sl SH_LDFLAGS="-shared -fPIC" RLD_FLAG='-Wl,+b -Wl,$(octlibdir)' + library_path_var=SHLIB_PATH + ;; + ia64*-hp-hpux*) + if test "$ac_cv_f77_compiler_gnu" = yes; then + FPICFLAG=-fPIC + else + FPICFLAG=+Z + fi + SH_LDFLAGS="-shared -fPIC" + RLD_FLAG='-Wl,+b -Wl,$(octlibdir)' ;; *-sgi-*) CPICFLAG=