ltest files from bakefile add HP aCC dependencies support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-10-07 15:39:34 +00:00
parent ae0fbceefa
commit 14cde5136d
2 changed files with 19 additions and 2 deletions

View File

@ -133,6 +133,17 @@ AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX],
_AC_BAKEFILE_LANG_COMPILER(Intel, C++, __INTEL_COMPILER, INTELCXX=yes)
])
dnl HP-UX aCC: see http://docs.hp.com/en/6162/preprocess.htm#macropredef
AC_DEFUN([AC_BAKEFILE_PROG_HPCC],
[
_AC_BAKEFILE_LANG_COMPILER(HP, C, __HP_cc, HPCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_HPCXX],
[
_AC_BAKEFILE_LANG_COMPILER(HP, C++, __HP_aCC, HPCXX=yes)
])
dnl ===========================================================================
dnl macros to detect specialty compiler options
dnl ===========================================================================
@ -192,6 +203,7 @@ AC_DEFUN([AC_BAKEFILE_PROG_CC],
AC_BAKEFILE_PROG_XLCC
AC_BAKEFILE_PROG_SGICC
AC_BAKEFILE_PROG_SUNCC
AC_BAKEFILE_PROG_HPCC
fi
])
@ -210,6 +222,7 @@ AC_DEFUN([AC_BAKEFILE_PROG_CXX],
AC_BAKEFILE_PROG_XLCXX
AC_BAKEFILE_PROG_SGICXX
AC_BAKEFILE_PROG_SUNCXX
AC_BAKEFILE_PROG_HPCXX
fi
])

View File

@ -543,6 +543,10 @@ AC_DEFUN([AC_BAKEFILE_DEPS],
DEPSMODE=unixcc
DEPSFLAG="-M"
AC_MSG_RESULT([SGI cc])
elif test "x$HPCC" = "xyes"; then
DEPSMODE=unixcc
DEPSFLAG="+make"
AC_MSG_RESULT([HP cc])
else
DEPS_TRACKING=0
AC_MSG_RESULT([none])