Commit 9b949814 authored by Kevin E Martin's avatar Kevin E Martin

Add configure options to allow hard-coded paths to be changed.

parent 6f19ff59
2005-12-08 Kevin E. Martin <kem-at-freedesktop-dot-org>
* Makefile.am:
* configure.ac:
Add configure options to allow hard-coded paths to be changed.
2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
* Makefile.am:
......
......@@ -21,7 +21,9 @@
bin_PROGRAMS = luit
luit_CFLAGS = $(LUIT_CFLAGS)
LOCALEALIASFILE = @LOCALEALIASFILE@
luit_CFLAGS = $(LUIT_CFLAGS) -DLOCALE_ALIAS_FILE=\"$(LOCALEALIASFILE)\"
luit_LDADD = $(LUIT_LIBS)
luit_SOURCES = \
......
......@@ -34,6 +34,13 @@ AC_CANONICAL_HOST
AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([zlib not found]))
AC_ARG_WITH(localealiasfile,
AC_HELP_STRING([--with-localealiasfile=<path>],
[The locale alias file (default: ${libdir}/X11/locale/locale.alias)]),
[LOCALEALIASFILE="$withval"],
[LOCALEALIASFILE=${libdir}/X11/locale/locale.alias])
AC_SUBST([LOCALEALIASFILE])
# Checks for pkg-config packages
PKG_CHECK_MODULES(LUIT, x11 fontenc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment