Author: rpmcruz Date: Thu Jul 17 00:29:02 2008 New Revision: 49201 URL: http://svn.opensuse.org/viewcvs/yast?rev=49201&view=rev Log: Check for libyui version not core's, as they splitted up. Ignoring some now useless stuff. Modified: trunk/gtk/configure.in.in Modified: trunk/gtk/configure.in.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/configure.in.in?rev=49201&r1=49200&r2=49201&view=diff ============================================================================== --- trunk/gtk/configure.in.in (original) +++ trunk/gtk/configure.in.in Thu Jul 17 00:29:02 2008 @@ -48,25 +48,13 @@ PKG_CHECK_MODULES( ZYPP, libzypp ) AC_SUBST(ZYPP_LIBS) -verstxt=`pkg-config --modversion yast2-core` +verstxt=`pkg-config --modversion yast2-libyui` yast_vers=`echo "$verstxt" | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` AC_DEFINE_UNQUOTED(YAST2_VERSION, $yast_vers, [yast version for compile conditionals]) PYUI_LIBS='-lpy2UI' AC_SUBST(PYUI_LIBS) -dnl Checking for new libyui API... -if ! test -f /usr/include/YaST2/yui/YApplication.h; then - AC_MSG_ERROR([ -*** Version of libyui >= 2.15.12 needed (your version: $verstxt) -*** You can find it on: svn checkout http://svn.opensuse.org/svn/yast/trunk/core/ -*** Do "make -f Makefile.cvs" on root -*** Then you just need to compile stuff under libyui, -*** "cd libyui && make && sudo make install" -*** libyui broke compatibility in order to get away from YCP structures, -*** to make it easier for binding.]) -fi - AC_OUTPUT([Makefile src/Makefile]) echo "Hello hacker: checkout README while this builds." -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org