4 AC_INIT([udis86], [1.7], [vivek@sig9.com])
5 AC_CONFIG_AUX_DIR(build)
6 AC_CONFIG_MACRO_DIR([build/m4])
9 # Determine the build host; we notify automake of Windows builds, so it can
10 # pass proper parameters for building DLLs to the linker.
19 # Initialize the automake subsystem.
20 # In case we have a Windows build, we pass a TARGET_WINDOWS conditional to
22 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
23 AM_CONDITIONAL(TARGET_WINDOWS, test "$TARGET_OS" = windows)
30 # If this is a gnu compiler, pass -Wall
31 if test "$ac_cv_c_compiler_gnu" = "yes"; then
32 CFLAGS="$CFLAGS -Wall"
35 AC_CONFIG_HEADERS(config.h)