diff --git a/src/modules/Oracle/configure.in b/src/modules/Oracle/configure.in
index 0b73244f80758189ef01ec4dbda0867130cffb1e..8755af25b06d3d2905f9e1168ddc5a889ff836c2 100755
--- a/src/modules/Oracle/configure.in
+++ b/src/modules/Oracle/configure.in
@@ -1,5 +1,5 @@
 #
-# $Id: configure.in,v 1.26 2000/11/01 14:22:05 grubba Exp $
+# $Id: configure.in,v 1.27 2000/11/03 14:10:32 grubba Exp $
 #
 # Configure script for the oracle module
 #
@@ -15,6 +15,14 @@ AC_ARG_WITH(oracle,  [  --without-oracle       no support for the Oracle databas
 
 if test x$with_oracle = xyes; then
 
+  AC_MSG_CHECKING(if this is HP-UX)
+  if test "x$piks_cv_sys_os" = "xHP-UX"; then
+    AC_MSG_RESULT(yes - disabling dynamic loading for this module)
+    dynamic_module_makefile="$static_module_makefile"
+  else
+    AC_MSG_RESULT(no)
+  fi
+
   AC_MSG_CHECKING(if \$ORACLE_HOME is set)
 
   AC_CACHE_VAL(pike_cv_oracle_oracle_home, [