Changeset 4552


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

maemo verbesserte erkennung

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r4106 r4552  
    4343
    4444dnl Check for maemo platform
    45 AX_MAEMO
     45AX_MAEMO_WITH_FIX
    4646
    4747AC_CONFIG_FILES([
  • 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.