File: config.m4

package info (click to toggle)
php-radius 1.4.0~b1-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 480 kB
  • sloc: ansic: 3,010; php: 897; xml: 382; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl $Id$
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