summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-29 16:44:23 +0100
committercgzones <cgzones@googlemail.com>2021-01-31 21:44:34 +0100
commit8bd543562b5b7495194e41a58162e7deb7bb41e3 (patch)
treee3e465cc54a72a7ac939cb3de448ef57cacd2773 /Makefile.am
parent06b1674aa6202a91caf879fa4b0dae1244bf48b1 (diff)
Quote SYSCONFDIR definition
As SYSCONFDIR is a compile time string literal, use compile time string concatenation instead of a runtime one. Also drop related TODO, cause we indeed using the correct way of getting $sysconfdir from autoconf
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e83773f9..a674e021 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@ pixmap_DATA = htop.png
appicondir = $(datadir)/icons/hicolor/scalable/apps
appicon_DATA = htop.svg
-AM_CFLAGS += -pedantic -std=c99 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"$(sysconfdir)\" -I"$(top_srcdir)/$(my_htop_platform)"
+AM_CFLAGS += -pedantic -std=c99 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR="\"$(sysconfdir)\"" -I"$(top_srcdir)/$(my_htop_platform)"
AM_LDFLAGS =
myhtopsources = \

© 2014-2024 Faster IT GmbH | imprint | privacy policy