configure.in
资源名称:fmradio.zip [点击查看]
上传用户:ledjyj
上传日期:2014-08-27
资源大小:2639k
文件大小:2k
源码类别:
驱动编程
开发平台:
Unix_Linux
- AC_PREREQ(2.52)
- AC_INIT(gnomeradio, 1.7, http://mfcn.ilo.de/gnomeradio)
- AC_CONFIG_SRCDIR(src/gui.c)
- AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
- AM_MAINTAINER_MODE
- AM_CONFIG_HEADER(config.h)
- AC_CONFIG_MACRO_DIR([m4])
- AC_PROG_INTLTOOL([0.21])
- AM_PROG_LIBTOOL
- AC_ISC_POSIX
- AC_PROG_CC
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- ALL_LINGUAS="ar am az be ca cs da de en_CA en_GB es eu fi fr he hr hu it ja lv ml mn nb nl pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk vi zh_CN zh_TW"
- AM_GLIB_GNU_GETTEXT
- GETTEXT_PACKAGE=gnomeradio
- AC_SUBST(GETTEXT_PACKAGE)
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", GETTEXT_PACKAGE)
- PKG_CHECK_MODULES(GNOME, libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12)
- PKG_CHECK_MODULES(GNOME14, libgnomeui-2.0 >= 2.14, GNOME_14="1";echo "yes", GNOME_14="0";echo "no")
- AC_SUBST(GNOME_CFLAGS)
- AC_SUBST(GNOME_LIBS)
- AC_SUBST(GNOME_14)
- AC_DEFINE_UNQUOTED(GNOME_14, ${GNOME_14}, "Is GNOME 2.14 installed")
- AC_SUBST(LIRC)
- PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 gstreamer-plugins-base-0.10)
- AC_SUBST(GSTREAMER_CFLAGS)
- AC_SUBST(GSTREAMER_LIBS)
- GNOME_DOC_INIT
- AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
- if test x"$GCONFTOOL" = xno; then
- AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
- fi
- AM_GCONF_SOURCE_2
- LIRC=""
- if test "$enable_lirc" != "no"; then
- AC_CHECK_LIB(lirc_client, lirc_init,
- AC_DEFINE(HAVE_LIRC, 1, "Is LIRC installed") LIRC="-llirc_client",,)
- else
- echo "*** lirc disabled"
- fi
- AC_ARG_ENABLE(install_schemas,
- [ --disable-install-schemas Disable installation of the gconf schemas])
- AM_CONDITIONAL(INSTALL_SCHEMAS, test x$enable_install_schemas != xno)
- AC_OUTPUT([
- gnomeradio.spec
- Makefile
- src/Makefile
- po/Makefile.in
- data/Makefile
- data/pixmaps/Makefile
- data/icons/Makefile
- data/icons/16x16/Makefile
- data/icons/22x22/Makefile
- data/icons/24x24/Makefile
- data/icons/32x32/Makefile
- data/icons/48x48/Makefile
- data/icons/scalable/Makefile
- help/Makefile
- ])