From 6604b0e27780f4e9a1c53f86793512c6425b9773 Mon Sep 17 00:00:00 2001 From: jbasney Date: Wed, 30 Jun 2004 22:20:08 +0000 Subject: [PATCH] add check to make sure configure script was generated --- openssh/make_gpt_dist | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openssh/make_gpt_dist b/openssh/make_gpt_dist index 99fa782..6f9c96c 100755 --- a/openssh/make_gpt_dist +++ b/openssh/make_gpt_dist @@ -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("../"); # -- 2.45.1