diff options
| author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-29 18:47:39 +0000 |
|---|---|---|
| committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-29 18:47:39 +0000 |
| commit | 83c806347795145d6bb7f908d482b5b77159572e (patch) | |
| tree | 46fa96ad80a481f1995af829be5cf7c0e1c4a8fe /libjava/libltdl/acinclude.m4 | |
| parent | 96710944f937f37eaa4b5ba06880f607acafbe59 (diff) | |
| download | ppe42-gcc-83c806347795145d6bb7f908d482b5b77159572e.tar.gz ppe42-gcc-83c806347795145d6bb7f908d482b5b77159572e.zip | |
2006-03-29 Andreas Tobler <a.tobler@schweiz.ch>
* acinclude.m4: Restore the situation that we don't build modules on
darwin.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/libltdl/acinclude.m4')
| -rw-r--r-- | libjava/libltdl/acinclude.m4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libjava/libltdl/acinclude.m4 b/libjava/libltdl/acinclude.m4 index e3ae5aea4a7..9491c77d670 100644 --- a/libjava/libltdl/acinclude.m4 +++ b/libjava/libltdl/acinclude.m4 @@ -6371,7 +6371,18 @@ AC_DEFUN([AC_LTDL_SHLIBEXT], AC_CACHE_CHECK([which extension is used for loadable modules], [libltdl_cv_shlibext], [ -module=yes +# Here in libltdl for libgcj we don't build modules for darwin. +# So we say no. Then the extension gets .dylib which is the right +# thing for shared libraries on darwin. Please keep me next time you +# import libltdl. +case "$host_os" in +darwin*) + module=no + ;; +*) + module=yes + ;; +esac eval libltdl_cv_shlibext=$shrext_cmds ]) if test -n "$libltdl_cv_shlibext"; then |

