summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 20:33:01 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 20:33:01 -0200
commitbb19bb3d1dd5bb9c0070f867324f740894c76887 (patch)
treea4912225b7d9f1e5f3fc1a47e604ff25781f96dc /configure.ac
parente7d66545e71cdd223761ce14416cbebccbd6dd75 (diff)
Correct problems in make distcheck.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cd74d5e..b756fde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,11 @@ AC_SUBST(PKGDEPS_CFLAGS)
AC_SUBST(PKGDEPS_LIBS)
PKG_CHECK_MODULES(APPDEFS, xt)
-appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
+xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
+AC_ARG_WITH(appdefaultdir,
+ AC_HELP_STRING([--with-appdefaultdir=<pathname>],
+ [specify directory for app-defaults files (default is autodetected)]),
+ [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"])
AC_SUBST(appdefaultdir)
XORG_MANPAGE_SECTIONS