configure.in: Make --enable-cpp and --with-cpp-install-dir documented options.

1999-05-12 20:22 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* configure.in: Make --enable-cpp and --with-cpp-install-dir
	documented options.  Enable the cpp driver by default.
	* configure: Rebuilt.

From-SVN: r26908
This commit is contained in:
Zack Weinberg 1999-05-12 17:38:28 +00:00 committed by Zack Weinberg
parent b4b63e32e6
commit 3ecc3258ed
3 changed files with 257 additions and 227 deletions

View File

@ -1,3 +1,9 @@
1999-05-12 20:22 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* configure.in: Make --enable-cpp and --with-cpp-install-dir
documented options. Enable the cpp driver by default.
* configure: Rebuilt.
Wed May 12 18:08:48 1999 David Edelsohn <edelsohn@gnu.org>
Richard Henderson <rth@cygnus.com>

457
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -183,6 +183,20 @@ no) ;;
*) AC_MSG_ERROR(bad value ${enableval} given for checking option) ;;
esac])
AC_ARG_ENABLE(cpp,
[ --disable-cpp don't provide a user-visible C preprocessor.],
[], [enable_cpp=yes])
AC_ARG_WITH(cpp_install_dir,
[ --with-cpp-install-dir=DIR
install the user visible C preprocessor in DIR
(relative to PREFIX) as well as PREFIX/bin.],
[if test x$withval = xyes; then
AC_MSG_ERROR([option --with-cpp-install-dir requires an argument])
elif test x$withval != xno; then
cpp_install_dir=$withval
fi])
# Use cpplib+cppmain for the preprocessor, but don't link it with the compiler.
cpp_main=cccp
AC_ARG_ENABLE(cpplib,
@ -194,7 +208,7 @@ fi)
# Link cpplib into the compiler proper, for C/C++/ObjC.
AC_ARG_ENABLE(c-cpplib,
[ --enable-c-cpplib link cpplib directly into C and C++ compilers
(implies --enable-cpplib).],
(EXPERIMENTAL) (implies --enable-cpplib).],
if test x$enable_c_cpplib != xno; then
extra_c_objs="${extra_c_objs} libcpp.a"
extra_cxx_objs="${extra_cxx_objs} ../libcpp.a"
@ -422,9 +436,6 @@ host_xmake_file=
host_truncate_target=
host_exeext=
# It is relative to $prefix.
cpp_install_dir=
# Decode the host machine, then the target machine.
# For the host machine, we save the xm_file variable as host_xm_file;
# then we decode the target machine and forget everything else
@ -3528,7 +3539,7 @@ then
fi
# Handle cpp installation.
if [[ x$enable_cpp != x ]]
if test x$enable_cpp != xno
then
tmake_file="$tmake_file t-install-cpp"
fi