Changeset 4552 for m4


Ignore:
Timestamp:
Jun 26, 2009, 1:17:28 PM (16 years ago)
Author:
Christoph Mayer
Message:

maemo verbesserte erkennung

File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/ax_maemo.m4

    r4124 r4552  
    99# LAST MODIFICATION
    1010#
    11 #   2009-06-15
     11#   2009-06-26
    1212
    1313AC_DEFUN([AX_MAEMO],
     
    1717        if test "$host" = "arm-unknown-linux-gnu" ; then
    1818                AC_MSG_RESULT(yes)
    19                 LDFLAGS="$LDFLAGS -Wl,-zmuldefs"
     19                AC_DEFINE(HAVE_MAEMO, [1], "Define to 1 for the Maemo platform")
    2020        else
    2121                AC_MSG_RESULT(no)
    2222        fi
    2323])
     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 TracChangeset for help on using the changeset viewer.