/usr/share/globus/aclocal/acdoxygen.m4 is in globus-core 8.16-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | dnl
dnl Doxygen related macros
dnl
AC_DEFUN([LAC_DOXYGEN_PROJECT],dnl
[
lac_doxygen_project=`echo "$1" | sed -e 's/_/ /g'`
AC_SUBST(lac_doxygen_project)
])
AC_DEFUN([LAC_DOXYGEN_SOURCE_DIRS],dnl
[
lac_doxygen_srcdirs=[$1]
AC_SUBST(lac_doxygen_srcdirs)
])
AC_DEFUN([LAC_DOXYGEN_INPUT_FILTER],dnl
[
lac_doxygen_input_filter=[$1]
AC_SUBST(lac_doxygen_input_filter)
])
AC_DEFUN([LAC_DOXYGEN_OUTPUT_TAGFILE],dnl
[
lac_doxygen_output_tagfile=[$1]
AC_SUBST(lac_doxygen_output_tagfile)
])
AC_DEFUN([LAC_DOXYGEN_TAGFILES],dnl
[
lac_doxygen_tagfiles=""
for x in "" $1; do
if test "X$x" != "X" ; then
lac_tag_base=`echo ${x} | sed -e 's|.*/||' -e 's|\.tag$||'`
lac_tag="${lac_tag_base}.tag"
lac_doxygen_tagfiles="$lac_doxygen_tagfiles $x"
lac_doxygen_internal_tagfiles="$lac_doxygen_internal_tagfiles ${x}i"
lac_html_dir=`echo ${x} | sed -e 's|.*/\(.*/html\)/.*|../../\1|'`
lac_doxygen_installdox="$lac_doxygen_installdox -l${lac_tag}@${lac_html_dir}"
fi
done
AC_SUBST(lac_doxygen_tagfiles)
AC_SUBST(lac_doxygen_internal_tagfiles)
AC_SUBST(lac_doxygen_installdox)
])
AC_DEFUN([LAC_DOXYGEN_FILE_PATTERNS],dnl
[
lac_doxygen_file_patterns=[$1]
])
AC_DEFUN([LAC_DOXYGEN_EXAMPLE_DIR],dnl
[
lac_doxygen_examples=[$1]
])
AC_DEFUN([LAC_DOXYGEN_PREDEFINES],dnl
[
lac_doxygen_predefines=[$1]
])
AC_DEFUN([LAC_DOXYGEN],dnl
[
AC_ARG_ENABLE(doxygen,
AC_HELP_STRING([--enable-doxygen[[=PATH]]],
[Use Doxygen to generate doxygen. If specified, PATH is the
path to the doxygen executable; otherwise it is
autodiscovered]),
[
if test "$enableval" = "yes"; then
AC_PATH_PROG(DOXYGEN,
doxygen,
[
AC_MSG_ERROR(Doxygen installation not found)
])
else
DOXYGEN="$enableval"
AC_SUBST(DOXYGEN)
fi
],
[
DOXYGEN=""
AC_SUBST(DOXYGEN)
])
AC_ARG_ENABLE(internal-doc,
AC_HELP_STRING(
[--enable-internal-doc],
[Generate Doxygen documentation for internal functions.
Requires --enable-doxygen]),
[
DOXYFILE="Doxyfile-internal"
AC_SUBST(DOXYFILE)
],
[
DOXYFILE="Doxyfile"
AC_SUBST(DOXYFILE)
])
if test -n "$DOXYGEN" ; then
AC_PATH_PROG(DOT, dot)
if test -z "$GLOBUS_SH_PERL" ; then
AC_PATH_PROG(PERL, perl)
else
PERL="$GLOBUS_SH_PERL"
AC_SUBST(PERL)
fi
if test "$DOT" != ""; then
HAVE_DOT=YES
else
HAVE_DOT=NO
fi
AC_SUBST(HAVE_DOT)
LAC_DOXYGEN_SOURCE_DIRS($1)
LAC_DOXYGEN_FILE_PATTERNS($2)
LAC_DOXYGEN_INPUT_FILTER($3)
LAC_DOXYGEN_PROJECT($GPT_NAME)
LAC_DOXYGEN_OUTPUT_TAGFILE($GPT_NAME)
lac_dep_check="${GLOBUS_LOCATION:-$ac_default_prefix}/sbin/globus-build-doxygen-dependencies"
if test ! -x $lac_dep_check ; then
# assume we are dealing with common
lac_dep_check="$srcdir/scripts/globus-build-doxygen-dependencies"
chmod 0755 $lac_dep_check
fi
AC_MSG_CHECKING([documentation dependencies])
tagfiles="`$lac_dep_check -src $srcdir/pkgdata/pkg_data_src.gpt.in 2>/dev/null`"
if test "$?" != "0"; then
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Documentation dependencies could not be satisfied.])
else
AC_MSG_RESULT([ok])
fi
LAC_DOXYGEN_TAGFILES($tagfiles)
AC_SUBST(lac_doxygen_file_patterns)
AC_SUBST(lac_doxygen_examples)
AC_SUBST(lac_doxygen_predefines)
fi
]
)
|