44 |
# Look for a C++ compiler. |
# Look for a C++ compiler. |
45 |
AC_LANG([C++]) |
AC_LANG([C++]) |
46 |
AC_PROG_CXX |
AC_PROG_CXX |
47 |
|
AC_PROG_RANLIB |
48 |
|
|
49 |
# Look for doxygen |
# Look for doxygen |
50 |
AC_CHECK_PROG(DOXYGEN_HERE,doxygen,doxygen,no) |
AC_CHECK_PROG(DOXYGEN_HERE,doxygen,doxygen,no) |
78 |
AC_MSG_WARN([Cannot find texi2html! That's not a big problem: 'make doc' will just generate documentation for which texi2html is not needed. Please install dtexi2html for 'make doc' to generate its output in $(DOCPATH).]) |
AC_MSG_WARN([Cannot find texi2html! That's not a big problem: 'make doc' will just generate documentation for which texi2html is not needed. Please install dtexi2html for 'make doc' to generate its output in $(DOCPATH).]) |
79 |
fi |
fi |
80 |
|
|
|
# Look for build a lib |
|
|
AC_CHECK_PROG(AR_HERE,ar,ar,no) |
|
|
if test "$AR_HERE" = no ; then |
|
|
AC_MSG_WARN([Cannot find ar! That's a big problem; you can't built libsip without it]) |
|
|
fi |
|
|
|
|
|
AC_CHECK_PROG(RANLIB_HERE,ranlib,ranlib,no) |
|
|
if test "$RANLIB_HERE" = no ; then |
|
|
AC_MSG_WARN([Cannot find ranlib! That's a big problem; you can't built libsip without it]) |
|
|
fi |
|
|
|
|
81 |
AC_CONFIG_FILES([doc/Doxyfile]) |
AC_CONFIG_FILES([doc/Doxyfile]) |
82 |
|
|
83 |
# Finally create common.Makefile from commom.Makefile.in |
# Finally create common.Makefile from commom.Makefile.in |