mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 19:50:23 +00:00
fixed i18n initialization
This commit is contained in:
parent
a86c4cfc1d
commit
17b4b6d944
37
configure.in
37
configure.in
|
@ -1,33 +1,37 @@
|
||||||
AC_INIT(configure.in)
|
AC_INIT(src/main.cc)
|
||||||
AM_INIT_AUTOMAKE(gparted, 0.1)
|
AM_INIT_AUTOMAKE(gparted, 0.0.4)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
AC_PROG_INTLTOOL
|
|
||||||
|
|
||||||
AC_ISC_POSIX
|
dnl======================
|
||||||
|
dnl checks for programs
|
||||||
|
dnl======================
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AM_PROG_CC_STDC
|
|
||||||
AC_HEADER_STDC
|
|
||||||
|
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 )
|
|
||||||
AC_CHECK_LIB(parted, ped_device_probe_all, [], AC_MSG_ERROR([*** libparted >= 1.6.13 not installed - please install first ***]), -luuid -ldl)
|
|
||||||
AC_SUBST(GTKMM_LIBS)
|
|
||||||
AC_SUBST(GTKMM_CFLAGS)
|
|
||||||
|
|
||||||
|
dnl======================
|
||||||
dnl Set PACKAGE SOURCE DIR in config.h.
|
dnl i18n stuff
|
||||||
packagesrcdir=`cd $srcdir && pwd`
|
dnl======================
|
||||||
|
|
||||||
dnl i18n stuff ...
|
|
||||||
GETTEXT_PACKAGE=gparted
|
GETTEXT_PACKAGE=gparted
|
||||||
AC_SUBST(GETTEXT_PACKAGE)
|
AC_SUBST(GETTEXT_PACKAGE)
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[description])
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[description])
|
||||||
|
|
||||||
ALL_LINGUAS="pt_BR sv"
|
ALL_LINGUAS="pt_BR sv"
|
||||||
|
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
AC_PROG_INTLTOOL
|
||||||
|
|
||||||
|
|
||||||
|
dnl======================
|
||||||
|
dnl checks for libs
|
||||||
|
dnl======================
|
||||||
|
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 )
|
||||||
|
AC_CHECK_LIB(parted, ped_device_probe_all, [], AC_MSG_ERROR([*** libparted >= 1.6.13 not installed - please install first ***]), -luuid -ldl)
|
||||||
|
AC_SUBST(GTKMM_LIBS)
|
||||||
|
AC_SUBST(GTKMM_CFLAGS)
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
@ -35,4 +39,3 @@ include/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue