]> andersk Git - gssapi-openssh.git/blobdiff - openssh/make_gpt_dist
add check to make sure configure script was generated
[gssapi-openssh.git] / openssh / make_gpt_dist
index 99fa782ac2be482ed26db69ac902452cc3703b0c..6f9c96c36c11808a90c97f01499c5ebb9f5ac91d 100755 (executable)
@@ -111,7 +111,12 @@ system("rm -rf `find . -name CVS -print`")==0 or die "Unable to remove cvs direc
 
 printf("running make distprep...\n");
 system("make -f Makefile.in distprep")==0 or die "Could not run make distprep: $?";
-
+if ( ! -e "configure" )
+{
+    printf("'make distprep' failed to create configure.\n");
+    printf("Check PATH for autoreconf.\n");
+    die;
+}
 chdir("../");
 
 #
This page took 0.032041 seconds and 4 git commands to generate.