1 dnl Copyright © 2012 Nick Bowler
3 dnl Generate the exported.sh script used to determine the exported symbols of
4 dnl a (libtool) object file. This is required by the glconfig Automake
5 dnl fragment, but will be called automatically in that case.
7 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
8 dnl This is free software: you are free to do what the fuck you want to.
9 dnl There is NO WARRANTY, to the extent permitted by law.
11 AC_DEFUN([DX_EXPORTED_SH], [dnl
14 AC_CONFIG_COMMANDS_PRE([dnl
15 AC_PROVIDE_IFELSE([LT_INIT], , [m4_warn([syntax],
17 Consider adding an invocation of LT_INIT to configure.ac.])])
19 GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
20 AC_SUBST([GLOBAL_SYMBOL_PIPE])
23 AC_CONFIG_FILES([exported.sh:]DX_BASEDIR[/snippet/exported.sh.in],
24 [chmod +x exported.sh])