diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-08 17:55:19 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-08 17:55:19 +0000 |
commit | 189c9672264c4b62f18f9da9422375b216dc7037 (patch) | |
tree | e9aeed52889d643601f5d70abb0524575cf26a7b /configure.ac | |
parent | b8c92a26d01b14cb9d27cd30d261e24833d0c728 (diff) |
Add configure options to allow hard-coded paths to be changed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index db5b40b..964a56d 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,21 @@ AM_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_LIBTOOL +AC_ARG_WITH(icondir, + AC_HELP_STRING([--with-icondir=<path>], + [Set default icon directory (default: ${datadir}/icons)]), + [ICONDIR="$withval"], + [ICONDIR=${datadir}/icons]) +AC_SUBST([ICONDIR]) + +DEF_CURSORPATH="~/.icons:/usr/share/icons:/usr/share/pixmaps:$ICONDIR" +AC_ARG_WITH(cursorpath, + AC_HELP_STRING([--with-cursorpath=<paths>], + [Set default search path for cursors]), + [XCURSORPATH="$withval"], + [XCURSORPATH=$DEF_CURSORPATH]) +AC_SUBST([XCURSORPATH]) + # Check for X PKG_CHECK_MODULES(XCURSOR, xrender >= 0.8.2 xfixes x11 fixesproto) AC_DEFINE(HAVE_XFIXES, 1, [Define to 1 if you have Xfixes]) |