Changeset 1370:275fd07bf923 in mediastreamer2 for configure.ac


Ignore:
Timestamp:
Apr 7, 2011 5:34:35 PM (2 years ago)
Author:
Simon Morlat <simon.morlat@…>
Branch:
default
Message:

windows build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r1344 r1370  
    8181 
    8282AC_SUBST([LIBTOOL_DEPS]) 
    83  
    84 dnl localization tools 
    85 IT_PROG_INTLTOOL([0.40], [no-xml]) 
    86  
    87 AM_GNU_GETTEXT([external]) 
    88 AM_GNU_GETTEXT_VERSION([0.18]) 
    89 GETTEXT_PACKAGE="mediastreamer" 
    90 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,["mediastreamer"],[name of the gettext domain. Used in the call to 'bindtextdomain()']) 
    91 AC_SUBST([GETTEXT_PACKAGE]) 
    9283 
    9384if test "$GCC" != "yes" ; then 
     
    177168esac 
    178169 
     170 
     171dnl localization tools 
     172IT_PROG_INTLTOOL([0.40], [no-xml]) 
     173 
     174 
     175GETTEXT_PACKAGE="mediastreamer" 
     176AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,["mediastreamer"],[name of the gettext domain. Used in the call to 'bindtextdomain()']) 
     177AC_SUBST([GETTEXT_PACKAGE]) 
     178if test "$mingw_found" != "yes" ; then 
     179        dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK. 
     180        AM_GNU_GETTEXT([external]) 
     181        AM_GNU_GETTEXT_VERSION([0.18]) 
     182        LIBS="$LIBS $LIBINTL" 
     183else 
     184        AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible]) 
     185        AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible]) 
     186        LIBS="$LIBS -lintl" 
     187fi 
     188 
    179189AM_CONDITIONAL(BUILD_MACOSX, test x$macosx_found = xyes) 
    180190 
Note: See TracChangeset for help on using the changeset viewer.