s3:build: fix shared library build on QNX
authorBjörn Jacke <bj@sernet.de>
Wed, 2 Dec 2009 23:02:44 +0000 (00:02 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 Dec 2009 14:53:40 +0000 (15:53 +0100)
Fixes #6860. Thanks to Matt Kraai!
(cherry picked from commit 1d013fd03295433698f2b301dbf8324a3db528eb)

source3/configure.in

index 705aa9bda5893d46608eef8487b85d5457ee5d8b..3b8c9166d310d871b8f8fefabfc85ca063553e46 100644 (file)
@@ -1524,9 +1524,10 @@ DSO_EXPORTS=""
 
   # and these are for particular systems
   case "$host_os" in
-               *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
-                       case "$host_os" in *linux*)
-                               AC_DEFINE(LINUX,1,[Whether the host os is linux]) ;;
+               *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu | *qnx*)
+                       case "$host_os" in
+                               *linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux]) ;;
+                               *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx]) ;;
                        esac
                        BLDSHARED="true"
                        if test "${ac_cv_gnu_ld_no_default_allow_shlib_undefined}" = "yes"; then