Mercurial > hg > xmms-sid
diff acsidplay.m4 @ 7:e5c49367b899
Updated to 0.8
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Jun 2003 11:25:05 +0000 |
parents | 183e7cbc1036 |
children |
line wrap: on
line diff
--- a/acsidplay.m4 Tue Jun 03 11:19:04 2003 +0000 +++ b/acsidplay.m4 Tue Jun 03 11:25:05 2003 +0000 @@ -1,4 +1,10 @@ -# sidplay.m4 sidplay checks +# sidplay.m4 - libSIDPlay 1.xx.xx checks +# Originally by Michael Schwendt +# Modified by Matti 'ccr' Hamalainen + +dnl ------------------------------------------------------------------------- +dnl Try to find a file (or one of more files in a list of dirs). +dnl ------------------------------------------------------------------------- AC_DEFUN(AC_FIND_FILE, [ @@ -16,6 +22,10 @@ ] ) + +dnl ------------------------------------------------------------------------- +dnl Try to find SIDPLAY includes and library. +dnl ------------------------------------------------------------------------- AC_DEFUN(AC_PATH_LIBSIDPLAY, [ AC_MSG_CHECKING([for SIDPLAY includes and library]) @@ -46,7 +56,8 @@ ]) if test "$ac_sidplay_cflags" = NO || test "$ac_sidplay_library" = NO; then -#search common locations + +# Search common locations AC_CACHE_VAL(ac_cv_have_sidplay, [ @@ -99,8 +110,10 @@ all_includes="$SIDPLAY_CFLAGS $all_includes" fi -dnl Test compilation. +dnl *** +dnl *** Test compilation +dnl *** AC_MSG_CHECKING([whether -lsidplay works]) ac_cxxflags_safe=$CXXFLAGS ac_ldflags_safe=$LDFLAGS @@ -129,7 +142,10 @@ have_sidplay=no fi -dnl + +dnl *** +dnl *** Substitute variables +dnl *** AC_SUBST(SIDPLAY_CFLAGS) AC_SUBST(SIDPLAY_LIBS)