diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-10-18 08:34:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:43:18 +0100 |
commit | 1a766af41e9e3bdffc343098c2ec1b5018b33a26 (patch) | |
tree | b79bab4d219acd7a9565cc090fc0cbc4f8c20be0 /source4/heimdal_build | |
parent | 4bb52bfcb7997f0b8c0491126edfd136260b2f9f (diff) | |
download | samba-1a766af41e9e3bdffc343098c2ec1b5018b33a26.tar.gz samba-1a766af41e9e3bdffc343098c2ec1b5018b33a26.tar.bz2 samba-1a766af41e9e3bdffc343098c2ec1b5018b33a26.zip |
r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!
metze
(This used to be commit 95462d614d68a93e85232e3a779f8bfa86fba4d1)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r-- | source4/heimdal_build/config.m4 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4 index 8c0959550b..d53c8599e8 100644 --- a/source4/heimdal_build/config.m4 +++ b/source4/heimdal_build/config.m4 @@ -112,38 +112,6 @@ love_FIND_FUNC(bswap32, [#ifdef HAVE_SYS_BSWAP_H #include <sys/bswap.h> #endif], 0) - -dnl AC_HAVE_TYPE(TYPE,INCLUDES) -AC_DEFUN([AC_HAVE_TYPE], [ -AC_REQUIRE([AC_HEADER_STDC]) -cv=`echo "$1" | sed 'y%./+- %__p__%'` -AC_MSG_CHECKING(for $1) -AC_CACHE_VAL([ac_cv_type_$cv], -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -AC_INCLUDES_DEFAULT -$2]], -[[$1 foo;]])], -[eval "ac_cv_type_$cv=yes"], -[eval "ac_cv_type_$cv=no"]))dnl -ac_foo=`eval echo \\$ac_cv_type_$cv` -AC_MSG_RESULT($ac_foo) -if test "$ac_foo" = yes; then - ac_tr_hdr=HAVE_`echo $1 | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'` -if false; then - AC_CHECK_TYPES($1) -fi - AC_DEFINE_UNQUOTED($ac_tr_hdr, 1, [Define if you have type `$1']) -fi -]) - -AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>]) -AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>]) -AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>]) -AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>]) -AC_HAVE_TYPE([struct ifaddrs], [#include <ifaddrs.h>]) -AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>]) - - AC_DEFUN([AC_KRB_STRUCT_WINSIZE], [ AC_MSG_CHECKING(for struct winsize) AC_CACHE_VAL(ac_cv_struct_winsize, [ |