mit doxy-tag file
This commit is contained in:
17
configure.in
17
configure.in
@@ -32,14 +32,16 @@ AC_CHECK_HEADER(sys/old_procfs.h, [AM_CPPFLAGS=-D__solaris__])
|
||||
AC_SEARCH_LIBS(cplus_demangle, iberty, [AC_MSG_RESULT([OK])],
|
||||
[AC_MSG_ERROR([Library iberty is required!])])
|
||||
AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])],
|
||||
[no_bfd=true])
|
||||
if [ -n "$no_bfd" ]; then
|
||||
AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])],
|
||||
[AC_MSG_ERROR([BFD library libbfd is required])], [-lintl])
|
||||
fi
|
||||
AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])],
|
||||
[AC_MSG_ERROR([BFD library libbfd is required])], [-lintl]))
|
||||
|
||||
# Arguments
|
||||
AM_MAINTAINER_MODE
|
||||
AC_ARG_ENABLE(pedantic,
|
||||
[ --enable-pedantic enable all warnings and checks, abort on warnings],
|
||||
[test "$enableval" = "yes" && \
|
||||
AM_CXXFLAGS="${AM_CXXFLAGS:-} -pedantic-errors -Wall -W -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-format-attribute -Wno-multichar -Wpacked -Wredundant-decls -Werror"])
|
||||
dnl lib: -Wshadow -Wcast-qual
|
||||
AC_ARG_ENABLE(dot,
|
||||
[ --disable-dot disable dot graphic tools for documentation],
|
||||
[have_dot="$enableval"])
|
||||
@@ -51,6 +53,8 @@ AC_SUBST(MAJOR)
|
||||
AC_SUBST(MINOR)
|
||||
AC_SUBST(SUPPORT)
|
||||
AC_SUBST(PACKAGENAME)
|
||||
AC_SUBST(AM_CXXFLAGS)
|
||||
AC_SUBST(AM_CPPFLAGS)
|
||||
|
||||
# create output
|
||||
AC_CONFIG_FILES([makefile mrw-c++.spec mrw-c++-devel.spec
|
||||
@@ -66,3 +70,6 @@ if test "$have_dot" = "no"; then
|
||||
AC_MSG_WARN([Missing program dot!
|
||||
- when you rebild documentation with make doc, there are no generated images
|
||||
- there are precompiled derieved files in the distribution]); fi
|
||||
|
||||
|
||||
AC_MSG_WARN([************** THE FLAGS = ${AM_CXXFLAGS}]);
|
||||
Reference in New Issue
Block a user