
Initial commit new file: AUTHORS new file: COPYING new file: ChangeLog new file: INSTALL new file: Makefile.am new file: NEWS new file: README new file: TODO new file: autogen.sh new file: config.guess new file: config.h.in new file: config.rpath new file: config.sub new file: configure.in new file: data/Makefile.am new file: data/clipit-startup.desktop.in new file: data/clipit.desktop.in new file: depcomp new file: doc/Makefile.am new file: doc/clipit.1 new file: install-sh new file: m4/ChangeLog new file: m4/Makefile.in new file: m4/gettext.m4 new file: m4/iconv.m4 new file: m4/intltool.m4 new file: m4/lib-ld.m4 new file: m4/lib-link.m4 new file: m4/lib-prefix.m4 new file: m4/nls.m4 new file: m4/po.m4 new file: m4/progtest.m4 new file: missing new file: po/Makefile.in.in new file: po/POTFILES.in new file: po/POTFILES.skip new file: po/cs.po new file: po/da.po new file: po/de.po new file: po/es.po new file: po/fr.po new file: po/hu.po new file: po/it.po new file: po/ja.po new file: po/nb.po new file: po/pl.po new file: po/pl_PL.po new file: po/pt_BR.po new file: po/ro.po new file: po/ru.po new file: po/sv.po new file: po/tr.po new file: po/zh_CN.po new file: src/Makefile.am new file: src/clipit-i18n.h new file: src/daemon.c new file: src/daemon.h new file: src/eggaccelerators.c new file: src/eggaccelerators.h new file: src/history.c new file: src/history.h new file: src/keybinder.c new file: src/keybinder.h new file: src/main.c new file: src/main.h new file: src/preferences.c new file: src/preferences.h new file: src/utils.c new file: src/utils.h
70 lines
2.5 KiB
Plaintext
70 lines
2.5 KiB
Plaintext
# -------------------------------------------------------------------------------
|
|
# Autoconf/automake.
|
|
# -------------------------------------------------------------------------------
|
|
AC_PREREQ([2.5])
|
|
AC_INIT([clipit], [1.0.0], [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])
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Main settings.
|
|
# -------------------------------------------------------------------------------
|
|
# prefix=/usr
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for programs.
|
|
# -------------------------------------------------------------------------------
|
|
AC_PROG_CC()
|
|
AC_PROG_INSTALL()
|
|
AC_PROG_MAKE_SET()
|
|
|
|
# -------------------------------------------------------------------------------
|
|
# Checks for libraries.
|
|
# -------------------------------------------------------------------------------
|
|
# AC_CHECK_LIB(pthread, pthread_create)
|
|
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 pthread.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])
|