File: config.m4

package info (click to toggle)
php-radius 1.2.5-2%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 292 kB
  • ctags: 482
  • sloc: ansic: 1,940; php: 850; xml: 209; makefile: 107
file content (20 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl $Id: config.m4,v 1.4 2003/07/17 13:54:39 mbretter Exp $
dnl config.m4 for extension radius

PHP_ARG_ENABLE(radius, whether to enable radius support,
dnl Make sure that the comment is aligned:
[  --enable-radius           Enable radius support])

if test "$PHP_RADIUS" != "no"; then

  AC_TRY_COMPILE([
#include <sys/types.h>
  ], [
u_int32_t ulongint;
ulongint = 1;
  ], [
    AC_DEFINE(HAVE_U_INT32_T, 1, [ ])
  ])

 PHP_NEW_EXTENSION(radius, radius.c radlib.c, $ext_shared)
fi