summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-05 04:50:43 +0000
committerEric Christopher <echristo@gmail.com>2015-08-05 04:50:43 +0000
commit5420525438febf30467fd63f883719ad093503f5 (patch)
tree9d1b758f7e7fb40cce2690512626673ece330b18 /autoconf
parent0443765649dcd9c9144dac3f79329b88baa74b3d (diff)
Remove the apparently unused rand48 configure checks and associated m4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac1
-rw-r--r--autoconf/m4/rand48.m412
2 files changed, 0 insertions, 13 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index e4bb0609f57..830b29fd4f9 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1876,7 +1876,6 @@ AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp writev])
AC_CHECK_FUNCS([futimes futimens])
AC_C_PRINTF_A
-AC_FUNC_RAND48
dnl Check for arc4random accessible via AC_INCLUDES_DEFAULT.
AC_CHECK_DECLS([arc4random])
diff --git a/autoconf/m4/rand48.m4 b/autoconf/m4/rand48.m4
deleted file mode 100644
index 76f08faad28..00000000000
--- a/autoconf/m4/rand48.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# This function determins if the srand48,drand48,lrand48 functions are
-# available on this platform.
-#
-AC_DEFUN([AC_FUNC_RAND48],[
-AC_SINGLE_CXX_CHECK([ac_cv_func_rand48],
- [srand48/lrand48/drand48], [<stdlib.h>],
- [srand48(0);lrand48();drand48();])
-if test "$ac_cv_func_rand48" = "yes" ; then
-AC_DEFINE([HAVE_RAND48],1,[Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h>])
-fi
-])