Mercurial > hg > octave-lojdl
changeset 1901:527af71a8035
[project @ 1996-02-09 19:35:56 by jwe]
author | jwe |
---|---|
date | Fri, 09 Feb 1996 19:35:56 +0000 |
parents | a3132152a41f |
children | 5e5add0edbf8 |
files | configure.in |
diffstat | 1 files changed, 12 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.162 $) +AC_REVISION($Revision: 1.163 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -314,14 +314,6 @@ WITH_SHL=false) AC_SUBST(WITH_SHL) -if $WITH_DL || $WITH_SHL; then - AC_DEFINE(WITH_DYNAMIC_LINKING, 1) - WITH_DYNAMIC_LINKING=true -else - WITH_DYNAMIC_LINKING=false -fi -AC_SUBST(WITH_DYNAMIC_LINKING) - ### Enable creation of shared libraries. Currently only works with ### gcc on some systems. @@ -693,6 +685,17 @@ AC_DEFINE(WITH_SHL, 1) fi +### Set WITH_DYNAMIC_LINKING after all the other shared library stuff +### has been determined. + +if $WITH_DL || $WITH_SHL; then + AC_DEFINE(WITH_DYNAMIC_LINKING, 1) + WITH_DYNAMIC_LINKING=true +else + WITH_DYNAMIC_LINKING=false +fi +AC_SUBST(WITH_DYNAMIC_LINKING) + ### There is more than one possible prototype for gettimeofday. See ### which one (if any) appears in sys/time.h.