]> git.lyx.org Git - lyx.git/blobdiff - configure.ac
Cmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit 329eae5605d.
[lyx.git] / configure.ac
index 5f5d562f79fc74e0b19b4dd84f9695fe4aed5aad..f97622aafb1beed2d0c2dfa683a2a4684c4e4639 100644 (file)
@@ -63,7 +63,13 @@ for file in config/install-sh ; do
   chmod 755 ${srcdir}/${file}
 done
 
-AM_PATH_PYTHON(2.4.0,, :)
+# Find a suitable python interpreter
+LYX_PATH_PYTHON23([2.7.0], [3.3.0])
+# do the usual python setup stuff
+AM_PATH_PYTHON
+
+# Tools for creating libraries (note that we do not use libtool)
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl AM_PROG_AR requires automake 1.12
 AC_PROG_RANLIB
 
 ### Check for a C++ compiler