From e5b0f31c560d4801968e42fca33743976a7d29c4 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Wed, 30 Mar 2005 06:03:33 +0000 Subject: 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 --- configure | 16 ++++++++-------- 1 file 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" -- cgit v1.2.3