index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-04-15 15:57:36 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-04-15 15:57:36 -0500 |
commit | c7a81c0b54c3b54e25978e9828c6dc91f113c19c (patch) | |
tree | d940e7d34e49d768eab0560870f94b3c0c23fc7d /configure.ac | |
parent | d685d0220fdb16097252bcf851ada5cf8400da0e (diff) |
-rw-r--r-- | configure.ac | 13 |
diff --git a/configure.ac b/configure.ac index c695c57f..eabb4a4e 100644 --- a/configure.ac +++ b/configure.ac @@ -172,13 +172,20 @@ GCC_VISIBILITY_CC # Check if we have -fgnu89-inline flag GCC_GNU89_INLINE_CC -# Host-dependant flags -case "${host}" in - *-*-cygwin*) +# Host-dependant definitions +case "${host_os}" in + cygwin*) + host_os_cygwin=yes CFLAGS="$CFLAGS -DCYGWIN" ;; + darwin*) + host_os_darwin=yes + ;; esac +AM_CONDITIONAL([CYGWIN], test "x$host_os_cygwin" = "xyes") +AM_CONDITIONAL([DARWIN], test "x$host_os_darwin" = "xyes") + # Check for architecture, used in default makepkg.conf # (Note single space left after CARCHFLAGS) case "${host}" in |