Mercurial > hg > xmms-sid
comparison acinclude.m4 @ 90:edec1818cf48
Fixed build process for library detection
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Oct 2003 14:22:03 +0000 |
parents | 66f8d711cb95 |
children | 532ec0ad5e59 |
comparison
equal
deleted
inserted
replaced
89:b3f5b731a3fe | 90:edec1818cf48 |
---|---|
142 if test -n "$xs_sidplay1_cxxflags" || test -n "$xs_sidplay1_ldflags"; then | 142 if test -n "$xs_sidplay1_cxxflags" || test -n "$xs_sidplay1_ldflags"; then |
143 AC_MSG_RESULT([$xs_sidplay1_cxxflags $xs_sidplay1_ldflags]) | 143 AC_MSG_RESULT([$xs_sidplay1_cxxflags $xs_sidplay1_ldflags]) |
144 else | 144 else |
145 AC_MSG_RESULT([yes]) | 145 AC_MSG_RESULT([yes]) |
146 fi | 146 fi |
147 else | 147 |
148 AC_MSG_RESULT([no]) | |
149 fi | |
150 SIDPLAY1_LDADD="$xs_sidplay1_ldflags -lsidplay" | 148 SIDPLAY1_LDADD="$xs_sidplay1_ldflags -lsidplay" |
151 SIDPLAY1_INCLUDES="$xs_sidplay1_cxxflags" | 149 SIDPLAY1_INCLUDES="$xs_sidplay1_cxxflags" |
152 AC_SUBST(SIDPLAY1_LDADD) | 150 AC_SUBST(SIDPLAY1_LDADD) |
153 AC_SUBST(SIDPLAY1_INCLUDES) | 151 AC_SUBST(SIDPLAY1_INCLUDES) |
152 else | |
153 AC_MSG_RESULT([no]) | |
154 fi | |
154 | 155 |
155 AC_LANG_POP(C++) | 156 AC_LANG_POP(C++) |
156 ]) | 157 ]) |
157 | 158 |
158 dnl Functions used by XS_PATH_LIBSIDPLAY1. | 159 dnl Functions used by XS_PATH_LIBSIDPLAY1. |
247 if test -n "$xs_sidplay2_cxxflags" || test -n "$xs_sidplay2_ldadd"; then | 248 if test -n "$xs_sidplay2_cxxflags" || test -n "$xs_sidplay2_ldadd"; then |
248 AC_MSG_RESULT([$xs_sidplay2_cxxflags $xs_sidplay2_ldadd]) | 249 AC_MSG_RESULT([$xs_sidplay2_cxxflags $xs_sidplay2_ldadd]) |
249 else | 250 else |
250 AC_MSG_RESULT([yes]) | 251 AC_MSG_RESULT([yes]) |
251 fi | 252 fi |
252 else | 253 |
253 AC_MSG_RESULT([no]) | |
254 fi | |
255 SIDPLAY2_LDADD="$xs_sidplay2_ldadd" | 254 SIDPLAY2_LDADD="$xs_sidplay2_ldadd" |
256 SIDPLAY2_INCLUDES="$xs_sidplay2_cxxflags" | 255 SIDPLAY2_INCLUDES="$xs_sidplay2_cxxflags" |
257 AC_SUBST(SIDPLAY2_LDADD) | 256 AC_SUBST(SIDPLAY2_LDADD) |
258 AC_SUBST(SIDPLAY2_INCLUDES) | 257 AC_SUBST(SIDPLAY2_INCLUDES) |
258 else | |
259 AC_MSG_RESULT([no]) | |
260 fi | |
259 | 261 |
260 AC_LANG_POP(C++) | 262 AC_LANG_POP(C++) |
261 ]) | 263 ]) |
262 | 264 |
263 | 265 |