From 781abc10484672f848a9d9a9d7e7a97edf522628 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 11 Dec 2009 10:54:57 +0000 Subject: [PATCH] * add detection of Objective C. * improve configure output SVN revision: 44360 --- legacy/evas/configure.ac | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac index a6138cb711..d62af9773c 100644 --- a/legacy/evas/configure.ac +++ b/legacy/evas/configure.ac @@ -136,7 +136,17 @@ AC_ARG_ENABLE([simple-x11], ### Checks for programs - +m4_ifdef([AC_PROG_OBJC], + [ + AC_PROG_OBJC + _AM_DEPENDENCIES(OBJC) + ], + [ + AC_CHECK_TOOL([OBJC], [gcc]) + AC_SUBST([OBJC]) + AC_SUBST([OBJCFLAGS]) + ] +) AC_PROG_CXX AC_PROG_CC @@ -1423,11 +1433,14 @@ echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270" echo echo "Documentation.............: ${build_doc}" echo -echo "------------------------------------------------------------------------" +echo "Compilation............: make (or gmake)" +echo " CPPFLAGS.............: $CPPFLAGS" +echo " CFLAGS...............: $CFLAGS" +echo " CXXFLAGS.............: $CXXFLAGS" +echo " LDFLAGS..............: $LDFLAGS" echo -echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE," -echo "and then afterwards as root (or the user who will install this), type" -echo "'make install'. Change users with 'su' or 'sudo' appropriately." +echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')" +echo " prefix...............: $prefix" echo if test "x${have_static_module}" = "xyes" ; then echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."