Mercurial > hg > octave-jordi > gnulib-hg
comparison m4/savedir.m4 @ 5721:abd018cd6020
Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 21 Mar 2005 22:06:27 +0000 |
parents | 87c42e194f4a |
children | 19470e5ac229 |
comparison
equal
deleted
inserted
replaced
5720:ede3ed186ac0 | 5721:abd018cd6020 |
---|---|
1 # savedir.m4 serial 3 | 1 # savedir.m4 serial 4 |
2 dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc. | 2 dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
3 dnl This file is free software; the Free Software Foundation | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | 4 dnl gives unlimited permission to copy and/or distribute it, |
5 dnl with or without modifications, as long as this notice is preserved. | 5 dnl with or without modifications, as long as this notice is preserved. |
6 | 6 |
7 AC_DEFUN([gl_SAVEDIR], | 7 AC_DEFUN([gl_SAVEDIR], |
8 [ | 8 [ |
9 AC_LIBSOURCES([savedir.c, savedir.h]) | |
10 AC_LIBOBJ([savedir]) | |
11 | |
9 dnl Prerequisites of lib/savedir.c. | 12 dnl Prerequisites of lib/savedir.c. |
10 AC_REQUIRE([AC_HEADER_DIRENT]) | 13 AC_REQUIRE([AC_HEADER_DIRENT]) |
11 AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID]) | 14 AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID]) |
12 ]) | 15 ]) |