2014-05-25 Yvan Roux <yvan.roux@linaro.org>
authoryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2014 12:21:40 +0000 (12:21 +0000)
committeryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2014 12:21:40 +0000 (12:21 +0000)
       Backport from trunk r209747.
       2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

       * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
       * configure: Regenerate.

git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@211575 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog.linaro
libgfortran/configure
libgfortran/configure.ac

index 9be3700..dbd0ad5 100644 (file)
@@ -1,3 +1,11 @@
+2014-05-25  Yvan Roux  <yvan.roux@linaro.org>
+
+       Backport from trunk r209747.
+       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-05-14  Yvan Roux  <yvan.roux@linaro.org>
 
        GCC Linaro 4.9-2014.05 released.
index 23f57c7..d3ced74 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 de2d65e..24dbf2b 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.])])