Author: mvidner
Date: Thu Jul 17 14:17:03 2008
New Revision: 49215
URL: http://svn.opensuse.org/viewcvs/yast?rev=49215&view=rev
Log:
Use Y2CORE_CFLAGS, so that we can get rid of
warnings.
Modified:
trunk/devtools/VERSION
trunk/devtools/devtools/bin/y2autoconf
trunk/devtools/package/yast2-devtools.changes
Modified: trunk/devtools/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/VERSION?rev=49215&r1=49214&r2=49215&view=diff
==============================================================================
--- trunk/devtools/VERSION (original)
+++ trunk/devtools/VERSION Thu Jul 17 14:17:03 2008
@@ -1 +1 @@
-2.17.1
+2.17.2
Modified: trunk/devtools/devtools/bin/y2autoconf
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/y2autoconf?rev=49215&r1=49214&r2=49215&view=diff
==============================================================================
--- trunk/devtools/devtools/bin/y2autoconf (original)
+++ trunk/devtools/devtools/bin/y2autoconf Thu Jul 17 14:17:03 2008
@@ -272,8 +272,15 @@
AC_PROG_CC
AC_PROG_CPP
-CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
-CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2"
+# core defines it, others use it
+if test $PACKAGE != yast2-core; then
+ PKG_CHECK_MODULES(Y2CORE, yast2-core)
+else
+ : # core has already defined Y2CORE_CFLAGS
+fi
+
+CFLAGS="${CFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
+CXXFLAGS="${CXXFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2"
: ${AGENT_LIBADD:=\'-L$(libdir) -lscr\'}
AC_SUBST(AGENT_LIBADD)
Modified: trunk/devtools/package/yast2-devtools.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=49215&r1=49214&r2=49215&view=diff
==============================================================================
--- trunk/devtools/package/yast2-devtools.changes (original)
+++ trunk/devtools/package/yast2-devtools.changes Thu Jul 17 14:17:03 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Jul 17 14:16:41 CEST 2008 - mvidner@suse.cz
+
+- Use Y2CORE_CFLAGS, so that we can get rid of
+ warnings.
+- 2.17.2
+
+-------------------------------------------------------------------
Tue Jul 15 17:33:33 CEST 2008 - locilka@suse.cz
- Killed some ycpdoc lamentation (leaving the worthy complaints).
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org