[Apcupsd-commits] apcupsd/autoconf configure.in, 1.129.2.22, 1.129.2.23
Brought to you by:
adk0212
From: Adam K. <ad...@us...> - 2009-07-31 20:19:17
|
Update of /cvsroot/apcupsd/apcupsd/autoconf In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21085/autoconf Modified Files: Tag: Branch-3_14 configure.in Log Message: Fix configure not noticing when C++ compiler does not exist. Annoyingly, only the first of AC_PROG_CXX and AC_PROG_CC actually error out if the conpiler does not exist. The second one just quietly sets a default and keeps going. Temporary fix is to just move CXX detection to be first since that's the compiler we really need. Index: configure.in =================================================================== RCS file: /cvsroot/apcupsd/apcupsd/autoconf/configure.in,v retrieving revision 1.129.2.22 retrieving revision 1.129.2.23 diff -u -d -r1.129.2.22 -r1.129.2.23 --- configure.in 4 May 2009 22:21:57 -0000 1.129.2.22 +++ configure.in 31 Jul 2009 20:19:07 -0000 1.129.2.23 @@ -97,11 +97,9 @@ dnl Check for programs. dnl +AC_PROG_CXX dnl We require a C++ compiler now AC_PROG_CC dnl Determine a C compiler to use. AC_PROG_CPP dnl Determine a C pre-processor to use. -AC_PROG_CXX dnl We require a C++ compiler now -AC_PROG_CC_C_O dnl Determine if C compiler support -c -o. -AC_PROG_GCC_TRADITIONAL dnl Determine if ioctl() need -traditional. AC_PROG_INSTALL dnl Determine a BSD install program. AC_PROG_AWK AC_ISC_POSIX |