]> 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)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 26 Jan 2015 15:59:45 +0000 (16:59 +0100)
m4/pdns_with_mysql.m4
m4/pdns_with_postgresql.m4

index 10b22890ab9c5ad4f2164e1822f1d7be6dcb3a24..8bfe29103e387886ac6b864b3fd4236bbe2f3536 100644 (file)
@@ -38,7 +38,7 @@ AC_DEFUN([PDNS_WITH_MYSQL],[
 
   MYSQL_config=""
   if test "x$MYSQL_config_check" != "xskip"; then
-    if test "x$MYSQL_config_check" == "x"; then
+    if test "x$MYSQL_config_check" = "x"; then
       AC_PATH_PROG([MYSQL_config], [mysql_config])
     else
       AC_MSG_CHECKING([for $MYSQL_config_check])
index cbf538ec7d7e1039c706eb6235d943728f294196..d8655adda5738352c062cd7403a33c4237f270cb 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,20 +35,20 @@ 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=
   fi
 
-  if test "x$PGSQL_lib_check" == "x"; then
+  if test "x$PGSQL_lib_check" = "x"; then
     PGSQL_lib_check="/usr/local/pgsql/lib/pgsql /usr/local/lib/pgsql /opt/pgsql/lib/pgsql /usr/lib/pgsql /usr/local/pgsql/lib /usr/local/lib /opt/pgsql/lib /usr/lib /usr/lib64 $full_libdir"
   fi
 
-  if test "x$PGSQL_inc_check" == "x"; then
+  if test "x$PGSQL_inc_check" = "x"; then
     PGSQL_inc_check="/usr/local/pgsql/include/pgsql /usr/include /usr/local/include/postgresql/ /usr/local/include /opt/pgsql/include/pgsql /opt/pgsql/include /usr/include/pgsql/ /usr/include/postgresql"
   fi