[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.13 issue with AC_PROG_CXX
From: |
Gray Watson |
Subject: |
2.13 issue with AC_PROG_CXX |
Date: |
Wed, 21 Feb 2001 20:04:29 -0500 |
Thanks much for autoconf. Continues to be extremely useful.
I'm a little surprised that the test for C++ compiler support is fatal
if no. The documentation does not imply this and I wish it did not have
that behavior. I have a package which tests for C++ support and if not
there it will no build the C++ part of the package.
Am I missing something? Is there a reason why the following diffs
should be put into place? If not then can a AC_PROG_CXX_TEST or some
such be added that doesn't exit.
thanks much,
--
Gray Watson <address@hidden>
*** acspecific.m4.ORG Tue Jan 5 08:27:52 1999
--- acspecific.m4 Wed Feb 21 20:03:05 2001
***************
*** 206,212 ****
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_cc_works)
if test $ac_cv_prog_cc_works = no; then
! AC_MSG_ERROR([installation or configuration problem: C compiler cannot
create executables.])
fi
AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_cc_cross)
--- 206,212 ----
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_cc_works)
if test $ac_cv_prog_cc_works = no; then
! AC_MSG_WARN([installation or configuration problem: C compiler cannot
create executables.])
fi
AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_cc_cross)
***************
*** 221,227 ****
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_cxx_works)
if test $ac_cv_prog_cxx_works = no; then
! AC_MSG_ERROR([installation or configuration problem: C++ compiler cannot
create executables.])
fi
AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_cxx_cross)
--- 221,227 ----
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_cxx_works)
if test $ac_cv_prog_cxx_works = no; then
! AC_MSG_WARN([installation or configuration problem: C++ compiler cannot
create executables.])
fi
AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_cxx_cross)
***************
*** 245,251 ****
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_f77_works)
if test $ac_cv_prog_f77_works = no; then
! AC_MSG_ERROR([installation or configuration problem: Fortran 77 compiler
cannot create executables.])
fi
AC_MSG_CHECKING([whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_f77_cross)
--- 245,251 ----
AC_LANG_RESTORE
AC_MSG_RESULT($ac_cv_prog_f77_works)
if test $ac_cv_prog_f77_works = no; then
! AC_MSG_WARN([installation or configuration problem: Fortran 77 compiler
cannot create executables.])
fi
AC_MSG_CHECKING([whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a
cross-compiler])
AC_MSG_RESULT($ac_cv_prog_f77_cross)
- 2.13 issue with AC_PROG_CXX,
Gray Watson <=