From a397c664579b9bce1c2f0e34386d992647aa20fa Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 3 Oct 2019 17:06:56 -0300 Subject: [PATCH] Removing default use of static libipc3270 on windows. --- configure.ac | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 0bbfb34..9f88b39 100644 --- a/configure.ac +++ b/configure.ac @@ -177,24 +177,10 @@ AC_ARG_WITH([static-ipc3270], [ app_cv_static_ipc3270=$withval ],[ - app_cv_static_ipc3270="auto" + app_cv_static_ipc3270="no" ]) -if test "$app_cv_static_ipc3270" == "auto"; then - case "$host" in - *-mingw32|*-pc-msys) - app_cv_static_ipc3270="yes" - ;; - - *) - app_cv_static_ipc3270="no" - - esac - -fi - if test "$app_cv_static_ipc3270" == "yes"; then - LDFLAGS="-static -static-libgcc -static-libstdc++ $LDFLAGS" PKG_CHECK_MODULES( [IPC3270], [ipc3270-static], AC_DEFINE(USING_STATIC_IPC3270), AC_MSG_ERROR([IPC3270 not present.])) else PKG_CHECK_MODULES( [IPC3270], [ipc3270], AC_DEFINE(USING_SHARED_IPC3270), AC_MSG_ERROR([IPC3270 not present.])) -- libgit2 0.21.2