From: Vadim Zeitlin Date: Fri, 22 Jun 2007 14:25:10 +0000 (+0000) Subject: test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/15e5ef78ae8f0815ec0a5e4ecf9c9d4fa0845ff4 test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/aclocal/bakefile-lang.m4 b/build/aclocal/bakefile-lang.m4 index 9e47b06b74..aa65a860dd 100644 --- a/build/aclocal/bakefile-lang.m4 +++ b/build/aclocal/bakefile-lang.m4 @@ -1,5 +1,5 @@ dnl -dnl This file is part of Bakefile (http://bakefile.sourceforge.net) +dnl This file is part of Bakefile (http://www.bakefile.org) dnl dnl Copyright (C) 2003-2007 Vaclav Slavik, David Elliott and others dnl @@ -228,7 +228,12 @@ dnl _AC_BAKEFILE_PROG_COMPILER(LANG) AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER], [ AC_PROG_$1 + + dnl Intel compiler can be used under several different OS and even + dnl different architectures (x86, amd64 and Itanium) so it's easier to just + dnl always test for it AC_BAKEFILE_PROG_INTEL$1 + dnl if we're using gcc, we can't be using any of incompatible compilers if test "x$G$1" != "xyes"; then if test "x$1" = "xC"; then @@ -255,6 +260,11 @@ AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER], AC_BAKEFILE_PROG_SGI$1 ;; + Linux*) + dnl Sun CC is now available under Linux too + AC_BAKEFILE_PROG_SUN$1 + ;; + HP-UX*) AC_BAKEFILE_PROG_HP$1 ;;