From c1bf51b8e23c9f2d8d3147fe259a77b8f202e71a Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Tue, 4 Mar 2014 16:23:30 -0800 Subject: Tell Windows users to build with '--disable-shared' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As detailed in GitHub issue #1, attempting to build ppamltracer as a shared library on Cygwin fails. I believed commit bfc92ba (‘autotools: Don’t build DLLs on Cygwin by default’) fixed this; it does, but it also disables shared library building on non-Cygwin systems. We need to do a release, so this bug is getting deferred until later; for the time being, the documented workaround is to pass '--disable-shared' to 'configure'. --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3933d8b..8b3ce7e 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,6 @@ # Fire up Autoconf. AC_PREREQ([2.69]) AC_INIT([ppamltracer], [0.1.0], [bbarenblat@galois.com]) -AC_CANONICAL_TARGET # Fire up Automake. Use ustar format because we actually have file names # longer than 99 characters (hooray, Java). @@ -32,19 +31,13 @@ AC_CONFIG_MACRO_DIR([m4]) # Build quietly. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -# Build C. +# Build a C library. AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) AC_PROG_CC AC_PROG_CC_C99 # Automake 1.12 seems to require this, but automake 1.11 doesn't recognize it. m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - -# Build a library. On Cygwin, libotf does not build DLLs, so make ppamltracer -# also not build DLLs. -if test "$target_os" = "cygwin"; then - AC_DISABLE_SHARED -fi LT_INIT # Dependencies -- cgit v1.2.3