Commit e1da4a02 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Configure.ac: cleanup

Removal of tabs and trailing spaces
Fixing configuration with autoconf 2.67
parent 8e0d48c8
...@@ -2164,7 +2164,10 @@ AS_IF([test "${enable_gme}" != "no"], [ ...@@ -2164,7 +2164,10 @@ AS_IF([test "${enable_gme}" != "no"], [
dnl dnl
dnl SIDPlay plugin dnl SIDPlay plugin
dnl dnl
PKG_WITH_MODULES([SID], [libsidplay2], AC_ARG_ENABLE(sid,
[AS_HELP_STRING([--enable-sid],[C64 sid demux support (default auto)])])
AS_IF([test "${enable_sid}" != "no"], [
PKG_CHECK_MODULES(sid, [libsidplay2], [
AC_LANG_PUSH(C++) AC_LANG_PUSH(C++)
oldCPPFLAGS="$CPPFLAGS" oldCPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $SID_CFLAGS" CPPFLAGS="$CPPFLAGS $SID_CFLAGS"
...@@ -2179,12 +2182,14 @@ PKG_WITH_MODULES([SID], [libsidplay2], ...@@ -2179,12 +2182,14 @@ PKG_WITH_MODULES([SID], [libsidplay2],
) )
]) ])
CPPFLAGS="$oldCPPFLAGS" CPPFLAGS="$oldCPPFLAGS"
AC_LANG_POP(C++), AC_LANG_POP(C++)
], [
AS_IF([test "x${enable_sid}" = "xyes"], AS_IF([test "x${enable_sid}" = "xyes"],
[AC_MSG_ERROR(Library libsidplay2 needed for sid was not found)], [AC_MSG_ERROR(Library libsidplay2 needed for sid was not found)],
[AC_MSG_WARN(Library libsidplay2 needed for sid was not found)] [AC_MSG_WARN(Library libsidplay2 needed for sid was not found)]
), )
[C64 sid demux support], [auto]) ])
])
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment