[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnushogi-devel] [PATCH] Misc fixes to comply with new autoconf standard
From: |
Chen Chen |
Subject: |
[Gnushogi-devel] [PATCH] Misc fixes to comply with new autoconf standard; Add a pre-build check on texinfo. |
Date: |
Tue, 15 Jul 2014 14:44:45 +0800 |
---
configure.ac | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 2447789..f397a50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@ AC_PREREQ(2.57)
AC_INIT([gnushogi],[1.4.2+],[https://savannah.gnu.org/bugs/?group=gnushogi])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([gnushogi/gnushogi.h])
-AC_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AM_MAINTAINER_MODE
##########
@@ -16,6 +16,7 @@ AC_MSG_NOTICE([C compiler])
AC_PROG_CC
AC_CANONICAL_BUILD
AC_PROG_INSTALL
+AM_PROG_CC_C_O
##########
AC_MSG_NOTICE([libs])
@@ -41,6 +42,13 @@ AS_IF([test "x$with_curses" != xno],
[--with-curses was given, but test for curses failed])])],
[-ltermcap])])
+# texinfo
+AC_CHECK_PROG([have_makeinfo], [makeinfo], [yes], [no])
+AS_IF([test "x$have_makeinfo" = xno],
+ [AC_MSG_ERROR([makeinfo not found;
+ You might want to install the Texinfo package:
+ see <http://www.gnu.org/software/texinfo/texinfo>.])])
+
# other libraries.
AC_CHECK_LIB([m], [pow])
AC_CHECK_LIB([termcap], [tgoto])
--
1.9.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnushogi-devel] [PATCH] Misc fixes to comply with new autoconf standard; Add a pre-build check on texinfo.,
Chen Chen <=