aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/m4/win32.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/m4/win32.m4')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/m4/win32.m427
1 files changed, 27 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/m4/win32.m4 b/src/others/mimesh/libg3d-0.0.8/m4/win32.m4
new file mode 100644
index 0000000..72c861d
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/m4/win32.m4
@@ -0,0 +1,27 @@
1
2AC_DEFUN([AM_IS_WIN32],
3[
4 AC_MSG_CHECKING([for Win32])
5 case "$host" in
6 *-mingw*)
7 os_win32=yes
8 ;;
9 *)
10 os_win32=no
11 ;;
12 esac
13 AC_MSG_RESULT([$os_win32])
14 if test "$os_win32" = "yes"; then
15 if test x$enable_static = xyes -o x$enable_static = x; then
16 AC_MSG_WARN(
17 [Disabling static library build, must build as DLL on Windows.])
18 fi
19 if test x$enable_shared = xno; then
20 AC_MSG_WARN(
21 [Enabling shared library build, must build as DLL on Windows.])
22 fi
23 enable_static=no
24 enable_shared=yes
25 fi
26])
27