mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
For MinGW use Windows filepaths in libpath.h
* configure.ac (MINGW_LIBPATH): new automake conditional and test * libguile/Makefile.am (libpath.h) [MINGW_LIBPATH]: use Windows-style paths
This commit is contained in:
parent
1b0da42672
commit
3f4d5d128c
2 changed files with 49 additions and 1 deletions
|
@ -433,6 +433,7 @@ dnl
|
|||
dnl Check for Winsock and other functionality on Win32 (*not* CygWin)
|
||||
dnl
|
||||
EXTRA_DEFS=""
|
||||
mingw_libpath=false
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
AC_CHECK_HEADER(winsock2.h, [AC_DEFINE([HAVE_WINSOCK2_H], 1,
|
||||
|
@ -444,9 +445,11 @@ case $host in
|
|||
AC_DEFINE([USE_DLL_IMPORT], 1,
|
||||
[Define if you need additional CPP macros on Win32 platforms.])
|
||||
fi
|
||||
mingw_libpath=true
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(EXTRA_DEFS)
|
||||
AM_CONDITIONAL([MINGW_LIBPATH], [test x$mingw_libpath = xtrue])
|
||||
|
||||
# Reasons for testing:
|
||||
# crt_externs.h - Darwin specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue