--- ./sconfig.h	2002-07-09 23:15:14.000000000 -0700
+++ /home/bfulgham/sconfig.h	2002-11-01 22:31:40.000000000 -0800
@@ -183,6 +183,9 @@
 #  define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-linux"
 #  define REGISTER_POOR_MACHINE
 # endif
+# if defined(__hppa__)
+#  define SCHEME_PLATFORM_LIBRARY_SUBPATH "hppa-linux"
+# endif
 # if defined(powerpc)
 #  define SCHEME_PLATFORM_LIBRARY_SUBPATH "ppc-linux"
 #  define SCHEME_BIG_ENDIAN
@@ -208,12 +211,18 @@
 
 # define HAS_LINUX_IOB
 
-# define STACK_GROWS_DOWN
-
 # if defined(__alpha)
 #  define SIXTY_FOUR_BIT_INTEGERS
 # endif
 
+# if defined(__hppa__)
+#  define STACK_GROWS_UP
+#  define SIXTY_FOUR_BIT_INTEGERS
+# else
+#  define STACK_GROWS_DOWN
+# endif
+
+
 # define USE_IEEE_FP_PREDS
 # define USE_EXPLICT_FP_FORM_CHECK
 
@@ -402,7 +411,7 @@
 
   /************** HP/UX with cc ****************/
 
-#if defined(_PA_RISC1_0) || defined(_PA_RISC1_1)
+#if (defined(_PA_RISC1_0) || defined(_PA_RISC1_1)) && !defined(linux)
 
 # define SCHEME_PLATFORM_LIBRARY_SUBPATH "parisc-hpux"
 
