From 1bd8b8184ee3bc7fc023d6d6dfb2ca99fb6612f3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 6 May 2011 09:19:08 +0200 Subject: build-sys: Angstrom support This commit consists of the initial work to include Angstrom as a ported distribution for systemd. Angstrom tries to follow the debian way as much as possible, but deviates where it doesn't make sense for 'embedded'. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4a56101118..7cdc0cedf1 100644 --- a/configure.ac +++ b/configure.ac @@ -295,6 +295,7 @@ if test "z$with_distro" = "z"; then test -f "/etc/altlinux-release" && with_distro="altlinux" test -f "/etc/mandriva-release" && with_distro="mandriva" test -f "/etc/meego-release" && with_distro="meego" + test -f "/etc/angstrom-version" && with_distro="angstrom" if test "x`lsb_release -is 2>/dev/null`" = "xUbuntu"; then with_distro="ubuntu" fi @@ -376,6 +377,11 @@ case $with_distro in AC_DEFINE(TARGET_MEEGO, [], [Target is MeeGo]) M4_DISTRO_FLAG=-DTARGET_MEEGO=1 ;; + angstrom) + SYSTEM_SYSVRCND_PATH=/etc + AC_DEFINE(TARGET_ANGSTROM, [], [Target is Ångström]) + M4_DISTRO_FLAG=-DTARGET_ANGSTROM=1 + ;; other) ;; *) @@ -426,6 +432,7 @@ AM_CONDITIONAL(TARGET_FRUGALWARE, test x"$with_distro" = xfrugalware) AM_CONDITIONAL(TARGET_ALTLINUX, test x"$with_distro" = xaltlinux) AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva) AM_CONDITIONAL(TARGET_MEEGO, test x"$with_distro" = xmeego) +AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom) AM_CONDITIONAL(HAVE_PLYMOUTH, test -n "$have_plymouth") AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes") -- cgit v1.2.3-54-g00ecf