defined user provided libdir and incdir to USER_OPTS_LD, etc so that it gets through...
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Aug 2005 16:38:35 +0000 (16:38 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Aug 2005 16:38:35 +0000 (16:38 +0000)
build

diff --git a/build b/build
index baa196e0047d7005070110c056ed489224a7fd1e..c1791bdc76a43f430638f6b89881168c3e2d0870 100755 (executable)
--- a/build
+++ b/build
@@ -373,13 +373,13 @@ echo "Generating $ConvUsr"
 echo > $ConvUsr
 if test -n "$LIBDIR" 
 then
-  echo 'OPTS_LD="$OPTS_LD '$LIBDIR'"' >> $ConvUsr
-  echo 'OPTS_LDXX="$OPTS_LDXX '$LIBDIR'"' >> $ConvUsr
+  echo 'USER_OPTS_LD="$USER_OPTS_LD '$LIBDIR'"' >> $ConvUsr
+  echo 'USER_OPTS_LDXX="$USER_OPTS_LDXX '$LIBDIR'"' >> $ConvUsr
 fi
 if test -n "$INCDIR" 
 then
-  echo 'OPTS_CC="$OPTS_CC '$INCDIR'"' >> $ConvUsr
-  echo 'OPTS_CXX="$OPTS_CXX '$INCDIR'"' >> $ConvUsr
+  echo 'USER_OPTS_CC="$USER_OPTS_CC '$INCDIR'"' >> $ConvUsr
+  echo 'USER_OPTS_CXX="$USER_OPTS_CXX '$INCDIR'"' >> $ConvUsr
 fi
 chmod +x $ConvUsr