git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1379 77e5149b-7576-45b1-b177-96237e5ba77b
... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Mon Mar 7 00:32:38 CET 2005 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * configure: add support for QNX 6 (patch by mikep*kaluga.org) |
|
4 |
+ |
|
1 | 5 |
Sat Mar 5 11:07:34 GMT 2005 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* clamav-milter: Note about --local needed if incoming socket is INET |
... | ... |
@@ -10334,8 +10334,8 @@ else |
10334 | 10334 |
|
10335 | 10335 |
if test -n "$vuln"; then |
10336 | 10336 |
if test "$zlib_check" = "yes"; then |
10337 |
- { { echo "$as_me:$LINENO: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stablility issues then!" >&5 |
|
10338 |
-echo "$as_me: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stablility issues then!" >&2;} |
|
10337 |
+ { { echo "$as_me:$LINENO: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!" >&5 |
|
10338 |
+echo "$as_me: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!" >&2;} |
|
10339 | 10339 |
{ (exit 1); exit 1; }; } |
10340 | 10340 |
else |
10341 | 10341 |
{ echo "$as_me:$LINENO: WARNING: ****** This ClamAV installation may be linked against" >&5 |
... | ... |
@@ -11892,6 +11892,25 @@ cat >>confdefs.h <<\_ACEOF |
11892 | 11892 |
_ACEOF |
11893 | 11893 |
|
11894 | 11894 |
;; |
11895 |
+nto-qnx*) |
|
11896 |
+ if test "$have_pthreads" = "yes"; then |
|
11897 |
+ |
|
11898 |
+cat >>confdefs.h <<\_ACEOF |
|
11899 |
+#define CL_THREAD_SAFE 1 |
|
11900 |
+_ACEOF |
|
11901 |
+ |
|
11902 |
+ |
|
11903 |
+cat >>confdefs.h <<\_ACEOF |
|
11904 |
+#define _REENTRANT 1 |
|
11905 |
+_ACEOF |
|
11906 |
+ |
|
11907 |
+ fi |
|
11908 |
+ |
|
11909 |
+cat >>confdefs.h <<\_ACEOF |
|
11910 |
+#define C_QNX6 1 |
|
11911 |
+_ACEOF |
|
11912 |
+ |
|
11913 |
+ ;; |
|
11895 | 11914 |
irix*) |
11896 | 11915 |
if test "$have_pthreads" = "yes"; then |
11897 | 11916 |
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lpthread" |
... | ... |
@@ -111,7 +111,7 @@ else |
111 | 111 |
|
112 | 112 |
if test -n "$vuln"; then |
113 | 113 |
if test "$zlib_check" = "yes"; then |
114 |
- AC_MSG_ERROR(The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stablility issues then!) |
|
114 |
+ AC_MSG_ERROR(The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!) |
|
115 | 115 |
else |
116 | 116 |
AC_MSG_WARN([****** This ClamAV installation may be linked against]) |
117 | 117 |
AC_MSG_WARN([****** a broken zlib version. Please DO NOT report any]) |
... | ... |
@@ -475,6 +475,13 @@ aix*) |
475 | 475 |
fi |
476 | 476 |
AC_DEFINE(C_AIX,1,[os is aix]) |
477 | 477 |
;; |
478 |
+nto-qnx*) |
|
479 |
+ if test "$have_pthreads" = "yes"; then |
|
480 |
+ AC_DEFINE(CL_THREAD_SAFE,1,[thread safe]) |
|
481 |
+ AC_DEFINE(_REENTRANT,1,[thread safe]) |
|
482 |
+ fi |
|
483 |
+ AC_DEFINE(C_QNX6,1,[os is QNX 6.x.x]) |
|
484 |
+ ;; |
|
478 | 485 |
irix*) |
479 | 486 |
if test "$have_pthreads" = "yes"; then |
480 | 487 |
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lpthread" |