aboutsummaryrefslogtreecommitdiff
path: root/libvtv/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libvtv/configure.ac')
-rw-r--r--libvtv/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvtv/configure.ac b/libvtv/configure.ac
index 12b4664..f0af8ed 100644
--- a/libvtv/configure.ac
+++ b/libvtv/configure.ac
@@ -122,6 +122,7 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
# Configure libtool
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
+ACX_LT_HOST_FLAGS
AC_SUBST(enable_shared)
AC_SUBST(enable_static)
@@ -155,4 +156,15 @@ _EOF
])
fi
+case "$target_os" in
+ cygwin*|mingw32*)
+ vtv_cygmin="yes"
+ ;;
+ *)
+ vtv_cygmin="no"
+ ;;
+esac
+
+AM_CONDITIONAL(VTV_CYGMIN, test $vtv_cygmin = yes)
+
AC_OUTPUT