We only use dlltool on Windows, and this way we don't require that
the user has it installed.
LdCmd="$LD"
AC_SUBST([LdCmd])
-dnl ** Check for dlltool on Windows
-dnl --------------------------------------------------------------
-case $HostOS_CPP in
-cygwin32|mingw32)
- AC_PATH_PROG(DlltoolCmd,dlltool)
- if test -z "$DlltoolCmd"; then
- echo "Can't find dlltool in your path, can't make DLLs."
- exit 1
- fi
- ;;
-*)
- AC_SUBST(DlltoolCmd,"")
- ;;
-esac
-
dnl ** Which nm to use?
dnl --------------------------------------------------------------
FP_ARG_WITH_PATH_GNU_PROG([NM], [nm])
# Mingwex Library
#
HaveLibMingwEx = @HaveLibMingwEx@
-DLLTOOL = @DlltoolCmd@
+DLLTOOL = inplace/mingw/bin/dlltool.exe
#-----------------------------------------------------------------------------
# Flex (currently unused, could be moved to glafp-utils)