diff options
author | Sebastian Andrzej Siewior | 2012-02-29 22:26:19 +0100 |
---|---|---|
committer | Karel Zak | 2012-03-20 09:14:27 +0100 |
commit | d0202f1c5ab4e7a54256864484a59addb94625ab (patch) | |
tree | db4e3bbce02f34c1d4aaf923e2a5e1cd6acbed9f /sys-utils/setsid.1 | |
parent | mount: (new) add missing xalloc.h (diff) | |
download | kernel-qcow2-util-linux-d0202f1c5ab4e7a54256864484a59addb94625ab.tar.gz kernel-qcow2-util-linux-d0202f1c5ab4e7a54256864484a59addb94625ab.tar.xz kernel-qcow2-util-linux-d0202f1c5ab4e7a54256864484a59addb94625ab.zip |
build-sys: make the crosscompile path for scanf_cv_alloc_modifier clever
My earlier assumption was that scanf_cv_alloc_modifier is unused. This
is not true as pointed out by Karel since it used befoe checking for
libmount. Argh. So instead saying no I add a test to check for glibc
>= 2.7 which provides %m. As of uClibc v0.9.32-rc3 the situation looks
the following:
| git grep _M_SPEC__
|libc/stdio/_vfprintf.c:/* #define __UCLIBC_HAS_PRINTF_M_SPEC__ */
|libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/_vfprintf.c:# ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/_vfprintf.c:# endif /* __UCLIBC_HAS_PRINTF_M_SPEC__ */
|libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/old_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
|libc/stdio/perror.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__
And other libc user have to bring their own stuff.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'sys-utils/setsid.1')
0 files changed, 0 insertions, 0 deletions