changeset 3763:6bec10770466

static import libraries on Win32/BeOS/etc (-Wl,--out-implib) and dynamic import libraries (POSIX) are no longer needed.
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 21:56:49 -0500
parents a1039487bf3f
children 4db0817319c0
files configure.ac m4/buildsys.m4
diffstat 2 files changed, 1 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sun Oct 14 21:51:09 2007 -0500
+++ b/configure.ac	Sun Oct 14 21:56:49 2007 -0500
@@ -157,11 +157,7 @@
 dnl Ok, first we find out what flags we need to use.
 BUILDSYS_PROG_IMPLIB
 BUILDSYS_SHARED_LIB
-if test x"$PROG_IMPLIB_NEEDED" = x"yes"; then
-	IMPLIB_LIBS='-L../audacious -laudacious.exe'
-else
-	IMPLIB_LIBS=''
-fi
+IMPLIB_LIBS=''
 AC_SUBST(IMPLIB_LIBS)
 
 dnl XXX
@@ -177,13 +173,10 @@
 		LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Carbon"
 		;;
 	*)
-		EXPORTDYN="-Wl,-export-dynamic"
 		AC_MSG_RESULT([no])
 		;;
 esac
 
-AC_SUBST(EXPORTDYN)
-
 dnl chardet support
 dnl ========================
 AC_ARG_ENABLE(chardet,
--- a/m4/buildsys.m4	Sun Oct 14 21:51:09 2007 -0500
+++ b/m4/buildsys.m4	Sun Oct 14 21:56:49 2007 -0500
@@ -21,11 +21,6 @@
 AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
 	AC_MSG_CHECKING(whether we need an implib)
 	case "$target" in
-		*-*-cygwin | *-*-mingw32)
-			AC_MSG_RESULT(yes)
-			PROG_IMPLIB_NEEDED='yes'
-			PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
-			;;
 		*)
 			AC_MSG_RESULT(no)
 			PROG_IMPLIB_NEEDED='no'