elementary: fix check of examples build and install.
authorRafael Antognolli <antognolli@gmail.com>
Thu, 16 Jun 2011 18:58:44 +0000 (18:58 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Thu, 16 Jun 2011 18:58:44 +0000 (18:58 +0000)
This check should be before AC_OUTPUT in configure.ac.

SVN revision: 60406

legacy/elementary/configure.ac

index bbf7cea..e4e4b0d 100644 (file)
@@ -502,6 +502,10 @@ AM_CONDITIONAL([HAVE_PO], [false])
 ])
 AC_SUBST(LTLIBINTL)
 
+### Build and install examples
+EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
+EFL_CHECK_INSTALL_EXAMPLES([enable_install_examples="yes"], [enable_install_examples="no"])
+
 
 AC_OUTPUT([
 Makefile
@@ -532,10 +536,6 @@ config/illume/Makefile
 $po_makefile_in
 ])
 
-### Build and install examples
-EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
-EFL_CHECK_INSTALL_EXAMPLES([enable_install_examples="yes"], [enable_install_examples="no"])
-
 #####################################################################
 ## Info