commons-daemon
commons-daemon copied to clipboard
Fix several issues around Java OS and header files location detection
trafficstars
Tested on RHEL, FreeBSD and HP-UX.
This implicitly fixes build on HP-UX because now it says -I/opt/java8/include/hp-ux, but this dir does not exist. There is only:
$ stat /opt/java8/include/hpux
Datei: /opt/java8/include/hpux
Größe: 1024 Blöcke: 1 EA Block: 8192 Verzeichnis
Gerät: 64/65537 Inode: 27925 Verknüpfungen: 2
Zugriff: (0555/dr-xr-xr-x) Uid: ( 2/ bin) Gid: ( 2/ bin)
Zugriff: 2024-06-05 14:29:57.000000000 +0200
Modifiziert: 2019-12-12 23:09:58.000000000 +0100
Geändert: 2024-06-05 22:58:13.000000000 +0200
Geburt: -
in contrast to
$ stat /opt/java8/include/hp-ux
stat: der Aufruf von stat für '/opt/java8/include/hp-ux' ist nicht möglich: Keine Datei und kein Verzeichnis
If I don't here any objections I will merge this by end of week.
No objection here.