fix for shared library build under SGI with native compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-09-20 19:28:20 +00:00
parent 6ee2116be1
commit dd4f7467b2
2 changed files with 341 additions and 338 deletions

670
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2228,9 +2228,10 @@ if test "$wxUSE_SHARED" = "yes"; then
fi fi
dnl the extra compiler flags needed for compilation of shared library dnl the extra compiler flags needed for compilation of shared library
dnl sources, the default is understood by many compilers but not all - for if test "$GCC" = "yes"; then
dnl them we set it specially below dnl the switch for gcc is the same under all platforms
PIC_FLAG="-fPIC" PIC_FLAG="-fPIC"
fi
dnl the command to use for creating the shared library dnl the command to use for creating the shared library
SHARED_LD="${CXX} -shared -o" SHARED_LD="${CXX} -shared -o"
@ -2255,7 +2256,7 @@ if test "$wxUSE_SHARED" = "yes"; then
AC_TRY_COMPILE([], AC_TRY_COMPILE([],
[ [
#ifndef __INTEL_COMPILER #ifndef __INTEL_COMPILER
#error Not icc #error Not icc
#endif #endif
], ],
wx_cv_prog_icc=yes, wx_cv_prog_icc=yes,