![Petr Vorel](/assets/img/avatar_default.png)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15 lines
249 B
Bash
Executable file
15 lines
249 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Needed for systems without gettext
|
|
$* -x c -o /dev/null - > /dev/null 2>&1 << EOF
|
|
#include <libintl.h>
|
|
int main()
|
|
{
|
|
gettext("");
|
|
return 0;
|
|
}
|
|
EOF
|
|
if [ ! "$?" -eq "0" ]; then
|
|
echo -DKBUILD_NO_NLS;
|
|
fi
|