diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cb59c11..3a033ab 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -21,6 +21,14 @@ AC_PROG_LIBTOOL | |||
| 21 | AC_PROG_CC | 21 | AC_PROG_CC |
| 22 | AC_PROG_INSTALL | 22 | AC_PROG_INSTALL |
| 23 | 23 | ||
| 24 | # Optional test build | ||
| 25 | AC_ARG_ENABLE(test, | ||
| 26 | AC_HELP_STRING([--enable-test], | ||
| 27 | [Build test programs [[default=auto]]]), | ||
| 28 | [build_test="$enableval"], | ||
| 29 | [build_test="auto"]) | ||
| 30 | AM_CONDITIONAL(BUILD_TEST, [ test "$build_test" != "no" ]) | ||
| 31 | |||
| 24 | # Initialize X.Org macros | 32 | # Initialize X.Org macros |
| 25 | m4_ifndef([XORG_MACROS_VERSION], | 33 | m4_ifndef([XORG_MACROS_VERSION], |
| 26 | [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) | 34 | [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) |
| @@ -29,5 +37,6 @@ XORG_DEFAULT_OPTIONS | |||
| 29 | 37 | ||
| 30 | AC_CONFIG_FILES([Makefile | 38 | AC_CONFIG_FILES([Makefile |
| 31 | src/Makefile | 39 | src/Makefile |
| 40 | test/Makefile | ||
| 32 | mtdev.pc]) | 41 | mtdev.pc]) |
| 33 | AC_OUTPUT | 42 | AC_OUTPUT |
