2008-06-19 21:06:08 +02:00
|
|
|
#!/bin/sh
|
2018-09-19 13:36:15 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2008-06-19 21:06:08 +02:00
|
|
|
# Needed for systems without gettext
|
2013-04-04 13:24:24 +02:00
|
|
|
$* -x c -o /dev/null - > /dev/null 2>&1 << EOF
|
2008-06-19 21:06:08 +02:00
|
|
|
#include <libintl.h>
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
gettext("");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
if [ ! "$?" -eq "0" ]; then
|
|
|
|
echo -DKBUILD_NO_NLS;
|
|
|
|
fi
|