add comments to AC_DEFINE... definitions for autoconf 2.5

This commit is contained in:
marschap
2004-10-03 11:39:48 +00:00
parent a96ce76a20
commit 81401c1d49
2 changed files with 19 additions and 19 deletions
+11 -11
View File
@@ -101,7 +101,7 @@ dnl else
LIBS="$oldlibs" LIBS="$oldlibs"
]) ])
if test "$ac_cv_curses_redrawwin" = yes; then if test "$ac_cv_curses_redrawwin" = yes; then
AC_DEFINE(CURSES_HAS_REDRAWWIN) AC_DEFINE(CURSES_HAS_REDRAWWIN,[1],[Define to 1 if you have the `redrawwin' function in the curses library])
fi fi
AC_CACHE_CHECK([for wcolor_set() in curses], ac_cv_curses_wcolor_set, AC_CACHE_CHECK([for wcolor_set() in curses], ac_cv_curses_wcolor_set,
@@ -111,7 +111,7 @@ dnl else
LIBS="$oldlibs" LIBS="$oldlibs"
]) ])
if test "$ac_cv_curses_wcolor_set" = yes; then if test "$ac_cv_curses_wcolor_set" = yes; then
AC_DEFINE(CURSES_HAS_WCOLOR_SET) AC_DEFINE(CURSES_HAS_WCOLOR_SET,[1],[Define to 1 if you have the `wcolor_set' function in the curses library])
fi fi
;; ;;
cwlnx) cwlnx)
@@ -257,7 +257,7 @@ AC_DEFUN(AC_CURSES_ACS_ARRAY, [
if test "$ac_cv_curses_acs_map" = yes if test "$ac_cv_curses_acs_map" = yes
then then
AC_DEFINE(CURSES_HAS_ACS_MAP) AC_DEFINE(CURSES_HAS_ACS_MAP,[1],[Define to 1 if <curses.h> defines the `acs_map' array])
else else
AC_CACHE_CHECK([for _acs_char in curses.h], ac_cv_curses__acs_char, AC_CACHE_CHECK([for _acs_char in curses.h], ac_cv_curses__acs_char,
@@ -265,7 +265,7 @@ AC_DEFUN(AC_CURSES_ACS_ARRAY, [
if test "$ac_cv_curses__acs_char" = yes if test "$ac_cv_curses__acs_char" = yes
then then
AC_DEFINE(CURSES_HAS__ACS_CHAR) AC_DEFINE(CURSES_HAS__ACS_CHAR,[1],[Define to 1 if <curses.h> defines the `_acs_char' array])
fi fi
fi fi
@@ -322,7 +322,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_CHECK_FUNCS(statvfs) AC_CHECK_FUNCS(statvfs)
if test $ac_cv_func_statvfs = yes; then if test $ac_cv_func_statvfs = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATVFS) AC_DEFINE(STAT_STATVFS,[1],[Define to 1 if you have `statvfs'])
fi fi
fi fi
@@ -346,7 +346,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1) AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS3_OSF1) AC_DEFINE(STAT_STATFS3_OSF1,[1],[Define to 1 if you have 3-argument `statfs' (DEC OSF/1)])
fi fi
fi fi
@@ -376,7 +376,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize)
if test $fu_cv_sys_stat_statfs2_bsize = yes; then if test $fu_cv_sys_stat_statfs2_bsize = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_BSIZE) AC_DEFINE(STAT_STATFS2_BSIZE,[1],[Define to 1 if you have two-argument `statfs' with statfs.bsize member (AIX, 4.3BSD)])
fi fi
fi fi
@@ -397,7 +397,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_MSG_RESULT($fu_cv_sys_stat_statfs4) AC_MSG_RESULT($fu_cv_sys_stat_statfs4)
if test $fu_cv_sys_stat_statfs4 = yes; then if test $fu_cv_sys_stat_statfs4 = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS4) AC_DEFINE(STAT_STATFS4,[1],[Define to 1 if you have four-argument `statfs' (AIX-3.2.5, SVR3)])
fi fi
fi fi
if test $space = no; then if test $space = no; then
@@ -424,7 +424,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize)
if test $fu_cv_sys_stat_statfs2_fsize = yes; then if test $fu_cv_sys_stat_statfs2_fsize = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_FSIZE) AC_DEFINE(STAT_STATFS2_FSIZE,[1],[Define to 1 if you have two-argument `statfs' with statfs.fsize member (4.4BSD and NetBSD)])
fi fi
fi fi
@@ -456,7 +456,7 @@ AC_DEFUN(AC_GET_FS_INFO, [
AC_MSG_RESULT($fu_cv_sys_stat_fs_data) AC_MSG_RESULT($fu_cv_sys_stat_fs_data)
if test $fu_cv_sys_stat_fs_data = yes; then if test $fu_cv_sys_stat_fs_data = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_FS_DATA) AC_DEFINE(STAT_STATFS2_FS_DATA,[1],[Define to 1 if you have two-argument `statfs' with struct fs_data (Ultrix)])
fi fi
fi fi
@@ -542,7 +542,7 @@ case $host in
*) *)
SO=.so;; SO=.so;;
esac esac
AC_DEFINE_UNQUOTED(MODULE_EXTENSION,"$SO") AC_DEFINE_UNQUOTED(MODULE_EXTENSION,"$SO",[Set to the extension for dynamically loaded modules])
AC_MSG_RESULT($SO) AC_MSG_RESULT($SO)
dnl CCSHARED are the flags used to compile the sources for the shared library dnl CCSHARED are the flags used to compile the sources for the shared library
+8 -8
View File
@@ -33,7 +33,7 @@ AC_MSG_CHECKING(whether to enable debugging)
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
[ --enable-debug show debug information], [ --enable-debug show debug information],
if [[[ "$enableval" = "yes" ]]]; then if [[[ "$enableval" = "yes" ]]]; then
AC_DEFINE(DEBUG) AC_DEFINE(DEBUG,[1],[Define to 1 to show debug information])
debug="yes" debug="yes"
else else
debug="no" debug="no"
@@ -161,12 +161,12 @@ AC_GET_FS_INFO
AC_ARG_ENABLE(stat-nfs, AC_ARG_ENABLE(stat-nfs,
[ --enable-stat-nfs display filesystem stats for NFS], [ --enable-stat-nfs display filesystem stats for NFS],
AC_DEFINE(STAT_NFS) AC_DEFINE(STAT_NFS,[1],[Define to 1 to display filesystem stats for NFS])
) )
AC_ARG_ENABLE(stat-smbfs, AC_ARG_ENABLE(stat-smbfs,
[ --enable-stat-smbfs display filesystem stats for SMBFS], [ --enable-stat-smbfs display filesystem stats for SMBFS],
AC_DEFINE(STAT_SMBFS) AC_DEFINE(STAT_SMBFS,[1],[iDefine to 1 to display filesystem stats for SMBFS])
) )
@@ -175,11 +175,11 @@ AC_ARG_WITH(lcdport,
LCDPORT=$withval, LCDPORT=$withval,
LCDPORT="13666" LCDPORT="13666"
) )
AC_DEFINE_UNQUOTED(LCDPORT, $LCDPORT) AC_DEFINE_UNQUOTED(LCDPORT, $LCDPORT, [Set default port where LCDd should listen])
AC_DEFINE_UNQUOTED(PROTOCOL_VERSION, "0.3") AC_DEFINE_UNQUOTED(PROTOCOL_VERSION, "0.3", [Define version of lcdproc client-server protocol])
AC_DEFINE_UNQUOTED(API_VERSION, "0.5") AC_DEFINE_UNQUOTED(API_VERSION, "0.5", [Define version of lcdproc API])
AC_ARG_WITH(loadmax, AC_ARG_WITH(loadmax,
@@ -188,7 +188,7 @@ AC_ARG_WITH(loadmax,
LOAD_MAX=$withval, LOAD_MAX=$withval,
LOAD_MAX=1.3 LOAD_MAX=1.3
) )
AC_DEFINE_UNQUOTED(LOAD_MAX, $LOAD_MAX) AC_DEFINE_UNQUOTED(LOAD_MAX, $LOAD_MAX, [Define max Load Avg at which the backlight will start blinking])
AC_ARG_WITH(loadmin, AC_ARG_WITH(loadmin,
[ --with-loadmin=<load> Min Load Avg at which the backlight will] [ --with-loadmin=<load> Min Load Avg at which the backlight will]
@@ -196,7 +196,7 @@ AC_ARG_WITH(loadmin,
LOAD_MIN=$withval, LOAD_MIN=$withval,
LOAD_MIN=0.05 LOAD_MIN=0.05
) )
AC_DEFINE_UNQUOTED(LOAD_MIN, $LOAD_MIN) AC_DEFINE_UNQUOTED(LOAD_MIN, $LOAD_MIN, [Define min Load Avg at which the backlight will turn off])
AC_MODULES_INFO AC_MODULES_INFO