comparison ltconfig @ 260:716ab2549f78

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 26 Dec 2001 17:50:58 +0000
parents 041cd6816a05
children 469d5c0da01d
comparison
equal deleted inserted replaced
259:80b647695abd 260:716ab2549f78
499 echo "$ac_t$result" 1>&6 499 echo "$ac_t$result" 1>&6
500 fi 500 fi
501 501
502 if test -n "$RANLIB"; then 502 if test -n "$RANLIB"; then
503 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 503 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
504 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" 504 case "$host_os" in
505 openbsd*)
506 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
507 ;;
508 *)
509 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
510 ;;
511 esac
505 fi 512 fi
506 513
507 # Set sane defaults for `DLLTOOL', `OBJDUMP', and `AS', used on cygwin. 514 # Set sane defaults for `DLLTOOL', `OBJDUMP', and `AS', used on cygwin.
508 test -z "$DLLTOOL" && DLLTOOL=dlltool 515 test -z "$DLLTOOL" && DLLTOOL=dlltool
509 test -z "$OBJDUMP" && OBJDUMP=objdump 516 test -z "$OBJDUMP" && OBJDUMP=objdump
1442 ;; 1449 ;;
1443 1450
1444 openbsd*) 1451 openbsd*)
1445 hardcode_direct=yes 1452 hardcode_direct=yes
1446 hardcode_shlibpath_var=no 1453 hardcode_shlibpath_var=no
1447 case "$host_os" in 1454 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.
1455 8-powerpc"; then
1456 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
1457 hardcode_libdir_flag_spec='${wl}-R$libdir'
1458 export_dynamic_flag_spec='${wl}-E'
1459 else
1460 case "$host_os" in
1448 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 1461 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1449 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' 1462 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
1450 hardcode_libdir_flag_spec='-R$libdir' 1463 hardcode_libdir_flag_spec='-R$libdir'
1451 ;; 1464 ;;
1452 *) 1465 *)
1453 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts' 1466 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
1454 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 1467 hardcode_libdir_flag_spec='${wl}-R$libdir'
1455 if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1468 ;;
1456 export_dynamic_flag_spec='${wl}-E' 1469 esac
1457 fi 1470 fi
1458 ;;
1459 esac
1460 ;; 1471 ;;
1461 1472
1462 os2*) 1473 os2*)
1463 hardcode_libdir_flag_spec='-L$libdir' 1474 hardcode_libdir_flag_spec='-L$libdir'
1464 hardcode_minus_L=yes 1475 hardcode_minus_L=yes
2081 2092
2082 openbsd*) 2093 openbsd*)
2083 version_type=sunos 2094 version_type=sunos
2084 need_lib_prefix=no 2095 need_lib_prefix=no
2085 need_version=no 2096 need_version=no
2097 sys_lib_search_path_spec="/usr/lib"
2098 sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
2086 file_magic_cmd=/usr/bin/file 2099 file_magic_cmd=/usr/bin/file
2087 file_magic_test_file=`echo /usr/lib/libc.so.*` 2100 file_magic_test_file=`echo /usr/lib/libc.so.*`
2088 if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 2101 if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2089 deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 2102 deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
2090 shlibpath_overrides_runpath=no 2103 case "$host_os" in
2104 openbsd2.[89] | openbsd2.[89].*)
2105 shlibpath_overrides_runpath=no
2106 ;;
2107 *)
2108 shlibpath_overrides_runpath=yes
2109 ;;
2110 esac
2091 else 2111 else
2092 deplibs_check_method='file_magic OpenBSD.* shared library' 2112 deplibs_check_method='file_magic OpenBSD.* shared library'
2093 shlibpath_overrides_runpath=yes 2113 shlibpath_overrides_runpath=yes
2094 fi 2114 fi
2095 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' 2115 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'