From 5cad287eff258606fed1acc797374cd4670d5840 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 16 May 2001 20:59:29 +0200 Subject: backspace.c: Include "config.h". * libI77/backspace.c: Include "config.h". * libI77/close.c: Likewise. * libI77/dfe.c: Likewise. * libI77/dolio.c: Likewise. * libI77/due.c: Likewise. * libI77/err.c: Likewise. * libI77/fmt.c: Likewise. * libI77/fmtlib.c: Likewise. * libI77/ftell_.c: Likewise. * libI77/ilnw.c: Likewise. * libI77/lread.c: Likewise. * libI77/open.c: Likewise. * libI77/rdfmt.c: Likewise. * libI77/rsfe.c: Likewise. * libI77/rsne.c: Likewise. * libI77/util.c: Likewise. * libI77/wrtfmt.c: Likewise. * libI77/wsne.c: Likewise. * libI77/xwsne.c: Likewise. * libI77/config.h.in: Generate with autoheader. * libI77/configure.in: Add comments for all AC_DEFINES so that autoheader can grok it. * libI77/configure: Regenerated. From-SVN: r42162 --- libf2c/libI77/configure.in | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libf2c/libI77/configure.in') diff --git a/libf2c/libI77/configure.in b/libf2c/libI77/configure.in index 3f508f1..20f2628 100644 --- a/libf2c/libI77/configure.in +++ b/libf2c/libI77/configure.in @@ -113,7 +113,8 @@ AC_MSG_RESULT($g77_cv_sys_mingw32) AC_CHECK_HEADER(fcntl.h, test $g77_cv_header_posix = yes && AC_DEFINE(_POSIX_SOURCE), - AC_DEFINE(NO_FCNTL) AC_DEFINE(OPEN_DECL)) + AC_DEFINE(NO_FCNTL, 1, [Define if fcntl.h is missing.]) + AC_DEFINE(OPEN_DECL, 1, [Define if fcntl.h is missing.])) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -130,7 +131,7 @@ if test $g77_cv_sys_cygwin32 = yes \ || test $g77_cv_sys_mingw32 = yes \ || test $ac_cv_func_fstat = no; then AC_MSG_RESULT(yes) - AC_DEFINE(NON_UNIX_STDIO) + AC_DEFINE(NON_UNIX_STDIO, 1, [Define if we do not have Unix Stdio.]) else AC_MSG_RESULT(no) fi @@ -163,7 +164,7 @@ AC_MSG_RESULT($g77_cv_sys_sprintf_ansi) # The cygwin patch takes steps to avoid defining USE_STRLEN here -- I don't # understand why. if test $g77_cv_sys_sprintf_ansi != yes; then - AC_DEFINE(USE_STRLEN) + AC_DEFINE(USE_STRLEN, 1, [Define if we use strlen.]) fi # define NON_ANSI_RW_MODES on unix (can't hurt) @@ -184,7 +185,7 @@ if test $g77_cv_sys_cygwin32 = yes || test $g77_cv_sys_mingw32 = yes; then AC_MSG_RESULT(no) else if test $is_unix = yes; then - AC_DEFINE(NON_ANSI_RW_MODES) + AC_DEFINE(NON_ANSI_RW_MODES, 1, [Define if we have non ANSI RW modes.]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) @@ -192,11 +193,11 @@ else fi # This EOF_CHAR is a misfeature on unix. -AC_DEFINE(NO_EOF_CHAR_CHECK) +AC_DEFINE(NO_EOF_CHAR_CHECK, 1, [Always defined.]) AC_TYPE_OFF_T -AC_DEFINE(Skip_f2c_Undefs) +AC_DEFINE(Skip_f2c_Undefs, 1, [Define to skip f2c undefs.]) AC_OUTPUT(Makefile) -- cgit v1.1