summaryrefslogtreecommitdiffstats
path: root/atlocal.in
blob: cd11d8db4ea90b8d979544b0c1fbf5f5fd5e84b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
EXEEXT=@EXEEXT@
case "@UUID_LIBS@" in
  '') have_uuid=no ;;
  *) have_uuid=yes ;;
esac

dos2unix() {
  # GNU sed required to build on mingw
  sed 's/\r$//' "$@"
}

_msiinfo() {
  WINEDEBUG=-all msiinfo$EXEEXT "$@" > stdout.tmp
  rc=$?
  case "$1" in
    export|extract) cat stdout.tmp ;;
    *) dos2unix stdout.tmp ;;
  esac
  return $rc
}

_msibuild() {
  WINEDEBUG=-all msibuild$EXEEXT "$@"
}

_wixl() {
  wixl$EXEEXT --wxidir "$abs_top_srcdir/data/wixl" "$@"
}
_wixl_heat() {
  wixl-heat$EXEEXT "$@"
}