summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Sanin <aleksey@src.gnome.org>2003-10-21 02:36:07 +0000
committerAleksey Sanin <aleksey@src.gnome.org>2003-10-21 02:36:07 +0000
commitc9eeeae414b667751588afaf411aa7b9510a97a7 (patch)
treee612b7a76aa7a3904d413cab57d0e172018f9c53
parent720a8eb2acaf38674b63faa94dd35f907b46a714 (diff)
downloadxmlsec1-c9eeeae414b667751588afaf411aa7b9510a97a7.tar.gz
xmlsec1-c9eeeae414b667751588afaf411aa7b9510a97a7.tar.bz2
xmlsec1-c9eeeae414b667751588afaf411aa7b9510a97a7.zip
use "--with-html-dir" option to specify docs installation path
-rw-r--r--ChangeLog5
-rw-r--r--configure.in8
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bb45b71..632a0446 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 20 19:34:35 2003 Aleksey Sanin <aleksey@aleksey.com>
+
+ * configure.in: created "--with-html-dir" option
+ to specify docs installation path
+
Mon Oct 20 08:40:46 2003 Aleksey Sanin <aleksey@aleksey.com>
* configure.in: load correct static openssl library when
diff --git a/configure.in b/configure.in
index ebb70ef3..07d075dc 100644
--- a/configure.in
+++ b/configure.in
@@ -33,7 +33,6 @@ dnl
AC_PROG_CC
AC_PROG_LIBTOOL
AC_PROG_INSTALL
-AC_ARG_PROGRAM
AC_STDC_HEADERS
AC_PATH_PROG(RM, rm, /bin/rm)
AC_PATH_PROG(MV, mv, /bin/mv)
@@ -888,10 +887,13 @@ dnl ==========================================================================
dnl Where do we want to install docs
dnl ==========================================================================
AC_MSG_CHECKING(for docs folder)
-AC_ARG_VAR(XMLSEC_DOCDIR, [the doc files installation path $datadir/doc/xmlsec1])
-if test "z$XMLSEC_DOCDIR" = "z" ; then
+AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ])
+if test "z$with_html_dir" != "z" ; then
+ XMLSEC_DOCDIR=$with_html_dir
+else
XMLSEC_DOCDIR=$datadir/doc/xmlsec1
fi
+
AC_MSG_RESULT($XMLSEC_DOCDIR)
AC_SUBST(XMLSEC_DOCDIR)