What about this:
std_sysconfdir='${prefix}/etc'
if test x"${sysconfdir}" == x"${std_sysconfdir}"; then
sysconfdir=/etc
fi
or even simplier, since herarchy or prefixes aren't likely to change:
if test x"${sysconfdir}" == x'${prefix}/etc'; then
sysconfdir=/etc
fi
This migth be somewhere between AM_INIT_AUTOMAKE and
AC_CONFIG_FILES/AC_OUTPUT in configure.ac/.in
Also, as I'm begining to study the library in order to adapt my
reader, is there any chance to have the code properly idented? I can
do it with no hassle.
I don't know what sort of editors do you guys use, but on a terminal
it is pretty much unreadable:
http://openscd.googlecode.com/files/shot-wrong-1.png
http://openscd.googlecode.com/files/shot-wrong-2.png
http://openscd.googlecode.com/files/shot-ok-1.png
http://openscd.googlecode.com/files/shot-ok-2.png
That would make easy to follow up and send patches, at least for me.
Regards,
On 8/1/10, Ludovic Rousseau <[email protected]> wrote:
> 2010/8/1 Sébastien Lorquet <[email protected]>:
>> I agree with you with the correct default behaviour of using /etc, but I
>> really have no idea on how to achieve that without --sysconfdir
>> Maybe your idea is the best one even if it sounds hackish, at least for
>> the
>> moment.
>
> Implemented the kackish way in revision 5082.
>
> Bye
>
> --
> Dr. Ludovic Rousseau
>
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle
>
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle