]> andersk Git - udis86.git/blame - configure.ac
Use the public http URI to docbook.xsl.
[udis86.git] / configure.ac
CommitLineData
bbe45369 1#
2#
3AC_PREREQ(2.59)
4AC_INIT([udis86], [1.7], [vivek@sig9.com])
5AC_CONFIG_AUX_DIR(build)
6AC_CONFIG_MACRO_DIR([build/m4])
7AM_MAINTAINER_MODE
8
9# Determine the build host; we notify automake of Windows builds, so it can
10# pass proper parameters for building DLLs to the linker.
11AC_CANONICAL_HOST
12case "$host_os" in
13 mingw32*)
14 TARGET_OS=windows
15 AC_LIBTOOL_WIN32_DLL
16 ;;
17esac
18
19# Initialize the automake subsystem.
20# In case we have a Windows build, we pass a TARGET_WINDOWS conditional to
21# automake.
22AM_INIT_AUTOMAKE([-Wall -Werror foreign])
23AM_CONDITIONAL(TARGET_WINDOWS, test "$TARGET_OS" = windows)
24
25AC_PROG_CC
26AC_DISABLE_SHARED
27AC_PROG_LIBTOOL
28AM_PROG_CC_C_O
29
30# If this is a gnu compiler, pass -Wall
31if test "$ac_cv_c_compiler_gnu" = "yes"; then
32 CFLAGS="$CFLAGS -Wall"
33fi
34
35AC_CONFIG_HEADERS(config.h)
36AC_CONFIG_FILES([
37 Makefile
38 libudis86/Makefile
39 udcli/Makefile
40 tests/Makefile
41 docs/Makefile
d2623857 42 docs/manual/Makefile
bbe45369 43])
44
45AC_OUTPUT
This page took 0.046157 seconds and 5 git commands to generate.