Diff

Differences From Artifact [04ee15ac39]:

To Artifact [f592be87db]:


    89     89   		NEWLIBS=""
    90     90   		for lib in ${LIBS}; do
    91     91   			if echo "${lib}" | grep '^-l' >/dev/null; then
    92     92   				if echo " ${NEWLIBS} " | grep " ${lib} " >/dev/null; then
    93     93   					continue
    94     94   				fi
    95     95   			fi
           96  +
    96     97   			NEWLIBS="${NEWLIBS} ${lib}"
    97     98   		done
    98     99   		LIBS="${NEWLIBS}"
          100  +		unset NEWLIBS
    99    101   	fi
   100    102   
   101    103   	AC_SUBST(CFLAGS)
   102    104   	AC_SUBST(CPPFLAGS)
   103    105   	AC_SUBST(LIBS)
   104    106   
   105    107   	AC_MSG_RESULT([$tkconfigsh])
................................................................................
   121    123   			found="1"
   122    124   
   123    125   			break
   124    126   		])
   125    127   	done
   126    128   
   127    129   	if test "${found}" = "1"; then
   128         -		SAVELIBS=`echo "$SAVELIBS" | sed 's@ $2 @@'`
          130  +		SAVELIBS=`echo "$SAVELIBS" | sed 's@ $2 @ @'`
   129    131   		LIBS="${SAVELIBS} ${staticlib}"
   130    132   
   131    133   		AC_MSG_RESULT([${staticlib}])
   132    134   
   133    135   		AC_SUBST(LIBS)
   134    136   
   135    137   		$3