Compare with Previous | Blame | Download | View Log
AC_PREREQ(2.61)AC_INIT(blueman, 1.10)AC_CONFIG_HEADERS(config.h)AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)AM_MAINTAINER_MODEAC_PROG_CCAC_PROG_LIBTOOLPKG_PROG_PKG_CONFIGGETTEXT_PACKAGE="blueman"AC_SUBST(GETTEXT_PACKAGE)AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])AM_GLIB_GNU_GETTEXTIT_PROG_INTLTOOL([0.35.0])AM_PATH_PYTHON(2.5)AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(Could not find Python headers)])AC_ARG_VAR([PYREXC], [Pyrex compiler])if test "x$PYREXC" = "x"; thenAC_PATH_PROG([PYREXC],[pyrexc])fiAC_SUBST([PYREXC])AC_MSG_CHECKING([for pyrexc executable])AC_MSG_RESULT([${PYREXC}])if test "x$PYREXC" = "x"; thenAC_MSG_ERROR([Fatal: pyrexc not found.Get Pyrex from* your system's packages (recommended)* upstream at http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/])fi#--------------------------------------------------------------------# Default paths for installation#--------------------------------------------------------------------if test "$prefix" = ""; thenprefix=/usr/localfiif test "$prefix" = "NONE"; thenprefix=/usr/localfiif test "$exec_prefix" = ""; thenexec_prefix=${prefix}fiif test "$exec_prefix" = "NONE"; thenexec_prefix=${prefix}fiif test "$exec_prefix" = '${prefix}'; thenexec_prefix=${prefix}fiif test "$includedir" = ""; thenincludedir=${prefix}/includefiif test "$includedir" = "NONE"; thenincludedir=${prefix}/includefiif test "$includedir" = '${prefix}/include'; thenincludedir=${prefix}/includefiif test "$libdir" = ""; thenlibdir=${exec_prefix}/libfiif test "$libdir" = "NONE"; thenlibdir=${exec_prefix}/libfiif test "$libdir" = '${exec_prefix}/lib'; thenlibdir=${exec_prefix}/libfiif test "$bindir" = ""; thenbindir=${exec_prefix}/binfiif test "$bindir" = "NONE"; thenbindir=${exec_prefix}/binfiif test "$bindir" = '${exec_prefix}/bin'; thenbindir=${exec_prefix}/binfiif test "$datadir" = ""; thendatadir=${prefix}/sharefiif test "$datadir" = "NONE"; thendatadir=${prefix}/sharefiif test "$datadir" = '${prefix}/share'; thendatadir=${prefix}/sharefiif test "$mandir" = ""; thenmandir=${prefix}/manfiif test "$mandir" = "NONE"; thenmandir=${prefix}/manfiif test "$sysconfdir" = "NONE"; thensysconfdir=/etcfiif test "$sysconfdir" = ""; thensysconfdir=/etcfiif test "$mandir" = '${prefix}/man'; thenmandir=${prefix}/manfiif test "$libexecdir" = ""; thenlibexecdir=${exec_prefix}/libexecfiif test "$libexecdir" = "NONE"; thenlibexecdir=${exec_prefix}/libexecfiif test "$libexecdir" = '${exec_prefix}/libexec'; thenlibexecdir=${exec_prefix}/libexecfidnl ----------------------------------dnl - Various paths and other definesdnl ----------------------------------AC_SUBST(VERSION)AC_SUBST(PACKAGE)AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)AC_SUBST(SYSCONFDIR)AS_AC_EXPAND(BINDIR, $bindir)AC_SUBST(BINDIR)AS_AC_EXPAND(DATADIR, $datarootdir)AC_SUBST(DATADIR)AS_AC_EXPAND(PYTHONDIR, $pythondir)AC_SUBST(PYTHONDIR)AS_AC_EXPAND(PKGLIBDIR, $libdir/blueman)AC_SUBST(PKGLIBDIR)AS_AC_EXPAND(LIBEXECDIR, $libexecdir)AC_SUBST(LIBEXECDIR)dnl AS_AC_EXPAND([PREFIX], $prefix)AC_SUBST(prefix)pkgdatadir="${DATADIR}/${PACKAGE}"AC_SUBST(pkgdatadir)AS_AC_EXPAND(LOCALEDIR, $datarootdir/locale)AC_SUBST(LOCALEDIR)dnl ---------------------------------dnl dhcp config file locationdnl ---------------------------------dhconfig='/etc/dhcp3/dhcpd.conf'AC_ARG_WITH(dhcp_config,[ --with-dhcp-config=PATH set dhcp3 server configuration path],dhconfig="$with_dhcp_config")AC_SUBST(dhconfig)dnl ---------------------------------deps_check=1AC_ARG_WITH(no_runtime_deps_check,[ --with-no-runtime-deps-check disable runtime dependency check (for package maintainers)],deps_check=0)dnl ----------------------------if test $deps_check = 1; thenPKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= 2.12.0)PKG_CHECK_MODULES(PYNOTIFY, notify-python)AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)])AM_CHECK_PYMOD(gobject,,,[AC_MSG_ERROR(Could not find Python module gobject)])fiPKG_CHECK_MODULES(BLUEZ,bluez >= 4.21libstartup-notification-1.0 >= 0.9gdk-2.0 >= 2.12pygobject-2.0 >= 2.12gobject-2.0 >= 2.12glib-2.0 >= 2.16gthread-2.0 >= 2.16)AC_SUBST(BLUEZ_CFLAGS)AC_SUBST(BLUEZ_LIBS)AC_OUTPUT([Makefileapps/Makefileblueman/Makefileblueman/Constants.pyblueman/bluez/Makefileblueman/gui/Makefileblueman/gui/applet/Makefileblueman/gui/manager/Makefileblueman/plugins/Makefileblueman/plugins/services/Makefileblueman/plugins/applet/Makefileblueman/plugins/config/Makefileblueman/main/Makefileblueman/main/applet/Makefileblueman/ods/Makefiledata/Makefiledata/configs/Makefiledata/icons/Makefiledata/icons/hicolor/Makefiledata/icons/hicolor/16x16/Makefiledata/icons/hicolor/16x16/actions/Makefiledata/icons/hicolor/16x16/devices/Makefiledata/icons/hicolor/16x16/status/Makefiledata/icons/hicolor/32x32/Makefiledata/icons/hicolor/32x32/actions/Makefiledata/icons/hicolor/48x48/Makefiledata/icons/hicolor/48x48/actions/Makefiledata/icons/hicolor/48x48/devices/Makefiledata/icons/hicolor/48x48/status/Makefiledata/icons/hicolor/scalable/Makefiledata/icons/hicolor/scalable/devices/Makefiledata/icons/hicolor/scalable/actions/Makefiledata/icons/main_icon/Makefiledata/ui/Makefiledata/man/Makefiledata/configs/blueman-applet.servicedata/configs/org.blueman.Mechanism.servicemodule/Makefilepo/Makefile.in])echoecho $PACKAGE $VERSIONechoecho Prefix : $prefixecho