]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - systemd/patches/systemd-44-ipfire.patch
systemd: Update to 44.
[people/amarx/ipfire-3.x.git] / systemd / patches / systemd-44-ipfire.patch
1 diff -Nur a/configure.ac b/configure.ac
2 --- a/configure.ac 2012-03-16 01:46:57.000000000 +0100
3 +++ b/configure.ac 2012-03-24 20:43:33.723789319 +0100
4 @@ -396,7 +396,7 @@
5
6 AC_PATH_PROG([M4], [m4])
7
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, mandriva, meego, mageia, angstrom 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, mandriva, meego, mageia, angstrom, 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)])
13 @@ -492,6 +492,13 @@
14 M4_DISTRO_FLAG=-DTARGET_MAGEIA=1
15 have_plymouth=yes
16 ;;
17 + ipfire)
18 + SYSTEM_SYSVINIT_PATH=
19 + SYSTEM_SYSVRCND_PATH=
20 + AC_DEFINE(TARGET_IPFIRE, [], [Target is IPFire])
21 + M4_DEFINES=-DTARGET_IPFIRE=1
22 + have_plymouth=yes
23 + ;;
24 other)
25 ;;
26 *)
27 @@ -550,6 +557,7 @@
28 AM_CONDITIONAL(TARGET_MEEGO, test x"$with_distro" = xmeego)
29 AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom)
30 AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia)
31 +AM_CONDITIONAL(TARGET_IPFIRE, test x"$with_distro" = xipfire)
32
33 AM_CONDITIONAL(HAVE_PLYMOUTH, test "$have_plymouth" = "yes")
34 AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")