X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/84dd06463916fbf857351fbaba4ea33e1e056460..37cea6bc1a0c2c7a6e73f2ecf8a8a8f0aac605ed:/m4/exported.m4 diff --git a/m4/exported.m4 b/m4/exported.m4 index d4a613b..7bb6e9e 100644 --- a/m4/exported.m4 +++ b/m4/exported.m4 @@ -11,6 +11,15 @@ dnl There is NO WARRANTY, to the extent permitted by law. 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]) ])