]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
authorGary V. Vaughan <gary@gnu.org>
Fri, 15 Sep 2000 02:10:27 +0000 (02:10 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 15 Sep 2000 02:10:27 +0000 (02:10 +0000)
* libtool.m4 (pw32): Initial support for pw32, assuming that
libtool's behaviour in this environment is identical to under
cygwin.
* ltmain.in (pw32): ditto.
* NEWS: Updated.

ChangeLog
NEWS
libtool.m4
ltmain.in

index 5efbc4b67e8ace5a2fb643da02be4a1b2f4aa52e..d9b50cd02a7f5129a5de0fa8203d4ebf9cafed48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2000-09-14  Gary V. Vaughan  <gvv@techie.com>
 
+       From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
+       * libtool.m4 (pw32): Initial support for pw32, assuming that
+       libtool's behaviour in this environment is identical to under
+       cygwin.
+       * ltmain.in (pw32): ditto.
+       * NEWS: Updated.
+       
        * libtool.m4 (changequote): An audit of changequote and m4
        quote usage -- all changequotes (except a few with non-nesting
        square brackets) have been removed.
diff --git a/NEWS b/NEWS
index dd7f65cffbe423421e05097eb6fecaedfb33a841..c4f2bbd0e5429f6d6b0e99026bc585a8a7914915 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,7 @@ New in 1.3d: 2000-??-??; CVS version 1.3c, Libtool team:
 * Improved support for mingw32, Compaq Tru64 V5.0 and Digital Unix V4.*.
 * Initial support for ia64 linux.
 * Initial support for a.out freebsd shared libs.
+* Initial support for Paul Sokolovsky's pw32 POSIX over win32 layer.
 * Many bugfixes (especially in libltdl)
 \f
 New in 1.3.5: 2000-05-27, CVS version 1.3.4a, Libtool team:
index 4afd8d2072a27218f317b7c235266f037a58db23..d73fa697ce053f16740824ae68737a0d4176d6ba 100644 (file)
@@ -112,7 +112,7 @@ case "$host" in
   ;;
 
 ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
-[*-*-cygwin* | *-*-mingw*)
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   AC_CHECK_TOOL(AS, as, false)
   AC_CHECK_TOOL(OBJDUMP, objdump, false)
@@ -134,7 +134,7 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
     AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
       [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
     CFLAGS="$SAVE_CFLAGS" ;;
-  *-*-cygwin*)
+  *-*-cygwin* | *-*-pw32*)
     # cygwin systems need to pass --dll to the linker, and not link
     # crt.o which will require a WinMain@16 definition.
     lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
@@ -455,7 +455,7 @@ AC_CACHE_VAL(ac_cv_prog_cc_pic,
       # we not sure about C++ programs.
       ac_cv_prog_cc_static="$ac_cv_prog_cc_static ${ac_cv_prog_cc_wl}-lC"
       ;;
-    cygwin* | mingw* | os2*)
+    cygwin* | mingw* | pw32* | os2*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       ac_cv_prog_cc_pic='-DDLL_EXPORT'
@@ -496,7 +496,7 @@ AC_CACHE_VAL(ac_cv_prog_cc_pic,
       # PIC (with -KPIC) is the default.
       ;;
 
-    cygwin* | mingw* | os2*)
+    cygwin* | mingw* | pw32* | os2*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       ac_cv_prog_cc_pic='-DDLL_EXPORT'
@@ -790,7 +790,7 @@ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 extract_expsyms_cmds=
 
 case "$host_os" in
-cygwin* | mingw*)
+cygwin* | mingw* | pw32* )
   # FIXME: the MSVC++ port hasn't been tested in a loooong time
   # When not using gcc, we currently assume that we are using
   # Microsoft Visual C++.
@@ -847,7 +847,7 @@ EOF
     fi
     ;;
 
-  cygwin* | mingw*)
+  cygwin* | mingw* | pw32*)
     # hardcode_libdir_flag_spec is actually meaningless, as there is
     # no search path for DLLs.
     hardcode_libdir_flag_spec='-L$libdir'
@@ -971,7 +971,7 @@ EOF
     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
     export_dynamic_flag_spec='${wl}--export-dynamic'
     case $host_os in
-    cygwin* | mingw*)
+    cygwin* | mingw* | pw32*)
       # dlltool doesn't understand --whole-archive et. al.
       whole_archive_flag_spec=
       ;;
@@ -1044,7 +1044,7 @@ else
     ld_shlibs=no
     ;;
 
-  cygwin* | mingw*)
+  cygwin* | mingw* | pw32*)
     # When not using gcc, we currently assume that we are using
     # Microsoft Visual C++.
     # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -1400,7 +1400,7 @@ bsdi4*)
   # libtool to hard-code these into programs
   ;;
 
-cygwin* | mingw*)
+cygwin* | mingw* | pw32*)
   version_type=windows
   need_version=no
   need_lib_prefix=no
@@ -1690,7 +1690,7 @@ case "$host_os" in
 aix*)
   [symcode='[BCDT]']
   ;;
-cygwin* | mingw*)
+cygwin* | mingw* | pw32*)
   [symcode='[ABCDGISTW]']
   ;;
 hpux*) # Its linker distinguishes data from code symbols
@@ -2398,7 +2398,7 @@ EOF
 esac
 
 case "$host_os" in
-cygwin* | mingw* | os2*)
+cygwin* | mingw* | pw32* | os2*)
   cat <<'EOF' >> "$ofile"
     # This is a source program that is used to create dlls on Windows
     # Don't remove nor modify the starting and closing comments
@@ -2928,7 +2928,7 @@ bsdi4*)
   lt_cv_file_magic_test_file=/shlib/libc.so
   ;;
 
-cygwin* | mingw*)
+cygwin* | mingw* | pw32*)
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   lt_cv_file_magic_cmd='${OBJDUMP} -f'
   ;;
@@ -3077,7 +3077,7 @@ AC_DEFUN(AC_CHECK_LIBM,
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case "$host" in
-*-*-beos* | *-*-cygwin*)
+*-*-beos* | *-*-cygwin* | *-*-pw32*)
   # These system don't have libm
   ;;
 *-ncr-sysv4.3*)
index 19ac7f9280e9fd6d7728392d8ead09328080ece0..27d13c287a3a7ae7375c77882dd9b9fb81b49212 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -454,7 +454,7 @@ if test -z "$show_help"; then
 
     # On Cygwin there's no "real" PIC flag so we must build both object types
     case "$host_os" in
-    cygwin* | mingw* | os2*)
+    cygwin* | mingw* | pw32* | os2*)
       pic_mode=default
       ;;
     esac
@@ -710,7 +710,7 @@ compiler."
   link | relink)
     modename="$modename: link"
     case "$host" in
-    *-*-cygwin* | *-*-mingw* | *-*-os2*)
+    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
       # It is impossible to link a dll without this setting, and
       # we shouldn't force the makefile maintainer to figure out
       # which system we are compiling for in order to pass an extra
@@ -1009,7 +1009,7 @@ compiler."
          ;;
        esac
        case "$host" in
-       *-*-cygwin* | *-*-mingw* | *-*-os2*)
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
          case ":$dllsearchpath:" in
          *":$dir:"*) ;;
          *) dllsearchpath="$dllsearchpath:$dir";;
@@ -1022,14 +1022,14 @@ compiler."
       -l*)
        if test "$arg" = "-lc"; then
          case "$host" in
-         *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
            # These systems don't actually have c library (as such)
            continue
            ;;
          esac
        elif test "$arg" = "-lm"; then
          case "$host" in
-         *-*-cygwin* | *-*-beos*)
+         *-*-cygwin* | *-*-pw32* | *-*-beos*)
            # These systems don't actually have math library (as such)
            continue
            ;;
@@ -1051,7 +1051,7 @@ compiler."
 
       -no-install)
        case "$host" in
-       *-*-cygwin* | *-*-mingw* | *-*-os2*)
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
          # The PATH hackery in wrapper scripts is required on Windows
          # in order for the loader to find any dlls it needs.
          $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
@@ -2392,7 +2392,7 @@ compiler."
       if test "$build_libtool_libs" = yes; then
        if test -n "$rpath"; then
          case "$host" in
-         *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
            # these systems don't actually have a c library (as such)!
            ;;
          *)
@@ -3044,7 +3044,7 @@ EOF
          esac
        fi
        case "$host" in
-       *-*-cygwin* | *-*-mingw* | *-*-os2*)
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
          case ":$dllsearchpath:" in
          *":$libdir:"*) ;;
          *) dllsearchpath="$dllsearchpath:$libdir";;
@@ -3584,7 +3584,7 @@ else
        case $host in
        # win32 systems need to use the prog path for dll
        # lookup to work
-       *-*-cygwin*)
+       *-*-cygwin* | *-*-pw32*)
          $echo >> $output "\
       exec \$progdir/\$program \${1+\"\$@\"}
 "