Blame m4/isc-posix.m4

Packit fc043f
# isc-posix.m4 serial 2 (gettext-0.11.2)
Packit fc043f
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
Packit fc043f
dnl This file is free software; the Free Software Foundation
Packit fc043f
dnl gives unlimited permission to copy and/or distribute it,
Packit fc043f
dnl with or without modifications, as long as this notice is preserved.
Packit fc043f
Packit fc043f
# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.
Packit fc043f
Packit fc043f
# This test replaces the one in autoconf.
Packit fc043f
# Currently this macro should have the same name as the autoconf macro
Packit fc043f
# because gettext's gettext.m4 (distributed in the automake package)
Packit fc043f
# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
Packit fc043f
# give these diagnostics:
Packit fc043f
#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
Packit fc043f
#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
Packit fc043f
Packit fc043f
undefine([AC_ISC_POSIX])
Packit fc043f
Packit fc043f
AC_DEFUN([AC_ISC_POSIX],
Packit fc043f
  [
Packit fc043f
    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
Packit fc043f
    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
Packit fc043f
  ]
Packit fc043f
)