diff options
author | Martin Lambers <marlam@marlam.de> | 2009-01-18 19:28:53 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-01-18 19:32:09 +0100 |
commit | d1ed8a817f5d07d4013cfa0988ee2da8b2937db6 (patch) | |
tree | 118322812fd78a26aa88c8a7cbff784cf4088992 /m4/link.m4 | |
parent | e0e63df44d88b4b6139cd29906df1fd697c4bc4a (diff) | |
download | gnulib-d1ed8a817f5d07d4013cfa0988ee2da8b2937db6.tar.gz |
New module 'link'.
Diffstat (limited to 'm4/link.m4')
-rw-r--r-- | m4/link.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/m4/link.m4 b/m4/link.m4 new file mode 100644 index 0000000000..349d5378f5 --- /dev/null +++ b/m4/link.m4 @@ -0,0 +1,19 @@ +# link.m4 serial 1 +dnl Copyright (C) 2009 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_LINK], +[ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + AC_CHECK_FUNCS_ONCE([link]) + if test $ac_cv_func_link = no; then + HAVE_LINK=0 + AC_LIBOBJ([link]) + gl_PREREQ_LINK + fi +]) + +# Prerequisites of lib/link.c. +AC_DEFUN([gl_PREREQ_LINK], [:]) |