acinclude.m4
author J. Ali Harlow <ali@juiblex.co.uk>
Fri Mar 22 11:50:12 2019 +0000 (2019-03-22)
changeset 91 6b255a0c4e3e
permissions -rw-r--r--
Refix bug causing plover_get_program_directory() to fail when executable is in a root directory
ali@13
     1
# Usage:
ali@13
     2
#	PLOVER_MSWIN_MANIFEST([output],[input])
ali@13
     3
AC_DEFUN([PLOVER_MSWIN_MANIFEST],[m4_foreach_w([PLOVER_File],[$1],
ali@13
     4
    [m4_define([PLOVER_Output],m4_bpatsubst(PLOVER_File,[:.*],[]))
ali@13
     5
      AC_CONFIG_FILES(PLOVER_File,
ali@13
     6
      [m4] PLOVER_Output [>] PLOVER_Output[.new;]
ali@13
     7
      [mv] PLOVER_Output[.new] PLOVER_Output
ali@13
     8
      )])])