--- autotrace-0.31.1/configure.in.orig 2007-01-08 20:33:26 +0300 +++ autotrace-0.31.1/configure.in 2007-01-08 21:16:07 +0300 @@ -278,28 +278,6 @@ [ --with-pstoedit link with pstoedit library(default) --without-pstoedit link without pstoedit library],,with_pstoedit=yes) if test "x${with_pstoedit}" = xyes; then -dnl -dnl -dnl -AC_PROG_CXX -dnl Standard C++ library and C++ Runtime -dnl --- WORKAROUND for pstoedit 3.32.0 -CXX_RUNTIME_LIB= -CXX_STD_LIB= -if test x"$GXX" = xyes; then - AC_CHECK_LIB(g++,main,CXX_RUNTIME_LIB=-lg++) - AC_CHECK_LIB(stdc++,main,CXX_STD_LIB=-lstdc++,,${CXX_RUNTIME_LIB}) -fi -AC_MSG_CHECKING([for C++ runtime]) -LIBPSTOEDIT_EXTRA_LIBS="${CXX_STD_LIB} ${CXX_RUNTIME_LIB}" -AC_MSG_RESULT([${CXX_STD_LIB} ${CXX_RUNTIME_LIB}]) -dnl dl library -dnl --- WORKAROUND for pstoedit 3.32.0 -LIBLD_LDFLAGS= -AC_CHECK_LIB(dl,main,[LIBLD_LDFLAGS=-ldl]) -if test "x${LIBLD_LDFLAGS}" != x; then - LIBPSTOEDIT_EXTRA_LIBS="${LIBPSTOEDIT_EXTRA_LIBS} ${LIBLD_LDFLAGS}" -fi echo '*** Checking pstoedit existence THRICE(if needed)***' echo '*** This is the 0th check ***'