diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-01-21 02:12:24 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-01-21 03:37:53 +0100 |
commit | 8376efac671aee91de711d54eeb33d453ca5902e (patch) | |
tree | 20b157206140b160b769c3f56c80b171eb818e66 | |
parent | 1d87464fc86864ae66570cfedb5ac703e93d0cfa (diff) | |
download | ratpoison-8376efac671aee91de711d54eeb33d453ca5902e.zip |
configure.in: rename obsolete macros
* s/AM_CONFIG_HEADER/AC_CONFIG_HEADER
* s/AC_HELP_STRING/AS_HELP_STRING
-rw-r--r-- | configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in index e73304b..d7d2999 100644 --- a/configure.in +++ b/configure.in @@ -28,11 +28,11 @@ AM_INIT_AUTOMAKE([-Wall -Werror gnu]) AM_MAINTAINER_MODE -AM_CONFIG_HEADER(src/config.h) +AC_CONFIG_HEADER(src/config.h) dnl by default turn off debugging AC_MSG_CHECKING(whether to enable debugging) -AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[build with extra debugging messages]), +AC_ARG_ENABLE(debug,AS_HELP_STRING([--enable-debug],[build with extra debugging messages]), [if test "x$enableval" != "xno"; then AC_DEFINE_UNQUOTED(DEBUG, 1, Define this to enable debugging messages) AC_MSG_RESULT(yes) @@ -41,13 +41,13 @@ AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[build with extra debugging AC_MSG_RESULT(no) fi],[AC_MSG_RESULT(no)]) -AC_ARG_WITH(xterm,AC_HELP_STRING([--with-xterm=PROG],[set the x terminal emulator used by ratpoison]), +AC_ARG_WITH(xterm,AS_HELP_STRING([--with-xterm=PROG],[set the x terminal emulator used by ratpoison]), term_prog=$withval, term_prog="xterm") AC_DEFINE_UNQUOTED(TERM_PROG, "$term_prog", X terminal emulator to use) XFT_CFLAGS= XFT_LIBS= -AC_ARG_WITH(xft,AC_HELP_STRING([--without-xft],[Don't use the Xft library even if available]), +AC_ARG_WITH(xft,AS_HELP_STRING([--without-xft],[Don't use the Xft library even if available]), xft=$withval, xft=default) if test "x$xft" != "xno"; then dnl Configure Xft. @@ -99,7 +99,7 @@ fi dnl Those who do not learn the lessons of history dnl are doomed to delete it... yuk yuk. --ttn -AC_ARG_ENABLE(history,AC_HELP_STRING([--disable-history],[ignore libhistory (default: use it if available, only used for ! expansion)]), +AC_ARG_ENABLE(history,AS_HELP_STRING([--disable-history],[ignore libhistory (default: use it if available, only used for ! expansion)]), [ if test x${enableval} = xyes ; then check_for_libhistory=yes else |