about summary refs log tree commit diff stats
path: root/configure.in
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-01-28 16:47:38 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1999-01-28 16:47:38 -0500
commit87434eaa074d789f65bac589b03df341e76e7a4e (patch)
tree2882679a9a50807168042d9b26aea6b562e356d7 /configure.in
parentd97a65137382daf2f896a947ba680c095f7ab664 (diff)
downloadlynx-snapshots-87434eaa074d789f65bac589b03df341e76e7a4e.tar.gz
snapshot of project "lynx", label v2-8-2dev_15
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 4f4c1013..15c481b2 100644
--- a/configure.in
+++ b/configure.in
@@ -120,12 +120,22 @@ if test "$USE_INCLUDED_LIBINTL" = yes ; then
 	SUB_MAKEFILE="intl/makefile po/makefile.in:po/makefile.inn"
 elif test "$USE_NLS" = yes ; then
 	AC_CHECK_HEADERS(libintl.h)
-	SUB_MAKEFILE="po/makefile.in:po/makefile.inn"
 	INTLDIR_MAKE="#"
+	SUB_MAKEFILE="po/makefile.in:po/makefile.inn"
 else
 	INTLDIR_MAKE="#"
 	MSG_DIR_MAKE="#"
 fi
+
+dnl We might want to use a preinstalled message library rather than the one
+dnl which is bundled with this program.
+if test -z "$MSG_DIR_MAKE" ; then
+	CF_OUR_MESSAGES
+	if test $use_our_messages = no ; then
+		MSG_DIR_MAKE="#"
+		SUB_MAKEFILE=
+	fi
+fi
 AC_SUBST(INTLDIR_MAKE)
 AC_SUBST(MSG_DIR_MAKE)