4
4
dnl with or without modifications, as long as this notice is preserved.
6
6
dnl Which version of the canonical setup we're using
7
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.25])
7
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.27])
9
9
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
10
10
dnl Force dependency tracking on for Sun Studio builds
73
73
AS_IF([test "$GCC" = "yes"], PANDORA_ENSURE_GCC_VERSION)
76
dnl Canonicalize the configuration name.
78
AC_DEFINE_UNQUOTED([HOST_VENDOR], ["$host_vendor"],[Vendor of Build System])
79
AC_DEFINE_UNQUOTED([HOST_OS], ["$host_os"], [OS of Build System])
80
AC_DEFINE_UNQUOTED([HOST_CPU], ["$host_cpu"], [CPU of Build System])
82
AC_DEFINE_UNQUOTED([TARGET_VENDOR], ["$target_vendor"],[Vendor of Target System])
83
AC_DEFINE_UNQUOTED([TARGET_OS], ["$target_os"], [OS of Target System])
84
AC_DEFINE_UNQUOTED([TARGET_CPU], ["$target_cpu"], [CPU of Target System])
90
AC_SUBST(TARGET_LINUX)
91
AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
96
AC_DEFINE([TARGET_OS_OSX], [1], [Whether we build for OSX])
100
AC_SUBST(TARGET_SOLARIS)
101
AC_DEFINE([TARGET_OS_SOLARIS], [1], [Whether we are building for Solaris])
104
TARGET_FREEBSD="true"
105
AC_SUBST(TARGET_FREEBSD)
106
AC_DEFINE([TARGET_OS_FREEBSD], [1], [Whether we are building for FreeBSD])
107
AC_DEFINE([__APPLE_CC__],[1],[Workaround for bug in FreeBSD headers])
114
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
115
AC_CHECK_DECL([__ICC], [INTELCC="yes"], [INTELCC="no"])
117
AS_IF([test "x$INTELCC" = "xyes"], [enable_rpath=no])