summaryrefslogtreecommitdiff
path: root/libobjc/configure
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2010-03-23 05:05:35 +0000
committerDave Korn <davek@gcc.gnu.org>2010-03-23 05:05:35 +0000
commit1922295935280633da068157c633c3e4cf0cb209 (patch)
tree001ab977795e25f5b8478f231054b6d12b5f139a /libobjc/configure
parentd79238bcd68bdd31b9ce890840b79760e8a4eac5 (diff)
downloadgcc-1922295935280633da068157c633c3e4cf0cb209.tar.gz
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
Diffstat (limited to 'libobjc/configure')
-rwxr-xr-xlibobjc/configure10
1 files changed, 7 insertions, 3 deletions
diff --git a/libobjc/configure b/libobjc/configure
index 123780a8fa1..1dfcb31bd21 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -3321,6 +3321,10 @@ case "${host}" in
# 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
@@ -10562,7 +10566,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10565 "configure"
+#line 10569 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10668,7 +10672,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10671 "configure"
+#line 10675 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11242,7 +11246,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then :
enableval=$enable_sjlj_exceptions; :
else
cat > conftest.$ac_ext << EOF
-#line 11245 "configure"
+#line 11249 "configure"
@interface Frob
@end
@implementation Frob