summaryrefslogtreecommitdiffstats
path: root/libtool.m4
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-02-16 03:57:53 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2008-02-16 03:57:53 +0000
commitbb44c9d2df304872a0d6085a452883eefd2492af (patch)
tree9e4c2d131b67e1effd03e0201e63701cfc40723c /libtool.m4
parentc-tree.texi: Use `@.' where appropriate. (diff)
downloadgcc-bb44c9d2df304872a0d6085a452883eefd2492af.tar.gz
gcc-bb44c9d2df304872a0d6085a452883eefd2492af.tar.bz2
gcc-bb44c9d2df304872a0d6085a452883eefd2492af.tar.xz
re PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT' is wrong)
PR libgcj/33085 * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Backport from upstream. libjava/ PR libgcj/33085 * configure: Regenerate. From-SVN: r132362
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/libtool.m4 b/libtool.m4
index ddc4b1189c7..e86cd0249b1 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -3419,7 +3419,8 @@ m4_if([$1], [CXX], [
3419 # built for inclusion in a dll (and should export symbols for example). 3419 # built for inclusion in a dll (and should export symbols for example).
3420 # Although the cygwin gcc ignores -fPIC, still need this for old-style 3420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
3421 # (--disable-auto-import) libraries 3421 # (--disable-auto-import) libraries
3422 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 3422 m4_if([$1], [GCJ], [],
3423 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3423 ;; 3424 ;;
3424 darwin* | rhapsody*) 3425 darwin* | rhapsody*)
3425 # PIC is the default on this platform 3426 # PIC is the default on this platform
@@ -3715,7 +3716,8 @@ m4_if([$1], [CXX], [
3715 # built for inclusion in a dll (and should export symbols for example). 3716 # built for inclusion in a dll (and should export symbols for example).
3716 # Although the cygwin gcc ignores -fPIC, still need this for old-style 3717 # Although the cygwin gcc ignores -fPIC, still need this for old-style
3717 # (--disable-auto-import) libraries 3718 # (--disable-auto-import) libraries
3718 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 3719 m4_if([$1], [GCJ], [],
3720 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3719 ;; 3721 ;;
3720 3722
3721 darwin* | rhapsody*) 3723 darwin* | rhapsody*)
@@ -3791,7 +3793,8 @@ m4_if([$1], [CXX], [
3791 mingw* | cygwin* | pw32* | os2*) 3793 mingw* | cygwin* | pw32* | os2*)
3792 # This hack is so that the source file can tell whether it is being 3794 # This hack is so that the source file can tell whether it is being
3793 # built for inclusion in a dll (and should export symbols for example). 3795 # built for inclusion in a dll (and should export symbols for example).
3794 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 3796 m4_if([$1], [GCJ], [],
3797 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3795 ;; 3798 ;;
3796 3799
3797 hpux9* | hpux10* | hpux11*) 3800 hpux9* | hpux10* | hpux11*)