On 4/19/15 2:00 PM, Andreas Schwab wrote:
> The config.h.in file in the standalone readline distribution is missing
> a lot of templates. It should really be generated by autoheader.
>
> --- readline-6.3/config.h.in.~1~ 2012-01-18 16:22:13.000000000 +0100
> +++ readline-6.3/config.h.in 2015-04-19 19:39:13.215290092 +0200
> @@ -6,6 +6,14 @@
>
> #undef _FILE_OFFSET_BITS
>
> +#undef __EXTENSIONS__
> +#undef _ALL_SOURCE
> +#undef _GNU_SOURCE
> +#undef _POSIX_SOURCE
> +#undef _POSIX_1_SOURCE
> +#undef _POSIX_PTHREAD_SEMANTICS
> +#undef _TANDEM_SOURCE
> +
Readline configure.ac doesn't call AC_USE_SYSTEM_EXTENSIONS. Maybe it
should, but until it does, these should probably not be changed from
whatever the build system defines them.
> /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
> @@ -71,6 +81,12 @@
> /* Define if you have the mbrtowc function. */
> #undef HAVE_MBRTOWC
>
> +/* Define if you have the mbscmp function. */
> +#undef HAVE_MBSCMP
> +
> +/* Define if you have the mbsnrtowcs function. */
> +#undef HAVE_MBSNRTOWCS
> +
> /* Define if you have the mbsrtowcs function. */
> #undef HAVE_MBSRTOWCS
>
> @@ -118,6 +134,9 @@
> /* Define if you have the wcscoll function. */
> #undef HAVE_WCSCOLL
>
> +/* Define if you have the wcsdup function. */
> +#undef HAVE_WCSDUP
Readline doesn't actually call any of these functions, and even though
BASH_CHECK_MULTIBYTE tests for them, it doesn't matter whether or not it
finds them.
> #undef HAVE_GETPW_DECLS
>
> -#undef STRUCT_DIRENT_HAS_D_INO
> +#undef HAVE_STRUCT_DIRENT_D_INO
>
> -#undef STRUCT_DIRENT_HAS_D_FILENO
> +#undef HAVE_STRUCT_DIRENT_D_FILENO
These have already been changed, thanks.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/