+ /* Don't worry about races here because we're just checking that
+ * the installation looks reasonable.
+ *
+ * Die if the init script does not exist. */
+ if (access ("@INITSCRIPT@", R_OK) == -1) {
+ perror ("@INITSCRIPT@");
+ exit (1);
+ }
+
+ /* Die if the ocaml program does not exist. */
+ if (access ("@OCAML@", R_OK|X_OK) == -1) {
+ perror ("@OCAML@");
+ exit (1);
+ }
+
+ /* Die if the chroot directory does not exist. */
+ if (access ("@CHROOTDIR@", R_OK|X_OK) == -1) {
+ perror ("@CHROOTDIR@");
+ exit (1);
+ }
+