annotate m4/isc-posix.m4 @ 1547:697a073fd4f5 trunk

[svn] - dependency cleanup part 2
author nenolod
date Thu, 10 Aug 2006 13:51:08 -0700
parents cb178e5ad177
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 # isc-posix.m4 serial 2 (gettext-0.11.2)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 dnl This file is free software, distributed under the terms of the GNU
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 dnl General Public License. As a special exception to the GNU General
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 dnl Public License, this file may be distributed as part of a program
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 dnl that contains a configuration script generated by Autoconf, under
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 dnl the same distribution terms as the rest of that program.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 # This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 # This test replaces the one in autoconf.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 # Currently this macro should have the same name as the autoconf macro
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 # because gettext's gettext.m4 (distributed in the automake package)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 # still uses it. Otherwise, the use in gettext.m4 makes autoheader
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 # give these diagnostics:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 undefine([AC_ISC_POSIX])
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 AC_DEFUN([AC_ISC_POSIX],
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 [
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 ]
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 )