bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [2/7][7/7] Proposed patches to remove several inttypes-related depen


From: Bruno Haible
Subject: Re: [2/7][7/7] Proposed patches to remove several inttypes-related dependencies
Date: Sun, 24 Apr 2011 15:33:05 +0200
User-agent: KMail/1.9.9

Hi Paul,

> @@ -27,4 +34,5 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
>  AC_DEFUN([gl_PREREQ_STRTOUMAX], [
>    AC_CHECK_DECLS([strtoull])
>    AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
> +  gl_FUNC_STRTOULL
>  ])
> diff --git a/modules/strtoumax b/modules/strtoumax
> index e886285..fcbf454 100644
> --- a/modules/strtoumax
> +++ b/modules/strtoumax
> @@ -2,15 +2,18 @@ Description:
>  strtoumax() function: convert string to 'uintmax_t'.
>  
>  Files:
> +lib/strtoimax.c
> +lib/strtol.c
> +lib/strtoull.c
>  lib/strtoumax.c
>  m4/longlong.m4
> +m4/strtoull.m4
>  m4/strtoumax.m4
>  
>  Depends-on:
> -strtoimax
> -strtoull
>  inttypes
>  stdint
> +verify
>  

Like for part [1/7], I believe the result would be more maintainable if it
were to use the (yet to be written) support in gnulib-tool for conditional
dependencies.

Bruno
-- 
In memoriam Siamanto <http://en.wikipedia.org/wiki/Siamanto>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]