hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Wed Aug 2 16:06:13 PDT 2006


 configure.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

New commits:
diff-tree 9fd02f953ee4369aa6f7b141e67ae4331ba1fc58 (from b0402cb222a6f9966947a750d1be39fb04582ff7)
Author: Julio M. Merino Vidal <jmmv at NetBSD.org>
Date:   Wed Aug 2 19:06:08 2006 -0400

    do not use GNU specific == operator in calls to test(1) (bug 6467)
    
    The configure script calls test(1) in multiple places and uses its == operator.
    This operator is a GNU extension, which means that those calls fail in many
    operating systems (e.g. NetBSD in my case) that have their own test(1) utility.
    
    Those calls to test(1) should use the standard = operator, thus fixing these
    compatibility problems and making configure work appropriately.

diff --git a/configure.in b/configure.in
index 2dff2ef..1d22924 100644
--- a/configure.in
+++ b/configure.in
@@ -87,18 +87,18 @@ GTK_DOC_CHECK([1.3])
 
 # ACPI event source
 AC_ARG_ENABLE(acpi-acpid, [  --disable-acpi-acpid    do not use acpid event source],acpi_acpid=no,acpi_acpid=yes)
-if test "x$acpi_acpid" == "xyes" ; then
+if test "x$acpi_acpid" = "xyes" ; then
    AC_DEFINE(ACPI_ACPID,1,[Common event source of ACPI events])
 fi
 AC_SUBST(ACPI_ACPID)
 AM_CONDITIONAL(ACPI_ACPID, test x$acpi_acpid != xyes)
 
 AC_ARG_ENABLE(acpi-proc, [  --disable-acpi-proc     do not use acpi kernel interface directly],acpi_proc=no,acpi_proc=yes)
-if test "x$acpi_proc" == "xyes" ; then
+if test "x$acpi_proc" = "xyes" ; then
    AC_DEFINE(ACPI_PROC,1,[Direct kernel connection for ACPI events, the kernel interface is exclusive to one user only])
 fi
 AC_SUBST(ACPI_PROC)
-AM_CONDITIONAL(ACPI_PROC, test x$acpi_proc == xyes)
+AM_CONDITIONAL(ACPI_PROC, test x$acpi_proc = xyes)
 
 #### gcc warning flags
 



More information about the hal-commit mailing list