mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-29 12:22:07 +02:00
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
55 lines
932 B
Plaintext
55 lines
932 B
Plaintext
AC_CANONICAL_HOST
|
|
|
|
os_win32=no
|
|
os_netbsd=no
|
|
os_freebsd=no
|
|
os_openbsd=no
|
|
os_hpux=no
|
|
os_linux=no
|
|
os_solaris=no
|
|
os_darwin=no
|
|
os_gnu=no
|
|
|
|
case "$host" in
|
|
*-mingw*|*-*-cygwin*)
|
|
os_win32=yes
|
|
TARGET_OS=windows
|
|
;;
|
|
*-*-*netbsd*)
|
|
os_netbsd=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-*freebsd*)
|
|
os_freebsd=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-*openbsd*)
|
|
os_openbsd=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-hpux*)
|
|
os_hpux=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-linux*)
|
|
os_linux=yes
|
|
os_gnu=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-solaris*)
|
|
os_solaris=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*-*-darwin*)
|
|
os_darwin=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
gnu*|k*bsd*-gnu*)
|
|
os_gnu=yes
|
|
TARGET_OS=unix
|
|
;;
|
|
*)
|
|
AC_MSG_WARN([*** Please add $host to configure.ac checks!])
|
|
;;
|
|
esac
|