diff -ruN autopsy-1.75-old/configure autopsy-1.75/configure
--- autopsy-1.75-old/configure	2003-11-15 18:39:56.000000000 +0100
+++ autopsy-1.75/configure	2003-11-28 20:10:52.000000000 +0100
@@ -86,16 +86,19 @@
   echo 'ERROR: perl not found';
   while (test 1 -eq 1) 
     do echo 'Enter Location:';
-    read perlexe;
+    # read perlexe;
+	 perlexe="/usr/bin/perl";
     if (test -x "$perlexe") then
       if (test -n "`$perlexe -v 2> /dev/null | awk '/This is perl/ {print $0}'`")       then
         echo "#!$perlexe -wT" > ./config.tmp;
         break;
       else
         echo "Perl found, but is not working.  Try another";
+		  exit 1;
       fi;
     else
       echo "file not found";
+		exit 1;
     fi
   done
 fi
@@ -112,7 +115,8 @@
 # Write autopsyfunc.pm
 if (test -f ./autopsyfunc.pm) then
   echo "autopsyfunc.pm already exists, overwrite? (y/n):";
-  read rep;
+  # read rep;
+  rep=y;
   if (test "$rep" = "y") then
     cat ./config.tmp base/autopsyfunc.pm.base > ./autopsyfunc.pm;
   else 
@@ -124,12 +128,14 @@
 
 
 # Get current working directory for lib
-echo "use lib '$PWD';" >> ./config.tmp
+# echo "use lib '$PWD';" >> ./config.tmp
+echo "use lib '/usr/share/autopsy';" >> ./config.tmp
 
 # Write autopsy
 if (test -f ./autopsy) then
   echo "autopsy already exists, overwrite? (y/n):";
-  read rep;
+  # read rep;
+  rep=y;
   if (test "$rep" = "y") then
     cat ./config.tmp base/autopsy.base > ./autopsy
   else 
@@ -153,7 +159,8 @@
 
 if (test -f $conf) then
   echo "A configuration file already exists, overwrite? (y/n):";
-  read rep;
+  # read rep;
+  rep=y;
   if (test "$rep" = "n") then
     exit 0;
   fi
@@ -218,7 +225,8 @@
 # INSTALLATION DIRECTORY
 #############################################################################
 echo '' >> $conf;
-echo \$INSTALLDIR = \'$PWD/\'\; >> $conf; 
+# echo \$INSTALLDIR = \'$PWD/\'\; >> $conf; 
+echo \$INSTALLDIR = \'/usr/share/autopsy/\'\; >> $conf;
 
 
 #############################################################################
@@ -266,13 +274,15 @@
   echo 'ERROR: strings utility not found';
   echo 'Enter location:';
   while (test 1 -eq 1) 
-    do read str_loc;
+    # do read str_loc;
+	 do str_loc="/usr/bin/strings";
     if (test -x "$str_loc") then
 	  echo \$STRINGS_EXE = \'$str_loc\'\; >> $conf; 
       echo "strings found: $str_loc";
       break;
     else
       echo 'strings was not found (try again):';
+		exit 1;
     fi;
   done
 fi
@@ -322,12 +332,14 @@
   echo 'ERROR: grep utility not found';
   echo 'Enter Location:';
   while (test 1 -eq 1) 
-    do read grepexe;
+    # do read grepexe;
+	 do grepexe="/bin/grep";
     if (test -x "$grepexe") then
 	  echo \$GREP_EXE = \'$grepexe\'\; >> $conf; 
       break;
     else
       echo 'grep was not found (try again):';
+		exit 1;
     fi;
   done
 fi
@@ -350,7 +362,8 @@
 echo ''
 echo 'Enter the directory where you installed it:'
 while (test 1 -eq 1) 
-  do read taskdir;
+  # do read taskdir;
+  do taskdir="/usr";
   if (test -x "${taskdir}/bin/icat") then
     if (test -x "${taskdir}/bin/fls") then
       echo '  Sleuth Kit bin directory was found';
@@ -358,9 +371,11 @@
       break;
     else
       echo 'The Sleuth Kit was not fully found (did you give me a TCT or TASK directory?) (try again):';
+		exit 1;
     fi
   else
     echo 'The Sleuth Kit was not found (try again):';
+	 exit 1;
   fi;
 done
 
@@ -381,12 +396,14 @@
 echo '         http://www.nsrl.nist.gov'
 echo ''
 echo 'Have you purchased or downloaded a copy of the NSRL (y/n) [n]'
-read rep;
+# read rep;
+rep=y;
 if (test "$rep" = "y") then
 
   echo 'Enter the directory where you installed it:'
   while (test 1 -eq 1) 
-    do read nsrldir;
+    # do read nsrldir;
+	 do nsrldir="/var/share/NSRL";
     if (test "$nsrldir" = "cancel") then
         echo \$NSRLDB = \'\'\; >> $conf;
 		break;
@@ -397,9 +414,11 @@
 
 	  if (test -f "${nsrldir}/NSRLFile.txt-md5.idx") then
 		echo '  NSRL Index file found (NSRLFile.txt-md5.idx)';
+		break;
       else
         echo '  NSRL Index file not found, do you want it created? (y/n) [n]:'
-        read rep;
+        # read rep;
+		  rep=y;
         if (test "$rep" = "y") then
           echo ''
           echo '-------------- begin hfind output --------------'
@@ -408,10 +427,10 @@
           echo ''
 		fi;
 	  fi;
-      break;
     else
       echo 'The NSRL was not found (the directory should have NSRLFile.txt in it)';
-	  echo 'Enter a new directory (or cancel to stop):';
+      break;
+	   echo 'Enter a new directory (or cancel to stop):';
     fi;
   done
 else
@@ -429,7 +448,8 @@
 echo 'Evidence Locker directory.'
 echo ''
 echo 'Enter the directory that you want to use for the Evidence Locker:';
-read locker;
+# read locker;
+locker="/var/lib/autopsy";
 if (test -d "${locker}") then
   echo "  $locker already exists"
 else
