]> granicus.if.org Git - sudo/commitdiff
OpenBSD vax/m88k/hppa don't do shared libs
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jan 2004 18:15:54 +0000 (18:15 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Jan 2004 18:15:54 +0000 (18:15 +0000)
acsite.m4

index 8e8d8aff832aeec0074870dfbc3483c6b29e083d..c90b5df7535cdb70c6c6682bb3e6865c80f7a894 100644 (file)
--- a/acsite.m4
+++ b/acsite.m4
@@ -5415,24 +5415,31 @@ EOF
       ;;
 
     openbsd*)
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-      else
-       case $host_os in
-        openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
-          _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-          ;;
-        *)
-          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-          ;;
-       esac
-      fi
+      case "$host_cpu" in
+       m88k|hppa|vax)
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
+         ;;
+       *)
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+           _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+         else
+           case $host_os in
+             openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+               _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+               _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+               ;;
+             *)
+               _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+               _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+               ;;
+           esac
+         fi
+          ;;
+      esac
       ;;
 
     os2*)