[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xutils-dev: Changes to 'debian-unstable'



 debian/changelog              |    5 +-
 debian/versions               |    2 -
 util-macros/ChangeLog         |   73 ++++++++++++++++++++++++++++++++++++++
 util-macros/configure         |   20 +++++-----
 util-macros/configure.ac      |    2 -
 util-macros/xorg-macros.m4.in |   79 +++++++++++++++++++++++++++++++-----------
 6 files changed, 148 insertions(+), 33 deletions(-)

New commits:
commit a723c9a64810d2f5ee1102cb770175446d5e2637
Author: Robert Hooker <sarvatt@ubuntu.com>
Date:   Tue Mar 13 20:27:12 2012 -0400

    util-macros 1.17.0

diff --git a/debian/changelog b/debian/changelog
index 7f09e24..6351d3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,15 @@
 xutils-dev (1:7.6+7) UNRELEASED; urgency=low
 
   * util-macros 1.16.0 (superseded)
-  * util-macros 1.16.2
+  * util-macros 1.16.2 (superseded)
   * imake 1.0.5
   * makedepend 1.0.4
   * lndir 1.0.3
   * Bump x11proto-core-dev build dep version, required by the lndir
     update.
+  * util-macros 1.17.0
 
- -- Robert Hooker <sarvatt@ubuntu.com>  Thu, 08 Mar 2012 16:19:15 -0500
+ -- Robert Hooker <sarvatt@ubuntu.com>  Tue, 13 Mar 2012 20:26:24 -0400
 
 xutils-dev (1:7.6+6) unstable; urgency=low
 
diff --git a/debian/versions b/debian/versions
index 9cdef11..619f4df 100644
--- a/debian/versions
+++ b/debian/versions
@@ -9,7 +9,7 @@ squeeze. As the most useful, util-macros comes first.
 
 util-macros   | Debian
 ------------------------
-1.16.2        | 1:7.6+7
+1.17.0        | 1:7.6+7
 1.15.0        | 1:7.6+5
 1.14.0        | 1:7.6+4
 1.13.0        | 1:7.6+3
diff --git a/util-macros/ChangeLog b/util-macros/ChangeLog
index 1bad117..b55ec7a 100644
--- a/util-macros/ChangeLog
+++ b/util-macros/ChangeLog
@@ -1,3 +1,76 @@
+commit c0c42057e0d357c144e7933ee413b522950a0f17
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Tue Mar 13 19:45:12 2012 -0400
+
+    Version bump: 1.17
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 51f69514e65637f575df901ef942515e70314f6a
+Author: Chase Douglas <chase.douglas@canonical.com>
+Date:   Mon Mar 12 11:49:28 2012 -0700
+
+    Separate unknown warning options by language
+    
+    If XORG_COMPILER_FLAGS is called more than once with separate languages,
+    the unknown warning options used internally for unknown warning checking
+    will be set the first time and then the cached value will be used for
+    subsequent languages. This is a problem if the compilers differ between
+    the languages.
+    
+    This change ensures that the unknown warning options are namespaced so
+    multiple XORG_COMPILER_FLAGS calls with different languages are checked
+    separately.
+    
+    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
+    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
+
+commit a1fec11ca3de6774fb70052f5f5ab167bf658690
+Author: Chase Douglas <chase.douglas@canonical.com>
+Date:   Mon Mar 12 10:59:55 2012 -0700
+
+    Fix cflag test compiler message and cache ids
+    
+    When the language is C++, the flag checking message references $CC
+    instead of $CXX. The cache id is also xorg_cv_cc_* instead of
+    xorg_cv_cxx_*. This change fixes both issues.
+    
+    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
+    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
+
+commit a02a9048a1b831d13d32413e2af429ac8d7a5c2b
+Author: Jon TURNEY <jon.turney@dronecode.org.uk>
+Date:   Sat Mar 10 15:04:28 2012 +0000
+
+    Don't use AS_ECHO in XORG_TESTSET_CFLAG
+    
+    Further to commit 52ef6f6, since AS_ECHO isn't supported in autoconf 2.61 either,
+    rewrite use of cache variable in XORG_TESTSET_CFLAG so 'echo' isn't needed at all.
+    
+    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
+    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
+    Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
+    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
+
+commit 299ae797eff46900e7d5914ff4502662f97f2062
+Author: Chase Douglas <chase.douglas@canonical.com>
+Date:   Fri Mar 9 14:46:00 2012 -0800
+
+    Add XORG_ENABLE_INTEGRATION_TESTS
+    
+    This macro enables a builder to enable/disable integration testing
+    It makes no assumption about the test cases' implementation
+    Test cases may or may not use Automake "Support for test suites"
+    
+    Unit test support usually requires less dependencies and may be built
+    and run under less stringent environments than integration tests. Thus,
+    two separate options for unit and integration testing is desirable.
+    
+    Copied from XORG_ENABLE_UNIT_TESTS.
+    
+    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
+    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
+
 commit db238c632bb7136e3e44345820d514106e317420
 Author: Gaetan Nadon <memsize@videotron.ca>
 Date:   Mon Mar 5 09:39:17 2012 -0500
diff --git a/util-macros/configure b/util-macros/configure
index f9d69bd..b731e0f 100755
--- a/util-macros/configure
+++ b/util-macros/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for util-macros 1.16.2.
+# Generated by GNU Autoconf 2.68 for util-macros 1.17.
 #
 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 #
@@ -560,8 +560,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='util-macros'
 PACKAGE_TARNAME='util-macros'
-PACKAGE_VERSION='1.16.2'
-PACKAGE_STRING='util-macros 1.16.2'
+PACKAGE_VERSION='1.17'
+PACKAGE_STRING='util-macros 1.17'
 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 PACKAGE_URL=''
 
@@ -1183,7 +1183,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures util-macros 1.16.2 to adapt to many kinds of systems.
+\`configure' configures util-macros 1.17 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1249,7 +1249,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of util-macros 1.16.2:";;
+     short | recursive ) echo "Configuration of util-macros 1.17:";;
    esac
   cat <<\_ACEOF
 
@@ -1323,7 +1323,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-util-macros configure 1.16.2
+util-macros configure 1.17
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1340,7 +1340,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by util-macros $as_me 1.16.2, which was
+It was created by util-macros $as_me 1.17, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2156,7 +2156,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='util-macros'
- VERSION='1.16.2'
+ VERSION='1.17'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2837,7 +2837,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by util-macros $as_me 1.16.2, which was
+This file was extended by util-macros $as_me 1.17, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -2890,7 +2890,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-util-macros config.status 1.16.2
+util-macros config.status 1.17
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff --git a/util-macros/configure.ac b/util-macros/configure.ac
index 7e33435..2e0e104 100644
--- a/util-macros/configure.ac
+++ b/util-macros/configure.ac
@@ -23,7 +23,7 @@ dnl Process this file with autoconf to create configure.
 
 AC_PREREQ([2.60])
 AC_INIT([util-macros],
-        [1.16.2],
+        [1.17],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [util-macros])
 AC_CONFIG_SRCDIR([Makefile.am])
diff --git a/util-macros/xorg-macros.m4.in b/util-macros/xorg-macros.m4.in
index 4966df3..9c8ba84 100644
--- a/util-macros/xorg-macros.m4.in
+++ b/util-macros/xorg-macros.m4.in
@@ -1056,6 +1056,39 @@ AC_MSG_CHECKING([whether to build unit test cases])
 AC_MSG_RESULT([$enable_unit_tests])
 ]) # XORG_ENABLE_UNIT_TESTS
 
+# XORG_ENABLE_INTEGRATION_TESTS (enable_unit_tests=auto)
+# ------------------------------------------------------
+# Minimum version: 1.17.0
+#
+# This macro enables a builder to enable/disable integration testing
+# It makes no assumption about the test cases' implementation
+# Test cases may or may not use Automake "Support for test suites"
+#
+# Please see XORG_ENABLE_UNIT_TESTS for unit test support. Unit test support
+# usually requires less dependencies and may be built and run under less
+# stringent environments than integration tests.
+#
+# Interface to module:
+# ENABLE_INTEGRATION_TESTS:   used in makefiles to conditionally build tests
+# enable_integration_tests:   used in configure.ac for additional configuration
+# --enable-integration-tests: 'yes' user instructs the module to build tests
+#                             'no' user instructs the module not to build tests
+# parm1:                      specify the default value, yes or no.
+#
+AC_DEFUN([XORG_ENABLE_INTEGRATION_TESTS],[
+AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
+m4_define([_defopt], m4_default([$1], [auto]))
+AC_ARG_ENABLE(integration-tests, AS_HELP_STRING([--enable-integration-tests],
+	[Enable building integration test cases (default: ]_defopt[)]),
+	[enable_integration_tests=$enableval],
+	[enable_integration_tests=]_defopt)
+m4_undefine([_defopt])
+AM_CONDITIONAL([ENABLE_INTEGRATION_TESTS],
+	[test "x$enable_integration_tests" != xno])
+AC_MSG_CHECKING([whether to build unit test cases])
+AC_MSG_RESULT([$enable_integration_tests])
+]) # XORG_ENABLE_INTEGRATION_TESTS
+
 # XORG_WITH_GLIB([MIN-VERSION], [DEFAULT])
 # ----------------------------------------
 # Minimum version: 1.13.0
@@ -1066,6 +1099,10 @@ AC_MSG_RESULT([$enable_unit_tests])
 # When used with ENABLE_UNIT_TESTS, it is assumed GLib is used for unit testing.
 # Otherwise the value of $enable_unit_tests is blank.
 #
+# Please see XORG_ENABLE_INTEGRATION_TESTS for integration test support. Unit
+# test support usually requires less dependencies and may be built and run under
+# less stringent environments than integration tests.
+#
 # Interface to module:
 # HAVE_GLIB: used in makefiles to conditionally build targets
 # with_glib: used in configure.ac to know if GLib has been found
@@ -1466,36 +1503,40 @@ AC_LANG_CASE(
 	[C], [
 		AC_REQUIRE([AC_PROG_CC_C99])
 		define([PREFIX], [C])
+		define([CACHE_PREFIX], [cc])
+		define([COMPILER], [$CC])
 	],
 	[C++], [
 		define([PREFIX], [CXX])
+		define([CACHE_PREFIX], [cxx])
+		define([COMPILER], [$CXX])
 	]
 )
 
 [xorg_testset_save_]PREFIX[FLAGS]="$PREFIX[FLAGS]"
 
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "x" ; then
 	PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
-	AC_CACHE_CHECK([if compiler supports -Werror=unknown-warning-option],
-			xorg_cv_compiler_flag_unknown_warning_option,
+	AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unknown-warning-option],
+			[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option],
 			AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
-					  [xorg_cv_compiler_flag_unknown_warning_option=yes],
-					  [xorg_cv_compiler_flag_unknown_warning_option=no]))
-	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+					  [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=yes],
+					  [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=no]))
+	[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]=$[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option]
 	PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
 fi
 
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
-	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]" = "x" ; then
+	if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "xyes" ; then
 		PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
 	fi
 	PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
-	AC_CACHE_CHECK([if compiler supports -Werror=unused-command-line-argument],
-			xorg_cv_compiler_flag_unused_command_line_argument,
+	AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unused-command-line-argument],
+			[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument],
 			AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
-					  [xorg_cv_compiler_flag_unused_command_line_argument=yes],
-					  [xorg_cv_compiler_flag_unused_command_line_argument=no]))
-	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+					  [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=yes],
+					  [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=no]))
+	[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]=$[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument]
 	PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
 fi
 
@@ -1513,16 +1554,16 @@ m4_foreach([flag], m4_cdr($@), [
 		PREFIX[FLAGS]="$PREFIX[FLAGS] ]flag["
 
 dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname
-		AC_MSG_CHECKING([if $CC supports ]flag[])
-		cacheid=`AS_ECHO([xorg_cv_cc_flag_]flag[])`
-		AC_CACHE_VAL(AS_TR_SH($cacheid),
+		AC_MSG_CHECKING([if ]COMPILER[ supports]flag[])
+		cacheid=AS_TR_SH([xorg_cv_]CACHE_PREFIX[_flag_]flag[])
+		AC_CACHE_VAL($cacheid,
 			     [AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])],
-					     [eval AS_TR_SH($cacheid)=yes],
-					     [eval AS_TR_SH($cacheid)=no])])
+					     [eval $cacheid=yes],
+					     [eval $cacheid=no])])
 
 		PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
 
-		eval supported=$AS_TR_SH($cacheid)
+		eval supported=\$$cacheid
 		AC_MSG_RESULT([$supported])
 		if test "$supported" = "yes" ; then
 			$1="$$1 ]flag["


Reply to: