Index: trunk/src/sh_prelink.c
===================================================================
--- trunk/src/sh_prelink.c	(revision 373)
+++ trunk/src/sh_prelink.c	(revision 374)
@@ -48,8 +48,11 @@
       SL_RETURN((-1), _("sh_prelink_set_path")); 
     }
-
+#ifdef SH_EVAL_SHELL
   prelink_path = sh_util_strdup(str);
-
   SL_RETURN(0, _("sh_prelink_set_path")); 
+#else
+  prelink_path = NULL;
+  SL_RETURN((-1), _("sh_prelink_set_path"));
+#endif
 }
 
Index: trunk/src/sh_processcheck.c
===================================================================
--- trunk/src/sh_processcheck.c	(revision 373)
+++ trunk/src/sh_processcheck.c	(revision 374)
@@ -522,8 +522,11 @@
   if (sh_prochk_pspath)
     SH_FREE(sh_prochk_pspath);
+#ifdef SH_EVAL_SHELL
   sh_prochk_pspath = sh_util_strdup (str);
-
   SL_RETURN((0), _("sh_prochk_set_pspath"));
-
+#else
+  sh_prochk_pspath = NULL;
+  SL_RETURN((-1), _("sh_prochk_set_pspath"));
+#endif
 }
 
@@ -536,8 +539,11 @@
   if (sh_prochk_psarg)
     SH_FREE(sh_prochk_psarg);
+#ifdef SH_EVAL_SHELL
   sh_prochk_psarg = sh_util_strdup (str);
-
   SL_RETURN((0), _("sh_prochk_set_psarg"));
-
+#else
+  sh_prochk_psarg = NULL;
+  SL_RETURN((-1), _("sh_prochk_set_psarg"));
+#endif
 }
 
