--- configure.in.orig	2006-03-03 18:53:04.000000000 -0800
+++ configure.in	2013-09-02 09:25:36.000000000 -0700
@@ -149,9 +149,8 @@ if test "x$enable_debug" = "xyes"; then
 fi
 
 # Checks for programs.
-AC_LANG_CPLUSPLUS
 AC_PROG_CC
-AM_PROG_CC_C_O
+AC_PROG_CXX
 AC_PROG_INSTALL
 
 changequote(,)dnl
