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