diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-06 02:00:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:36 -0500 |
commit | 4f643be1cbde0ea020458535fecff68cd6906561 (patch) | |
tree | b942d5762287247d26eb20c6c7150bcc3287b663 /source4 | |
parent | 7e251d1f1182c0c3317bbf3d3ab073eadc7f4583 (diff) | |
download | samba-4f643be1cbde0ea020458535fecff68cd6906561.tar.gz samba-4f643be1cbde0ea020458535fecff68cd6906561.tar.bz2 samba-4f643be1cbde0ea020458535fecff68cd6906561.zip |
r18125: Remove obsolete file.
(This used to be commit 27aa34eb55afdbc27f36cebae074d6fef5fc822c)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/replace/replace.m4 | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/source4/lib/replace/replace.m4 b/source4/lib/replace/replace.m4 deleted file mode 100644 index 829f4db6f6..0000000000 --- a/source4/lib/replace/replace.m4 +++ /dev/null @@ -1,58 +0,0 @@ -dnl Try to find a replacement library -dnl Will define HAVE_REPLACE_H if replace.h can be found -AC_DEFUN([SMB_LIBREPLACE], [ -AC_ARG_WITH(libreplace, -[ --with-libreplace Specify location to libreplace], -[ - # Check whether libreplace can actually be found in this location - if ! test -f "$withval/replace.h" - then - AC_MSG_ERROR([Unable to find replace.h in $withval]) - fi - replacedir=$withval -], -[ - # Check if we can find libreplace in a common location - for dir in . replace ../replace - do - AC_MSG_CHECKING([for libreplace in $dir]) - if test -f "$dir/replace.h" - then - replacedir="$dir" - AC_MSG_RESULT(yes) - break - fi - AC_MSG_RESULT(no) - done -]) - -AC_SUBST(REPLACE_LIBS) - -if test "$replacedir" != "" -then - REPLACE_LIBS="$replacedir/libreplace.a" - CFLAGS="$CFLAGS -I$replacedir" - AC_DEFINE(HAVE_REPLACE_H, 1, - [Whether replace.h is present and should be used]) -fi -]) - -dnl Try to find the specified functions in the system, or -dnl in Samba's replacement library. In the future, this may also -dnl try to find these functions in libroken or GNUlib if libreplace can't be -dnl found. -AC_DEFUN(SMB_REPLACE_FUNCS, [ - AC_REQUIRE([SMB_LIBREPLACE])dnl - - if test -z "$replacedir" || test -f "$replacedir/libreplace.a" - then - LIBS="$LIBS $REPLACE_LIBS" - for f in $1 - do - AC_CHECK_FUNC($f, [], [ - AC_MSG_ERROR([Unable to find $f in the system. Consider - specifying the path to the replacement library]) - ]) - done - fi -]) |