summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:47 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:47 +0200
commit2860b03f00e48264ed15c132ad90b240ebe6070b (patch)
tree09ed88e28d4a83eb2b1cb17c2d424ba6467292f7 /configure
parenteab0b1c2d649fa16707b24cd2a91f195078167b0 (diff)
tagging ychat-0.7.9.5ychat-0.7.9.5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure b/configure
index b1d4746..9aab971 100755
--- a/configure
+++ b/configure
@@ -1,8 +1,7 @@
#!/bin/sh
-if ! which perl >/dev/null
+if ! ./scripts/checkperl.sh
then
- echo You need to have Perl in your PATH
exit 1
fi
@@ -62,7 +61,7 @@ perl -e '
exit(1);
}
- system("sh -c \"scripts/config.sh\"");
+ system("perl \"scripts/config.pl\"");
chdir("src");
system("./configure ".join(" ", @ARGV));
chdir("..");
@@ -70,4 +69,9 @@ perl -e '
exit(0);
' `echo "$*" | sed "s/-//g"`
-echo You are ready to type gmake now!
+if test -f err
+then
+ rm -f err
+else
+ echo You are ready to type gmake now!
+fi