Last change
on this file since 4850 was 4552, checked in by Christoph Mayer, 15 years ago |
maemo verbesserte erkennung
|
File size:
644 bytes
|
Rev | Line | |
---|
[4104] | 1 | # SYNOPSIS
|
---|
| 2 | #
|
---|
| 3 | # AX_MAEMO()
|
---|
| 4 | #
|
---|
| 5 | # DESCRIPTION
|
---|
| 6 | #
|
---|
| 7 | # Check for Maemo and set specific flags
|
---|
| 8 | #
|
---|
| 9 | # LAST MODIFICATION
|
---|
| 10 | #
|
---|
[4552] | 11 | # 2009-06-26
|
---|
[4104] | 12 |
|
---|
| 13 | AC_DEFUN([AX_MAEMO],
|
---|
| 14 | [
|
---|
[4124] | 15 | AC_MSG_CHECKING([for maemo platform])
|
---|
[4104] | 16 |
|
---|
| 17 | if test "$host" = "arm-unknown-linux-gnu" ; then
|
---|
| 18 | AC_MSG_RESULT(yes)
|
---|
[4552] | 19 | AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
|
---|
| 20 | else
|
---|
| 21 | AC_MSG_RESULT(no)
|
---|
| 22 | fi
|
---|
| 23 | ])
|
---|
| 24 |
|
---|
| 25 | AC_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)
|
---|
[4106] | 31 | LDFLAGS="$LDFLAGS -Wl,-zmuldefs"
|
---|
[4552] | 32 | AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
|
---|
[4104] | 33 | else
|
---|
| 34 | AC_MSG_RESULT(no)
|
---|
| 35 | fi
|
---|
| 36 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.