diff options
author | Haru <haru@dotalux.com> | 2013-10-08 20:55:27 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-10-09 05:49:04 +0200 |
commit | 5fdbee45f634d5d5b29ffa3144c8ac4881c10578 (patch) | |
tree | 87ff7e5bab40749666f44d69b24da3b75a1c1f12 /configure | |
parent | 540c7071234d44875bf397fb80d2f18c4f4db1bf (diff) | |
download | hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.gz hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.bz2 hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.xz hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.zip |
Added HPMHookGen tool, to re-generate hooks include files
- Slightly reformatted the include files (as produced by the new tool)
- You normally won't need to use the generation tool, but in case you
do, the software requirements are:
* A Unix-compatible system (cygwin may work, or may not), capable to
use the Hercules configure/make build system
* perl (the perl executable must be in your $PATH)
* doxygen (the command-line doxygen executable must be in your $PATH)
- The generation tool was developed in collaboration with Ind
(originally in php, the file here included is a tweaked version ported
to perl)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 89 |
1 files changed, 87 insertions, 2 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in 95caa24. +# From configure.in d26927e. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -624,6 +624,8 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS DLLEXT +HAVE_PERL +HAVE_DOXYGEN PCRE_CFLAGS PCRE_LIBS HAVE_PCRE @@ -2162,6 +2164,8 @@ ac_config_files="$ac_config_files src/map/Makefile src/plugins/Makefile src/tool ac_config_files="$ac_config_files src/test/Makefile" +ac_config_files="$ac_config_files tools/HPMHookGen/Makefile" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5068,7 +5072,6 @@ $as_echo "$compiler_shared_objects $compiler_supports_shared_objects" >&6; } # On certain platforms, undefined references on shared libraries won't be checked # unless explicitly required with the --no-undefined linker option # - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -Wl,--no-undefined to check for undefined references in shared objects" >&5 $as_echo_n "checking whether $CC needs -Wl,--no-undefined to check for undefined references in shared objects... " >&6; } OLD_CFLAGS="$CFLAGS" @@ -6252,6 +6255,87 @@ fi +# +# Doxygen, perl (for HPMHookGen) +# + +# Extract the first word of "doxygen", so it can be a program name with args. +set dummy doxygen; 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_DOXYGEN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$HAVE_DOXYGEN"; then + ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # 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_DOXYGEN="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 + + test -z "$ac_cv_prog_HAVE_DOXYGEN" && ac_cv_prog_HAVE_DOXYGEN="no" +fi +fi +HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN +if test -n "$HAVE_DOXYGEN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOXYGEN" >&5 +$as_echo "$HAVE_DOXYGEN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; 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_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$HAVE_PERL"; then + ac_cv_prog_HAVE_PERL="$HAVE_PERL" # 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_PERL="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 + + test -z "$ac_cv_prog_HAVE_PERL" && ac_cv_prog_HAVE_PERL="no" +fi +fi +HAVE_PERL=$ac_cv_prog_HAVE_PERL +if test -n "$HAVE_PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PERL" >&5 +$as_echo "$HAVE_PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # # Host specific stuff @@ -7018,6 +7102,7 @@ do "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; "src/tool/Makefile") CONFIG_FILES="$CONFIG_FILES src/tool/Makefile" ;; "src/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; + "tools/HPMHookGen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/HPMHookGen/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac |