Changeset

7607:d17bc0d0748e

configure: Normalize whitespace
author Kim Alvefur <zash@zash.se>
date Fri, 19 Aug 2016 14:43:38 +0200
parents 7582:e080b8b4f3cb
children 7608:2306d261ca0a
files configure
diffstat 1 files changed, 40 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Aug 18 15:21:30 2016 +0200
+++ b/configure	Fri Aug 19 14:43:38 2016 +0200
@@ -106,43 +106,43 @@
       OSTYPE="$value"
       OSTYPE_SET=yes
       if [ "$OSTYPE" = "debian" ]; then
-        LUA_SUFFIX="5.1";
-      	LUA_SUFFIX_SET=yes
-      	RUNWITH="lua5.1"
-      	LUA_INCDIR=/usr/include/lua5.1;
-      	LUA_INCDIR_SET=yes
-      	CFLAGS="$CFLAGS -D_GNU_SOURCE"
-    	fi
-    	if [ "$OSTYPE" = "macosx" ]; then
-        LUA_INCDIR=/usr/local/include;
-      	LUA_INCDIR_SET=yes
-      	LUA_LIBDIR=/usr/local/lib
-      	LUA_LIBDIR_SET=yes
-      	CFLAGS="$CFLAGS -mmacosx-version-min=10.3"
-      	LDFLAGS="-bundle -undefined dynamic_lookup"
-    	fi
+         LUA_SUFFIX="5.1";
+         LUA_SUFFIX_SET=yes
+         RUNWITH="lua5.1"
+         LUA_INCDIR=/usr/include/lua5.1;
+         LUA_INCDIR_SET=yes
+         CFLAGS="$CFLAGS -D_GNU_SOURCE"
+      fi
+      if [ "$OSTYPE" = "macosx" ]; then
+         LUA_INCDIR=/usr/local/include;
+         LUA_INCDIR_SET=yes
+         LUA_LIBDIR=/usr/local/lib
+         LUA_LIBDIR_SET=yes
+         CFLAGS="$CFLAGS -mmacosx-version-min=10.3"
+         LDFLAGS="-bundle -undefined dynamic_lookup"
+      fi
       if [ "$OSTYPE" = "linux" ]; then
-        LUA_INCDIR=/usr/local/include;
-        LUA_INCDIR_SET=yes
-        LUA_LIBDIR=/usr/local/lib
-        LUA_LIBDIR_SET=yes
-        CFLAGS="-Wall -fPIC -D_GNU_SOURCE"
-        LDFLAGS="-shared"
+         LUA_INCDIR=/usr/local/include;
+         LUA_INCDIR_SET=yes
+         LUA_LIBDIR=/usr/local/lib
+         LUA_LIBDIR_SET=yes
+         CFLAGS="-Wall -fPIC -D_GNU_SOURCE"
+         LDFLAGS="-shared"
       fi
       if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then
-        LUA_INCDIR="/usr/local/include/lua51"
-        LUA_INCDIR_SET=yes
-        CFLAGS="-Wall -fPIC -I/usr/local/include"
-        LDFLAGS="-I/usr/local/include -L/usr/local/lib -shared"
-        LUA_SUFFIX="-5.1"
-        LUA_SUFFIX_SET=yes
-        LUA_DIR=/usr/local
-        LUA_DIR_SET=yes
-        CC=cc
-        LD=ld
+         LUA_INCDIR="/usr/local/include/lua51"
+         LUA_INCDIR_SET=yes
+         CFLAGS="-Wall -fPIC -I/usr/local/include"
+         LDFLAGS="-I/usr/local/include -L/usr/local/lib -shared"
+         LUA_SUFFIX="-5.1"
+         LUA_SUFFIX_SET=yes
+         LUA_DIR=/usr/local
+         LUA_DIR_SET=yes
+         CC=cc
+         LD=ld
       fi
       if [ "$OSTYPE" = "openbsd" ]; then
-        LUA_INCDIR="/usr/local/include";
+         LUA_INCDIR="/usr/local/include";
       fi
       ;;
    --libdir=*)
@@ -150,8 +150,8 @@
       LIBDIR_SET=yes
       ;;
    --datadir=*)
-   	DATADIR="$value"
-   	DATADIR_SET=yes
+      DATADIR="$value"
+      DATADIR_SET=yes
       ;;
    --require-config)
       REQUIRE_CONFIG=yes
@@ -174,9 +174,9 @@
    --with-idn=*)
       IDN_LIB="$value"
       ;;
-	--idn-library=*)
-		IDN_LIBRARY="$value"
-		;;
+   --idn-library=*)
+      IDN_LIBRARY="$value"
+      ;;
    --with-ssl=*)
       OPENSSL_LIB="$value"
       ;;
@@ -318,12 +318,12 @@
 
 if [ "$IDN_LIBRARY" = "icu" ]
 then
-	IDNA_LIBS="$ICU_FLAGS"
-	CFLAGS="$CFLAGS -DUSE_STRINGPREP_ICU"
+   IDNA_LIBS="$ICU_FLAGS"
+   CFLAGS="$CFLAGS -DUSE_STRINGPREP_ICU"
 fi
 if [ "$IDN_LIBRARY" = "idn" ]
 then
-	IDNA_LIBS="-l$IDN_LIB"
+   IDNA_LIBS="-l$IDN_LIB"
 fi
 
 OPENSSL_LIBS="-l$OPENSSL_LIB"