diff options
author | Malcolm Studd <mestudd@gmail.com> | 2010-05-14 20:52:59 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-15 23:43:33 +0200 |
commit | 65c8976ab12f13fc339a16d108e620bf2fd703f4 (patch) | |
tree | ffff19458dfa4259fec59d865be15f73092b468d /hostname-setup.c | |
parent | e12891f70c264683f4f2b99dd6c535c73f1d26a5 (diff) |
build-sys: slackware support
Attached is a patch for slackware support. If you want it some other
way, let me know; I haven't used git before.
Slackware doesn't have gnome or vala, and I'm having some issues with
the vala programs in systemd. I installed the vala compiler, and the
configure script says I have everything required, but compilation
fails (log attached). Is there something I'm missing? I installed
systemd by commenting out the vala programs in Makefile.am.
Malcolm
Diffstat (limited to 'hostname-setup.c')
-rw-r--r-- | hostname-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hostname-setup.c b/hostname-setup.c index 71a3f75bd9..3b988d4c8b 100644 --- a/hostname-setup.c +++ b/hostname-setup.c @@ -34,7 +34,7 @@ #if defined(TARGET_FEDORA) #define FILENAME "/etc/sysconfig/network" -#elif defined(TARGET_SUSE) +#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) #define FILENAME "/etc/HOSTNAME" #elif defined(TARGET_DEBIAN) #define FILENAME "/etc/hostname" @@ -111,7 +111,7 @@ finish: fclose(f); return r; -#elif defined(TARGET_SUSE) || defined(TARGET_DEBIAN) +#elif defined(TARGET_SUSE) || defined(TARGET_DEBIAN) || defined(TARGET_SLACKWARE) int r; char *s, *k; |