dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(multisync, 0.82) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC AC_PROG_YACC AC_PROG_LIBTOOL pkg_modules="libgnomeui-2.0 libbonobo-2.0 glib-2.0 gconf-2.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) dnl GETTEXT_PACKAGE=multisync dnl AC_SUBST(GETTEXT_PACKAGE) dnl AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE") dnl Add the languages which your application supports here. dnl ALL_LINGUAS="" dnl AM_GLIB_GNU_GETTEXT CPPFLAGS="${GTK_CFLAGS} ${GNOME_INCLUDEDIR} ${ORBIT_CFLAGS} ${BONOBO_CFLAGS}" dnl AC_CHECK_HEADER(orb/orbit.h,,AC_MSG_ERROR(The orbit headers must be installed. Try e.g. orbit-dev(el) or similar.)) dnl AC_CHECK_HEADER(bonobo/bonobo-main.h,,AC_MSG_ERROR(The bonobo headers must be installed. Try e.g. bonobo-dev(el) or similar.)) dnl AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR(The pthread headers must be installed.)) AC_CHECK_LIB(iconv, libiconv_open) AC_CHECK_LIB(iconv, iconv_open) dnl Configure plugins dnl plugindirs="" dnl for dir in ${srcdir}/plugins/*; do dnl if test -f ${dir}/configure; then dnl plugindirs="${plugindirs} ${dir}" dnl fi dnl done dnl echo Plugins: ${plugindirs} dnl AC_CONFIG_SUBDIRS(${plugindirs}) dnl Info for the RPM AC_SUBST(VERSION) AC_SUBST(prefix) AC_OUTPUT([ Makefile src/Makefile src/libversit/Makefile intl/Makefile po/Makefile.in specs/multisync.spec multisync.desktop ])