X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libgfortran%2Fconfigure.ac;h=86d7161301ed03c06c8a6046d7760e66f60a9e1a;hp=e265ccd343354941ed77b16fab6605caea7125ba;hb=5f0d36be6d31b78172bb45c0dbba9b1dc7f6ae84;hpb=d70e14fe2c9c3fc20d9bc1dca7cfcc3d6bb1301e diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index e265ccd3433..86d7161301e 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -491,14 +491,15 @@ LIBGFOR_CHECK_FLOAT128 # Check for GNU libc feenableexcept AC_CHECK_LIB([m],[feenableexcept],[have_feenableexcept=yes AC_DEFINE([HAVE_FEENABLEEXCEPT],[1],[libm includes feenableexcept])]) -# At least for glibc, clock_gettime is in librt. But don't pull that -# in if it still doesn't give us the function we want. -# This test is copied from libgomp, and modified to not link in -lrt -# as libgfortran calls clock_gettime via a weak reference. +# At least for glibc and Tru64, clock_gettime is in librt. But don't +# pull that in if it still doesn't give us the function we want. This +# 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 AC_CHECK_LIB(rt, clock_gettime, - [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, - [Define to 1 if you have the `clock_gettime' function.])]) + [AC_DEFINE(HAVE_CLOCK_GETTIME_LIBRT, 1, + [Define to 1 if you have the `clock_gettime' function in librt.])]) fi # Check for SysV fpsetmask