summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a27728c)
raw | patch | inline | side by side (parent: a27728c)
author | Kalle Wallin <kaw@linux.se> | |
Wed, 21 Apr 2004 08:40:11 +0000 (08:40 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Wed, 21 Apr 2004 08:40:11 +0000 (08:40 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index bc33451082851a16508bfd74b6dc548060069c89..ea1bcad1f34445b7d48afbe1a2558b474c42829a 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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
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
dnl Debugging
AC_ARG_ENABLE(debug,
- AS_HELP_STRING([--enable-debug],[Enable debugging]),
+ AC_HELP_STRING(--enable-debug,Enable debugging),
,
enable_debug=no)
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
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")
AM_CONFIG_HEADER(config.h)
-AC_OUTPUT(doc/Makefile Makefile)
+AC_CONFIG_FILES([doc/Makefile Makefile])
+AC_OUTPUT
echo "
Configuration: