https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c2
--- Comment #2 from Dainius Masiliunas 2013-02-11 16:33:44 UTC ---
What I mean is that these directories should be overridable by either having it
defined in CPPFLAGS or using the configure script, like `./configure
--with-conf="/etc/conf.d"` (or both, the latter setting the former). It makes a
difference - with it hardcoded, every downstream that uses different
directories has to maintain a patch, which can and will break once the
SnapperDefines.h file is changed. That is a maintenance burden. Even worse, if
you at some point decide to use another file from /etc/sysconfig, then
everything will silently break for downstream, and they will only know about
the issue when someone reports that the tool stopped working (or worse,
malfunctioned).
Now if it was defined by using the Makefile or the configure script, then any
changes in the source code are automatically handled by the script - no more
need to maintain patches, the same configure arguments will always work, no
matter what gets changed in the code.
And honestly, the only reason why autotools are used to begin with is
portability. While defining a custom directory is somewhat non-standard, but it
still is pretty simple. So if you want, I can write a patch for you that would
make the project use such a scheme. I really see no downsides to that.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.