Imported Upstream version 0.9.3
[platform/upstream/libunistring.git] / m4 / exported.m4
1 # exported.m4 serial 1 (gettext-0.18)
2 dnl Copyright (C) 2006, 2009 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 dnl Prerequisites of the exported.sh script:
8 dnl Check for nm output filter that yields the exported symbols.
9 AC_DEFUN([gt_GLOBAL_SYMBOL_PIPE], [
10   AC_REQUIRE([AC_PROG_NM]) dnl provided by libtool.m4
11   AC_SUBST([NM])
12   AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) dnl provided by libtool.m4
13   GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
14   AC_SUBST([GLOBAL_SYMBOL_PIPE])
15   if test -n "$GLOBAL_SYMBOL_PIPE"; then
16     HAVE_GLOBAL_SYMBOL_PIPE=1
17   else
18     HAVE_GLOBAL_SYMBOL_PIPE=
19   fi
20   AC_SUBST([HAVE_GLOBAL_SYMBOL_PIPE])
21 ])