Module: xenomai-head Branch: master Commit: 6d4bddcdcbb05e32d7f7f59a55e0eed1dadeb525 URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=6d4bddcdcbb05e32d7f7f59a55e0eed1dadeb525
Author: Gilles Chanteperdrix <[email protected]> Date: Thu Jan 27 00:55:56 2011 +0100 build: add a --disable-doc-install option --- configure | 42 ++++++++++++++++++++++++++++-------------- configure.in | 8 ++++++++ 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 9997ca0..696da9d 100755 --- a/configure +++ b/configure @@ -930,6 +930,7 @@ enable_arm_eabi enable_arm_mach enable_arm_arch enable_arm_tsc +enable_doc_install enable_dox_doc enable_dbx enable_dbx_network @@ -1598,6 +1599,7 @@ Optional Features: selected with --enable-arm-mach supports several architecture versions --disable-arm-tsc Disable TSC emulation in user-space + --disable-doc-install Do not install documentation --enable-dox-doc Build Doxygen documentation --enable-dbx Build Docbook XML documentation. --enable-dbx-network Try to access Docbook DTD and XSL stylesheets @@ -5910,13 +5912,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:5913: $ac_compile\"" >&5) + (eval echo "\"\$as_me:5915: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:5916: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:5918: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:5919: output\"" >&5) + (eval echo "\"\$as_me:5921: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7014,7 +7016,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7017 "configure"' > conftest.$ac_ext + echo '#line 7019 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8377,11 +8379,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8380: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8382: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8384: \$? = $ac_status" >&5 + echo "$as_me:8386: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8701,11 +8703,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8704: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8706: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8708: \$? = $ac_status" >&5 + echo "$as_me:8710: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8806,11 +8808,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8809: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8811: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8813: \$? = $ac_status" >&5 + echo "$as_me:8815: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8861,11 +8863,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8864: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8866: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8868: \$? = $ac_status" >&5 + echo "$as_me:8870: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -11233,7 +11235,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11236 "configure" +#line 11238 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11333,7 +11335,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11336 "configure" +#line 11338 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11837,6 +11839,18 @@ if test \! -d $srcdir/doc ; then unset XENO_MAYBE_DOCDIR else XENO_MAYBE_DOCDIR=doc + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether installing documentation" >&5 +$as_echo_n "checking whether installing documentation... " >&6; } + # Check whether --enable-doc-install was given. +if test "${enable_doc_install+set}" = set; then : + enableval=$enable_doc_install; case "$enableval" in + y | yes);; + *) unset XENO_MAYBE_DOCDIR;; + esac +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${XENO_MAYBE_DOCDIR:-no}" >&5 +$as_echo "${XENO_MAYBE_DOCDIR:-no}" >&6; } fi diff --git a/configure.in b/configure.in index 9407a61..3b19bf5 100644 --- a/configure.in +++ b/configure.in @@ -364,6 +364,14 @@ if test \! -d $srcdir/doc ; then unset XENO_MAYBE_DOCDIR else XENO_MAYBE_DOCDIR=doc + AC_MSG_CHECKING(whether installing documentation) + AC_ARG_ENABLE(doc-install, + AS_HELP_STRING([--disable-doc-install], [Do not install documentation]), + [case "$enableval" in + y | yes);; + *) unset XENO_MAYBE_DOCDIR;; + esac]) + AC_MSG_RESULT(${XENO_MAYBE_DOCDIR:-no}) fi AC_SUBST(XENO_MAYBE_DOCDIR) _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
