summaryrefslogtreecommitdiff
path: root/m4/getdomainname.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-09-25 10:20:46 +0000
committerBruno Haible <bruno@clisp.org>2003-09-25 10:20:46 +0000
commit9859974cc496b2bd84d80476e347ea866251261b (patch)
tree82ee41ae9e110fa429f33ac9dc0d8f3008c2a093 /m4/getdomainname.m4
parent1f8140a23c32290a5616f54cda34698fa6f3c581 (diff)
downloadgnulib-9859974cc496b2bd84d80476e347ea866251261b.tar.gz
New module 'getdomainname'.
Diffstat (limited to 'm4/getdomainname.m4')
-rw-r--r--m4/getdomainname.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/m4/getdomainname.m4 b/m4/getdomainname.m4
new file mode 100644
index 0000000000..744d646c94
--- /dev/null
+++ b/m4/getdomainname.m4
@@ -0,0 +1,20 @@
+# getdomainname.m4 serial 1
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_FUNC_GETDOMAINNAME],
+[
+ AC_REPLACE_FUNCS(getdomainname)
+ if test $ac_cv_func_getdomainname = no; then
+ gl_PREREQ_GETDOMAINNAME
+ fi
+])
+
+# Prerequisites of lib/getdomainname.c.
+AC_DEFUN([gl_PREREQ_GETDOMAINNAME], [
+ :
+])