aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2013-04-24 17:53:09 -0700
committerJacob Appelbaum <jacob@appelbaum.net>2013-04-24 17:53:09 -0700
commited10f493152ac28c81f836cd3ba3da04d308ae35 (patch)
tree865a8463bb93b14cad7572118609a474b2edcc0c /m4
parent0fa60007a6d49e0c40b44f3c95d7eb6741cb7a38 (diff)
downloadtlsdate-ed10f493152ac28c81f836cd3ba3da04d308ae35.tar.gz
Make ax_platform consistent in naming of targets
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_platform.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/m4/ax_platform.m4 b/m4/ax_platform.m4
index 1747ca7..6e43ab8 100644
--- a/m4/ax_platform.m4
+++ b/m4/ax_platform.m4
@@ -35,7 +35,7 @@
AS_CASE([$target_os],
[*mingw32*],
- [TARGET_WINDOWS="true"
+ [TARGET_OS_WINDOWS="true"
AC_DEFINE([TARGET_OS_WINDOWS], [1], [Whether we are building for Windows])
AC_DEFINE([WINVER], [WindowsXP], [Version of Windows])
AC_DEFINE([_WIN32_WINNT], [0x0501], [Magical number to make things work])
@@ -48,10 +48,10 @@
#endif
])],
[*cygwin*],
- [TARGET_CYGWIN="true"
+ [TARGET_OS_CYGWIN="true"
AC_DEFINE([TARGET_OS_CYGWIN],[1],[Whether we build for Cygwin])],
[*haiku*],
- [TARGET_HAIKU="true"
+ [TARGET_OS_HAIKU="true"
AC_DEFINE([TARGET_OS_HAIKU],[1],[Whether we build for Haiku])],
[*freebsd*],
[TARGET_OS_FREEBSD="true"
@@ -76,11 +76,11 @@
[TARGET_LINUX="true"
AC_DEFINE([TARGET_OS_LINUX],[1],[Whether we build for Linux])])
- AM_CONDITIONAL([TARGET_WIN32],[test "x${TARGET_WINDOWS}" = "xtrue"])
- AM_CONDITIONAL([TARGET_CYGWIN],[test "x${TARGET_CYGWIN}" = "xtrue"])
- AM_CONDITIONAL([TARGET_HAIKU],[test "x${TARGET_HAIKU}" = "xtrue"])
- AM_CONDITIONAL([TARGET_OSX],[test "x${TARGET_OSX}" = "xtrue"])
- AM_CONDITIONAL([TARGET_LINUX],[test "x${TARGET_LINUX}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_WIN32],[test "x${TARGET_OS_WINDOWS}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_CYGWIN],[test "x${TARGET_OS_CYGWIN}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_HAIKU],[test "x${TARGET_OS_HAIKU}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_OSX],[test "x${TARGET_OS_OSX}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_LINUX],[test "x${TARGET_OS_LINUX}" = "xtrue"])
AM_CONDITIONAL([TARGET_FREEBSD],[test "x${TARGET_OS_FREEBSD}" = "xtrue"])
AM_CONDITIONAL([TARGET_NETBSD],[test "x${TARGET_OS_NETBSD}" = "xtrue"])
AM_CONDITIONAL([TARGET_OPENBSD],[test "x${TARGET_OS_OPENBSD}" = "xtrue"])