From 702d2d17ba84fe172cdefd0d2943ad77ccd81e54 Mon Sep 17 00:00:00 2001 From: Pavlo Kleymonov Date: Fri, 14 Mar 2025 12:45:53 +0100 Subject: [PATCH] add support for QNX 7.1/8.0 --- cnf/configure_tool.sh | 4 ++++ cnf/hints/nto | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 cnf/hints/nto diff --git a/cnf/configure_tool.sh b/cnf/configure_tool.sh index 1537f11..5b6d099 100644 --- a/cnf/configure_tool.sh +++ b/cnf/configure_tool.sh @@ -254,6 +254,10 @@ if not hinted 'osname'; then define osname "linux" result "Linux" ;; + *-nto*) + define osname "nto" + result "QNX" + ;; *-netbsd*) define osname "netbsd" result "NetBSD" diff --git a/cnf/hints/nto b/cnf/hints/nto new file mode 100644 index 0000000..0617de1 --- /dev/null +++ b/cnf/hints/nto @@ -0,0 +1,13 @@ +# Linux syscalls +d_voidsig='define' +d_nanosleep='define' +d_clock_gettime='define' +d_clock_getres='define' +d_clock_nanosleep='define' +d_clock='define' + +# From the original linux.sh +usemallocwrap='define' + +# libraries to test +libswanted='m crypt pthread sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun sec util c cposix posix ucb BSD gdbm_compat'