AC_PREREQ([2.60]) AC_INIT([gentoo-systemd-integration], [2]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2 subdir-objects]) AC_PROG_LN_S AC_PROG_SED # https://bitbucket.org/mgorny/systemd-m4/ SYSTEMD_MISC SYSTEMD_SYSTEMUNITDIR if test -z "$systemdsystemunitdir"; then AC_MSG_ERROR([systemdsystemunitdir must be set]) fi SYSTEMD_SYSTEMGENERATORDIR if test -z "$systemdsystemgeneratordir"; then AC_MSG_ERROR([systemdsystemgeneratordir must be set]) fi PKG_CHECK_VAR([udevdir], [udev], [udevdir], [], [udevdir=/lib/udev]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT