changeset 988:44dbed9c8091

2008-07-24 Matthias Klose <doko@ubuntu.com> * configure.ac: Fix bashisms.
author doko@ubuntu.com
date Thu, 24 Jul 2008 18:11:19 +0200
parents 57adcf5f8d53
children 94e809ed9e5b
files ChangeLog configure.ac
diffstat 2 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 24 16:56:12 2008 +0200
+++ b/ChangeLog	Thu Jul 24 18:11:19 2008 +0200
@@ -1,3 +1,7 @@
+2008-07-24  Matthias Klose  <doko@ubuntu.com>
+
+	* configure.ac: Fix bashisms.
+
 2008-07-24  Matthias Klose  <doko@ubuntu.com>
 
 	* Makefile.am (stamps/bootstrap-directory-ecj.stamp): Fix typo.
--- a/configure.ac	Thu Jul 24 16:56:12 2008 +0200
+++ b/configure.ac	Thu Jul 24 18:11:19 2008 +0200
@@ -36,7 +36,7 @@
                             [gcj home directory \
                              (default is /usr/lib/jvm/java-gcj)])],
             [
-              if test "x${withval}" == x
+              if test "x${withval}" = x
               then
                 SYSTEM_GCJ_DIR=/usr/lib/jvm/java-gcj
               else
@@ -53,7 +53,7 @@
                             [OpenJDK home directory \
                              (default is /usr/lib/jvm/java-openjdk)])],
             [
-              if test "x${withval}" == x
+              if test "x${withval}" = x
               then
                 SYSTEM_OPENJDK_DIR=/usr/lib/jvm/java-openjdk
               else
@@ -70,7 +70,7 @@
                             [IcedTea home directory \
                              (default is /usr/lib/jvm/java-icedtea)])],
             [
-              if test "x${withval}" == x
+              if test "x${withval}" = x
               then
                 SYSTEM_ICEDTEA_DIR=/usr/lib/jvm/java-icedtea
               else
@@ -86,7 +86,7 @@
             [AS_HELP_STRING([--with-ant-home],
                             [Ant home directory (default is /usr/share/ant)])],
             [
-              if test "x${withval}" == x
+              if test "x${withval}" = x
               then
                 SYSTEM_ANT_DIR=/usr/share/ant
               else
@@ -130,7 +130,7 @@
         [
           with_icedtea=false
         ])
-AM_CONDITIONAL(WITH_ICEDTEA, test "${with_icedtea}" == true)
+AM_CONDITIONAL(WITH_ICEDTEA, test "${with_icedtea}" = true)
 
 AC_ARG_WITH([openjdk],
         [AS_HELP_STRING([--with-openjdk],
@@ -146,13 +146,13 @@
         [
           with_openjdk=false
         ])
-AM_CONDITIONAL(WITH_OPENJDK, test "${with_openjdk}" == true)
+AM_CONDITIONAL(WITH_OPENJDK, test "${with_openjdk}" = true)
 
 AC_ARG_WITH([parallel-jobs],
 	[AS_HELP_STRING([--with-parallel-jobs],
 			[build IcedTea using the specified number of parallel jobs])],
 	[
-          if test "x${withval}" == x
+          if test "x${withval}" = x
           then
             PARALLEL_JOBS=2
           else
@@ -165,7 +165,7 @@
 AC_SUBST(PARALLEL_JOBS)
 
 SET_ARCH_DIRS
-if test "${with_openjdk}" == true
+if test "${with_openjdk}" = true
 then
   JAVA=$SYSTEM_OPENJDK_DIR/bin/java
   AC_SUBST(JAVA)
@@ -179,7 +179,7 @@
   AC_SUBST(RMIC)
   AM_CONDITIONAL(GCC_OLD, test x != x)
 else
-if test "${with_icedtea}" == true
+if test "${with_icedtea}" = true
 then
   JAVA=$SYSTEM_ICEDTEA_DIR/bin/java
   AC_SUBST(JAVA)