dnl Automatically generate config.h entries via autoheader.
if test x = y ; then
patsubst(translit([$1], [a-z], [A-Z]), [\w+],
- AC_DEFINE([HAVE_DECL_\&], 1,
- [Define to 1 if we found this declaration otherwise define to 0.]))dnl
+ [AC_DEFINE([HAVE_DECL_\&], 1,
+ [Define to 1 if we found this declaration otherwise define to 0.])])dnl
fi
])
gcc_cv_c_long_double=yes, gcc_cv_c_long_double=no)
fi])
if test $gcc_cv_c_long_double = yes; then
- AC_DEFINE(HAVE_LONG_DOUBLE)
+ AC_DEFINE(HAVE_LONG_DOUBLE, 1,
+ [Define if your compiler supports the \`long double' type.])
fi
])
[changequote(<<,>>)dnl
ac_prog_version=`<<$>>$1 $3 2>&1 |
sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'`
+changequote([,])dnl
echo "configure:__oline__: version of $2 is $ac_prog_version" >&AC_FD_CC
+changequote(<<,>>)dnl
case $ac_prog_version in
'') gcc_cv_prog_$2_modern=no;;
<<$5>>)
fi
# Find some useful tools
-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
done
if test x = y ; then
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETENV 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_ATOL 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_SBRK 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_ABORT 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_ATOF 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETCWD 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETWD 1
EOF
\
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_STRSIGNAL 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_PUTC_UNLOCKED 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_FPUTS_UNLOCKED 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_STRSTR 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_ENVIRON 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_ERRNO 1
EOF
\
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_MALLOC 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_REALLOC 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_CALLOC 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_FREE 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_BASENAME 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETOPT 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_CLOCK 1
EOF
fi
done
if test x = y ; then
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETRLIMIT 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_SETRLIMIT 1
EOF
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_GETRUSAGE 1
EOF
fi
done
if test x = y ; then
- cat >> confdefs.h <<EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_DECL_TIMES 1
EOF
fi