source: m4/ax_maemo.m4@ 5414

Last change on this file since 5414 was 4552, checked in by Christoph Mayer, 15 years ago

maemo verbesserte erkennung

File size: 644 bytes
Line 
1# SYNOPSIS
2#
3# AX_MAEMO()
4#
5# DESCRIPTION
6#
7# Check for Maemo and set specific flags
8#
9# LAST MODIFICATION
10#
11# 2009-06-26
12
13AC_DEFUN([AX_MAEMO],
14[
15 AC_MSG_CHECKING([for maemo platform])
16
17 if test "$host" = "arm-unknown-linux-gnu" ; then
18 AC_MSG_RESULT(yes)
19 AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
20 else
21 AC_MSG_RESULT(no)
22 fi
23])
24
25AC_DEFUN([AX_MAEMO_WITH_FIX],
26[
27 AC_MSG_CHECKING([for maemo platform])
28
29 if test "$host" = "arm-unknown-linux-gnu" ; then
30 AC_MSG_RESULT(yes)
31 LDFLAGS="$LDFLAGS -Wl,-zmuldefs"
32 AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
33 else
34 AC_MSG_RESULT(no)
35 fi
36])
Note: See TracBrowser for help on using the repository browser.