aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-21 23:02:26 +0000
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 16:08:51 +0100
commit567cdcb4aca0b40ec7017459642f135d6139e585 (patch)
tree1c8a406b9fc88490754557b1c2f8fec36ad036eb /m4
parent234ccdf6534598dc52f2926f2deb3a1dc960af88 (diff)
downloadenigma2-567cdcb4aca0b40ec7017459642f135d6139e585.tar.gz
enigma2-567cdcb4aca0b40ec7017459642f135d6139e585.zip
configure/m4: update some macros (autoupdate)
Diffstat (limited to 'm4')
-rw-r--r--m4/tuxbox.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/tuxbox.m4 b/m4/tuxbox.m4
index fb3b7d90..a6cdf930 100644
--- a/m4/tuxbox.m4
+++ b/m4/tuxbox.m4
@@ -2,7 +2,7 @@ AC_DEFUN([TUXBOX_APPS],[
INSTALL="$INSTALL -p"
-AC_GNU_SOURCE
+AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_ARG_WITH(target,
@@ -270,18 +270,18 @@ AC_SUBST(USE_NLS)
if test "$USE_NLS" = "yes"; then
AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,[
- AC_TRY_LINK([
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <libintl.h>
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
- ],[
+ ]], [[
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings;
- ], gt_cv_func_gnugettext_libc=yes, gt_cv_func_gnugettext_libc=no
- )]
+ ]])],[gt_cv_func_gnugettext_libc=yes],[gt_cv_func_gnugettext_libc=no
+ ])]
)
if test "$gt_cv_func_gnugettext_libc" = "yes"; then
@@ -339,7 +339,7 @@ AC_SUBST(CATALOGS)
])
dnl backward compatiblity
-AC_DEFUN([AC_GNU_SOURCE],
+AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE