* m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
[gnulib.git] / m4 / same.m4
1 # same.m4 serial 5
2 dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_SAME],
8 [
9   AC_LIBSOURCES([same.c, same.h])
10   AC_LIBOBJ([same])
11
12   dnl Prerequisites of lib/same.c.
13   AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
14   AC_CHECK_HEADERS_ONCE([unistd.h])
15   AC_CHECK_FUNCS_ONCE([pathconf])
16 ])