From: Akim Demaille Date: Mon, 7 Feb 2000 16:17:51 +0000 (+0000) Subject: * acgeneral.m4: Formatting changes. X-Git-Tag: autoconf-2.50~1234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2e9d08927564c25660fd20ffcb0fbf8cf3b492;p=thirdparty%2Fautoconf.git * acgeneral.m4: Formatting changes. * acspecific.m4: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 59799528f..edef549bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-02-07 Akim Demaille + + * acgeneral.m4: Formatting changes. + * acspecific.m4: Likewise. + 2000-02-07 Akim Demaille * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Don't use FFLAGS_SAVE diff --git a/acgeneral.m4 b/acgeneral.m4 index 3db5d462a..9b7e8cc46 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -435,15 +435,15 @@ define(AC_DIVERSION_SED, 8)dnl variable substitutions in config.status define(AC_DIVERSION_CMDS, 9)dnl extra shell commands in config.status define(AC_DIVERSION_ICMDS, 10)dnl extra initialization in config.status -dnl Change the diversion stream to STREAM, while stacking old values. dnl AC_DIVERT_PUSH(STREAM) +dnl Change the diversion stream to STREAM, while stacking old values. define(AC_DIVERT_PUSH, [pushdef([AC_DIVERSION_CURRENT], $1)dnl divert(AC_DIVERSION_CURRENT)dnl ]) -dnl Change the diversion stream to its previous value, unstacking it. dnl AC_DIVERT_POP() +dnl Change the diversion stream to its previous value, unstacking it. define(AC_DIVERT_POP, [popdef([AC_DIVERSION_CURRENT])dnl divert(AC_DIVERSION_CURRENT)dnl @@ -454,8 +454,8 @@ define([AC_DIVERSION_CURRENT], AC_DIVERSION_NORMAL) dnl Throw away output until AC_INIT is called. pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_KILL) -dnl The prologue for Autoconf macros. dnl AC_PRO(MACRO-NAME) +dnl The prologue for Autoconf macros. define(AC_PRO, [define([AC_PROVIDE_$1], )dnl ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, @@ -463,8 +463,8 @@ ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, [pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_CURRENT)])dnl ]) -dnl The Epilogue for Autoconf macros. dnl AC_EPI() +dnl The Epilogue for Autoconf macros. define(AC_EPI, [AC_DIVERT_POP()dnl ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, @@ -674,6 +674,7 @@ define(AC_TR_SH, dnl ### Implementing Autoconf loops + dnl AC_FOREACH(VARIABLE, LIST, EXPRESSION) dnl -------------------------------------- dnl @@ -3018,10 +3019,11 @@ AC_CACHE_CHECK([size of $1], ac_Sizeof, int main () { - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof([$1])); - exit(0); + FILE *f = fopen ("conftestval", "w"); + if (!f) + exit (1); + fprintf (f, "%d\n", sizeof ([$1])); + exit (0); }], AC_VAR_SET(ac_Sizeof, `cat conftestval`), AC_VAR_SET(ac_Sizeof, 0), @@ -3031,7 +3033,7 @@ AC_VAR_POPDEF([ac_Sizeof])dnl ]) -dnl ### Checking for typedefs +dnl ### Checking for types # AC_CHECK_TYPE_INTERNAL(TYPE, diff --git a/acspecific.m4 b/acspecific.m4 index 9fa83ba54..2b96d01ba 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -202,8 +202,8 @@ fi ]) -dnl AC_PROG_CC_WORKS -dnl ---------------- +# AC_PROG_CC_WORKS +# ---------------- AC_DEFUN(AC_PROG_CC_WORKS, [AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works]) AC_LANG_SAVE diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 3db5d462a..9b7e8cc46 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -435,15 +435,15 @@ define(AC_DIVERSION_SED, 8)dnl variable substitutions in config.status define(AC_DIVERSION_CMDS, 9)dnl extra shell commands in config.status define(AC_DIVERSION_ICMDS, 10)dnl extra initialization in config.status -dnl Change the diversion stream to STREAM, while stacking old values. dnl AC_DIVERT_PUSH(STREAM) +dnl Change the diversion stream to STREAM, while stacking old values. define(AC_DIVERT_PUSH, [pushdef([AC_DIVERSION_CURRENT], $1)dnl divert(AC_DIVERSION_CURRENT)dnl ]) -dnl Change the diversion stream to its previous value, unstacking it. dnl AC_DIVERT_POP() +dnl Change the diversion stream to its previous value, unstacking it. define(AC_DIVERT_POP, [popdef([AC_DIVERSION_CURRENT])dnl divert(AC_DIVERSION_CURRENT)dnl @@ -454,8 +454,8 @@ define([AC_DIVERSION_CURRENT], AC_DIVERSION_NORMAL) dnl Throw away output until AC_INIT is called. pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_KILL) -dnl The prologue for Autoconf macros. dnl AC_PRO(MACRO-NAME) +dnl The prologue for Autoconf macros. define(AC_PRO, [define([AC_PROVIDE_$1], )dnl ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, @@ -463,8 +463,8 @@ ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, [pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_CURRENT)])dnl ]) -dnl The Epilogue for Autoconf macros. dnl AC_EPI() +dnl The Epilogue for Autoconf macros. define(AC_EPI, [AC_DIVERT_POP()dnl ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, @@ -674,6 +674,7 @@ define(AC_TR_SH, dnl ### Implementing Autoconf loops + dnl AC_FOREACH(VARIABLE, LIST, EXPRESSION) dnl -------------------------------------- dnl @@ -3018,10 +3019,11 @@ AC_CACHE_CHECK([size of $1], ac_Sizeof, int main () { - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof([$1])); - exit(0); + FILE *f = fopen ("conftestval", "w"); + if (!f) + exit (1); + fprintf (f, "%d\n", sizeof ([$1])); + exit (0); }], AC_VAR_SET(ac_Sizeof, `cat conftestval`), AC_VAR_SET(ac_Sizeof, 0), @@ -3031,7 +3033,7 @@ AC_VAR_POPDEF([ac_Sizeof])dnl ]) -dnl ### Checking for typedefs +dnl ### Checking for types # AC_CHECK_TYPE_INTERNAL(TYPE, diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 9fa83ba54..2b96d01ba 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -202,8 +202,8 @@ fi ]) -dnl AC_PROG_CC_WORKS -dnl ---------------- +# AC_PROG_CC_WORKS +# ---------------- AC_DEFUN(AC_PROG_CC_WORKS, [AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works]) AC_LANG_SAVE