Fix to detection of gcc version on OS/2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-10-05 12:43:05 +00:00
parent 940420dc8d
commit 919517072d

View File

@@ -1366,8 +1366,6 @@ dnl ---------------------------------------------------------------------------
dnl (OS/2-only piece)
case "${host}" in
*-pc-os2_emx | *-pc-os2-emx )
dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++".
LIBS="$LIBS -lstdcpp"
if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
dnl More complete Unix emulation for unix-like ports
dnl by linking in POSIX/2's cExt (if available).
@@ -1377,7 +1375,7 @@ case "${host}" in
RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
fi
AC_CACHE_CHECK([for gcc 3 or later], wx_cv_gcc3,[
AC_TRY_COMPILE([#include <features.h>],
AC_TRY_COMPILE([],
[
#if (__GNUC__ < 3)
#error old gcc