aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-03 01:29:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-03 01:29:39 +1000
commitff03fe7e41e2e0a2dbe5efdf1d9ecb08151c3d36 (patch)
tree309479a2ba30dfff19ff6612da29e9fd57f4cace /configure.ac
parent06fd1aa9f8aa2d9705ba942055c76518fb1da1f6 (diff)
Make autoconf detection for have__nl_msg_cat_cntr slightly more robust
darcs-hash:20060202152939-ac50b-9b38585f8c1d1855d08cc7fd1a75e51ff54a9b0e.gz
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d104c7da..1268ec1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,7 +212,7 @@ AC_TRY_LINK([#if HAVE_LIBINTL_H]
[#include <libintl.h>]
[#endif],
[extern int _nl_msg_cat_cntr;]
-[int tmp = _nl_msg_cat_cntr;], have__nl_msg_cat_cntr=yes, have__nl_msg_cat_cntr=no)
+[int tmp = _nl_msg_cat_cntr; exit(tmp);], have__nl_msg_cat_cntr=yes, have__nl_msg_cat_cntr=no)
if test "$have__nl_msg_cat_cntr" = yes; then
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE__NL_MSG_CAT_CNTR], [1],