1*75e57c56Schristos# isc-posix.m4 serial 2 (gettext-0.11.2) 2*75e57c56Schristosdnl Copyright (C) 1995-2002 Free Software Foundation, Inc. 3*75e57c56Schristosdnl This file is free software; the Free Software Foundation 4*75e57c56Schristosdnl gives unlimited permission to copy and/or distribute it, 5*75e57c56Schristosdnl with or without modifications, as long as this notice is preserved. 6*75e57c56Schristos 7*75e57c56Schristos# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. 8*75e57c56Schristos 9*75e57c56Schristos# This test replaces the one in autoconf. 10*75e57c56Schristos# Currently this macro should have the same name as the autoconf macro 11*75e57c56Schristos# because gettext's gettext.m4 (distributed in the automake package) 12*75e57c56Schristos# still uses it. Otherwise, the use in gettext.m4 makes autoheader 13*75e57c56Schristos# give these diagnostics: 14*75e57c56Schristos# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX 15*75e57c56Schristos# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX 16*75e57c56Schristos 17*75e57c56Schristosundefine([AC_ISC_POSIX]) 18*75e57c56Schristos 19*75e57c56SchristosAC_DEFUN([AC_ISC_POSIX], 20*75e57c56Schristos [ 21*75e57c56Schristos dnl This test replaces the obsolescent AC_ISC_POSIX kludge. 22*75e57c56Schristos AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) 23*75e57c56Schristos ] 24*75e57c56Schristos) 25