diff --git a/configure.ac b/configure.ac index c07b0f72..b25c8ebd 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([rofi], [1.2.0], [https://github.com/DaveDavenport/rofi/]) +AC_INIT([rofi], [1.2.0], [https://github.com/DaveDavenport/rofi/],[],[https://forums.qtools.org/]) AC_CONFIG_SRCDIR([source/rofi.c]) AC_CONFIG_HEADER([config.h]) @@ -48,11 +48,11 @@ dnl --------------------------------------------------------------------- AC_ARG_ENABLE(gcov, [ --enable-gcov Enable source code coverage testing using gcov], [AM_CFLAGS="${AM_CFLAGS} -coverage"]) -AS_IF([test "X${enable_gcov}" == "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])]) +AS_IF([test "x${enable_gcov}" = "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])]) AC_ARG_ENABLE(asan, [ --enable-asan asan], [AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]) -AS_IF([test "X${enable_asan}" == "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])]) +AS_IF([test "x${enable_asan}" = "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])]) dnl -------------------------------------------------------------------- diff --git a/source/rofi.c b/source/rofi.c index f7b7160b..3ba03282 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -291,14 +291,15 @@ static void help ( G_GNUC_UNUSED int argc, char **argv ) printf ( "\t* asan %sdisabled%s\n", is_term?color_red:"", is_term?color_reset:""); #endif printf ( "\n" ); - printf ( "For more information see: man rofi\n" ); + printf ( "For more information see: %sman rofi%s\n", is_term?color_bold:"",is_term?color_reset:"" ); #ifdef GIT_VERSION - printf ( "Version: "GIT_VERSION "\n" ); + printf ( "Version: %s"GIT_VERSION "%s\n", is_term?color_bold:"",is_term?color_reset:"" ); #else - printf ( "Version: "VERSION "\n" ); + printf ( "Version: %s"VERSION "%s\n", is_term?color_bold:"",is_term?color_reset:"" ); #endif - printf ( "Bugreports: "PACKAGE_BUGREPORT "\n" ); - printf ( "Support: #rofi @ freenode.net\n" ); + printf ( "Bugreports: %s"PACKAGE_BUGREPORT "%s\n", is_term?color_bold:"",is_term?color_reset:"" ); + printf ( "Support: %s"PACKAGE_URL "%s\n", is_term?color_bold:"",is_term?color_reset:"" ); + printf ( " %s#rofi @ freenode.net%s\n", is_term?color_bold:"",is_term?color_reset:"" ); } /**