diff options
author | Kalle Wallin <kaw@linux.se> | 2004-04-21 08:40:11 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-04-21 08:40:11 +0000 |
commit | 158a96611e67fc2274843740387e47512ae1c376 (patch) | |
tree | b398d006c0ea8c44137839300ec8e342e84af890 /configure.ac | |
parent | a27728c12fd5a34d01f6f6881c26b6f2c12e92d0 (diff) | |
download | mpd-158a96611e67fc2274843740387e47512ae1c376.tar.gz mpd-158a96611e67fc2274843740387e47512ae1c376.tar.xz mpd-158a96611e67fc2274843740387e47512ae1c376.zip |
AS_HELP_STRING -> AC_HELP_STRING, because the first one failed on darwin.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index bc3345108..ea1bcad1f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,8 @@ dnl dnl $Id: configure.ac,v 1.10 2004/03/18 09:33:43 kalle Exp $ dnl -AC_INIT(main.c) +AC_INIT +AC_CONFIG_SRCDIR([main.c]) AM_INIT_AUTOMAKE(ncmpc, 0.10.1) dnl Check for programs @@ -22,9 +23,6 @@ keydef_screen=yes dnl dnl Check for types dnl -dnl AC_CHECK_TYPE(socklen_t, -dnl AC_DEFINE(HAVE_SOCKLEN_T, 1, socklen_t defined in sys/socket.h), -dnl ) AC_SOCKLEN_T @@ -70,7 +68,7 @@ AC_CHECK_LIB(popt, dnl Debugging AC_ARG_ENABLE(debug, - AS_HELP_STRING([--enable-debug],[Enable debugging]), + AC_HELP_STRING(--enable-debug,Enable debugging), , enable_debug=no) @@ -80,7 +78,7 @@ fi dnl Key editor AC_ARG_ENABLE(key-editor, - AS_HELP_STRING([--enable-key-editor],[Enable key editor]), + AC_HELP_STRING(--enable-key-editor,Enable key editor), keydef_screen=no, keydef_screen=yes) if test "$keydef_screen" = yes; then @@ -91,14 +89,13 @@ dnl AC_DEFINE(ENABLE_KEYDEF_SCREEN, 1, [Enable builtin key editor]), dnl Default host AC_ARG_WITH(default-host, - AS_HELP_STRING([--with-default-host=ARG], - [Default MPD host (localhost)]), + AC_HELP_STRING(--with-default-host=ARG,Default MPD host (localhost)), DEFAULT_HOST="$withval", DEFAULT_HOST="localhost") dnl Default port AC_ARG_WITH(default-port, - AS_HELP_STRING([--with-default-port=ARG],[Default port (2100)]), + AC_HELP_STRING(--with-default-port=ARG,Default port (2100)), DEFAULT_PORT="$withval", DEFAULT_PORT="2100") @@ -114,7 +111,8 @@ AC_DEFINE_UNQUOTED(DEFAULT_HOST, "$DEFAULT_HOST", Default MPD host) AM_CONFIG_HEADER(config.h) -AC_OUTPUT(doc/Makefile Makefile) +AC_CONFIG_FILES([doc/Makefile Makefile]) +AC_OUTPUT echo " Configuration: |