Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
ccf0bea9
Commit
ccf0bea9
authored
Oct 11, 2016
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't clobber readline
parent
6bb84df3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
configure
configure
+10
-10
configure.in
configure.in
+8
-8
No files found.
configure
View file @
ccf0bea9
...
...
@@ -19082,11 +19082,11 @@ case "$readline" in
no) ;;
yes|auto)
saved_LIBS="$LIBS"
for readline in -ledit -lreadline
for
x
readline in -ledit -lreadline
do
LIBS="$readline"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $readline" >&5
$as_echo "$as_me: checking for readline with $readline" >&6;}
LIBS="$
x
readline"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $
x
readline" >&5
$as_echo "$as_me: checking for readline with $
x
readline" >&6;}
for ac_func in readline
do :
ac_fn_c_check_func "$LINENO" "readline" "ac_cv_func_readline"
...
...
@@ -19100,15 +19100,15 @@ done
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline"
READLINE_LIB="$
x
readline"
break
fi
for lib in -lterminfo -ltermcap -lncurses -lcurses
do
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $readline $lib" >&5
$as_echo "$as_me: checking for readline with $readline $lib" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $
x
readline $lib" >&5
$as_echo "$as_me: checking for readline with $
x
readline $lib" >&6;}
unset ac_cv_func_readline
LIBS="$readline $lib"
LIBS="$
x
readline $lib"
for ac_func in readline
do :
ac_fn_c_check_func "$LINENO" "readline" "ac_cv_func_readline"
...
...
@@ -19122,7 +19122,7 @@ done
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline $lib"
READLINE_LIB="$
x
readline $lib"
break
fi
done
...
...
@@ -19131,7 +19131,7 @@ done
break
fi
done
if test "X$readline" = Xyes -a "$ac_cv_func_readline" != yes
if test "X$
x
readline" = Xyes -a "$ac_cv_func_readline" != yes
then
as_fn_error $? "The readline library was not found." "$LINENO" 5
fi
...
...
configure.in
View file @
ccf0bea9
...
...
@@ -3441,25 +3441,25 @@ case "$readline" in
no) ;;
yes|auto)
saved_LIBS="$LIBS"
for readline in -ledit -lreadline
for
x
readline in -ledit -lreadline
do
LIBS="$readline"
AC_MSG_NOTICE(checking for readline with $readline)
LIBS="$
x
readline"
AC_MSG_NOTICE(checking for readline with $
x
readline)
AC_CHECK_FUNCS(readline)
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline"
READLINE_LIB="$
x
readline"
break
fi
for lib in -lterminfo -ltermcap -lncurses -lcurses
do
AC_MSG_NOTICE(checking for readline with $readline $lib)
AC_MSG_NOTICE(checking for readline with $
x
readline $lib)
unset ac_cv_func_readline
LIBS="$readline $lib"
LIBS="$
x
readline $lib"
AC_CHECK_FUNCS(readline)
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline $lib"
READLINE_LIB="$
x
readline $lib"
break
fi
done
...
...
@@ -3468,7 +3468,7 @@ yes|auto)
break
fi
done
if test "X$readline" = Xyes -a "$ac_cv_func_readline" != yes
if test "X$
x
readline" = Xyes -a "$ac_cv_func_readline" != yes
then
AC_MSG_ERROR([The readline library was not found.])
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment