Sort Automake files nicely
The following discussion from !985 (merged) should be addressed:
I think all such lists should be sorted alphabetically. I mean, why sort
I can spare you the trouble and do all the sorting myself, and I would leave that for the last moment before merging.
Apart from block contents, I would also sort the blocks themselves alphabetically, perhaps with
LIBLTDL_*being the sole exception. It just seems to make navigating the file a bit easier and - maybe just for me - it indicates that dependency resolution is done elsewhere.
I think I will stop flagging the sorting issue now and just check everything again later.
Maybe a matter of taste, but I would first define "standard" library components and then add all the
ifblocks below that. (Right now, we specify
SOURCES, then optional
CFLAGS, then optional
CFLAGS; I would change that to
Is there any reason for not sorting the entries in each of the
AC_CONFIG_FILESblocks above alphabetically? A quick test shows that the order does not matter.
endifstyle is consistent tree-wide