X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=aclocal.m4;h=16c2ed6fe0c6019e5ad61ef6b4db589fb184b5f9;hb=9db7ae25d79b4deeac62b3a757be789ad9dad12b;hp=d4278687e815e65d54c572fd1f34a87a5d131cd3;hpb=548845673bdbe52a3cb2d7c6c2818d3202fffcba;p=pkg%2Fabook.git diff --git a/aclocal.m4 b/aclocal.m4 index d427868..16c2ed6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -149,7 +149,7 @@ dnl AC_DEFUN([AC_LIB_READLINE], [ AC_CACHE_CHECK([for a readline compatible library], ac_cv_lib_readline, [ - ORIG_LIBS=$LIBS + ORIG_LIBS="$LIBS" for readline_lib in readline edit editline; do for termcap_lib in "" termcap curses ncurses; do if test -z "$termcap_lib"; then @@ -169,11 +169,12 @@ AC_DEFUN([AC_LIB_READLINE], [ done if test -z "$ac_cv_lib_readline"; then ac_cv_lib_readline="no" - LIBS=$ORIG_LIBS fi + LIBS="$ORIG_LIBS" ]) if test "$ac_cv_lib_readline" != "no"; then + LIBS="$LIBS $ac_cv_lib_readline" AC_DEFINE(HAVE_LIBREADLINE, 1, [Define if you have a readline compatible library]) AC_CHECK_HEADERS(readline.h readline/readline.h) @@ -188,6 +189,7 @@ AC_DEFUN([AC_LIB_READLINE], [ AC_CHECK_HEADERS(history.h readline/history.h) fi fi + ]) # Do all the work for Automake. This macro actually does too much -- @@ -305,7 +307,14 @@ for am_file in <<$1>>; do done<<>>dnl>>) changequote([,]))]) -#serial 1 +# isc-posix.m4 serial 1 (gettext-0.10.40) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + # This test replaces the one in autoconf. # Currently this macro should have the same name as the autoconf macro # because gettext's gettext.m4 (distributed in the automake package)