summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84dd064)
The exported.sh support wasn't really usable as-is since it was relying
on a symbol defined by cdecl99's configure.ac. Bring that configuration
into the common macro.
AC_DEFUN([DX_EXPORTED_SH], [dnl
AC_REQUIRE([DX_INIT])
AC_DEFUN([DX_EXPORTED_SH], [dnl
AC_REQUIRE([DX_INIT])
+AC_CONFIG_COMMANDS_PRE([dnl
+ AC_PROVIDE_IFELSE([LT_INIT], , [m4_warn([syntax],
+[$0 requires libtool.
+Consider adding an invocation of LT_INIT to configure.ac.])])
+
+ GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
+ AC_SUBST([GLOBAL_SYMBOL_PIPE])
+])
+
AC_CONFIG_FILES([exported.sh:]DX_BASEDIR[/snippet/exported.sh.in],
[chmod +x exported.sh])
])
AC_CONFIG_FILES([exported.sh:]DX_BASEDIR[/snippet/exported.sh.in],
[chmod +x exported.sh])
])