[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more consistent macro naming
From: |
Bruno Haible |
Subject: |
more consistent macro naming |
Date: |
Mon, 22 Mar 2010 01:17:42 +0100 |
User-agent: |
KMail/1.9.9 |
Here's a proposed patch to use a name gl_FUNC_XYZ for macros that deal with
the replacement of a single function.
Objections?
2010-03-21 Bruno Haible <address@hidden>
* m4/getlogin.m4 (gl_FUNC_GETLOGIN): Renamed from gl_GETLOGIN.
* modules/getlogin (configure.ac): Update.
* m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Renamed from gl_GETLOGIN_R.
* modules/getlogin_r (configure.ac): Update.
* m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Renamed from gl_INET_NTOP.
* m4/getaddrinfo.m4 (gl_GETADDRINFO): Update.
* modules/inet_ntop (configure.ac): Update.
* m4/inet_pton.m4 (gl_FUNC_INET_PTON): Renamed from gl_INET_PTON.
* modules/inet_pton (configure.ac): Update.
* m4/mbslen.m4 (gl_FUNC_MBSLEN): Renamed from gl_MBSLEN.
* modules/mbslen (configure.ac): Update.
* m4/pty.m4 (gl_FUNC_FORKPTY): Renamed from gl_FORKPTY.
(gl_FUNC_OPENPTY): Renamed from gl_OPENPTY.
* modules/forkpty (configure.ac): Update.
* modules/openpty (configure.ac): Update.
--- m4/getaddrinfo.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/getaddrinfo.m4 Mon Mar 22 01:09:40 2010
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 22
+# getaddrinfo.m4 serial 23
dnl Copyright (C) 2004-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -96,7 +96,7 @@
AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
AC_REQUIRE([gl_HOSTENT]) dnl for HOSTENT_LIB
AC_REQUIRE([gl_SERVENT]) dnl for SERVENT_LIB
- AC_REQUIRE([gl_INET_NTOP]) dnl for INET_NTOP_LIB
+ AC_REQUIRE([gl_FUNC_INET_NTOP]) dnl for INET_NTOP_LIB
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_SOCKET_FAMILIES])
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
--- m4/getlogin.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/getlogin.m4 Mon Mar 22 01:07:11 2010
@@ -1,10 +1,10 @@
-# getlogin.m4 serial 1
+# getlogin.m4 serial 2
dnl Copyright (C) 2010 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_GETLOGIN],
+AC_DEFUN([gl_FUNC_GETLOGIN],
[
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
AC_CHECK_FUNCS_ONCE([getlogin])
--- m4/getlogin_r.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/getlogin_r.m4 Mon Mar 22 01:07:23 2010
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
# Copyright (C) 2005-2007, 2009-2010 Free Software Foundation, Inc.
#
@@ -11,7 +11,7 @@
dnl Provide getlogin_r when the system lacks it.
dnl
-AC_DEFUN([gl_GETLOGIN_R],
+AC_DEFUN([gl_FUNC_GETLOGIN_R],
[
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
--- m4/inet_ntop.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/inet_ntop.m4 Mon Mar 22 01:08:07 2010
@@ -1,10 +1,10 @@
-# inet_ntop.m4 serial 11
+# inet_ntop.m4 serial 12
dnl Copyright (C) 2005, 2006, 2008, 2009, 2010 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_INET_NTOP],
+AC_DEFUN([gl_FUNC_INET_NTOP],
[
dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
--- m4/inet_pton.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/inet_pton.m4 Mon Mar 22 01:08:21 2010
@@ -1,10 +1,10 @@
-# inet_pton.m4 serial 9
+# inet_pton.m4 serial 10
dnl Copyright (C) 2006, 2008, 2009, 2010 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_INET_PTON],
+AC_DEFUN([gl_FUNC_INET_PTON],
[
dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
--- m4/mbslen.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/mbslen.m4 Mon Mar 22 01:08:38 2010
@@ -1,10 +1,10 @@
-# mbslen.m4 serial 1
+# mbslen.m4 serial 2
dnl Copyright (C) 2010 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_MBSLEN],
+AC_DEFUN([gl_FUNC_MBSLEN],
[
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
AC_CHECK_FUNCS_ONCE([mbslen])
--- m4/pty.m4.orig Mon Mar 22 01:11:47 2010
+++ m4/pty.m4 Mon Mar 22 01:07:51 2010
@@ -1,4 +1,4 @@
-# pty.m4 serial 3
+# pty.m4 serial 4
dnl Copyright (C) 2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@
AC_SUBST([PTY_LIB])
])
-AC_DEFUN([gl_FORKPTY],
+AC_DEFUN([gl_FUNC_FORKPTY],
[
AC_REQUIRE([gl_PTY_LIB])
AC_REQUIRE([gl_PTY_H])
@@ -65,7 +65,7 @@
fi
])
-AC_DEFUN([gl_OPENPTY],
+AC_DEFUN([gl_FUNC_OPENPTY],
[
AC_REQUIRE([gl_PTY_LIB])
AC_REQUIRE([gl_PTY_H])
--- modules/forkpty.orig Mon Mar 22 01:11:48 2010
+++ modules/forkpty Mon Mar 22 01:08:52 2010
@@ -9,7 +9,7 @@
pty
configure.ac:
-gl_FORKPTY
+gl_FUNC_FORKPTY
gl_PTY_MODULE_INDICATOR([forkpty])
Makefile.am:
--- modules/getlogin.orig Mon Mar 22 01:11:48 2010
+++ modules/getlogin Mon Mar 22 01:08:52 2010
@@ -9,7 +9,7 @@
unistd
configure.ac:
-gl_GETLOGIN
+gl_FUNC_GETLOGIN
gl_UNISTD_MODULE_INDICATOR([getlogin])
Makefile.am:
--- modules/getlogin_r.orig Mon Mar 22 01:11:48 2010
+++ modules/getlogin_r Mon Mar 22 01:08:52 2010
@@ -10,7 +10,7 @@
unistd
configure.ac:
-gl_GETLOGIN_R
+gl_FUNC_GETLOGIN_R
gl_UNISTD_MODULE_INDICATOR([getlogin_r])
Makefile.am:
--- modules/inet_ntop.orig Mon Mar 22 01:11:48 2010
+++ modules/inet_ntop Mon Mar 22 01:08:52 2010
@@ -14,7 +14,7 @@
extensions
configure.ac:
-gl_INET_NTOP
+gl_FUNC_INET_NTOP
gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
Makefile.am:
--- modules/inet_pton.orig Mon Mar 22 01:11:48 2010
+++ modules/inet_pton Mon Mar 22 01:08:53 2010
@@ -15,7 +15,7 @@
extensions
configure.ac:
-gl_INET_PTON
+gl_FUNC_INET_PTON
gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
Makefile.am:
--- modules/mbslen.orig Mon Mar 22 01:11:48 2010
+++ modules/mbslen Mon Mar 22 01:08:53 2010
@@ -10,7 +10,7 @@
string
configure.ac:
-gl_MBSLEN
+gl_FUNC_MBSLEN
gl_STRING_MODULE_INDICATOR([mbslen])
Makefile.am:
--- modules/openpty.orig Mon Mar 22 01:11:48 2010
+++ modules/openpty Mon Mar 22 01:08:52 2010
@@ -12,7 +12,7 @@
ioctl
configure.ac:
-gl_OPENPTY
+gl_FUNC_OPENPTY
gl_PTY_MODULE_INDICATOR([openpty])
Makefile.am:
- more consistent macro naming,
Bruno Haible <=