summaryrefslogtreecommitdiff
path: root/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
parent1f8140a23c32290a5616f54cda34698fa6f3c581 (diff)
downloadgnulib-9859974cc496b2bd84d80476e347ea866251261b.tar.gz
New module 'getdomainname'.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog5
-rw-r--r--m4/getdomainname.m420
2 files changed, 25 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 30986c2998..f5c561e742 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-25 Simon Josefsson <jas@extundo.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * getdomainname.m4: New file.
+
2003-09-17 Paul Eggert <eggert@twinsun.com>
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
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], [
+ :
+])