Added a summary of installation + warning if no guis can be built
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 24 Oct 2007 21:05:31 +0000 (21:05 +0000)
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 24 Oct 2007 21:05:31 +0000 (21:05 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@467 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/configure.in

index dd948a4..18be706 100644 (file)
@@ -230,6 +230,7 @@ if test x$enable_nls = xyes; then
  done
 fi
 
+
 AC_SUBST(INTLIBS)
 AC_SUBST(MOFILES)
 AC_SUBST(POFILES)
@@ -278,3 +279,39 @@ src/xpm/Makefile
 intl/Makefile
 po/Makefile
 ])
+echo ""
+echo ""
+echo "Summary of your installation :"
+if test x"$gtk2_pkgconfig" = xyes
+       then
+       echo "GTK gui     : ENABLED"
+       else
+       echo "GTK gui     : DISABLED : you are missing a dependency"
+fi
+if test x"$sdl" = xyes
+       then
+       echo "SDL gui     : ENABLED"
+       else
+       echo "SDL gui     : DISABLED : you are missing a dependency"
+fi
+if test x"$gpsd" = xyes
+       then
+       echo "GPS support : ENABLED"
+       else
+       echo "GPS support : DISABLED"
+fi
+if test x"$speechd" = xyes
+       then
+       echo "SPEECHD     : ENABLED"
+       else
+       echo "SPEECHD     : DISABLED"
+fi
+if  [ test x"$gtk2_pkgconfig" != xyes ] && [ test x"$sdl" != xyes ]
+       then
+       echo ""
+       echo "" 
+       echo "*** WARNING! you have no gui that can be built! ***"
+       echo "Please install the dependency for at least gtk or sdl gui"
+       echo "For more details, see the wiki at http://navit.sf.net/wiki/"
+       echo "" 
+fi