aboutsummaryrefslogtreecommitdiff
path: root/gprof/gconfig.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-04-05 15:27:02 +0930
committerAlan Modra <amodra@gmail.com>2021-04-05 15:27:02 +0930
commit5d4d26d14ca3dcf4c2d0745df720a2a5bd1bd6a5 (patch)
tree6555379b0c6943164d1497c9a9ef11c058b0a586 /gprof/gconfig.in
parent306b445a6d4cc9dbb46ecdf22d9585fe9fc98115 (diff)
downloadbinutils-5d4d26d14ca3dcf4c2d0745df720a2a5bd1bd6a5.zip
binutils-5d4d26d14ca3dcf4c2d0745df720a2a5bd1bd6a5.tar.gz
binutils-5d4d26d14ca3dcf4c2d0745df720a2a5bd1bd6a5.tar.bz2
C99 gprof configury
Given C99 we don't need to check for setlocale. The patch also adds setitimer checks so that they can be removed from bfd where they aren't needed. According to the automake manual AC_ISC_POSIX is obsolete, so that is removed. HAVE_SETMODE isn't checked anywhere, so it is pointless to have a configure test for setmode. * configure.ac: Check for sys/time.h and setitimer. Don't invoke AC_ISC_POSIX. Don't check for setmode. * gprof.c: Don't test HAVE_SETLOCALE. * gprof.h: Include sys/time.h. * configure: Regenerate. * gconfig.in: Regenerate.
Diffstat (limited to 'gprof/gconfig.in')
-rw-r--r--gprof/gconfig.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/gprof/gconfig.in b/gprof/gconfig.in
index fadb378..c18b790 100644
--- a/gprof/gconfig.in
+++ b/gprof/gconfig.in
@@ -16,8 +16,8 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* Define to 1 if you have the `setmode' function. */
-#undef HAVE_SETMODE
+/* Define to 1 if you have the `setitimer' function. */
+#undef HAVE_SETITIMER
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
@@ -37,6 +37,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H