22 lines
599 B
Diff
22 lines
599 B
Diff
|
--- configure.ac.orig
|
||
|
+++ configure.ac
|
||
|
@@ -178,7 +178,8 @@ AM_CPPFLAGS="$AM_CPPFLAGS -D_REENTRANT"
|
||
|
|
||
|
dnl Check for programs.
|
||
|
AC_ISC_POSIX
|
||
|
-AC_PROG_CC
|
||
|
+AC_PROG_CC_STDC
|
||
|
+AC_USE_SYSTEM_EXTENSIONS
|
||
|
AC_PROG_GCC_TRADITIONAL
|
||
|
AM_PROG_CC_C_O
|
||
|
|
||
|
@@ -384,7 +385,7 @@ dnl Check for termcap
|
||
|
if test "$with_readline" = yes; then
|
||
|
OLD_LIBS="$LIBS"
|
||
|
LIBS=""
|
||
|
- AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses termcap termlib],
|
||
|
+ AC_SEARCH_LIBS([tgetent], [tinfo ncursesw curses termcap termlib],
|
||
|
[PARTED_LIBS="$PARTED_LIBS $LIBS"],
|
||
|
[AC_MSG_ERROR(dnl
|
||
|
[termcap could not be found which is required for the
|