]> git.sur5r.net Git - i3/i3/commit
Move SYSCONFDIR definition to makefile 2836/head
authorTony Crisci <tony@dubstepdish.com>
Wed, 12 Jul 2017 14:57:23 +0000 (10:57 -0400)
committerTony Crisci <tony@dubstepdish.com>
Wed, 12 Jul 2017 14:57:23 +0000 (10:57 -0400)
commitc534a3ea9502b9e9794f97555c8a8a821b9999e1
treeecf19fe0eb8c246d7af0188854802e6372f20a72
parentbf1e4339e68dbc16dbbbc5f4f15a592041f993a1
Move SYSCONFDIR definition to makefile

Official autoconf docs contraindicate the use of the $sysconfdir
variable in configure.ac. For reference:

https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html

The macro SYSCONFDIR (ordinarilly set to "/etc") is required to find
a system configuration file installed with i3. In some build setups,
this may not be defined properly in when the configure script is
compiled.

Instead, define this variable in AM_CPPFLAGS as the documentation
indicates.

fixes #2832
Makefile.am
configure.ac