Commit 41d9bb2f authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r7139] Add the default shared library type for some more platforms.

Reviewed by goodell.
parent f4accdb7
......@@ -83,6 +83,8 @@ if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
AS_CASE([$host],
[*-*-darwin*], [enable_sharedlibs=gcc-osx],
[*-*-cygwin*|*-*-mingw*|*-*-pw32*|*-*-cegcc*], [enable_sharedlibs=cygwin-gcc],
[*-*-sunos*], [enable_sharedlibs=solaris-gcc],
[enable_sharedlibs=gcc])
else
enable_sharedlibs=none
......
......@@ -83,6 +83,8 @@ if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
AS_CASE([$host],
[*-*-darwin*], [enable_sharedlibs=gcc-osx],
[*-*-cygwin*|*-*-mingw*|*-*-pw32*|*-*-cegcc*], [enable_sharedlibs=cygwin-gcc],
[*-*-sunos*], [enable_sharedlibs=solaris-gcc],
[enable_sharedlibs=gcc])
else
enable_sharedlibs=none
......
......@@ -83,6 +83,8 @@ if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
AS_CASE([$host],
[*-*-darwin*], [enable_sharedlibs=gcc-osx],
[*-*-cygwin*|*-*-mingw*|*-*-pw32*|*-*-cegcc*], [enable_sharedlibs=cygwin-gcc],
[*-*-sunos*], [enable_sharedlibs=solaris-gcc],
[enable_sharedlibs=gcc])
else
enable_sharedlibs=none
......
......@@ -83,6 +83,8 @@ if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
AS_CASE([$host],
[*-*-darwin*], [enable_sharedlibs=gcc-osx],
[*-*-cygwin*|*-*-mingw*|*-*-pw32*|*-*-cegcc*], [enable_sharedlibs=cygwin-gcc],
[*-*-sunos*], [enable_sharedlibs=solaris-gcc],
[enable_sharedlibs=gcc])
else
enable_sharedlibs=none
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment