summaryrefslogtreecommitdiff
path: root/ext/yp/config.m4
blob: f5f912bc580b9d078668a54cae92be6f31682cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dnl
dnl $Id$
dnl

PHP_ARG_ENABLE(yp,whether to include YP support,
[  --enable-yp             Include YP support.])

if test "$PHP_YP" != "no"; then
  AC_DEFINE(HAVE_YP,1,[ ])
  PHP_NEW_EXTENSION(yp, yp.c, $ext_shared)
  case $host_alias in
  *solaris*)
    AC_DEFINE(SOLARIS_YP,1,[ ]) ;;
  esac
fi