From fb5aee1e5b433fee6d419fd66aec68a1cd6349b7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 6 Oct 2000 13:34:52 +0000 Subject: [PATCH] Don't compare against empty strings on linux. rather, add an 'x' to both sides, or some such thing. git-svn-id: https://svn.dealii.org/trunk@3389 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 0b9b7f43a1..15f374e7c0 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -73,7 +73,7 @@ AC_DEFUN(DEAL_II_GET_THREAD_FLAGS, dnl break ]) done - if test $thread_flag = invalid_last_entry ; then + if test "$thread_flag" = invalid_last_entry ; then AC_MSG_RESULT("no flag found!") AC_MSG_ERROR("Could not determine multithreading flag for this platform. Aborting!") fi @@ -197,7 +197,7 @@ AC_DEFUN(DEAL_II_CHECK_ISNAN_FLAG, dnl ]) - if test $deal_II_isnan_flag = "" ; then + if test "x$deal_II_isnan_flag" = "x" ; then dnl Simply using isnan doesn't work. On Microsoft Windows systems, the function dnl is called _isnan, so check that AC_TRY_COMPILE( @@ -217,7 +217,7 @@ AC_DEFUN(DEAL_II_CHECK_ISNAN_FLAG, dnl dnl Let's see whether we _now_ have found something - if test $deal_II_isnan_flag = "" ; then + if test "x$deal_II_isnan_flag" = "x" ; then dnl We need to define something. Unfortunately, this is system dnl dependent (argh!) deal_II_isnan_flag="" @@ -260,7 +260,7 @@ AC_DEFUN(DEAL_II_CHECK_ISNAN_FLAG, dnl dnl if no such flag was found, then abort ./configure since dnl the library will not be compilable on this platform dnl without knowledge of the right flag - if test "$deal_II_isnan_flag" = "" ; then + if test "x$deal_II_isnan_flag" = "x" ; then AC_MSG_RESULT(no.) else dnl we found something, lets us it -- 2.39.5