diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2006-03-29 20:47:39 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-03-29 20:47:39 +0200 |
commit | 94a0c1fc2aae1972db50e2611595c5f063cc19ea (patch) | |
tree | 46fa96ad80a481f1995af829be5cf7c0e1c4a8fe /libjava/libltdl | |
parent | d31db22f5b4a269286dec288544fb805094152ee (diff) | |
download | gcc-94a0c1fc2aae1972db50e2611595c5f063cc19ea.zip gcc-94a0c1fc2aae1972db50e2611595c5f063cc19ea.tar.gz gcc-94a0c1fc2aae1972db50e2611595c5f063cc19ea.tar.bz2 |
acinclude.m4: Restore the situation that we don't build modules on darwin.
2006-03-29 Andreas Tobler <a.tobler@schweiz.ch>
* acinclude.m4: Restore the situation that we don't build modules on
darwin.
* configure: Regenerated.
From-SVN: r112503
Diffstat (limited to 'libjava/libltdl')
-rw-r--r-- | libjava/libltdl/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/libltdl/acinclude.m4 | 13 | ||||
-rwxr-xr-x | libjava/libltdl/configure | 15 |
3 files changed, 31 insertions, 3 deletions
diff --git a/libjava/libltdl/ChangeLog b/libjava/libltdl/ChangeLog index 9fad06b..eb555d7 100644 --- a/libjava/libltdl/ChangeLog +++ b/libjava/libltdl/ChangeLog @@ -1,3 +1,9 @@ +2006-03-29 Andreas Tobler <a.tobler@schweiz.ch> + + * acinclude.m4: Restore the situation that we don't build modules on + darwin. + * configure: Regenerated. + 2006-03-28 Tom Tromey <tromey@redhat.com> PR libgcj/26441: diff --git a/libjava/libltdl/acinclude.m4 b/libjava/libltdl/acinclude.m4 index e3ae5ae..9491c77 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 diff --git a/libjava/libltdl/configure b/libjava/libltdl/configure index 3c89816..6d98323 100755 --- a/libjava/libltdl/configure +++ b/libjava/libltdl/configure @@ -20450,7 +20450,18 @@ if test "${libltdl_cv_shlibext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -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 fi @@ -21300,7 +21311,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 21303 "configure" +#line 21314 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |