Changeset 1370:275fd07bf923 in mediastreamer2


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

windows build fixes

Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • autogen.sh

    r1344 r1370  
    1010        AUTOMAKE=automake-${AM_VERSION} 
    1111fi 
     12 
     13INTLTOOLIZE=/usr/bin/intltoolize 
     14 
     15if test -f /opt/local/bin/intltoolize ; then 
     16INTLTOOLIZE=/opt/local/bin/intltoolize 
     17else 
     18INTLTOOLIZE=/usr/bin/intltoolize 
     19fi 
     20 
    1221 
    1322libtoolize="libtoolize" 
     
    4453set -x 
    4554$libtoolize --copy --force 
    46 intltoolize --copy --force --automake 
     55$INTLTOOLIZE --copy --force --automake 
    4756$ACLOCAL  $ACLOCAL_ARGS 
    4857autoheader 
  • 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.