bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] version-etc: extend for packagers


From: Mike Frysinger
Subject: Re: [PATCH] version-etc: extend for packagers
Date: Sun, 31 May 2009 01:57:50 -0400
User-agent: KMail/1.11.3 (Linux/2.6.29.2; KDE/4.2.3; x86_64; ; )

On Sunday 31 May 2009 01:52:13 Mike Frysinger wrote:
> +# ifndef PACKAGE_PACKAGER_VERSION
> +#  define PACKAGE_PACKAGER_VERSION ""
> +# endif

mmm looks like i lost a change between coreutils/gnulib.  i think it makes 
sense for this line to read:
> +#  define PACKAGE_PACKAGER_VERSION _("no version info")

> +dnl $1 - configure flag and define name
> +dnl $2 - human readable description
> +m4_define([gl_VERSION_ETC_FLAG],
> +[dnl
> +  AC_ARG_WITH([$1], [AS_HELP_STRING([--with-$1], [$2])],
> +    [dnl
> +      case $withval in
> +     yes|no) ;;
> +     *)      AC_DEFINE_UNQUOTED(
> +              
> [PACKAGE_]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNO
>PQRSTUVWXYZ___]),
>+                ["$withval"], [$2]);;
> +      esac

is there an m4/gnulib/something helper i could use in place of this 
m4_translit() ?  i want to take arbitrary input and convert it to something 
usable in C.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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