AC_INIT(configure.in)

AC_ARG_ENABLE(cxx,
AC_HELP_STRING([--enable-cxx],[enable C++ support [[default=no]]]),
[case $enableval in
yes|no) ;;
*) AC_MSG_ERROR([bad value $enableval for --enable-cxx, need yes/no]) ;;
esac],
[enable_cxx=no])

AC_PROG_CC

if test $enable_cxx != no; then
  AC_PROG_CXX
  AC_PROG_CXXCPP
fi

if test "${with_tags+set}" != set; then
  if test $enable_cxx = yes; then
    with_tags=CXX
  else
    with_tags=
  fi
fi

AC_PROG_LIBTOOL
AC_OUTPUT
