NagiosEnterprises / nagioscore

Nagios Core
GNU General Public License v2.0
1.53k stars 445 forks source link

Get autoreconf working and update configure scripts #985

Closed tsadpbb closed 3 weeks ago

tsadpbb commented 1 month ago

I wanted to get testing working. I was able to fix a lot of the problems I encountered by running autoreconf -if but there were also some unintended changes. Namely, autoheader remakes config.h.in. This file seems to be manually maintained instead of using autoheader so I added a dummy config file that just gets ignored. I also noticed some obsoleted macros found here and updated them. autoupdate helped.

I used versions of the autotools from CentOS 9 autoconf 2.69 automake 1.16.2 libtool 2.4.6

tsadpbb commented 1 month ago

Updated the versions autotools and ran autoreconf -if m4: 1.4.19 autoconf: 2.72 automake: 1.17 libtool: 2.4.7

tsadpbb commented 1 month ago

Tested on the following distros: CentOS 9 Oracle 8 Oracle 9 RHEL 8 RHEL 9 Debian 11 Ubuntu 20 Ubuntu 22 Ubuntu 24