From c80ac669de390b19b1d12e906becbd8897bcbeb0 Mon Sep 17 00:00:00 2001 From: vsc Date: Sat, 1 Jun 2002 04:01:38 +0000 Subject: [PATCH] fix configure for WIN32 platform git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@506 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- configure | 16 ++++++++-------- configure.in | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/configure b/configure index 539e70e97..1fee9cef0 100755 --- a/configure +++ b/configure @@ -4343,6 +4343,14 @@ DO_SECOND_LD="#" NEWSHOBJ="sobjs" M4="m4" +if test "$dynamic_loading" = "yes" +then + YAP_EXTRAS="$SHLIB_CFLAGS $YAP_EXTRAS" + YAPLIB=libYap"$SHLIB_SUFFIX" +else + YAPLIB="libYap.a" +fi + case $target_os in *linux*) if test $have_dl = yes @@ -4477,14 +4485,6 @@ _ACEOF ;; esac -if test "$dynamic_loading" = "yes" -then - YAP_EXTRAS="$SHLIB_CFLAGS $YAP_EXTRAS" - YAPLIB=libYap"$SHLIB_SUFFIX" -else - YAPLIB="libYap.a" -fi - if test "$coroutining" = "yes" then YAP_EXTRAS="$YAP_EXTRAS -DCOROUTINING=1" diff --git a/configure.in b/configure.in index d2cfee536..2c7155f78 100644 --- a/configure.in +++ b/configure.in @@ -379,6 +379,14 @@ DO_SECOND_LD="#" NEWSHOBJ="sobjs" M4="m4" +if test "$dynamic_loading" = "yes" +then + YAP_EXTRAS="$SHLIB_CFLAGS $YAP_EXTRAS" + YAPLIB=libYap"$SHLIB_SUFFIX" +else + YAPLIB="libYap.a" +fi + case $target_os in *linux*) if test $have_dl = yes @@ -510,14 +518,6 @@ case $target_os in ;; esac -if test "$dynamic_loading" = "yes" -then - YAP_EXTRAS="$SHLIB_CFLAGS $YAP_EXTRAS" - YAPLIB=libYap"$SHLIB_SUFFIX" -else - YAPLIB="libYap.a" -fi - if test "$coroutining" = "yes" then YAP_EXTRAS="$YAP_EXTRAS -DCOROUTINING=1"