Commit c0590bfd by H.J. Lu Committed by H.J. Lu

configure.in: Check if $MAKEINFO is missing.

2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.in: Check if $MAKEINFO is missing.
	* configure: Regenerated.

From-SVN: r71983
parent 7a54c850
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.
2003-09-24 Daniel Jacobowitz <drow@mvista.com> 2003-09-24 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Use AC_PROG_CPP_WERROR. * configure.in: Use AC_PROG_CPP_WERROR.
......
...@@ -923,7 +923,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` ...@@ -923,7 +923,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
else else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi fi
cd "$ac_popdir" cd $ac_popdir
done done
fi fi
...@@ -1120,7 +1120,7 @@ _ASBOX ...@@ -1120,7 +1120,7 @@ _ASBOX
echo "$as_me: caught signal $ac_signal" echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status" echo "$as_me: exit $exit_status"
} >&5 } >&5
rm -f core *.core && rm -f core core.* *.core &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files && rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status exit $exit_status
' 0 ' 0
...@@ -1410,6 +1410,15 @@ if test "x$MAKEINFO" = "x"; then ...@@ -1410,6 +1410,15 @@ if test "x$MAKEINFO" = "x"; then
BUILD_INFO= BUILD_INFO=
else else
BUILD_INFO=info BUILD_INFO=info
case "$MAKEINFO" in
*/missing\ makeinfo*)
BUILD_INFO=
{ echo "$as_me:$LINENO: WARNING:
*** Makeinfo is missing. Info documentation will not be built." >&5
echo "$as_me: WARNING:
*** Makeinfo is missing. Info documentation will not be built." >&2;}
;;
*)
case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
x*\ [1-3].* ) x*\ [1-3].* )
MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true" MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true"
...@@ -1420,6 +1429,8 @@ echo "$as_me: WARNING: ...@@ -1420,6 +1429,8 @@ echo "$as_me: WARNING:
*** Makeinfo is too old. Info documentation will not be built." >&2;} *** Makeinfo is too old. Info documentation will not be built." >&2;}
;; ;;
esac esac
;;
esac
fi fi
...@@ -2486,7 +2497,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ...@@ -2486,7 +2497,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
for ac_declaration in \ for ac_declaration in \
'' \ ''\
'#include <stdlib.h>' \
'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \
'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int) throw ();' \
...@@ -2500,8 +2512,8 @@ _ACEOF ...@@ -2500,8 +2512,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_declaration
#include <stdlib.h> #include <stdlib.h>
$ac_declaration
int int
main () main ()
{ {
...@@ -3212,7 +3224,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -3212,7 +3224,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
...@@ -3778,7 +3790,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -3778,7 +3790,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
...@@ -4808,7 +4820,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -4808,7 +4820,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_c_stack_direction=-1 ac_cv_c_stack_direction=-1
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
...@@ -5009,7 +5021,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -5009,7 +5021,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_fork_works=no ac_cv_func_fork_works=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
...@@ -5164,7 +5176,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -5164,7 +5176,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_vfork_works=no ac_cv_func_vfork_works=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
...@@ -5989,7 +6001,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -5989,7 +6001,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_mmap_fixed_mapped=no ac_cv_func_mmap_fixed_mapped=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
...@@ -6102,7 +6114,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -6102,7 +6114,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_strncmp_works=no ac_cv_func_strncmp_works=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f core core.* *.core rm -f core core.* *.core
fi fi
......
...@@ -69,6 +69,13 @@ if test "x$MAKEINFO" = "x"; then ...@@ -69,6 +69,13 @@ if test "x$MAKEINFO" = "x"; then
BUILD_INFO= BUILD_INFO=
else else
BUILD_INFO=info BUILD_INFO=info
case "$MAKEINFO" in
*/missing\ makeinfo*)
BUILD_INFO=
AC_MSG_WARN([
*** Makeinfo is missing. Info documentation will not be built.])
;;
*)
case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
x*\ [[1-3]].* ) x*\ [[1-3]].* )
MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true" MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true"
...@@ -77,6 +84,8 @@ else ...@@ -77,6 +84,8 @@ else
*** Makeinfo is too old. Info documentation will not be built.]) *** Makeinfo is too old. Info documentation will not be built.])
;; ;;
esac esac
;;
esac
fi fi
AC_SUBST(MAKEINFO) AC_SUBST(MAKEINFO)
AC_SUBST(BUILD_INFO) AC_SUBST(BUILD_INFO)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment