librep r2923 - trunk



Author: chrisb
Date: Wed Aug  6 06:19:18 2008
New Revision: 2923
URL: http://svn.gnome.org/viewvc/librep?rev=2923&view=rev

Log:
print usefull infos at the end (configure.in)


Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Aug  6 06:19:18 2008
@@ -622,6 +622,43 @@
 dnl Build all files. Makes sure rules.mk is rebuild each time
 AC_OUTPUT(${output_files}, [rm -f rules.mk])
 
+gmpversion=`ls /usr/lib/libgmp.so.?.?* | sed -e 's/.*so.//g'`
+gdbmversion=`ls /usr/lib/libgdbm.so.?.?* | sed -e 's/.*so.//g'`
+readlineversion=`ls /lib/libreadline.so.?.?* | sed -e 's/.*so.//g'`
+ffiversion=`ls /usr/lib/libffi.so.?.?* | sed -e 's/.*so.//g'`
+ccversion=`$CC --version | grep gcc | gawk '{ print $4 }'`
+
+echo "
+  == == == == == == == == == == == == ==
+  
+  librep:	$version
+
+  == == == == == == == == == == == == ==
+  
+  compiler:	$CC  "
+
+if [[ $ccversion != "" ]]; then
+	echo "  cc-version:	$ccversion"
+fi
+
+if [[ $with_gmp == yes ]]; then
+	echo "  libgmp:	$gmpversion"
+fi
+
+echo "  libgdbm:	$gdbmversion"
+
+if [[ $with_readline == yes ]]; then
+	echo "  readline: 	$readlineversion"
+fi
+
+if [[ $with_ffi == yes ]]; then
+	echo "  libffi:	$ffiversion"
+fi
+
+echo "  
+  == == == == == == == == == == == == ==
+"
+
 dnl If it doesn't look like GNU Make is being used, give a friendly warning
 tem=`make --version -f /dev/null 2>&1 | grep GNU`
 if test "x$tem" = "x"; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]