dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/XML/Parser.Mod)
for i in sym obj; do
  if test ! -d $i; then mkdir $i; fi
done

dnl Check for compiler, initialization file, installation directory,
dnl ooconfig.sh script, and whether the compiler supports --make-lib.
OOC_PROG_OOC()
OOC_PATH_INIT()
OOC_PATH_LIBDIR()
OOC_PROG_OOCONFIG()
OOC_SUPPORTS_LIBS()

dnl Check for programs.
AC_CHECK_PROG(OOCN, oocn, oocn)
AC_PROG_INSTALL

dnl Required and optional base libraries.
OOC_CHECK_LIB(xnet,socket,,)

dnl Make sure that $(MAKE) is valid, enable program name transformation,
dnl and find out which extension executables have.
AC_PROG_MAKE_SET
AC_ARG_PROGRAM
AC_EXEEXT

dnl Create output file.
AC_OUTPUT(Makefile)
