# $Id: configure.ac,v 1.4.2.2 2003/05/12 19:28:42 grendel Exp $
AC_INIT(Caudium, 1.3.3, bugs@caudium.net)

CAUDIUM_LOW_MODULE_INIT()

# need to specifically enable JavaScript support 
if test "$with_JavaScript" = ""; then
  with_JavaScript="no"
fi

dirs=""
for a in `(cd $srcdir ; echo *)`
do
  if test "$a" != "CVS" -a "$a" != "RCS" -a "$a" != "autom4te.cache" -a "$a" != "libxslt" ; then
    if test -d "$srcdir/$a" ; then
      yesno=`eval echo \\$with_$a`
      if test "${yesno-}" != "no" ; then
        dirs="$dirs $a"
      fi
    fi
  fi
done

# reset it just in case
CAUDIUM_CPPFLAGS="$CAUDIUM_CPPFLAGS"
AC_SUBST(CAUDIUM_CPPFLAGS)
export CAUDIUM_CPPFLAGS

AC_CONFIG_SUBDIRS($dirs)

AC_OUTPUT(Makefile module_makefile)	





