diff options
author | foobar <sniper@php.net> | 2001-04-04 00:06:49 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-04-04 00:06:49 +0000 |
commit | 679b914dc0ebd62618bf2d48dcd4770a69fc5f00 (patch) | |
tree | f0abdb74ddb1d1a61a5d157e7fce166422ba52ba | |
parent | cb71c4c2d0553cc2a93c5ddba873e150b6be6fa5 (diff) | |
download | php-git-679b914dc0ebd62618bf2d48dcd4770a69fc5f00.tar.gz |
Cleaned up a bit. Removed some checks for header files that are
already checked in configure.in
-rw-r--r-- | ext/sockets/config.m4 | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4 index cf537b685f..aa3a4606b3 100644 --- a/ext/sockets/config.m4 +++ b/ext/sockets/config.m4 @@ -1,37 +1,13 @@ dnl $Id$ dnl config.m4 for extension sockets -dnl don't forget to call PHP_EXTENSION(sockets) - -dnl Comments in this file start with the string 'dnl'. -dnl Remove where necessary. This file will not work -dnl without editing. - -dnl If your extension references something external, use with: - -dnl PHP_ARG_WITH(sockets, for sockets support, -dnl Make sure that the comment is aligned: -dnl [ --with-sockets Include sockets support]) - -dnl Otherwise use enable: PHP_ARG_ENABLE(sockets, whether to enable sockets support, -dnl Make sure that the comment is aligned: [ --enable-sockets Enable sockets support]) if test "$PHP_SOCKETS" != "no"; then - dnl If you will not be testing anything external, like existence of - dnl headers, libraries or functions in them, just uncomment the - dnl following line and you are ready to go. - - dnl --------------------------------- - dnl Headers - dnl --------------------------------- - AC_HEADER_STDC - AC_CHECK_HEADERS(unistd.h) - AC_CHECK_HEADERS(sys/types.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/un.h arpa/inet.h) - AC_CHECK_HEADERS(sys/time.h errno.h fcntl.h) + AC_CHECK_HEADERS(netdb.h netinet/tcp.h sys/un.h errno.h) AC_DEFINE(HAVE_SOCKETS, 1, [ ]) - dnl Write more examples of tests here... + PHP_EXTENSION(sockets, $ext_shared) fi |