mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
configure: only check for libintl if we want to use gettext (makes --without-gettext actually work)
This commit is contained in:
parent
94b1d58cc2
commit
10648cac5b
1 changed files with 5 additions and 1 deletions
|
@ -530,7 +530,11 @@ LIBS=$LIBS_COMMON
|
|||
# Check presense of various header files
|
||||
#
|
||||
|
||||
AC_CHECK_HEADERS([getopt.h termio.h sys/resource.h term.h ncurses/term.h ncurses.h curses.h stropts.h siginfo.h sys/select.h sys/ioctl.h sys/termios.h libintl.h execinfo.h spawn.h])
|
||||
AC_CHECK_HEADERS([getopt.h termio.h sys/resource.h term.h ncurses/term.h ncurses.h curses.h stropts.h siginfo.h sys/select.h sys/ioctl.h sys/termios.h execinfo.h spawn.h])
|
||||
|
||||
if test x$local_gettext != xno; then
|
||||
AC_CHECK_HEADERS([libintl.h])
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADER(
|
||||
[regex.h],
|
||||
|
|
Loading…
Reference in a new issue