[pisa-src] r1662 - trunk/configure.ac

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 12 Nov 2009 14:13:35 +0100

Author: biurrun
Date: Thu Nov 12 14:13:35 2009
New Revision: 1662

Log:
Add explanatory comments to #defines written to config.h.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac  Thu Nov 12 14:12:24 2009        (r1661)
+++ trunk/configure.ac  Thu Nov 12 14:13:35 2009        (r1662)
@@ -41,7 +41,7 @@
               [enable_debug=yes])
 if test x"$enable_debug" = x"yes"; then
         AC_DEFINE(CONFIG_PISA_DEBUG)
-        AH_TEMPLATE(CONFIG_PISA_DEBUG)
+        AH_TEMPLATE(CONFIG_PISA_DEBUG, [Define to 1 if you want debugging 
enabled.])
 fi
 AC_MSG_RESULT([$enable_debug])
 
@@ -53,7 +53,7 @@
               [enable_performance=no])
 if test x"$enable_performance" = x"yes"; then
         AC_DEFINE(CONFIG_PISA_PERFORMANCE)
-        AH_TEMPLATE(CONFIG_PISA_PERFORMANCE)
+        AH_TEMPLATE(CONFIG_PISA_PERFORMANCE, [Defined to 1 if performance 
measurement is enabled.])
 fi
 AM_CONDITIONAL(PISA_PERFORMANCE, test x"$enable_performance" = x"yes")
 AC_MSG_RESULT([$enable_performance])
@@ -66,7 +66,7 @@
               [enable_logging=no])
 if test x"$enable_logging" = x"yes"; then
         AC_DEFINE(CONFIG_PISA_LOGGING)
-        AH_TEMPLATE(CONFIG_PISA_LOGGING)
+        AH_TEMPLATE(CONFIG_PISA_LOGGING, [Defined to 1 if logging is enabled.])
 fi
 AM_CONDITIONAL(PISA_LOGGING, test x"$enable_logging" = x"yes")
 AC_MSG_RESULT([$enable_logging])
@@ -86,7 +86,7 @@
 
 # This is needed to export the _expanded_ value of the variable to config.h.
 AC_DEFINE_UNQUOTED(PISA_SYSCONFDIR, "$(eval echo $sysconfdir)")
-AH_TEMPLATE(PISA_SYSCONFDIR)
+AH_TEMPLATE(PISA_SYSCONFDIR, [default configuration file location])
 
 
 AC_OUTPUT

Other related posts:

  • » [pisa-src] r1662 - trunk/configure.ac - Diego Biurrun