summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-06-19 09:38:23 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-06-19 09:38:23 +0200
commit5b14a9bef9a8589524baa7405a569c899b368d65 (patch)
tree01f30a03e7d0b57da586cb22a1270ec38936a7ba /configure.ac
parent55e74e06ffae30b9d01fa24fd1668d8816ee2500 (diff)
make autotools compile checks work with MSVC too
We don't run AC_PROG_C, which sets some necessary variables. Change-Id: I21dc4a7e84990861afccbf0c914108737a54ec7d
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0596eb79ca81..55467f35c849 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3171,6 +3171,11 @@ if test "$_os" = "WINNT"; then
;;
esac
fi
+
+ # Make AC_COMPILE_IFELSE etc. work (set by AC_PROG_C, which we don't use for MSVC)
+ ac_objext=obj
+ ac_exeext=exe
+
else
AC_MSG_ERROR([Visual C++ not found after all, huh])
fi