build: Fix libraries for HP-UX.
authorNIIBE Yutaka <gniibe@fsij.org>
Sun, 27 May 2018 23:55:15 +0000 (08:55 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Sun, 27 May 2018 23:55:15 +0000 (08:55 +0900)
commitf8b8e5d1112a7b1aee0669ed14679ca27e8a95df
treea3d142ef8872e2df7bb7a96368727ae7a71ac10c
parent167b0dde6f77a15af2e75da570e88720a335705e
build: Fix libraries for HP-UX.

* configure.ac: HP-UX requires -lpthread and -lrt.

--

Since HP-UX has stub for pthread functions in C library, it
is required to link -lpthread.  POSIX semaphore functions like
sem_init is required to link -lrt.  Tested on ia64-hp-hpux11.31.

Reported-by: John Hirsch
GnuPG-bug-id: 3980
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
configure.ac