]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix warning in libgfortran configure script
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 24 Apr 2014 11:03:56 +0000 (11:03 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 24 Apr 2014 11:03:56 +0000 (11:03 +0000)
* configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
* configure: Regenerate.

From-SVN: r209747

libgfortran/ChangeLog
libgfortran/configure
libgfortran/configure.ac

index 33e054b9bfbe40962f1f529838cabc56fb814fa2..0fb3ccddf7d7d5ed99379d3b06e528f66d88af8b 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
+       * configure: Regenerate.
+
 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * config/fpu-387.h [__sun__ && __svr4__]: Remove SSE execution
index 23f57c7af379ff53d2b3e2c073f4bf60bc180f5a..d3ced74e9506bc2eedecc7983485255f3ba66a0c 100755 (executable)
@@ -25935,7 +25935,7 @@ fi
 # test is copied from libgomp, and modified to not link in -lrt as
 # libgfortran calls clock_gettime via a weak reference if it's found
 # in librt.
-if test $ac_cv_func_clock_gettime = no; then
+if test "$ac_cv_func_clock_gettime" = no; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
index de2d65e762d38e2bcd8923147c56d196a4df870f..24dbf2b4fa5934d37636572eff1f3e4d7034bd99 100644 (file)
@@ -510,7 +510,7 @@ AC_CHECK_LIB([m],[feenableexcept],[have_feenableexcept=yes AC_DEFINE([HAVE_FEENA
 # test is copied from libgomp, and modified to not link in -lrt as
 # libgfortran calls clock_gettime via a weak reference if it's found
 # in librt.
-if test $ac_cv_func_clock_gettime = no; then
+if test "$ac_cv_func_clock_gettime" = no; then
   AC_CHECK_LIB(rt, clock_gettime,
     [AC_DEFINE(HAVE_CLOCK_GETTIME_LIBRT, 1,
                [Define to 1 if you have the `clock_gettime' function in librt.])])