summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-30 06:03:33 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-30 06:03:33 +0000
commite5b0f31c560d4801968e42fca33743976a7d29c4 (patch)
treeef17c16aed8820e20689c9d22e2365db685c4725
parent976b8fd690df06fa9c86d63609ec4f0ce5e9a55f (diff)
Fixed Potential bug in ./configure (case switches should be flag) not (flag)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@933 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index cc603917b..afc228539 100755
--- a/configure
+++ b/configure
@@ -54,12 +54,12 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then
# Check for modules
case "$OSNAME" in
- (FreeBSD)
+ FreeBSD)
LDLIBS="-Ldl"
FLAGS="-fPIC -frtti $OPTIMISATI"
MAKEPROG="gmake"
;;
- (*)
+ *)
LDLIBS="-ldl"
FLAGS="-fPIC -frtti $OPTIMISATI"
MAKEPROG="make"
@@ -371,19 +371,19 @@ echo ""
cc=$OPTIMITEMP
fi
case "$cc" in
- (1)
+ 1)
OPTIMITEMP=1
OPTIMISATI="-O"
;;
- (2)
+ 2)
OPTIMITEMP=2
OPTIMISATI="-O2"
;;
- (3)
+ 3)
OPTIMITEMP=3
OPTIMISATI="-O3"
;;
- (*)
+ *)
OPTIMITEMP=0
OPTIMISATI="-g"
;;
@@ -461,12 +461,12 @@ touch include/inspircd_config.h
echo "Preparing Variables for the Makefile"
case "$OSNAME" in
- (FreeBSD)
+ FreeBSD)
LDLIBS="-Ldl"
FLAGS="-fPIC -frtti $OPTIMISATI"
MAKEPROG="gmake"
;;
- (*)
+ *)
LDLIBS="-ldl"
FLAGS="-fPIC -frtti $OPTIMISATI"
MAKEPROG="make"