zenity/configure.in

68 lines
1.8 KiB
Plaintext
Raw Normal View History

AC_PREREQ(2.53)
2003-01-03 13:26:04 +00:00
AC_INIT(src)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(zenity, 1.7)
2003-01-03 13:26:04 +00:00
AM_MAINTAINER_MODE
AC_PROG_INTLTOOL([0.21])
AC_PROG_CC
PKG_CHECK_MODULES(ZENITY, gtk+-2.0 libglade-2.0 gconf-2.0 libgnomecanvas-2.0)
2003-01-03 13:26:04 +00:00
AC_SUBST(ZENITY_CFLAGS)
AC_SUBST(ZENITY_LIBS)
AC_CHECK_LIB(popt, poptHelpOptions,, AC_MSG_ERROR([popt is required to build script.]))
dnl ***********************************************
dnl scrollkeeper checks
2003-01-03 13:26:04 +00:00
dnl ***********************************************
AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
if test x$SCROLLKEEPER_CONFIG = xno; then
AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package)
fi
2003-01-03 13:26:04 +00:00
dnl *******************************
dnl perl check
dnl *******************************
AC_PATH_PROG(PERL,perl,)
2003-01-03 13:26:04 +00:00
dnl *******************************
dnl Internationalization
dnl *******************************
2003-12-04 18:35:09 +00:00
ALL_LINGUAS="am az be bn ca cs cy da de el en_GB es eu fi fr ga hi hu is it ja ko lt ml mn ms nl no pl pt pt_BR ru sk sl sq sr sr@Latn sv ta uk vi zh_CN zh_TW"
2003-01-03 13:26:04 +00:00
GETTEXT_PACKAGE=zenity-0.1
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
dnl **************************************************************
dnl AM_GLIB_GNU_GETTEXT above substs $DATADIRNAME
dnl this is the directory where the *.{mo,gmo} files are installed
dnl **************************************************************
zenitylocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(zenitylocaledir)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Finding gettext package])
AC_DEFINE_UNQUOTED(GNOME_ICONDIR, "${prefix}/share/pixmaps", [Determining icon location])
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_OUTPUT([
Makefile
zenity.spec
2003-01-03 13:26:04 +00:00
po/Makefile.in
src/Makefile
src/gdialog
2003-01-03 13:26:04 +00:00
data/Makefile
help/Makefile
help/C/Makefile
2003-01-03 13:26:04 +00:00
])