]>
Commit | Line | Data |
---|---|---|
6793fec1 MT |
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 @@ | |
bfabb323 SS |
5 | |
6 | AC_PATH_PROG([M4], [m4]) | |
7 | ||
6793fec1 MT |
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])) | |
bfabb323 SS |
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)]) | |
6793fec1 MT |
13 | @@ -492,6 +492,13 @@ |
14 | M4_DISTRO_FLAG=-DTARGET_MAGEIA=1 | |
15 | have_plymouth=yes | |
bfabb323 SS |
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 | *) | |
6793fec1 | 27 | @@ -550,6 +557,7 @@ |
bfabb323 SS |
28 | AM_CONDITIONAL(TARGET_MEEGO, test x"$with_distro" = xmeego) |
29 | AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom) | |
6793fec1 | 30 | AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia) |
bfabb323 SS |
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") |