summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-07-21 11:46:23 -0700
committerMatt Turner <[email protected]>2016-07-26 12:12:41 -0700
commit20553e4a2d952f6dc37f40f63d2c86b0718c58f9 (patch)
tree3c615a5ff9e9237920bedd873794fbb4ce539e8f /configure.ac
parent815135166c9891de4042990a05d0ef24bb90e409 (diff)
mesa: Use AC_HEADER_MAJOR to include correct header for major().
Gentoo has been smoke testing an upcoming change to glibc. Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=580392
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c196a93196..f6b27ae086a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -777,6 +777,7 @@ if test "x$enable_asm" = xyes; then
esac
fi
+AC_HEADER_MAJOR
AC_CHECK_HEADER([xlocale.h], [DEFINES="$DEFINES -DHAVE_XLOCALE_H"])
AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])