summaryrefslogtreecommitdiff
path: root/packaging/sgml-common-0.6.3-docdir.patch
blob: 6d02807ff5c6a7e0248b9501f5a60ecf0f9aa975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- sgml-common-0.6.3/configure.in.docdir	2002-10-23 12:07:31.000000000 +0100
+++ sgml-common-0.6.3/configure.in	2002-10-23 12:08:10.000000000 +0100
@@ -4,6 +4,8 @@
 AM_INIT_AUTOMAKE(sgml-common, 0.6.3)
 
 docdir='$(prefix)/doc'
+AC_ARG_WITH(docdir, [  -with-docdir=DOCDIR    documentation directory],
+  docdir=$withval)
 AC_SUBST(docdir)
 
 dnl Checks for programs.
--- sgml-common-0.6.3/configure.docdir	2007-05-15 17:41:20.000000000 +0100
+++ sgml-common-0.6.3/configure	2007-05-15 17:45:54.000000000 +0100
@@ -777,6 +777,11 @@
 
 docdir='$(prefix)/doc'
 
+# Check whether --with-docdir or --without-docdir was given.
+if test "${with_docdir+set}" = set; then
+  withval="$with_docdir"
+  docdir=$withval
+fi;