]> granicus.if.org Git - pdns/commitdiff
use = instead of == in shell tests, this makes the configure 'Portability.' patch...
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 12 Jan 2015 15:47:57 +0000 (16:47 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 26 Jan 2015 20:46:25 +0000 (21:46 +0100)
(cherry picked from commit 14cd37570e6772dc2bd866f503302c5eb46c7f11)

Conflicts:
m4/pdns_with_mysql.m4
m4/pdns_with_postgresql.m4

m4/pdns_with_mysql.m4
m4/pdns_with_postgresql.m4

index a0ddb733da2c6d3173cab48096b44f2455d09945..48645eb5d282f806abeb5ddae4e597790c2a2f26 100644 (file)
@@ -39,7 +39,7 @@ AC_DEFUN([PDNS_WITH_MYSQL],[
   MYSQL_config=""
   if test "x$MYSQL_config_check" != "xskip"; then
     AC_MSG_CHECKING([for mysql_config])
-    if test "x$MYSQL_config_check" == "x"; then
+    if test "x$MYSQL_config_check" = "x"; then
       # check if it's in path
       for m in /bin /usr/bin /usr/local/bin /opt/csw/bin; do
         if test -x $m/mysql_config; then
@@ -48,7 +48,7 @@ AC_DEFUN([PDNS_WITH_MYSQL],[
         fi
       done
 
-      if test "x$MYSQL_config" == "x"; then
+      if test "x$MYSQL_config" = "x"; then
         AC_MSG_RESULT([not found])
       else
         AC_MSG_RESULT([$MYSQL_config])
index 60d54ffa842f91eb3f4a7e6e2aaece5d293981b1..decc6933481ad665c5ce92eb02654f81e64015b1 100644 (file)
@@ -27,7 +27,7 @@ AC_DEFUN([PDNS_WITH_POSTGRESQL],[
       [location of pg_config]
     ),
     [PGSQL_pg_config="$withval"
-     if test "x$PGSQL_pg_config" == "xyes" || test ! -x "$PGSQL_pg_config"; then 
+     if test "x$PGSQL_pg_config" = "xyes" || test ! -x "$PGSQL_pg_config"; then
        AC_MSG_ERROR([--with-pgsql-config must provide a valid path to pg_config executable])
      fi
     ], 
@@ -35,10 +35,10 @@ AC_DEFUN([PDNS_WITH_POSTGRESQL],[
   )
 
   if test "x$PGSQL_pg_config" != "x"; then
-    if test "x$PGSQL_lib_check" == "x"; then 
+    if test "x$PGSQL_lib_check" = "x"; then
       PGSQL_lib_check=$($PGSQL_pg_config --libdir)
     fi
-    if test "x$PGSQL_inc_check" == "x"; then
+    if test "x$PGSQL_inc_check" = "x"; then
       PGSQL_inc_check=$($PGSQL_pg_config --includedir)
     fi
     PGSQL_CFLAGS=