Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b51033d

Browse files
committed
Patch #551093: Let cygwin default to --enable-shared.
1 parent bfc18bd commit b51033d

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

configure

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.311 .
2+
# From configure.in Revision: 1.313 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53.
55
#
@@ -3070,7 +3070,12 @@ fi;
30703070
30713071
if test -z "$enable_shared"
30723072
then
3073-
enable_shared="no"
3073+
case $ac_sys_system in
3074+
CYGWIN*)
3075+
enable_shared="yes";;
3076+
*)
3077+
enable_shared="no";;
3078+
esac
30743079
fi
30753080
echo "$as_me:$LINENO: result: $enable_shared" >&5
30763081
echo "${ECHO_T}$enable_shared" >&6

configure.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,12 @@ AC_ARG_ENABLE(shared,
337337

338338
if test -z "$enable_shared"
339339
then
340-
enable_shared="no"
340+
case $ac_sys_system in
341+
CYGWIN*)
342+
enable_shared="yes";;
343+
*)
344+
enable_shared="no";;
345+
esac
341346
fi
342347
AC_MSG_RESULT($enable_shared)
343348

0 commit comments

Comments
 (0)