-# hypot.m4 serial 2
+# hypot.m4 serial 3
dnl Copyright (C) 2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
m4_divert_text([DEFAULTS], [gl_hypot_required=plain])
AC_REQUIRE([gl_MATH_H_DEFAULTS])
+ dnl Persuade glibc <math.h> to declare hypot().
+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+
dnl Determine HYPOT_LIBM.
gl_COMMON_DOUBLE_MATHFUNC([hypot])