Do not determine SWIG_LIB by running swig -swiglib, because we do not

make use of it and it made problems on MinGW (output was two lines).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15223 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2006-12-17 18:32:18 +00:00
parent cf2c12f366
commit 8d288704d7

View File

@ -74,15 +74,16 @@ AC_DEFUN([AC_PROG_SWIG],[
SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
else
AC_MSG_NOTICE([SWIG executable is '$SWIG'])
SWIG_LIB=`$SWIG -swiglib`
AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
dnl We do not make use of SWIG_LIB and `$SWIG -swiglib` made problems on MinGW (output was two lines)
dnl SWIG_LIB=`$SWIG -swiglib`
dnl AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
fi
else
AC_MSG_ERROR([cannot determine SWIG version])
SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
fi
fi
AC_SUBST([SWIG_LIB])
dnl AC_SUBST([SWIG_LIB])
])
# SWIG_ENABLE_CXX()