summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 22:26:25 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 22:26:25 +0000
commit5f30e68a76f0b4e71884675adb59c931bdb19fb8 (patch)
treeb8d193c376d4cca79fc1319bea3db7a35a313e2f /configure
parentf82f00034a60281cc63b2fecec15f87084af2a68 (diff)
Fixed FreeBSD bugs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@369 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index f15498b9e..ae676d17e 100755
--- a/configure
+++ b/configure
@@ -368,10 +368,12 @@ case "$OSNAME" in
(FreeBSD)
LDLIBS="-Ldl"
FLAGS="-fPIC -frtti -O3"
+ MAKEPROG="gmake"
;;
(*)
LDLIBS="-ldl"
FLAGS="-fPIC -frtti -O3"
+ MAKEPROG="make"
;;
esac
@@ -397,7 +399,7 @@ if [ "$YN" != "n" ] ; then
echo -e "\033[1;32mCompiling...\033[0;37m"
echo ""
cd $ME
- make
+ `$MAKEPROG`
echo ""
echo "Done!"
echo ""