]> git.stg.codes - stg.git/blobdiff - projects/sgconf_xml/build
Add FreeBSD9 support
[stg.git] / projects / sgconf_xml / build
index 916b1146e64f18729d6c95252d071b67fc4b2b78..f78e6f70ccbf41c58dd25f26030ac699b31d3c25 100755 (executable)
@@ -48,6 +48,7 @@ then
         6) OS=bsd5;;   
         7) OS=bsd7;;
         8) OS=bsd7;;
+        9) OS=bsd7;;
         *) OS=unknown;;
     esac
     MAKE="gmake"
@@ -74,7 +75,6 @@ if [ "$OS" = "linux" ]
 then
     DEFS="$DEFS -DLINUX"
     LIB_THREAD=-lpthread
-    SHELL="/bin/bash"
 else
     if [ "$OS" = "bsd" ]
     then
@@ -88,7 +88,6 @@ else
             LIB_THREAD=-lc_r
         fi
     fi
-    SHELL="/usr/local/bin/bash"
 fi
 
 if [ -z "$CC" ]
@@ -181,7 +180,6 @@ do
 done
 echo "" >> $CONFFILE
 echo "LIB_THREAD=$LIB_THREAD" >> $CONFFILE
-echo "SHELL=$SHELL" >> $CONFFILE
 echo "CXXFLAGS=$CXXFLAGS" >> $CONFFILE
 echo "CFLAGS=$CFLAGS" >> $CONFFILE
 echo "LDFLAGS=$LDFLAGS" >> $CONFFILE