Skip to contentSkip to conversation

aseqview patch for building with new autoconf

PATCH Bas Wijnen 1 participant 1 message Jan 25, 2011

lore
Share & tools
lore

Bas Wijnen

author
#0 lore raw

Hello,

When trying to build aseqview from source (autoreconf -fis; ./configure; make), I found that it produced errors in configure. The web told me that those were caused by underquoted constructs in configure.in, which newer autoconf version have stricter requirements for than older versions. I've attached a patch which makes it build.

Thanks,
Bas Wijnen

configure.in +4 -4
@@ -11,13 +11,13 @@ AC_HEADER_STDC
 AC_C_INLINE
 
 AH_TEMPLATE([HAVE_LIBCAP], [Hey, we have libcap])
-AC_CHECK_HEADER(sys/capability.h,
-		AC_CHECK_LIB(cap, cap_get_proc,
+AC_CHECK_HEADER([sys/capability.h],
+		[AC_CHECK_LIB([cap], [cap_get_proc],
 			     [AC_DEFINE(HAVE_LIBCAP)
-			      LIBS="$LIBS -lcap"]))
+			      LIBS="$LIBS -lcap"])])
 
 AM_PATH_ALSA(0.5.0)
-AC_CHECK_HEADERS(alsa/asoundlib.h)
+AC_CHECK_HEADERS([alsa/asoundlib.h])
 
 AC_ARG_ENABLE(gtk2,
     [  --enable-gtk2     Use gtk+-2.x instead of gtk+-1.x],

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel