[lwatch-cvs] files configure.ac,1.13,1.14
Brought to you by:
arturcz
|
From: <ar...@us...> - 2003-03-17 15:30:21
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv1853
Modified Files:
configure.ac
Log Message:
- yep, there was really amazing experience and a good autotools excercise
but there is mostly unusable in normal environment
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** configure.ac 15 Mar 2003 23:03:04 -0000 1.13
--- configure.ac 17 Mar 2003 15:30:15 -0000 1.14
***************
*** 12,49 ****
AM_CONFIG_HEADER(src/config.h)
- # Checks for manual building
- AC_MSG_CHECKING(for manual rebuild)
- AC_ARG_ENABLE(manual,
- AC_HELP_STRING(
- [--enable-manual],
- [Build manual]),
- [],[enable_manual="yes"]
- )
- AC_MSG_RESULT($enable_manual)
-
AC_PATH_PROG(dbook2man,[docbook-to-man],[no])
- AC_CHECK_FILE([${srcdir}/distributed-package],[ac_check_dist="yes"],[ac_check_dist="no"])
! # Sorry, this is only in polish
! # Primo: enable/disable manual okre¶la, czy w ogóle chcê mieæ manual
! # Mogê zrobiæ pakiet bez manuala, ale to za bardzo nie ma sensu
! # Opcja liczy siê wtedy, kiedy instaluje siê program bezpo¶rednio z CVSu
! # Przy robieniu tarballa zawsze trzeba w³±czyæ tam lwatch.1.in i w tym celu
! # trzeba mieæ jaki¶ stuff do przerobienia sgml->man
! # Alogorytm sprawdzania, co z manualem wygl±da nastêpuj±co:
! # Sprawdzamy, czy w ogóle chcemy robiæ manual (--enable-manual - default)
! # Je¿eli robimy manual, to sprawdzamy resztê - czy pakiet i czy jest soft
! # Zg³aszaj±c odpowiednie b³êdy
! # Je¿eli nie robimy manuala, to trzeba odpowiednio przygotowaæ target
! # dla dist, coby wywala³o b³±d
!
! if test "$enable_manual" = "yes"; then
! if test "$dbook2man" = "no"; then
! if test "$ac_check_dist" = "yes"; then
! AC_MSG_ERROR([docbook-to-man not found, cannot build manual])
! else
! AC_MSG_ERROR([docbook-to-man not found, cannot prepare manual for tarball])
! fi
! fi
fi
--- 12,19 ----
AM_CONFIG_HEADER(src/config.h)
AC_PATH_PROG(dbook2man,[docbook-to-man],[no])
! if test "$dbook2man" = "no"; then
! AC_MSG_WARN([docbook-to-man not found, using lwatch.1.in stub])
fi
***************
*** 59,67 ****
# Take fun :)
! AC_MSG_CHECKING(civilization)
! sleep 1
! AC_MSG_RESULT([other.])
! AC_MSG_RESULT([We are lwatch of Borg. You will be asimilated. Resistance is futile])
! sleep 1
# Checks for libraries.
--- 29,37 ----
# Take fun :)
! #AC_MSG_CHECKING(civilization)
! #sleep 1
! #AC_MSG_RESULT([other.])
! #AC_MSG_RESULT([We are lwatch of Borg. You will be asimilated. Resistance is futile])
! #sleep 1
# Checks for libraries.
***************
*** 92,109 ****
fi
- AM_CONDITIONAL(DISTRO, test "$ac_check_dist" = "yes")
- AM_CONDITIONAL(MAKE_MAN, test "$enable_manual" = "yes")
AM_CONDITIONAL(HAVE_D2M, test "$dbook2man" != "no")
-
- if test "$ac_check_dist" = "yes"; then
- DOCMAN=lwatch.1
- DISTMAN=
- else
- DOCMAN=
- DISTMAN=lwatch.1.in
- fi
-
- AC_SUBST([DOCMAN])
- AC_SUBST([DISTMAN])
# Epilog
--- 62,66 ----
|