Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Warn when can't enable i18n, also try to detect gettext better
  • Loading branch information
megastep committed Nov 24, 2004
1 parent a0c63dc commit 56d6b4c
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 119 deletions.
9 changes: 6 additions & 3 deletions configure.in
Expand Up @@ -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)
Expand Down Expand Up @@ -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
)

Expand All @@ -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)
Expand Down
Binary file modified image/setup.data/locale/de/LC_MESSAGES/setup.mo
Binary file not shown.

0 comments on commit 56d6b4c

Please sign in to comment.