|
1 |
| -# HP-UX 10 has a select() in libcurses, so we need to get the libc version, |
2 |
| -# which we do by linking -lc before -lcurses. (Unfortunately we can't |
3 |
| -# just not use libcurses.) This also ensures that we get the POSIX signal |
4 |
| -# routines in libc, not the BSD-like ones in libBSD. |
5 |
| -LIBS := -lc $(LIBS) |
6 |
| - |
7 |
| -# On the other hand, if we don't have POSIX signals, we need to use the |
8 |
| -# libBSD signal routines. (HPUX 9 and early HPUX 10 releases don't have |
9 |
| -# POSIX signals.) Make sure libBSD comes before libc in that case. |
| 1 | +# If we don't have POSIX signals, we need to use the libBSD signal routines. |
| 2 | +# (HPUX 9 and early HPUX 10 releases don't have POSIX signals.) Link in |
| 3 | +# libBSD only in that case. |
10 | 4 | ifeq ($(HAVE_POSIX_SIGNALS), no)
|
11 | 5 | LIBS := -lBSD $(LIBS)
|
12 | 6 | endif
|
|