
+ Fixed: Now we are warning the user that his history is saved in a plain text file and ask for his explicit permission to save the history. + Fixed: When the user disables history saving we also ask if he wants to empty the current history file. + Fixed: Renamed "Find" menu entry to "Manage history". + Fixed: ClipIt now complies to the "XDG Base Directory Specification". Changes to be committed: modified: ChangeLog modified: NEWS modified: configure.in modified: src/history.c modified: src/history.h modified: src/main.c modified: src/preferences.c modified: src/preferences.h modified: src/utils.c modified: src/utils.h
72 lines
2.6 KiB
Plaintext
72 lines
2.6 KiB
Plaintext
# -------------------------------------------------------------------------------
|
|
# Autoconf/automake.
|
|
# -------------------------------------------------------------------------------
|
|
AC_PREREQ([2.5])
|
|
AC_INIT([clipit], [1.3.4], [oss@web-tm.com])
|
|
AM_INIT_AUTOMAKE([AC_PACKAGE_TARNAME()], [AC_PACKAGE_VERSION()])
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
AC_CONFIG_SRCDIR([src/main.c])
|
|
AM_CONFIG_HEADER([config.h])
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Gettext.
|
|
# -------------------------------------------------------------------------------
|
|
|
|
GETTEXT_PACKAGE=clipit
|
|
AC_SUBST(GETTEXT_PACKAGE)
|
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package])
|
|
|
|
ALL_LINGUAS="cs da de es fr hu it ja nb pl pl_PL pt_BR ro ru sv tr zh_CN"
|
|
AM_GLIB_GNU_GETTEXT()
|
|
AC_PROG_INTLTOOL([0.23])
|
|
|
|
clipitlocaledir='${prefix}/${DATADIRNAME}/locale'
|
|
AC_SUBST(clipitlocaledir)
|
|
|
|
AM_GNU_GETTEXT([external])
|
|
AM_GNU_GETTEXT_VERSION(0.18.1)
|
|
|
|
AM_MAINTAINER_MODE([disable])
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Main settings.
|
|
# -------------------------------------------------------------------------------
|
|
# prefix=/usr
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for programs.
|
|
# -------------------------------------------------------------------------------
|
|
AC_PROG_CC()
|
|
AC_PROG_INSTALL()
|
|
AC_PROG_MAKE_SET()
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for libraries.
|
|
# -------------------------------------------------------------------------------
|
|
AM_PATH_GTK_2_0(2.10.0, [], AC_MSG_ERROR(Requirement not met: gtk >= 2.10.0))
|
|
AM_PATH_GLIB_2_0(2.14.0, [], AC_MSG_ERROR(Requirement not met: glib >= 2.14.0))
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for header files.
|
|
# -------------------------------------------------------------------------------
|
|
AC_CHECK_HEADERS([stdlib.h string.h])
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
# -------------------------------------------------------------------------------
|
|
AC_C_CONST()
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for library functions.
|
|
# -------------------------------------------------------------------------------
|
|
AC_TYPE_SIGNAL()
|
|
|
|
AC_CONFIG_FILES([Makefile m4/Makefile
|
|
doc/Makefile
|
|
src/Makefile
|
|
data/Makefile])
|
|
|
|
AC_OUTPUT([po/Makefile.in])
|