diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-05-27 23:29:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-05-27 23:29:47 +0000 |
commit | 05bc3370b833186e520b32563edfcaa28fd27707 (patch) | |
tree | d5c017d138e2dace5bd6621e31646e5b851fc8f2 /readline/configure | |
parent | 756d1d01889f120348ff040ef9599b595524d4b9 (diff) | |
download | gdb-05bc3370b833186e520b32563edfcaa28fd27707.zip gdb-05bc3370b833186e520b32563edfcaa28fd27707.tar.gz gdb-05bc3370b833186e520b32563edfcaa28fd27707.tar.bz2 |
* aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.
* configure: Regenerate.
Diffstat (limited to 'readline/configure')
-rwxr-xr-x | readline/configure | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/readline/configure b/readline/configure index b5c2e8d..236327c 100755 --- a/readline/configure +++ b/readline/configure @@ -6235,20 +6235,19 @@ fi echo "$as_me:$LINENO: result: $ac_cv_func_wcwidth" >&5 echo "${ECHO_T}$ac_cv_func_wcwidth" >&6 if test $ac_cv_func_wcwidth = yes; then - have_wcwidth=yes -fi - -if test "$have_wcwidth" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WCWIDTH 1 _ACEOF +fi -else +if test "$ac_cv_func_wcwidth" = no && test "$ac_cv_header_wchar_h" = yes; then WCWIDTH_OBJ=wcwidth.o - +else + WCWIDTH_OBJ= fi + echo "$as_me:$LINENO: checking for mbstate_t" >&5 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 if test "${bash_cv_have_mbstate_t+set}" = set; then |