X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=configure;h=0cb8c54606898178b25541abb3425c7b1348c397;hb=677d2bfc3beae998b73f48a4be3036f09d6848ff;hp=4acb372cec6fe79878b5a850c461579d3c1c801c;hpb=d9f38d560ff128b9e20f254bcb858b18788fd561;p=ppastats.git diff --git a/configure b/configure index 4acb372..0cb8c54 100755 --- a/configure +++ b/configure @@ -627,6 +627,7 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +HAVE_CPPCHECK HELP2MAN JSON_FALSE JSON_TRUE @@ -7085,7 +7086,7 @@ $as_echo "#define HAVE_JSON_BOOL 1" >>confdefs.h fi -ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile tests/Makefile www/footer.tpl www/Makefile" +ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile tests/Makefile themes/Makefile themes/default/css/Makefile themes/default/js/Makefile themes/default/templates/Makefile themes/default/templates/footer.tpl" for ac_prog in help2man @@ -7131,6 +7132,44 @@ fi done +# Extract the first word of "cppcheck", so it can be a program name with args. +set dummy cppcheck; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$HAVE_CPPCHECK"; then + ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_HAVE_CPPCHECK="yes" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK +if test -n "$HAVE_CPPCHECK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5 +$as_echo "$HAVE_CPPCHECK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -7875,8 +7914,11 @@ do "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; - "www/footer.tpl") CONFIG_FILES="$CONFIG_FILES www/footer.tpl" ;; - "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;; + "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;; + "themes/default/css/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/css/Makefile" ;; + "themes/default/js/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/js/Makefile" ;; + "themes/default/templates/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/templates/Makefile" ;; + "themes/default/templates/footer.tpl") CONFIG_FILES="$CONFIG_FILES themes/default/templates/footer.tpl" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac