about summary refs log tree commit diff
path: root/aczsh.m4
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2000-09-06 15:50:16 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2000-09-06 15:50:16 +0000
commit27be824ed0b301bf9ba70abcb1d4c572d3574a7c (patch)
tree12bb2d0c691c6095a5640841b43a5741ce003c24 /aczsh.m4
parentfe992fe5a977b4e9c704a7696c77f13a9fbe624b (diff)
downloadzsh-27be824ed0b301bf9ba70abcb1d4c572d3574a7c.tar.gz
zsh-27be824ed0b301bf9ba70abcb1d4c572d3574a7c.tar.xz
zsh-27be824ed0b301bf9ba70abcb1d4c572d3574a7c.zip
unposted: Remove patch from 12686 that was accidentally commited
Diffstat (limited to 'aczsh.m4')
-rw-r--r--aczsh.m430
1 files changed, 0 insertions, 30 deletions
diff --git a/aczsh.m4 b/aczsh.m4
index 7952b9837..e835dcede 100644
--- a/aczsh.m4
+++ b/aczsh.m4
@@ -646,33 +646,3 @@ AC_DEFUN(zsh_COMPILE_FLAGS,
 	then LIBS="$4"
 	else LIBS="$enable_libs"
 	fi)])
-
-# zsh_SEARCH_LIBS(FUNCTION, SEARCH-LIBS,
-#                [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-# This is derived from autoconf 2.49a AC_SEARCH_LIBS
-# with the following differences:
-#  - no extra libs argument
-#  - SEARCH-LIBS are taken literally - use -lfoo not foo. That
-#    makes it possible to pass several libs, e.g. "-lsocket -lnsl"
-# --------------------------------------------------------
-# Search for a library defining FUNC, if it's not already available.
-AC_DEFUN([zsh_SEARCH_LIBS],
-[AC_CACHE_CHECK([for library containing $1], [zsh_cv_search_$1],
-[zsh_func_search_save_LIBS="$LIBS"
-zsh_cv_search_$1=no
-AC_TRY_LINK_FUNC([$1], [zsh_cv_search_$1="none required"])
-test "$zsh_cv_search_$1" = no && for zsh_lib in $2; do
-LIBS="$zsh_lib $zsh_func_search_save_LIBS"
-AC_TRY_LINK_FUNC([$1],
-[zsh_cv_search_$1="$zsh_lib"
-break])
-done
-LIBS="$zsh_func_search_save_LIBS"])
-if test "$zsh_cv_search_$1" = no; then
-  ifelse([$4], , :, [$4])
-else
-  test "$zsh_cv_search_$1" = "none required" || LIBS="$zsh_cv_search_$1 $LIBS"
-  ifelse([$3], , , [$3])
-fi
-])
-