1 diff -Nur systemd-37_orig/configure.ac systemd-37/configure.ac
2 --- systemd-37_orig/configure.ac 2011-10-11 20:46:56.000000000 +0200
3 +++ systemd-37/configure.ac 2011-12-17 21:57:31.748682566 +0100
6 AC_PATH_PROG([M4], [m4])
8 -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 or other]))
9 +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, ipfire or other]))
10 if test "z$with_distro" = "z"; then
11 if test "$cross_compiling" = yes; then
12 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)])
14 if test "x`lsb_release -is 2>/dev/null`" = "xUbuntu"; then
17 + test -f "/etc/ipfire-release" && with_distro="ipfire"
19 if test "z$with_distro" = "z"; then
20 with_distro=`uname -s`
22 AC_DEFINE(TARGET_ANGSTROM, [], [Target is Ångström])
23 M4_DEFINES=-DTARGET_ANGSTROM=1
26 + SYSTEM_SYSVINIT_PATH=
27 + SYSTEM_SYSVRCND_PATH=
28 + AC_DEFINE(TARGET_IPFIRE, [], [Target is IPFire])
29 + M4_DEFINES=-DTARGET_IPFIRE=1
36 AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva)
37 AM_CONDITIONAL(TARGET_MEEGO, test x"$with_distro" = xmeego)
38 AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom)
39 +AM_CONDITIONAL(TARGET_IPFIRE, test x"$with_distro" = xipfire)
41 AM_CONDITIONAL(HAVE_PLYMOUTH, test "$have_plymouth" = "yes")
42 AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")