--- configure.ac.orig	2013-02-04 14:46:01.000000000 -0500
+++ configure.ac	2013-02-04 14:45:32.000000000 -0500
@@ -6,7 +6,10 @@
 AC_PREREQ(2.59)
 AC_CONFIG_SRCDIR(graph/graph.c)
 AM_INIT_AUTOMAKE([plotutils],[2.6])
-AM_CONFIG_HEADER(config.h:config.hin)
+AC_CONFIG_HEADERS([config.h:config.hin])
+
+AC_PROG_CXX
+AC_PROG_CC
 
 # The following will be defined in config.h, if appropriate.