re PR libobjc/30445 (Fix for FIXME in gcc-4_2-branch/libobjc/Makefile.in)
PR libobjc/30445
* configure.ac (extra_ldflags_libobjc): Define appropriately for
Cygwin and MinGW hosts.
* Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
(libobjc.dll): Likewise.
* configure: Regenerate.
From-SVN: r157662
diff --git a/libobjc/configure.ac b/libobjc/configure.ac
index c2d860f..8820edc 100644
--- a/libobjc/configure.ac
+++ b/libobjc/configure.ac
@@ -161,6 +161,10 @@
# Darwin needs -single_module when linking libobjc
extra_ldflags_libobjc=-Wl,-single_module
;;
+ *-cygwin*|*-mingw*)
+ # Tell libtool to build DLLs on Windows
+ extra_ldflags_libobjc='-no-undefined -bindir $(bindir)'
+ ;;
esac
AC_SUBST(extra_ldflags_libobjc)