aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure20
1 files changed, 11 insertions, 9 deletions
diff --git a/configure b/configure
index 93633e8..c976786 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.8 2001/11/21 03:58:32 ukai Exp $
+# $Id: configure,v 1.9 2001/11/21 09:21:59 ukai Exp $
# Configuration.
#
@@ -1014,6 +1014,15 @@ else
fi
rm -rf hogege 2>&1 >/dev/null
+####### perl
+perl=`./which perl`
+if [ `expr "$perl" : 'not found'` != 0 ]; then
+ echo "You don't have perl."
+ perl=/usr/local/bin/perl
+else
+ echo "You have perl."
+fi
+
####### strcasecmp
cat > _zmachdep.c << EOF
#include <string.h>
@@ -1807,6 +1816,7 @@ GCLIB=$gclib
GCTARGET=$gctarget
RANLIB=$ranlib_cmd
MKDIR=$MKDIR
+PERL=$perl
VERSION=$w3mversion
MODEL=$sysname.$platform-$modelname-$lang
#else
@@ -1929,12 +1939,4 @@ echo 'config.h is created. See config.h for further configuration.'
echo ''
echo 'Generating scripts/dirlist.cgi'
-perl=`./which perl`
-if [ `expr "$perl" : 'not found'` != 0 ]; then
- perl=/usr/local/bin/perl
-fi
-sed -e "s;@PERL@;$perl;" \
- scripts/dirlist.cgi.in > scripts/dirlist.cgi
-chmod +x scripts/dirlist.cgi
-
echo 'Configuration done. Just type "make".'