LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File loki_setup-linksummary.diff of Package loki_setup (Project games:tools)

Index: loki_setup/configure.in
===================================================================
--- loki_setup.orig/configure.in
+++ loki_setup/configure.in
@@ -357,9 +357,13 @@ enable_gpm=no)
 if test "x$enable_gpm" = "xstatic"; then
 	GPM_STATIC="$BSTATIC"
 	USE_GPM=yes
+	gpm_summary=static
 elif test "x$enable_gpm" = "xyes"; then
 	GPM_STATIC=""
 	USE_GPM=yes
+	gpm_summary=dynamic
+else
+	gpm_summary=no
 fi
 
 AC_ARG_ENABLE(gtk-static,
@@ -367,6 +371,9 @@ AC_ARG_ENABLE(gtk-static,
 enable_gtk_static=$want_gtk_static)
 if test "x$enable_gtk_static" = "xyes"; then
 	GTK_STATIC="$BSTATIC"
+	gtk_summary=static
+else
+	gtk_summary=dynamic
 fi
 
 AC_ARG_ENABLE(libglade-static,
@@ -374,6 +381,9 @@ AC_ARG_ENABLE(libglade-static,
 enable_libglade_static=yes)
 if test "x$enable_libglade_static" = "xyes"; then
 	GLADE_STATIC="$BSTATIC"
+	glade_summary=static
+else
+	glade_summary=dynamic
 fi
 
 AC_ARG_ENABLE(libxml-static,
@@ -381,6 +391,9 @@ AC_ARG_ENABLE(libxml-static,
 enable_libxml_static=yes)
 if test "x$enable_libxml_static" = "xyes"; then
 	XML_STATIC="$BSTATIC"
+	xml_summary=static
+else
+	xml_summary=dynamic
 fi
 
 AC_ARG_ENABLE(libncurses-static,
@@ -388,6 +401,9 @@ AC_ARG_ENABLE(libncurses-static,
 enable_libncurses_static=yes)
 if test "x$enable_libncurses_static" = "xyes"; then
 	NCURSES_STATIC="$BSTATIC"
+	ncurses_summary=static
+else
+	ncurses_summary=dynamic
 fi
 
 AC_ARG_ENABLE(libz-static,
@@ -395,6 +411,9 @@ AC_ARG_ENABLE(libz-static,
 enable_libz_static=yes)
 if test "x$enable_libz_static" = "xyes"; then
 	LIBZ_STATIC="$BSTATIC"
+	libz_summary=static
+else
+	libz_summary=dynamic
 fi
 
 AC_CHECK_HEADERS(ncurses/term.h)
@@ -510,7 +529,9 @@ if test x$HAVE_BZIP2_SUPPORT = xyes; the
     AC_DEFINE(BZIP2_DLOPEN, 1, open libbz2 using dlopen)
     BZ2LIB="-ldl"
     BZ2_STATIC=""
+    bzip2_summary=dlopen
   else
+    bzip2_summary=static
     BZ2LIB="-lbz2"
     BZ2_STATIC="$BSTATIC"
     if test x$LIBBZ2_PREFIX = xyes; then
@@ -529,6 +550,8 @@ if test x$HAVE_BZIP2_SUPPORT = xyes; the
        fi		
     esac
   fi
+else
+    bzip2_summary=no
 fi
 
 AC_ARG_ENABLE(dialog,
@@ -640,6 +663,7 @@ else
 	else
 		CONSOLE_LIBS="$CONSOLE_LIBS -lcurses"
 	fi
+	ncurses_summary="static, curses"
 fi
 
 if test "x$USE_GPM" = "xyes"; then
@@ -731,3 +755,12 @@ AC_SUBST(SETUP_GTK)
 AC_SUBST(GTK_SUBDIR)
 
 AC_OUTPUT(Makefile plugins/Makefile dialog/Makefile)
+
+AC_MSG_NOTICE([linked libraries:])
+AC_MSG_NOTICE([gtk:             $gtk_summary])
+AC_MSG_NOTICE([libxml:          $xml_summary])
+AC_MSG_NOTICE([libglade:        $glade_summary])
+AC_MSG_NOTICE([ncurses:         $ncurses_summary])
+AC_MSG_NOTICE([libz:            $libz_summary])
+AC_MSG_NOTICE([bzip2:           $bzip2_summary])
+AC_MSG_NOTICE([gpm:             $gpm_summary])