[lwatch-cvs] files configure,1.13,1.14 configure.ac,1.8,1.9
Brought to you by:
arturcz
|
From: <ar...@us...> - 2003-03-12 22:23:54
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv21680
Modified Files:
configure configure.ac
Log Message:
configure.ac: don't stop with error about lack docbook->man converter
if --disable-manual
other: automagically regenerated
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** configure 7 Feb 2003 10:09:32 -0000 1.13
--- configure 12 Mar 2003 22:23:45 -0000 1.14
***************
*** 1741,1744 ****
--- 1741,1745 ----
echo "$as_me:$LINENO: checking for manual rebuild" >&5
echo $ECHO_N "checking for manual rebuild... $ECHO_C" >&6
+
# Check whether --enable-manual or --disable-manual was given.
if test "${enable_manual+set}" = set; then
***************
*** 1751,1756 ****
echo "${ECHO_T}$enable_manual" >&6
! if test "$ac_check_dist" = "yes"; then
! if test "$enable_manual" = "yes"; then
if test "$dbook2man" = "no"; then
{ { echo "$as_me:$LINENO: error: docbook-to-man not found, cannot build manual" >&5
--- 1752,1757 ----
echo "${ECHO_T}$enable_manual" >&6
! if test "$enable_manual" = "yes"; then
! if test "$ac_check_dist" = "yes"; then
if test "$dbook2man" = "no"; then
{ { echo "$as_me:$LINENO: error: docbook-to-man not found, cannot build manual" >&5
***************
*** 1758,1767 ****
{ (exit 1); exit 1; }; }
fi
! fi
! else
! if test "$dbook2man" = "no"; then
! { { echo "$as_me:$LINENO: error: docbook-to-man not found, cannot prepare manual" >&5
echo "$as_me: error: docbook-to-man not found, cannot prepare manual" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
--- 1759,1768 ----
{ (exit 1); exit 1; }; }
fi
! else
! if test "$dbook2man" = "no"; then
! { { echo "$as_me:$LINENO: error: docbook-to-man not found, cannot prepare manual" >&5
echo "$as_me: error: docbook-to-man not found, cannot prepare manual" >&2;}
{ (exit 1); exit 1; }; }
+ fi
fi
fi
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** configure.ac 7 Feb 2003 09:58:47 -0000 1.8
--- configure.ac 12 Mar 2003 22:23:46 -0000 1.9
***************
*** 16,19 ****
--- 16,20 ----
AC_CHECK_FILE([${srcdir}/distributed-package],[ac_check_dist="yes"],[ac_check_dist="no"])
AC_MSG_CHECKING(for manual rebuild)
+
AC_ARG_ENABLE(manual,
AC_HELP_STRING(
***************
*** 23,35 ****
AC_MSG_RESULT($enable_manual)
! if test "$ac_check_dist" = "yes"; then
! if test "$enable_manual" = "yes"; then
if test "$dbook2man" = "no"; then
AC_MSG_ERROR([docbook-to-man not found, cannot build manual])
fi
! fi
! else
! if test "$dbook2man" = "no"; then
! AC_MSG_ERROR([docbook-to-man not found, cannot prepare manual])
fi
fi
--- 24,36 ----
AC_MSG_RESULT($enable_manual)
! if test "$enable_manual" = "yes"; then
! if test "$ac_check_dist" = "yes"; then
if test "$dbook2man" = "no"; then
AC_MSG_ERROR([docbook-to-man not found, cannot build manual])
fi
! else
! if test "$dbook2man" = "no"; then
! AC_MSG_ERROR([docbook-to-man not found, cannot prepare manual])
! fi
fi
fi
|