We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ece86b2 commit fab634cCopy full SHA for fab634c
1 file changed
configure.ac
@@ -7,7 +7,7 @@ LT_PREREQ([2.2.4])
7
AC_CANONICAL_SYSTEM
8
9
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip foreign subdir-objects parallel-tests color-tests])
10
-LT_INIT
+LT_INIT([shared static])
11
AC_CONFIG_MACRO_DIR([m4])
12
13
AC_PROG_CC
@@ -45,6 +45,17 @@ AC_ARG_ENABLE([gcov],
45
],
46
[])
47
48
+AC_MSG_CHECKING([if libtool needs -no-undefined flag to build shared libraries])
49
+case "`uname`" in
50
+ CYGWIN*|MINGW*|AIX*)
51
+ AC_MSG_RESULT([yes])
52
+ LDFLAGS="$LDFLAGS -no-undefined"
53
+ ;;
54
+ *)
55
+ AC_MSG_RESULT([no])
56
57
+esac
58
+
59
AC_CONFIG_HEADERS([src/config.h])
60
AC_CONFIG_FILES([Makefile check/Makefile])
61
0 commit comments