aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/configure.in
blob: ca6a5389b94b6910581a6b8c2b68da7d5044d40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AC_INIT(configure.in)

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mhmake, 0.1)

AC_ARG_ENABLE(debug,
[  --enable-debug    Turn on debugging],
[case "${enableval}" in
  yes) debug=true ;;
  full) debug=true ;;
  no)  debug=false ;;
  *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
esac],[debug=false])
AM_CONDITIONAL(DEBUG, test x$debug = xtrue)

AC_LANG_CPLUSPLUS
AC_PROG_CXX
AC_PROG_CC

AC_OUTPUT(Makefile src/Makefile)