check for mcopidl
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 3 Jan 2002 16:47:38 +0000 (16:47 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 3 Jan 2002 16:47:38 +0000 (16:47 +0000)
Original commit message from CVS:
check for mcopidl

configure.ac

index 2c7d128..0fd2bd1 100644 (file)
@@ -345,6 +345,12 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_ARTS, true)
 GST_CHECK_FEATURE(ARTS, [arts plugins], arts, [
   AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
 ])
+dnl if mcopidl can't be found there's no use in compiling it
+AC_PATH_PROG(MCOPIDL, mcopidl, yes, no)
+if test "xHAVE_MCOPIDL" = "xno";
+then
+  USE_ARTS=NO
+fi
 
 dnl *** artsc ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_ARTSC, true)