configure
changeset 5809 cd61f8b74f7d
parent 5806 67ed054c6881
child 5811 cb94a44f0e29
--- a/configure	Sun Jan 07 09:24:18 2007 +0000
+++ b/configure	Sun Jan 07 09:48:10 2007 +0000
@@ -19,10 +19,8 @@
 MEDIA_DIR="$ROOT_DIR/media"
 SOURCE_LIST="$ROOT_DIR/source.list"
 
-if [ "$1" = "--reconfig" ]
-then
-	if ! [ -f "config.cache" ]
-	then
+if [ "$1" = "--reconfig" ]; then
+	if ! [ -f "config.cache" ]; then
 		echo "can't reconfigure, because never configured before"
 		exit 1
 	fi
@@ -39,8 +37,7 @@
 make_cflags_and_ldflags
 
 EXE=""
-if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ]
-then
+if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ]; then
 	EXE=".exe"
 fi
 
@@ -48,15 +45,13 @@
 STRGEN="strgen$EXE"
 ENDIAN_CHECK="endian_check$EXE"
 
-if [ -z "$sort" ]
-then
+if [ -z "$sort" ]; then
 	PIPE_SORT="sed s/a/a/"
 else
 	PIPE_SORT="$sort"
 fi
 
-if ! [ -f "$LANG_DIR/english.txt" ]
-then
+if ! [ -f "$LANG_DIR/english.txt" ]; then
 	echo "Languages not found in $LANG_DIR. Can't continue without it."
 	echo "Please make sure the dir exists and contains at least english.txt"
 fi
@@ -107,8 +102,7 @@
 SRCS="`    echo \"$SRCS\" | awk ' { ORS = " " } { print $0; }'`"
 
 # In makefiles, we always use -u for sort
-if [ -z "$sort" ]
-then
+if [ -z "$sort" ]; then
 	sort="sed s/a/a/"
 else
 	sort="$sort -u"