Code

Updated version and added a SYSCONFDIR define to CFLAGS.
authorKalle Wallin <kaw@linux.se>
Wed, 14 Apr 2004 19:05:59 +0000 (19:05 +0000)
committerKalle Wallin <kaw@linux.se>
Wed, 14 Apr 2004 19:05:59 +0000 (19:05 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@755 09075e82-0dd4-0310-85a5-a0d7c8717e4f

configure.ac

index 28961b1a2027ec07a3bac48db038ebc93f7d320e..989f9bb0220840a91d725f36dd93e44b222788d7 100644 (file)
@@ -3,7 +3,7 @@ dnl  $Id: configure.ac,v 1.10 2004/03/18 09:33:43 kalle Exp $
 dnl
 
 AC_INIT(main.c)
-AM_INIT_AUTOMAKE(ncmpc, 0.10.0)
+AM_INIT_AUTOMAKE(ncmpc, 0.10.1)
 
 dnl Check for programs
 AC_PROG_CC
@@ -92,7 +92,7 @@ AC_ARG_WITH(default-port,
             DEFAULT_PORT="2100")
 
 
-CFLAGS="$CFLAGS $GLIB_CFLAGS"
+CFLAGS="$CFLAGS $GLIB_CFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\""
 LIBS="$LIBS $GLIB_LIBS"
 
 
@@ -107,7 +107,8 @@ AC_OUTPUT(doc/Makefile Makefile)
 
 echo "
 Configuration:  
-  Install path:                       ${prefix}
+  prefix:                             ${prefix}
+  sysconfdir:                         ${sysconfdir}
   Enable debugging:                   ${enable_debug}
   Default MPD host:                   ${DEFAULT_HOST}
   Default MPD port:                   ${DEFAULT_PORT}