aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2014-04-24 11:03:56 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2014-04-24 11:03:56 +0000
commitdeb9dd74555e11064ccec733afb7b1aee516ba89 (patch)
tree45e5414a05932c9835c2506752ac13a9ce2795f0 /libgfortran
parent84c5df1c8e526f330f09359a3ff57b880961012f (diff)
downloadgcc-deb9dd74555e11064ccec733afb7b1aee516ba89.zip
gcc-deb9dd74555e11064ccec733afb7b1aee516ba89.tar.gz
gcc-deb9dd74555e11064ccec733afb7b1aee516ba89.tar.bz2
Fix warning in libgfortran configure script
* configure.ac: Quote usage of ac_cv_func_clock_gettime in if test. * configure: Regenerate. From-SVN: r209747
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog5
-rwxr-xr-xlibgfortran/configure2
-rw-r--r--libgfortran/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 33e054b..0fb3ccd 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -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
diff --git a/libgfortran/configure b/libgfortran/configure
index 23f57c7..d3ced74 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -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 :
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index de2d65e..24dbf2b 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -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.])])