Skip to content

Commit fe2b1a1

Browse files
authored
Merge pull request #47 from oleludwig/autoconfig-changelog
Extend the CHANGELOG
2 parents 93aac0b + 976b608 commit fe2b1a1

File tree

1 file changed

+58
-4
lines changed

1 file changed

+58
-4
lines changed

CHANGELOG

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,64 @@ MISC:
7979
- Installed atomic switches for SIGTERM and SIGHUP. It is now a
8080
statefull kill. SIGHUP can be used to signal conditions in future.
8181
Thanks to @SvenLie for the patch.
82-
- Rewrite the configure-script with autoconf. Features are now
83-
enabled/disabled by CLI flags instead of environment variables.
84-
The Makefile uses standardised variables from autoconf for the
85-
installation directories and compiler flags.
82+
- Rewrite the configure-script with autoconf.
83+
- Generate configure with autoconf from autoconf.ac.
84+
- License autoconf.ac under GPLv3 like the rest of the project.
85+
- Replace Makefile and Makefile.inc with Makefile.in. The Makefile is
86+
generated by configure from Makefile.in.
87+
- Use macros from the Autoconf Macro Archive in configure.ac for the
88+
detection of compile flags, the mysql, postgresql, sqlite3 and
89+
openssl libraries and for bison and pthread support and place the
90+
macros in the m4 subdirectory.
91+
- Features are now enabled/disabled by CLI flags instead of environment
92+
variables:
93+
- --disable-sqlite replaces SQLITE=NO
94+
- --disable-mysql replaces MYSQL=NO
95+
- --disable-tls replaces TLS=NO
96+
- --enable-postgres replaces POSTGRES=YES
97+
- Compiler optimizations (-O2) are enabled by default when compiling
98+
with gcc.
99+
- The Makefile uses standardised variables from autoconf for the
100+
compiler flags and installation directories like @sysconfdir@ for the
101+
configfiles, @sbindir@ for the binaries, @docdir@ for the
102+
documentation and @mandir@ for the manfiles.
103+
- Use @sysconfdir@ instead of CONFDIR
104+
- Use $(DESTDIR)$(sysconfdir) instead of FAKECDIR
105+
- The Makefile uses variables from autoconf for calling the install
106+
program in the install target. The variables can be overridden.
107+
- Define the versionnumber and releasename in configure.ac instead of
108+
main.h.
109+
- Add some files to .gitignore which are autogenerated by the configure
110+
script and some autotools. Remove the obsolete entry for Makefile.inc.
111+
- Adapt the github actions workflow and the reflex.conf to the changed
112+
configure script.
113+
- Separate the variable UDBFILE in the Makefile into UDBFILE and UDBPATH
114+
and use the UDBPATH in more places, to make it possible to install the
115+
database to another location, by overriding the variable when calling
116+
make.
117+
- Separated the DESTDIR variable in the Makefile into DESTDIR (empty by
118+
default and only included in the Makefile, not in configure) and prefix
119+
(/usr/local by default and overridable when calling configure or make)
120+
- Combine CFLAGS and BUILDFLAGS into CFLAGS in the Makefile.
121+
- Do not change the permissions for files and directories with chmod
122+
anymore. Pass for example "-m 0700" to the install command if special
123+
permissions are needed or leave it out if the defaults from
124+
@INSTALL_PROGRAM@ and @INSTALL_DATA@ are enough. This makes it possible
125+
to change the behaviour by overriding the variables for INSTALL_PROGRAM
126+
and INSTALL_DATA.
127+
- Do not change the owner and group of the created files and directories
128+
in the make install target. This change makes it possible to run
129+
"make install" without root rights by setting the DESTDIR to a path
130+
owned by the user.
131+
- New make target to create the init.d_script by replacing the daemon-path
132+
with a variable from autoconf.
133+
- Remove the getver.sh script. The make target print_version uses
134+
variables from autoconf instead.
135+
- Use "-n" instead of "-g" as the flag for the sort command in the Make
136+
target count because it is standardised and results in the same sorting.
137+
- Also update the manpages when calling "make upgrade".
138+
- Refactor make targets lex.yy.o and config.tab.o to avoid build failures
139+
when lex.yy.c got deleted and avoid unnecessary recompilations.
86140

87141
2.1.3-stable "Friedrichroda" : 17-Apr-2021:
88142
As usual, every new release gets named after a nice travel location.

0 commit comments

Comments
 (0)