• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libcgicc/0001-disable-documentation-option.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Index: cgicc-3.2.9/Makefile.am
2
===================================================================
3
--- cgicc-3.2.9.orig/Makefile.am    2010-02-25 16:34:06.000000000 +0100
4
+++ cgicc-3.2.9/Makefile.am 2010-02-25 16:34:14.000000000 +0100
5
@@ -8,9 +8,15 @@
6
 DEMO =
7
 endif
8
 
9
+if DOC
10
+DOCDIR = doc
11
+else
12
+DOC =
13
+endif
14
+
15
 ACLOCAL_AMFLAGS= 
16
 
17
-SUBDIRS = cgicc doc support $(DEMO)
18
+SUBDIRS = cgicc $(DOCDIR) support $(DEMO)
19
 
20
 CLEANFILES = *~
21
 
22
Index: cgicc-3.2.9/configure.ac
23
===================================================================
24
--- cgicc-3.2.9.orig/configure.ac   2010-02-25 16:34:06.000000000 +0100
25
+++ cgicc-3.2.9/configure.ac    2010-02-25 16:45:46.000000000 +0100
26
@@ -17,9 +17,23 @@
27
 AC_PROG_CXX
28
 AC_PROG_INSTALL
29
 AC_PROG_LIBTOOL
30
-AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, /bin/echo)
31
 
32
 
33
+AC_ARG_ENABLE(doc, 
34
+  [  --enable-doc          build doc [[default=yes]]],
35
+  [case "${enableval}" in
36
+    yes) cgicc_doc=yes ;;
37
+    no)  cgicc_doc=no ;;
38
+    *) AC_MSG_ERROR(bad value ${enableval} for --enable-doc) ;;
39
+  esac], cgicc_doc=yes)
40
+
41
+if test "$cgicc_doc" = yes; then
42
+ AC_CHECK_PROG(DOXYGEN, doxygen, doxygen)
43
+ if test -z "$DOXYGEN" ; then
44
+   AC_MSG_ERROR([Doxygen is required to build the documentation])
45
+ fi
46
+fi
47
+AM_CONDITIONAL(DOC, test "$cgicc_doc" = yes)
48
 
49
 dnl Determine host system type
50
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.