dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/mips_globals.c)

MIPS_ASM_MAJOR_VERSION=1
MIPS_ASM_MINOR_VERSION=0
MIPS_ASM_VERSION=$MIPS_ASM_MAJOR_VERSION.$MIPS_ASM_MINOR_VERSION

AC_SUBST(MIPS_ASM_MAJOR_VERSION)
AC_SUBST(MIPS_ASM_MINOR_VERSION)
AC_SUBST(MIPS_ASM_VERSION)

# For automake.
VERSION=$MIPS_ASM_VERSION
PACKAGE=mips_asm

dnl Initialize automake stuff
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)

dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB
ALC_CXX_PROBLEMATIC_OLD_VERSION
AM_PROG_LEX
AC_PROG_YACC
AC_PROG_MAKE_SET

dnl Checks for libraries.
dnl Check for -lm librarie.  These should always be present.
AC_CHECK_LIB(m, exp)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

AM_ALLIANCE

AC_OUTPUT([
Makefile
src/Makefile
])
