X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/cc2722ba9e1b2854c5500eb7bb41910478aa8fce..01d15e968f260384abc5afea5263fb54e38dff4b:/configure diff --git a/configure b/configure index 99ab74dc..d14e7d17 100755 --- a/configure +++ b/configure @@ -43,9 +43,9 @@ fi # Set several defaults (optionally specified by the user in # environment variables) -CC=${CC:-gcc} -CXX=${CXX:-g++} -CFLAGS=${CFLAGS:--O2} +CC=${CC:-cc} +CXX=${CXX:-c++} +CFLAGS=${CFLAGS:--g -O2} CPPFLAGS=${CPPFLAGS:-} CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)} LDFLAGS=${LDFLAGS:-} @@ -417,6 +417,15 @@ else have_emacs=0 fi +printf "Checking if doxygen is available... " +if command -v doxygen > /dev/null 2>&1; then + printf "Yes.\n" + have_doxygen=1 +else + printf "No (so will not install api docs)\n" + have_doxygen=0 +fi + printf "Checking if sphinx is available and supports nroff output... " if hash sphinx-build > /dev/null 2>&1 && python -m sphinx.writers.manpage > /dev/null 2>&1 ; then printf "Yes.\n" @@ -715,16 +724,6 @@ printf "\n\t${WARN_CFLAGS}\n" rm -f minimal minimal.c -cat < Makefile.config < sh.config <