Changeset 1370:275fd07bf923 in mediastreamer2
- Timestamp:
- Apr 7, 2011 5:34:35 PM (2 years ago)
- Branch:
- default
- Files:
-
- 1 deleted
- 2 edited
-
autogen.sh (modified) (2 diffs)
-
configure.ac (modified) (2 diffs)
-
po/mediastreamer.pot (deleted)
Legend:
- Unmodified
- Added
- Removed
-
autogen.sh
r1344 r1370 10 10 AUTOMAKE=automake-${AM_VERSION} 11 11 fi 12 13 INTLTOOLIZE=/usr/bin/intltoolize 14 15 if test -f /opt/local/bin/intltoolize ; then 16 INTLTOOLIZE=/opt/local/bin/intltoolize 17 else 18 INTLTOOLIZE=/usr/bin/intltoolize 19 fi 20 12 21 13 22 libtoolize="libtoolize" … … 44 53 set -x 45 54 $libtoolize --copy --force 46 intltoolize--copy --force --automake55 $INTLTOOLIZE --copy --force --automake 47 56 $ACLOCAL $ACLOCAL_ARGS 48 57 autoheader -
configure.ac
r1344 r1370 81 81 82 82 AC_SUBST([LIBTOOL_DEPS]) 83 84 dnl localization tools85 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])92 83 93 84 if test "$GCC" != "yes" ; then … … 177 168 esac 178 169 170 171 dnl localization tools 172 IT_PROG_INTLTOOL([0.40], [no-xml]) 173 174 175 GETTEXT_PACKAGE="mediastreamer" 176 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,["mediastreamer"],[name of the gettext domain. Used in the call to 'bindtextdomain()']) 177 AC_SUBST([GETTEXT_PACKAGE]) 178 if 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" 183 else 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" 187 fi 188 179 189 AM_CONDITIONAL(BUILD_MACOSX, test x$macosx_found = xyes) 180 190
Note: See TracChangeset
for help on using the changeset viewer.
