summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure b/configure
index 21bddac07..19701c3e1 100755
--- a/configure
+++ b/configure
@@ -69,7 +69,7 @@ rm -rf fdscount
if [ "$PERL" = "" ] ; then
echo "You require perl to run this program."
- exit;
+ exit
fi
@@ -275,6 +275,16 @@ echo "#define MAXBUF 514">>include/inspircd_config.h
touch include/inspircd_config.h
echo -e "Writing \033[1;37m$OSNAME\033[0;37m makefile"
+echo ""
+
+if exists "Makefile.$OSNAME" ; then
+ echo "Operating system supported."
+else
+ echo "Your operating system, \"$OSNAME\", is not supported!"
+ exit
+fi
+
+echo ""
cp -f Makefile.$OSNAME Makefile
cp -f src/Makefile.$OSNAME src/Makefile