[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] fixed three autoconf macros
From: |
Bruno Haible |
Subject: |
[Bug-gnulib] fixed three autoconf macros |
Date: |
Sat, 17 May 2003 13:53:18 +0200 (CEST) |
Hi,
Following the advice of Akim Demaille
http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
I've fixed three quoting bugs in the m4 macros.
2003-05-17 Bruno Haible <address@hidden>
* dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
expansion for AC_EGREP_CPP.
* strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
* strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
*** dirfd.m4 23 Jan 2003 17:59:15 -0000 1.11
--- dirfd.m4 17 May 2003 11:46:37 -0000
***************
*** 1,4 ****
! #serial 4
dnl Find out how to get the file descriptor associated with an open DIR*.
dnl From Jim Meyering
--- 1,4 ----
! #serial 5
dnl Find out how to get the file descriptor associated with an open DIR*.
dnl From Jim Meyering
***************
*** 31,42 ****
AC_CACHE_CHECK([whether dirfd is a macro],
jm_cv_func_dirfd_macro,
! AC_EGREP_CPP([dirent_header_defines_dirfd], [$dirfd_headers
#ifdef dirfd
dirent_header_defines_dirfd
#endif],
! jm_cv_func_dirfd_macro=yes,
! jm_cv_func_dirfd_macro=no))
# Use the replacement only if we have no function, macro,
# or declaration with that name.
--- 31,42 ----
AC_CACHE_CHECK([whether dirfd is a macro],
jm_cv_func_dirfd_macro,
! [AC_EGREP_CPP([dirent_header_defines_dirfd], [$dirfd_headers
#ifdef dirfd
dirent_header_defines_dirfd
#endif],
! jm_cv_func_dirfd_macro=yes,
! jm_cv_func_dirfd_macro=no)])
# Use the replacement only if we have no function, macro,
# or declaration with that name.
*** strtoimax.m4 31 Dec 2002 13:42:07 -0000 1.1
--- strtoimax.m4 17 May 2003 11:46:37 -0000
***************
*** 1,5 ****
! # strtoimax.m4 serial 1
! dnl Copyright (C) 2002 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
--- 1,5 ----
! # strtoimax.m4 serial 2
! 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
***************
*** 14,25 ****
AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
jm_cv_func_strtoimax_macro,
! AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include <inttypes.h>
#ifdef strtoimax
inttypes_h_defines_strtoimax
#endif],
! jm_cv_func_strtoimax_macro=yes,
! jm_cv_func_strtoimax_macro=no))
if test "$jm_cv_func_strtoimax_macro" != yes; then
AC_REPLACE_FUNCS(strtoimax)
--- 14,25 ----
AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
jm_cv_func_strtoimax_macro,
! [AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include <inttypes.h>
#ifdef strtoimax
inttypes_h_defines_strtoimax
#endif],
! jm_cv_func_strtoimax_macro=yes,
! jm_cv_func_strtoimax_macro=no)])
if test "$jm_cv_func_strtoimax_macro" != yes; then
AC_REPLACE_FUNCS(strtoimax)
*** strtoumax.m4 31 Dec 2002 13:42:07 -0000 1.1
--- strtoumax.m4 17 May 2003 11:46:37 -0000
***************
*** 1,5 ****
! # strtoumax.m4 serial 1
! dnl Copyright (C) 2002 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
--- 1,5 ----
! # strtoumax.m4 serial 2
! 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
***************
*** 14,25 ****
AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],
jm_cv_func_strtoumax_macro,
! AC_EGREP_CPP([inttypes_h_defines_strtoumax], [#include <inttypes.h>
#ifdef strtoumax
inttypes_h_defines_strtoumax
#endif],
! jm_cv_func_strtoumax_macro=yes,
! jm_cv_func_strtoumax_macro=no))
if test "$jm_cv_func_strtoumax_macro" != yes; then
AC_REPLACE_FUNCS(strtoumax)
--- 14,25 ----
AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],
jm_cv_func_strtoumax_macro,
! [AC_EGREP_CPP([inttypes_h_defines_strtoumax], [#include <inttypes.h>
#ifdef strtoumax
inttypes_h_defines_strtoumax
#endif],
! jm_cv_func_strtoumax_macro=yes,
! jm_cv_func_strtoumax_macro=no)])
if test "$jm_cv_func_strtoumax_macro" != yes; then
AC_REPLACE_FUNCS(strtoumax)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] fixed three autoconf macros,
Bruno Haible <=