aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m494
1 files changed, 0 insertions, 94 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 0184e83f..ae92a0c1 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -31,53 +31,6 @@ AC_EGREP_CPP([#teststring],[
#define x(y) #y
char *s = x(teststring);
-
-
-dnl To: Keith Bostic <bostic@bsdi.com>
-dnl Cc: bug-gnu-utils@prep.ai.mit.edu
-dnl Subject: Re: autoconf-2.7
-dnl From: Jim Meyering <meyering@asic.sc.ti.com>
-dnl Date: 15 Oct 1996 11:57:12 -0500
-dnl
-dnl | The assumption that, if a simple program can't be compiled and
-dnl | run, that the user is doing cross-compilation, is causing me
-dnl | serious grief. The problem is that Solaris ships a cc command
-dnl | that just fails, if you haven't bought their compiler.
-dnl |
-dnl | What the user is eventually told is that it's not possible to
-dnl | run test programs when cross-compiling, which doesn't point them
-dnl | at the right problem.
-dnl |
-dnl | Maybe it's just me, but I don't know too many normal users that
-dnl | do cross-compilation. I'd like to see a more stringent test to
-dnl | decide if we're doing cross-compilation. (Maybe with a message
-dnl | to use gcc!?!? ;-})
-dnl
-dnl Now I put this line in configure.in files:
-dnl
-dnl AM_SANITY_CHECK_CC
-dnl
-dnl Here's the macro that goes in aclocal.m4 -- it should be in the
-dnl next official release of automake.
-
-AC_DEFUN(AM_SANITY_CHECK_CC,
-[dnl Derived from macros from Bruno Haible and from Cygnus.
-AC_MSG_CHECKING([whether the compiler ($CC $CFLAGS $LDFLAGS) actually works])
-AC_LANG_SAVE
- AC_LANG_C
- AC_TRY_RUN([main() { exit(0); }],
- am_cv_prog_cc_works=yes, am_cv_prog_cc_works=no,
- dnl When crosscompiling, just try linking.
- AC_TRY_LINK([], [], am_cv_prog_cc_works=yes,
- am_cv_prog_cc_works=no))
-AC_LANG_RESTORE
-case "$am_cv_prog_cc_works" in
- *no) AC_MSG_ERROR([Installation or configuration problem: C compiler cannot cr
-eate executables.]) ;;
- *yes) ;;
-esac
-AC_MSG_RESULT(yes)
-])dnl
], gawk_cv_c_stringize=no, gawk_cv_c_stringize=yes))
if test "${gawk_cv_c_stringize}" = yes
then
@@ -85,50 +38,3 @@ then
fi
AC_MSG_RESULT([${gawk_cv_c_stringize}])
])dnl
-
-
-dnl To: Keith Bostic <bostic@bsdi.com>
-dnl Cc: bug-gnu-utils@prep.ai.mit.edu
-dnl Subject: Re: autoconf-2.7
-dnl From: Jim Meyering <meyering@asic.sc.ti.com>
-dnl Date: 15 Oct 1996 11:57:12 -0500
-dnl
-dnl | The assumption that, if a simple program can't be compiled and
-dnl | run, that the user is doing cross-compilation, is causing me
-dnl | serious grief. The problem is that Solaris ships a cc command
-dnl | that just fails, if you haven't bought their compiler.
-dnl |
-dnl | What the user is eventually told is that it's not possible to
-dnl | run test programs when cross-compiling, which doesn't point them
-dnl | at the right problem.
-dnl |
-dnl | Maybe it's just me, but I don't know too many normal users that
-dnl | do cross-compilation. I'd like to see a more stringent test to
-dnl | decide if we're doing cross-compilation. (Maybe with a message
-dnl | to use gcc!?!? ;-})
-dnl
-dnl Now I put this line in configure.in files:
-dnl
-dnl AM_SANITY_CHECK_CC
-dnl
-dnl Here's the macro that goes in aclocal.m4 -- it should be in the
-dnl next official release of automake.
-
-AC_DEFUN(AM_SANITY_CHECK_CC,
-[dnl Derived from macros from Bruno Haible and from Cygnus.
-AC_MSG_CHECKING([whether the compiler ($CC $CFLAGS $LDFLAGS) actually works])
-AC_LANG_SAVE
- AC_LANG_C
- AC_TRY_RUN([main() { exit(0); }],
- am_cv_prog_cc_works=yes, am_cv_prog_cc_works=no,
- dnl When crosscompiling, just try linking.
- AC_TRY_LINK([], [], am_cv_prog_cc_works=yes,
- am_cv_prog_cc_works=no))
-AC_LANG_RESTORE
-case "$am_cv_prog_cc_works" in
- *no) AC_MSG_ERROR([Installation or configuration problem: C compiler cannot cr
-eate executables.]) ;;
- *yes) ;;
-esac
-AC_MSG_RESULT(yes)
-])dnl