diff options
Diffstat (limited to 'winsup/w32api/configure.ac')
-rw-r--r-- | winsup/w32api/configure.ac | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/winsup/w32api/configure.ac b/winsup/w32api/configure.ac index e16a2ffba..ae05a70d5 100644 --- a/winsup/w32api/configure.ac +++ b/winsup/w32api/configure.ac @@ -9,20 +9,10 @@ AC_PREREQ([2.59]) # -# Extract current release version from include/w32api.h -# at autoconf time... +# Extract current release version from include/w32api.h at autoconf time. # m4_define([__ver__],dnl m4_esyscmd([awk '$2=="__W32API_VERSION"{printf "%s","v"$3}' include/w32api.h])) -# -# ...and confirm it at configure time. -# -AC_DEFUN([MINGW_AC_CONFIG_SRCDIR], -[AC_CONFIG_SRCDIR([$2]) - AC_MSG_CHECKING([package version]) - PACKAGE_VERSION=`awk '$[2] == "'"$1"'" { print $[3] }' ${srcdir}/$2` - AC_MSG_RESULT([$PACKAGE_VERSION])dnl -])# MINGW_AC_CONFIG_SRCDIR AC_INIT([MS-Windows API],[__ver__],[http://mingw.org/reporting_bugs],[w32api]) MINGW_AC_CONFIG_SRCDIR([__W32API_VERSION],[include/w32api.h]) @@ -50,6 +40,7 @@ AC_PROG_INSTALL # AC_CHECK_TOOL([CC], [gcc], [gcc]) AC_SUBST([CFLAGS], [${CFLAGS-"-O2 -g"}]) +AC_SUBST([EXTRA_INCLUDES], [MINGW_AC_RUNTIME_SRCDIR]) # FIXME: What is the purpose of this? I think it should go away. # @@ -64,19 +55,8 @@ AC_CHECK_TOOL([DLLTOOL], [dlltool], [dlltool]) AC_CHECK_TOOL([WINDRES], [windres], [windres]) AC_CHECK_TOOL([LD], [ld], [ld]) - -AC_MSG_CHECKING([for build environment]) -case "$build_alias" in -*-mingw*) BUILDENV=mingw;; -*-cygwin*) BUILDENV=cygwin;; -esac -if test -z "$BUILDENV"; then - AC_MSG_RESULT([standard]) -else - AC_MSG_RESULT([$BUILDENV]) -fi -AC_SUBST([BUILDENV]) - +# Create makefiles +# AC_CONFIG_FILES([Makefile Makefile.comm]) AC_CONFIG_FILES([lib/Makefile lib/ddk/Makefile lib/directx/Makefile]) AC_OUTPUT |