Skip to content
Permalink
Browse files

Warn when can't enable i18n, also try to detect gettext better

  • Loading branch information...
megastep committed Nov 24, 2004
1 parent a0c63dc commit 56d6b4cf0b6c533d665edc06ff236d57a6c61f7b
Showing with 156 additions and 119 deletions.
  1. +6 −3 configure.in
  2. BIN image/setup.data/locale/de/LC_MESSAGES/setup.mo
  3. +148 −115 po/setup.po
  4. +2 −1 setup-locale.h
@@ -46,9 +46,6 @@ AC_CHECK_HEADERS(libgen.h)
AC_CHECK_HEADERS(pty.h)
AC_CHECK_HEADERS(sys/ptms.h)
AC_CHECK_HEADERS(sys/stropts.h)
AC_CHECK_HEADERS(libintl.h)
AC_CHECK_HEADERS(langinfo.h)
AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(getopt.h)
AC_CHECK_FILES(/dev/ptmx)
AC_CHECK_FILES(/dev/pts)
@@ -249,6 +246,7 @@ AC_CHECK_LIB(intl, gettext,
LIBS="$LIBS $LIBINTL"
GUILIBS="$GUI_LIBS $LIBINTL"
CARBONLIBS="$CARBON_LIBS $LIBINTL"
CFLAGS="$CFLAGS -I/opt/gettext/include"
fi
)

@@ -259,9 +257,14 @@ case "$target" in
LIBS="$LIBS $LIBINTL"
GUILIBS="$GUI_LIBS $LIBINTL"
CARBONLIBS="$CARBON_LIBS $LIBINTL"
CFLAGS="$CFLAGS -I/sw/include"
fi
esac

AC_CHECK_HEADERS(libintl.h)
AC_CHECK_HEADERS(langinfo.h)
AC_CHECK_HEADERS(locale.h)

AC_CHECK_LIB(gpm, Gpm_Open, USE_GPM=yes)

dnl Check for gtk12 libraries in case those are available (FreeBSD)
Binary file not shown.
Oops, something went wrong.

0 comments on commit 56d6b4c

Please sign in to comment.
You can’t perform that action at this time.