Commit a397c664579b9bce1c2f0e34386d992647aa20fa
1 parent
35ab9f37
Exists in
master
Removing default use of static libipc3270 on windows.
Showing
1 changed file
with
1 additions
and
15 deletions
Show diff stats
configure.ac
| ... | ... | @@ -177,24 +177,10 @@ AC_ARG_WITH([static-ipc3270], |
| 177 | 177 | [ |
| 178 | 178 | app_cv_static_ipc3270=$withval |
| 179 | 179 | ],[ |
| 180 | - app_cv_static_ipc3270="auto" | |
| 180 | + app_cv_static_ipc3270="no" | |
| 181 | 181 | ]) |
| 182 | 182 | |
| 183 | -if test "$app_cv_static_ipc3270" == "auto"; then | |
| 184 | - case "$host" in | |
| 185 | - *-mingw32|*-pc-msys) | |
| 186 | - app_cv_static_ipc3270="yes" | |
| 187 | - ;; | |
| 188 | - | |
| 189 | - *) | |
| 190 | - app_cv_static_ipc3270="no" | |
| 191 | - | |
| 192 | - esac | |
| 193 | - | |
| 194 | -fi | |
| 195 | - | |
| 196 | 183 | if test "$app_cv_static_ipc3270" == "yes"; then |
| 197 | - LDFLAGS="-static -static-libgcc -static-libstdc++ $LDFLAGS" | |
| 198 | 184 | PKG_CHECK_MODULES( [IPC3270], [ipc3270-static], AC_DEFINE(USING_STATIC_IPC3270), AC_MSG_ERROR([IPC3270 not present.])) |
| 199 | 185 | else |
| 200 | 186 | PKG_CHECK_MODULES( [IPC3270], [ipc3270], AC_DEFINE(USING_SHARED_IPC3270), AC_MSG_ERROR([IPC3270 not present.])) | ... | ... |