summaryrefslogtreecommitdiff
path: root/ext/yp/config.m4
blob: a597eadfab57e9d3a324a51bc4c89fd168421df4 (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_EXTENSION(yp, $ext_shared)
  case $host_alias in
  *solaris*)
    AC_DEFINE(SOLARIS_YP,1,[ ]) ;;
  esac
fi