| | 5851 | |
|---|
| | 5852 | echo "$as_me:$LINENO: checking for GNU readline" >&5 |
|---|
| | 5853 | echo $ECHO_N "checking for GNU readline... $ECHO_C" >&6 |
|---|
| | 5854 | if test "$cross_compiling" = yes; then |
|---|
| | 5855 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
|---|
| | 5856 | See \`config.log' for more details." >&5 |
|---|
| | 5857 | echo "$as_me: error: cannot run test program while cross compiling |
|---|
| | 5858 | See \`config.log' for more details." >&2;} |
|---|
| | 5859 | { (exit 1); exit 1; }; } |
|---|
| | 5860 | else |
|---|
| | 5861 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| | 5862 | |
|---|
| | 5863 | #include <stdio.h> |
|---|
| | 5864 | #include <readline/readline.h> |
|---|
| | 5865 | int main(void) { |
|---|
| | 5866 | return rl_gnu_readline_p ? 0 : 1; |
|---|
| | 5867 | } |
|---|
| | 5868 | |
|---|
| | 5869 | _ACEOF |
|---|
| | 5870 | rm -f conftest$ac_exeext |
|---|
| | 5871 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|---|
| | 5872 | (eval $ac_link) 2>&5 |
|---|
| | 5873 | ac_status=$? |
|---|
| | 5874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| | 5875 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|---|
| | 5876 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|---|
| | 5877 | (eval $ac_try) 2>&5 |
|---|
| | 5878 | ac_status=$? |
|---|
| | 5879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| | 5880 | (exit $ac_status); }; }; then |
|---|
| | 5881 | |
|---|
| | 5882 | echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| | 5883 | echo "${ECHO_T}yes" >&6 |
|---|
| | 5884 | |
|---|
| | 5885 | else |
|---|
| | 5886 | echo "$as_me: program exited with status $ac_status" >&5 |
|---|
| | 5887 | echo "$as_me: failed program was:" >&5 |
|---|
| | 5888 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| | 5889 | |
|---|
| | 5890 | ( exit $ac_status ) |
|---|
| | 5891 | |
|---|
| | 5892 | echo "$as_me:$LINENO: result: no" >&5 |
|---|
| | 5893 | echo "${ECHO_T}no" >&6 |
|---|
| | 5894 | |
|---|
| | 5895 | { { echo "$as_me:$LINENO: error: could not locate GNU readline |
|---|
| | 5896 | |
|---|
| | 5897 | If you installed GNU readline into a non-standard directory, please run: |
|---|
| | 5898 | |
|---|
| | 5899 | CPPFLAGS=\"-I/path/to/include\" LDFLAGS=\"-L/path/to/lib\" ./configure" >&5 |
|---|
| | 5900 | echo "$as_me: error: could not locate GNU readline |
|---|
| | 5901 | |
|---|
| | 5902 | If you installed GNU readline into a non-standard directory, please run: |
|---|
| | 5903 | |
|---|
| | 5904 | CPPFLAGS=\"-I/path/to/include\" LDFLAGS=\"-L/path/to/lib\" ./configure" >&2;} |
|---|
| | 5905 | { (exit 1); exit 1; }; } |
|---|
| | 5906 | |
|---|
| | 5907 | |
|---|
| | 5908 | fi |
|---|
| | 5909 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|---|
| | 5910 | fi |
|---|