X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=d0003bb5bd7d3eef96bc3a056faf1dc1df5d9ffa;hb=2cc86f094a8c316f7feb0336df3827a3264b116d;hp=393c7ce88efa21acb0835c77a1e2ad8c57b7fc8a;hpb=0428ddb729d12563b827510e04663de9cb4056f3;p=elogind.git diff --git a/configure.ac b/configure.ac index 393c7ce88..d0003bb5b 100644 --- a/configure.ac +++ b/configure.ac @@ -640,7 +640,7 @@ AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"]) # ------------------------------------------------------------------------------ -AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, ubuntu, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom or other])) +AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom or other])) if test "z$with_distro" = "z"; then if test "$cross_compiling" = yes; then AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)]) @@ -676,11 +676,6 @@ case $with_distro in AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian]) M4_DEFINES=-DTARGET_DEBIAN=1 ;; - ubuntu) - SYSTEM_SYSVRCND_PATH=/etc - AC_DEFINE(TARGET_UBUNTU, [], [Target is Ubuntu]) - M4_DEFINES=-DTARGET_UBUNTU=1 - ;; arch) SYSTEM_SYSVINIT_PATH= SYSTEM_SYSVRCND_PATH= @@ -765,8 +760,6 @@ AC_ARG_WITH([tty-gid], AM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora) AM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse) AM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian) -AM_CONDITIONAL(TARGET_UBUNTU, test x"$with_distro" = xubuntu) -AM_CONDITIONAL(TARGET_DEBIAN_OR_UBUNTU, test x"$with_distro" = xdebian -o x"$with_distro" = xubuntu) AM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch) AM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo) AM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)