changeset 90:edec1818cf48

Fixed build process for library detection
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Oct 2003 14:22:03 +0000
parents b3f5b731a3fe
children f9063960f04e
files acinclude.m4
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/acinclude.m4	Sun Oct 05 12:38:05 2003 +0000
+++ b/acinclude.m4	Sun Oct 05 14:22:03 2003 +0000
@@ -144,13 +144,14 @@
         else
             AC_MSG_RESULT([yes])
         fi
-    else
-        AC_MSG_RESULT([no])
-    fi
+
     SIDPLAY1_LDADD="$xs_sidplay1_ldflags -lsidplay"
     SIDPLAY1_INCLUDES="$xs_sidplay1_cxxflags"
     AC_SUBST(SIDPLAY1_LDADD)
     AC_SUBST(SIDPLAY1_INCLUDES)
+    else
+        AC_MSG_RESULT([no])
+    fi
 
     AC_LANG_POP(C++)
 ])
@@ -249,13 +250,14 @@
         else
             AC_MSG_RESULT([yes])
         fi
-    else
-        AC_MSG_RESULT([no])
-    fi
+
     SIDPLAY2_LDADD="$xs_sidplay2_ldadd"
     SIDPLAY2_INCLUDES="$xs_sidplay2_cxxflags"
     AC_SUBST(SIDPLAY2_LDADD)
     AC_SUBST(SIDPLAY2_INCLUDES)
+    else
+        AC_MSG_RESULT([no])
+    fi
 
     AC_LANG_POP(C++)
 ])