Remove -L/usr/lib from TCL_LIB to avoid dependancy problems
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 Apr 2003 09:09:20 +0000 (09:09 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 Apr 2003 09:09:20 +0000 (09:09 +0000)
configure.in

index 535357f..0080459 100644 (file)
@@ -1,5 +1,5 @@
 dnl Zebra, Index Data Aps, 1995-2003
-dnl $Id: configure.in,v 1.75 2003-04-15 20:56:47 adam Exp $
+dnl $Id: configure.in,v 1.76 2003-04-24 09:09:20 adam Exp $
 dnl
 AC_INIT(include/zebraver.h)
 AM_INIT_AUTOMAKE(idzebra,1.3.10)
@@ -112,6 +112,7 @@ if test -r ${tclconfig}/tclConfig.sh; then
                TCL_INCLUDE=-I${TCL_PREFIX}/include
                TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS"
        fi
+       TCL_LIB=`echo $TCL_LIB|sed 's%-L/usr/lib%%g'`
         SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
         SHLIB_LD=$TCL_SHLIB_LD
         SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX