Mercurial > hg > octave-lyh
diff configure.in @ 2611:4474b4cf6cf6
[project @ 1997-01-20 19:04:00 by jwe]
author | jwe |
---|---|
date | Mon, 20 Jan 1997 19:04:00 +0000 (1997-01-20) |
parents | 8125b6f9c134 |
children | e2f1586bb393 |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -21,7 +21,7 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -AC_REVISION($Revision: 1.245 $) +AC_REVISION($Revision: 1.246 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -409,14 +409,26 @@ RLD_FLAG='-Xlinker +b -Xlinker $(libdir)' ;; *-sgi-*) - FPICFLAG=-KPIC + if $use_g77; then + FPICFLAG=-fPIC + else + FPICFLAG=-KPIC + fi ;; sparc-sun-sunos4*) - FPICFLAG=-PIC + if $use_g77; then + FPICFLAG=-fPIC + else + FPICFLAG=-PIC + fi RLD_FLAG='-L$(libdir)' ;; sparc-sun-solaris2*) - FPICFLAG=-PIC + if $use_g77; then + FPICFLAG=-fPIC + else + FPICFLAG=-PIC + fi RLD_FLAG='-Xlinker -R -Xlinker $(libdir)' ;; esac