Added Cygwin target defines

This commit is contained in:
Aurelien Foret 2006-01-02 12:31:22 +00:00
parent ee5625ae67
commit 6b75a4f312
1 changed files with 8 additions and 1 deletions

View File

@ -1,12 +1,19 @@
ENV_CFLAGS=$CFLAGS
AC_PREREQ(2.59)
AC_INIT([Pacman package manager], 0.9.5, [bugreport@somemail.org], pacman)
AC_INIT([Pacman package manager], 0.9.5, [pacman-dev@archlinux.org], pacman)
AC_LANG(C)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE
dnl Host dependant flags
case "${host}" in
*-*-cygwin*)
ENV_CFLAGS="$ENV_CFLAGS -DCYGWIN"
;;
esac
dnl Define here the libalpm version number
PM_MAJOR_VERSION=0
PM_MINOR_VERSION=1