summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-10-15 20:51:57 +0000
committerewt <devnull@localhost>1996-10-15 20:51:57 +0000
commitb6112216646970af5003c4a3ae9ca50af0016377 (patch)
tree34c5219cca902410285dcaabbc8397e9217bdf77
parent57886e17413c07f21f6c66f9d400c12ca4396b39 (diff)
downloadrpm-b6112216646970af5003c4a3ae9ca50af0016377.tar.gz
rpm-b6112216646970af5003c4a3ae9ca50af0016377.tar.bz2
rpm-b6112216646970af5003c4a3ae9ca50af0016377.zip
use gettext() from libc if available
CVS patchset: 1103 CVS date: 1996/10/15 20:51:57
-rw-r--r--configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 7393a6523..02968ff3a 100644
--- a/configure.in
+++ b/configure.in
@@ -67,8 +67,8 @@ AC_PROG_MAKE_SET
AC_PROG_RANLIB
dnl Checks for libraries.
-AC_CHECK_FUNC(gettext, [],
- AC_CHECK_LIB(intl, gettext, [LIBINTL="-lintl"],
+AC_CHECK_FUNC(gettext, [HAVEGETTEXT="yes"],
+ AC_CHECK_LIB(intl, gettext, [LIBINTL="-lintl" HAVEGETTEXT="y"],
AC_MSG_WARN([sorry this package needs libintl.a (from the
gettext package)])
)
@@ -83,8 +83,8 @@ if test "$XGETTEXT" != ""; then
fi
fi
-if test "$XGETTEXT" != "" -a "$LIBINTL" != ""; then
- echo "xgettext and libintl.a exist; will build i18n support"
+if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then
+ echo "xgettext and gettext() exist; will build i18n support"
INTLDEF=-D_\\\(String\\\)=gettext\\\(String\\\)
PO=po
GETTEXTSTUB=""