[lwatch-cvs] files Makefile.in,1.10,1.11 configure,1.8,1.9 configure.ac,1.4,1.5
Brought to you by:
arturcz
|
From: <ar...@us...> - 2003-02-04 23:30:01
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv11581
Modified Files:
Makefile.in configure configure.ac
Log Message:
* configure.ac: add Revision to configure, checking for docbook-to-man,
support for --enable-debug
* doc/Makefile.am: run $(dbook2man) instead docbook-to-man
* Makefile.in, configure, doc/Makefile.in, src/Makefile.in, src/config.h.in:
automagically recreated
Index: Makefile.in
===================================================================
RCS file: /cvsroot/lwatch/files/Makefile.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Makefile.in 3 Feb 2003 23:37:35 -0000 1.10
--- Makefile.in 4 Feb 2003 23:29:57 -0000 1.11
***************
*** 91,94 ****
--- 91,95 ----
build_alias = @build_alias@
datadir = @datadir@
+ dbook2man = @dbook2man@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** configure 3 Feb 2003 23:37:35 -0000 1.8
--- configure 4 Feb 2003 23:29:57 -0000 1.9
***************
*** 1,3 ****
--- 1,4 ----
#! /bin/sh
+ # From configure.ac Revision: .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.1.
***************
*** 309,313 ****
#endif"
! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP LIBOBJS LTLIBOBJS'
ac_subst_files=''
--- 310,314 ----
#endif"
! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LEX LEXLIB LEX_OUTPUT_ROOT dbook2man CPP EGREP LIBOBJS LTLIBOBJS'
ac_subst_files=''
***************
*** 849,852 ****
--- 850,854 ----
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
+ --enable-debug Use debugging
Some influential environment variables:
***************
*** 1276,1279 ****
--- 1278,1282 ----
+
am__api_version="1.7"
ac_aux_dir=
***************
*** 3029,3032 ****
--- 3032,3076 ----
fi
+ # Extract the first word of "docbook-to-man", so it can be a program name with args.
+ set dummy docbook-to-man; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_dbook2man+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ case $dbook2man in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_dbook2man="$dbook2man" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_dbook2man="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+ done
+
+ test -z "$ac_cv_path_dbook2man" && ac_cv_path_dbook2man="none"
+ ;;
+ esac
+ fi
+ dbook2man=$ac_cv_path_dbook2man
+
+ if test -n "$dbook2man"; then
+ echo "$as_me:$LINENO: result: $dbook2man" >&5
+ echo "${ECHO_T}$dbook2man" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+
+
# Checks for header files.
ac_ext=c
***************
*** 4569,4572 ****
--- 4613,4639 ----
+ # Define autoheader templates
+
+
+
+ # Checks for user options
+ echo "$as_me:$LINENO: checking --enable-debug" >&5
+ echo $ECHO_N "checking --enable-debug... $ECHO_C" >&6
+ # Check whether --enable-debug or --disable-debug was given.
+ if test "${enable_debug+set}" = set; then
+ enableval="$enable_debug"
+
+ else
+ enable_debug="no"
+ fi;
+ echo "$as_me:$LINENO: result: $enable_debug" >&5
+ echo "${ECHO_T}$enable_debug" >&6
+ if test "$enable_debug" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define DEBUG 1
+ _ACEOF
+
+ fi
+
# Epilog
ac_config_files="$ac_config_files src/Makefile doc/Makefile Makefile"
***************
*** 5248,5251 ****
--- 5315,5319 ----
s,@LEXLIB@,$LEXLIB,;t t
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
+ s,@dbook2man@,$dbook2man,;t t
s,@CPP@,$CPP,;t t
s,@EGREP@,$EGREP,;t t
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** configure.ac 3 Feb 2003 23:37:35 -0000 1.4
--- configure.ac 4 Feb 2003 23:29:57 -0000 1.5
***************
*** 6,9 ****
--- 6,10 ----
AC_PREREQ(2.57)
AC_INIT([lwatch], [0.1])
+ AC_REVISION($Revision$)
AC_CONFIG_SRCDIR(src/lwatch.c)
AM_INIT_AUTOMAKE([dist-bzip2])
***************
*** 17,20 ****
--- 18,23 ----
AM_PROG_LEX
+ AC_PATH_PROG(dbook2man,[docbook-to-man],[none])
+
# Checks for header files.
AC_HEADER_STDC
***************
*** 33,36 ****
--- 36,53 ----
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([memset strcasecmp strchr])
+
+ # Define autoheader templates
+ AH_TEMPLATE([DEBUG],
+ [Define to 1 if you want to compile with debug support.])
+
+ # Checks for user options
+ AC_MSG_CHECKING(--enable-debug)
+ AC_ARG_ENABLE(debug,
+ [ --enable-debug Use debugging], ,
+ [enable_debug="no"])
+ AC_MSG_RESULT($enable_debug)
+ if test "$enable_debug" = "yes"; then
+ AC_DEFINE(DEBUG)
+ fi
# Epilog
|