powerguru-commit
[Top][All Lists]
Advanced

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

[Powerguru-commit] [SCM] powerguru branch, master, updated. f572b277b699


From: Rob Savoye
Subject: [Powerguru-commit] [SCM] powerguru branch, master, updated. f572b277b6999068e572f567f43fefd7a9b7bc5c
Date: Sat, 10 Dec 2011 00:26:10 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".

The branch, master has been updated
       via  f572b277b6999068e572f567f43fefd7a9b7bc5c (commit)
      from  48283db0c8ea6a1ec1ad76b8680ee5b4524c4920 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=f572b277b6999068e572f567f43fefd7a9b7bc5c


commit f572b277b6999068e572f567f43fefd7a9b7bc5c
Author: Rob Savoye <address@hidden>
Date:   Fri Dec 9 17:26:04 2011 -0700

    Add option to specify the tty's to read data from, so we can support 
multiple devices.

diff --git a/configure.ac b/configure.ac
index 3227585..7baf042 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,26 +139,30 @@ AM_PATH_MYSQL
 AM_PATH_SNMP
 AM_CONDITIONAL(BUILD_SNMP, test x$snmp = xtrue)
 
-sim=false
 AC_ARG_ENABLE(sim, [  --enable-sim           enable support for Sim 
(default=no)],
 [case "${enableval}" in
   yes) sim=true ;;
   no)  sim=false ;;
   *)   AC_MSG_ERROR([bad value ${enableval} for enable-malloc option]) ;;
-esac])
+esac], sim=false)
 
 AM_CONDITIONAL(BUILD_SIM, test x${sim} = xtrue)
 
-client=false
 AC_ARG_ENABLE(client, [  --enable-client           enable support for Client 
(default=no)],
 [case "${enableval}" in
   yes) client=true ;;
   no)  client=false ;;
   *)   AC_MSG_ERROR([bad value ${enableval} for enable-malloc option]) ;;
-esac])
+esac], client=false)
 
 AM_CONDITIONAL(BUILD_CLIENT, test x${client} = xtrue)
 
+AC_ARG_WITH(tty,
+  AC_HELP_STRING([--with-tty=], [Specify which TTY's to read data from]),
+  TTYS=${with_tty}
+  AC_SUBST(TTYS)
+)
+
 dnl link to the images so we can browse the HTML output before
 dnl installing it.
 AC_LINK_FILES(doc/C/images,doc/C/images)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 819c953..0a83933 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -26,6 +26,9 @@ AM_CPPFLAGS = -Wall
 
 lib_LTLIBRARIES = libpguru.la
 
+# The list of tty's to use by default
address@hidden@
+
 # These headers get installed
 # include_HEADERS = log.h err.h proc.h serial.h xantrex.h outback.h
 

-----------------------------------------------------------------------

Summary of changes:
 configure.ac    |   12 ++++++++----
 lib/Makefile.am |    3 +++
 2 files changed, 11 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
powerguru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]