diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-04-23 19:59:03 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-04-23 19:59:03 +0000 |
commit | 7c4585450851aea5fff4da045632c66bada2ca6d (patch) | |
tree | 6dbbc84c5c1a7f47d4bac33c9d7e916af029d060 /configure.in | |
parent | fc4511ecb7b68916220edd0bbdf67b2b8eac62d0 (diff) | |
download | zsh-7c4585450851aea5fff4da045632c66bada2ca6d.tar.gz zsh-7c4585450851aea5fff4da045632c66bada2ca6d.tar.xz zsh-7c4585450851aea5fff4da045632c66bada2ca6d.zip |
14077: revert clint's build patches on 19.04.2001
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/configure.in b/configure.in index a18321a9d..8e9f58629 100644 --- a/configure.in +++ b/configure.in @@ -504,7 +504,7 @@ dnl On ReliantUNIX -lc better be the last library, else funny things dnl may happen. AC_CHECK_LIB(c, printf, [LIBS="$LIBS -lc"]) -AC_CHECK_LIB(m, pow, [LIBS_M="-lm"]) +AC_CHECK_LIB(m, pow) dnl Prefer BSD termcap library to SysV curses library, except on certain dnl SYSV-derived systems. @@ -514,12 +514,7 @@ case "$host_os" in *) termcap_curses_order="termcap curses ncurses" ;; esac -zsh_SEARCH_LIBS(tgetent, [$termcap_curses_order]) -LIBS_TERMCAP=$ZS_LIBS - -zsh_SEARCH_LIBS(tigetstr, [$termcap_curses_order]) -LIBS_TERMINFO=$ZS_LIBS - +AC_SEARCH_LIBS(tgetent, [$termcap_curses_order]) AC_MSG_CHECKING(if boolcodes is available) AC_TRY_COMPILE([#include <curses.h> #include <term.h>], [char **test = boolcodes;], @@ -554,8 +549,7 @@ AC_MSG_RESULT($strnames) dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require dnl libnsl (Network Services Library) to find yp_all -zsh_SEARCH_LIBS(yp_all, nsl) -LIBS_YP=$ZS_LIBS +AC_SEARCH_LIBS(yp_all, nsl) dnl I am told that told that unicos reqire these for nis_list if test `echo $host_os | sed 's/^\(unicos\).*/\1/'` = unicos; then @@ -566,11 +560,9 @@ if test "x$dynamic" = xyes; then AC_CHECK_LIB(dl, dlopen) fi -AC_CHECK_LIB(cap, cap_get_proc, [LIBS_CAP="-lcap" -AC_DEFINE(HAVE_LIBCAP)]) +AC_CHECK_LIB(cap, cap_get_proc) -AC_CHECK_LIB(socket, socket, [LIBS_SOCKET="-lsocket" -AC_DEFINE(HAVE_LIBSOCKET)]) +AC_CHECK_LIB(socket, socket) dnl --------------------- dnl CHECK TERMCAP LIBRARY @@ -839,9 +831,6 @@ dnl --------------- dnl need to integrate this function dnl AC_FUNC_STRFTIME -SAVELIBS=$LIBS -LIBS="$LIBS_CAP $LIBS_YP $LIBS_M $LIBS_TERMCAP $LIBS_TERMINFO $LIBS" - AC_CHECK_FUNCS(strftime difftime gettimeofday \ select poll \ readlink lstat lchown faccessx fchdir ftruncate \ @@ -898,9 +887,6 @@ if test $zsh_cv_func_tgetent_accepts_null = yes; then AC_DEFINE(TGETENT_ACCEPTS_NULL) fi -MAINLIBS="$LIBS_CAP $LIBS_SOCKET $LIBS_M $LIBS_TERMCAP $LIBS_TERMINFO $LIBS_YP $SAVELIBS" -LIBS=$SAVELIBS - AC_FUNC_MMAP if test x$ac_cv_func_mmap_fixed_mapped = xyes; then AC_CHECK_FUNCS(munmap msync) @@ -1689,16 +1675,10 @@ if test "x$dynamic" = xyes; then test "$zsh_cv_shared_environ" = yes || dynamic=no dnl test "$zsh_cv_sys_dynamic_broken" = no || dynamic=no if test "$ac_cv_func_tgetent" = yes; then - SAVELIBS=$LIBS - LIBS="$LIBS_TERMCAP $LIBS" zsh_SHARED_FUNCTION([tgetent]) - LIBS=$SAVELIBS fi if test "$ac_cv_func_tigetstr" = yes; then - SAVELIBS=$LIBS - LIBS="$LIBS_TERMINFO $LIBS" zsh_SHARED_FUNCTION([tigetstr]) - LIBS=$SAVELIBS fi fi @@ -1772,13 +1752,6 @@ AC_SUBST(MOD_EXPORT)dnl AC_SUBST(MOD_IMPORT_VARIABLE)dnl AC_SUBST(MOD_IMPORT_FUNCTION)dnl AC_SUBST(EXTRAZSHOBJS)dnl -AC_SUBST(MAINLIBS)dnl -AC_SUBST(LIBS_M)dnl -AC_SUBST(LIBS_CAP)dnl -AC_SUBST(LIBS_SOCKET)dnl -AC_SUBST(LIBS_TERMCAP)dnl -AC_SUBST(LIBS_TERMINFO)dnl -AC_SUBST(LIBS_YP)dnl # Generate config.modules. We look for *.mdd files in first and second # level subdirectories. Any existing line not containing 'auto=y' will be @@ -1929,8 +1902,7 @@ if test "$dynamic" = yes; then module linker flags : ${LDFLAGS} ${LIBLDFLAGS} ${DLLDFLAGS}" fi echo "\ -main library flags : ${MAINLIBS} -base library flags : ${LIBS} +library flags : ${LIBS} installation basename : ${tzsh_name} binary install path : ${zshbin2} man page install path : ${zshman} |